All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
@ 2021-03-23 22:07 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-23 22:07 UTC (permalink / raw)
  To: Aneesh Kumar K.V
  Cc: kbuild-all, clang-built-linux, linux-kernel, Michael Ellerman,
	Sandipan Das

[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]

Hi Aneesh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
commit: 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.
date:   4 months ago
config: powerpc64-randconfig-r016-20210323 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' [-Werror,-Wunused-function]
   static inline void update_current_thread_amr(u64 value)
                      ^
   arch/powerpc/mm/book3s64/pkeys.c:289:20: error: unused function 'update_current_thread_iamr' [-Werror,-Wunused-function]
   static inline void update_current_thread_iamr(u64 value)
                      ^
   2 errors generated.


vim +/update_current_thread_amr +284 arch/powerpc/mm/book3s64/pkeys.c

   283	
 > 284	static inline void update_current_thread_amr(u64 value)
   285	{
   286		current->thread.regs->amr = value;
   287	}
   288	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32448 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
@ 2021-03-23 22:07 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-23 22:07 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2219 bytes --]

Hi Aneesh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
commit: 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.
date:   4 months ago
config: powerpc64-randconfig-r016-20210323 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' [-Werror,-Wunused-function]
   static inline void update_current_thread_amr(u64 value)
                      ^
   arch/powerpc/mm/book3s64/pkeys.c:289:20: error: unused function 'update_current_thread_iamr' [-Werror,-Wunused-function]
   static inline void update_current_thread_iamr(u64 value)
                      ^
   2 errors generated.


vim +/update_current_thread_amr +284 arch/powerpc/mm/book3s64/pkeys.c

   283	
 > 284	static inline void update_current_thread_amr(u64 value)
   285	{
   286		current->thread.regs->amr = value;
   287	}
   288	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32448 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
@ 2021-02-15 11:14 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-15 11:14 UTC (permalink / raw)
  To: Aneesh Kumar K.V
  Cc: kbuild-all, clang-built-linux, linux-kernel, Michael Ellerman,
	Sandipan Das

[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]

Hi Aneesh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f40ddce88593482919761f74910f42f4b84c004b
commit: 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.
date:   2 months ago
config: powerpc64-randconfig-r005-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' [-Werror,-Wunused-function]
   static inline void update_current_thread_amr(u64 value)
                      ^
>> arch/powerpc/mm/book3s64/pkeys.c:289:20: error: unused function 'update_current_thread_iamr' [-Werror,-Wunused-function]
   static inline void update_current_thread_iamr(u64 value)
                      ^
   2 errors generated.


vim +/update_current_thread_amr +284 arch/powerpc/mm/book3s64/pkeys.c

   283	
 > 284	static inline void update_current_thread_amr(u64 value)
   285	{
   286		current->thread.regs->amr = value;
   287	}
   288	
 > 289	static inline void update_current_thread_iamr(u64 value)
   290	{
   291		if (!likely(pkey_execute_disable_supported))
   292			return;
   293	
   294		current->thread.regs->iamr = value;
   295	}
   296	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25402 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr'
@ 2021-02-15 11:14 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-02-15 11:14 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2439 bytes --]

Hi Aneesh,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f40ddce88593482919761f74910f42f4b84c004b
commit: 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153 powerpc/book3s64/pkeys: Don't update SPRN_AMR when in kernel mode.
date:   2 months ago
config: powerpc64-randconfig-r005-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 48a8ab4eeb8271f2a0e2ca3cf80844a59acca153
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' [-Werror,-Wunused-function]
   static inline void update_current_thread_amr(u64 value)
                      ^
>> arch/powerpc/mm/book3s64/pkeys.c:289:20: error: unused function 'update_current_thread_iamr' [-Werror,-Wunused-function]
   static inline void update_current_thread_iamr(u64 value)
                      ^
   2 errors generated.


vim +/update_current_thread_amr +284 arch/powerpc/mm/book3s64/pkeys.c

   283	
 > 284	static inline void update_current_thread_amr(u64 value)
   285	{
   286		current->thread.regs->amr = value;
   287	}
   288	
 > 289	static inline void update_current_thread_iamr(u64 value)
   290	{
   291		if (!likely(pkey_execute_disable_supported))
   292			return;
   293	
   294		current->thread.regs->iamr = value;
   295	}
   296	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25402 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-23 22:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 22:07 arch/powerpc/mm/book3s64/pkeys.c:284:20: error: unused function 'update_current_thread_amr' kernel test robot
2021-03-23 22:07 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15 11:14 kernel test robot
2021-02-15 11:14 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.