Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003
       [not found] <20261016-monaka-fix-for-upstream-v2-4-fc7ede7f9f48@fujitsu.com>
@ 2026-10-17 11:48 ` kernel test robot
  2026-10-19 12:53   ` Kohei Enju
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-10-17 11:48 UTC (permalink / raw)
  To: Tomohiro Misono, Catalin Marinas, Will Deacon, Mark Rutland,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, Marc Zyngier,
	Thomas Gleixner, Radu Rendec, Oliver Upton, Fuad Tabba,
	Joey Gouly, Steffen Eiden, Suzuki K Poulose, Zenghui Yu
  Cc: llvm, oe-kbuild-all, Kohei Enju, linux-arm-kernel, linux-kernel,
	linux-doc, linux-perf-users, kvmarm

Hi Tomohiro,

kernel test robot noticed the following build errors:

[auto build test ERROR on 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907]

url:    https://github.com/intel-lab-lkp/linux/commits/Tomohiro-Misono/arm64-cputype-Add-FUJITSU-MONAKA-definition/20261016-190045
base:   24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
patch link:    https://lore.kernel.org/r/20261016-monaka-fix-for-upstream-v2-4-fc7ede7f9f48%40fujitsu.com
patch subject: [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003
config: arm-defconfig (https://download.01.org/0day-ci/archive/20261017/202610171939.VWCcPPra-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6719b9e31d6a93099612c474eec76d9f41d0275a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610171939.VWCcPPra-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610171939.VWCcPPra-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/irqchip/irq-gic-v3.c:1892:34: error: use of undeclared identifier 'ARM_CPU_IMP_FUJITSU'
    1892 |         if (read_cpuid_implementor() != ARM_CPU_IMP_FUJITSU ||
         |                                         ^~~~~~~~~~~~~~~~~~~
>> drivers/irqchip/irq-gic-v3.c:1893:34: error: use of undeclared identifier 'FUJITSU_CPU_PART_MONAKA'
    1893 |             read_cpuid_part_number() != FUJITSU_CPU_PART_MONAKA)
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +/ARM_CPU_IMP_FUJITSU +1892 drivers/irqchip/irq-gic-v3.c

  1889	
  1890	static bool gic_enable_quirk_fujitsu_030003(void *data)
  1891	{
> 1892		if (read_cpuid_implementor() != ARM_CPU_IMP_FUJITSU ||
> 1893		    read_cpuid_part_number() != FUJITSU_CPU_PART_MONAKA)
  1894			return false;
  1895	
  1896		static_branch_enable(&gic_fujitsu_030003_erratum);
  1897		return true;
  1898	}
  1899	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

* Re: [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003
  2026-10-17 11:48 ` [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003 kernel test robot
@ 2026-10-19 12:53   ` Kohei Enju
  0 siblings, 0 replies; 2+ messages in thread
From: Kohei Enju @ 2026-10-19 12:53 UTC (permalink / raw)
  To: kernel test robot
  Cc: Tomohiro Misono, Catalin Marinas, Will Deacon, Mark Rutland,
	Jonathan Corbet, Shuah Khan, Randy Dunlap, Marc Zyngier,
	Thomas Gleixner, Radu Rendec, Oliver Upton, Fuad Tabba,
	Joey Gouly, Steffen Eiden, Suzuki K Poulose, Zenghui Yu, llvm,
	oe-kbuild-all, linux-arm-kernel, linux-kernel, linux-doc,
	linux-perf-users, kvmarm

On 10/17 19:48, kernel test robot wrote:
> Hi Tomohiro,
> 
> kernel test robot noticed the following build errors:
> 
> [auto build test ERROR on 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/Tomohiro-Misono/arm64-cputype-Add-FUJITSU-MONAKA-definition/20261016-190045
> base:   24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
> patch link:    https://lore.kernel.org/r/20261016-monaka-fix-for-upstream-v2-4-fc7ede7f9f48%40fujitsu.com
> patch subject: [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003
> config: arm-defconfig (https://download.01.org/0day-ci/archive/20261017/202610171939.VWCcPPra-lkp@intel.com/config)
> compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 6719b9e31d6a93099612c474eec76d9f41d0275a)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610171939.VWCcPPra-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202610171939.VWCcPPra-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> drivers/irqchip/irq-gic-v3.c:1892:34: error: use of undeclared identifier 'ARM_CPU_IMP_FUJITSU'
>     1892 |         if (read_cpuid_implementor() != ARM_CPU_IMP_FUJITSU ||
>          |                                         ^~~~~~~~~~~~~~~~~~~
> >> drivers/irqchip/irq-gic-v3.c:1893:34: error: use of undeclared identifier 'FUJITSU_CPU_PART_MONAKA'
>     1893 |             read_cpuid_part_number() != FUJITSU_CPU_PART_MONAKA)
>          |                                         ^~~~~~~~~~~~~~~~~~~~~~~
>    2 errors generated.

Oops, I missed testing this with CONFIG_ARM=y. I will fix this in v3.

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

end of thread, other threads:[~2026-10-19 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261016-monaka-fix-for-upstream-v2-4-fc7ede7f9f48@fujitsu.com>
2026-10-17 11:48 ` [PATCH v2 4/4] irqchip/gicv3: Add workaround for FUJITSU-MONAKA erratum E#030003 kernel test robot
2026-10-19 12:53   ` Kohei Enju

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox