[PATCH] powerpc/powernv: Fix local TLB flush for boot and MCE on POWER9

kbuild test robot lkp at intel.com
Sat Jul 8 07:37:40 AEST 2017


Hi Nicholas,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.12 next-20170707]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-powernv-Fix-local-TLB-flush-for-boot-and-MCE-on-POWER9/20170708-011225
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/dt_cpu_ftrs.c: In function 'cpufeatures_flush_tlb':
>> arch/powerpc/kernel/dt_cpu_ftrs.c:98:18: error: unused variable 'num_sets' [-Werror=unused-variable]
     unsigned int i, num_sets;
                     ^~~~~~~~
>> arch/powerpc/kernel/dt_cpu_ftrs.c:98:15: error: unused variable 'i' [-Werror=unused-variable]
     unsigned int i, num_sets;
                  ^
>> arch/powerpc/kernel/dt_cpu_ftrs.c:97:16: error: unused variable 'rb' [-Werror=unused-variable]
     unsigned long rb;
                   ^~
   cc1: all warnings being treated as errors

vim +/num_sets +98 arch/powerpc/kernel/dt_cpu_ftrs.c

5a61ef74 Nicholas Piggin 2017-05-09   91  } system_registers;
5a61ef74 Nicholas Piggin 2017-05-09   92  
5a61ef74 Nicholas Piggin 2017-05-09   93  static void (*init_pmu_registers)(void);
5a61ef74 Nicholas Piggin 2017-05-09   94  
5a61ef74 Nicholas Piggin 2017-05-09   95  static void cpufeatures_flush_tlb(void)
5a61ef74 Nicholas Piggin 2017-05-09   96  {
5a61ef74 Nicholas Piggin 2017-05-09  @97  	unsigned long rb;
5a61ef74 Nicholas Piggin 2017-05-09  @98  	unsigned int i, num_sets;
5a61ef74 Nicholas Piggin 2017-05-09   99  
5a61ef74 Nicholas Piggin 2017-05-09  100  	/*
5a61ef74 Nicholas Piggin 2017-05-09  101  	 * This is a temporary measure to keep equivalent TLB flush as the

:::::: The code at line 98 was first introduced by commit
:::::: 5a61ef74f269f2573f48fa53607a8911216c3326 powerpc/64s: Support new device tree binding for discovering CPU features

:::::: TO: Nicholas Piggin <npiggin at gmail.com>
:::::: CC: Michael Ellerman <mpe at ellerman.id.au>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 23382 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170708/d770c825/attachment-0001.gz>


More information about the Linuxppc-dev mailing list