Hi Alastair, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [cannot apply to v5.4-rc5 next-20191025] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alastair-D-Silva/Add-support-for-OpenCAPI-SCM-devices/20191028-043750 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git da80d2e516eb858eb5bcca7fa5f5a13ed86930e4 config: s390-allmodconfig (attached as .config) compiler: s390-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=s390 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): drivers/misc/ocxl/main.c: In function 'init_ocxl': >> drivers/misc/ocxl/main.c:12:7: error: 'tlbie_capable' undeclared (first use in this function); did you mean 'iommu_capable'? if (!tlbie_capable) ^~~~~~~~~~~~~ iommu_capable drivers/misc/ocxl/main.c:12:7: note: each undeclared identifier is reported only once for each function it appears in -- drivers/misc/ocxl/core.c: In function 'ocxl_function_open': >> drivers/misc/ocxl/core.c:546:7: error: implicit declaration of function 'radix_enabled'; did you mean 'zdev_enabled'? [-Werror=implicit-function-declaration] if (!radix_enabled()) { ^~~~~~~~~~~~~ zdev_enabled cc1: some warnings being treated as errors vim +12 drivers/misc/ocxl/main.c 5ef3166e8a32d7 Frederic Barrat 2018-01-23 7 5ef3166e8a32d7 Frederic Barrat 2018-01-23 8 static int __init init_ocxl(void) 5ef3166e8a32d7 Frederic Barrat 2018-01-23 9 { 5ef3166e8a32d7 Frederic Barrat 2018-01-23 10 int rc = 0; 5ef3166e8a32d7 Frederic Barrat 2018-01-23 11 2275d7b5754a57 Nicholas Piggin 2019-09-03 @12 if (!tlbie_capable) 2275d7b5754a57 Nicholas Piggin 2019-09-03 13 return -EINVAL; 2275d7b5754a57 Nicholas Piggin 2019-09-03 14 5ef3166e8a32d7 Frederic Barrat 2018-01-23 15 rc = ocxl_file_init(); 5ef3166e8a32d7 Frederic Barrat 2018-01-23 16 if (rc) 5ef3166e8a32d7 Frederic Barrat 2018-01-23 17 return rc; 5ef3166e8a32d7 Frederic Barrat 2018-01-23 18 5ef3166e8a32d7 Frederic Barrat 2018-01-23 19 rc = pci_register_driver(&ocxl_pci_driver); 5ef3166e8a32d7 Frederic Barrat 2018-01-23 20 if (rc) { 5ef3166e8a32d7 Frederic Barrat 2018-01-23 21 ocxl_file_exit(); 5ef3166e8a32d7 Frederic Barrat 2018-01-23 22 return rc; 5ef3166e8a32d7 Frederic Barrat 2018-01-23 23 } 5ef3166e8a32d7 Frederic Barrat 2018-01-23 24 return 0; 5ef3166e8a32d7 Frederic Barrat 2018-01-23 25 } 5ef3166e8a32d7 Frederic Barrat 2018-01-23 26 :::::: The code at line 12 was first introduced by commit :::::: 2275d7b5754a573ffb2ca9e40bd0546eeb986696 powerpc/64s/radix: introduce options to disable use of the tlbie instruction :::::: TO: Nicholas Piggin :::::: CC: Michael Ellerman --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation