Kernel
Threads by month
- ----- 2025 -----
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- 55 participants
- 16916 discussions

[PATCH OLK-6.6] x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
by Heyuan Wang 11 Dec '24
by Heyuan Wang 11 Dec '24
11 Dec '24
From: Mario Limonciello <mario.limonciello(a)amd.com>
mainline inclusion
from mainline-v6.12
commit a5ca1dc46a6b610dd4627d8b633d6c84f9724ef0
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IB8IUH
CVE: CVE-2024-53114
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?…
--------------------------------
A number of Zen4 client SoCs advertise the ability to use virtualized
VMLOAD/VMSAVE, but using these instructions is reported to be a cause
of a random host reboot.
These instructions aren't intended to be advertised on Zen4 client
so clear the capability.
Signed-off-by: Mario Limonciello <mario.limonciello(a)amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp(a)alien8.de>
Cc: stable(a)vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219009
Signed-off-by: Heyuan Wang <wangheyuan2(a)h-partners.com>
---
arch/x86/kernel/cpu/amd.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index c25f10b70e02..5d090ae1c110 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1048,6 +1048,17 @@ static void init_amd_zen4(struct cpuinfo_x86 *c)
{
if (!cpu_has(c, X86_FEATURE_HYPERVISOR))
msr_set_bit(MSR_ZEN4_BP_CFG, MSR_ZEN4_BP_CFG_SHARED_BTB_FIX_BIT);
+
+ /*
+ * These Zen4 SoCs advertise support for virtualized VMLOAD/VMSAVE
+ * in some BIOS versions but they can lead to random host reboots.
+ */
+ switch (c->x86_model) {
+ case 0x18 ... 0x1f:
+ case 0x60 ... 0x7f:
+ clear_cpu_cap(c, X86_FEATURE_V_VMSAVE_VMLOAD);
+ break;
+ }
}
static void init_amd_zen5(struct cpuinfo_x86 *c)
--
2.25.1
2
1
CVE-2024-53114
Borislav Petkov (AMD) (1):
x86/CPU/AMD: Do the common init on future Zens too
Mario Limonciello (1):
x86/CPU/AMD: Clear virtualized VMLOAD/VMSAVE on Zen4 client
arch/x86/kernel/cpu/amd.c | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
--
2.25.1
2
3

[openeuler:OLK-5.10] BUILD REGRESSION 5c3dff2dbd96a0929b37a4f5331b76089f8f6285
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: 5c3dff2dbd96a0929b37a4f5331b76089f8f6285 !14129 bus: integrator-lm: fix OF node leak in probe()
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412110343.SnsYTxbB-lkp@intel.com
drivers/net/ethernet/huawei/hinic/hinic_hwdev.c:3719:18: warning: address of array 'chip_node->rt_cmd' will always evaluate to 'true' [-Wpointer-bool-conversion]
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-001-20241210
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-002-20241210
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-003-20241210
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x0-in-asm
| |-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x1-in-asm
| `-- arch-arm64-include-asm-atomic_lse.h:error:unknown-register-name-x2-in-asm
|-- arm64-randconfig-004-20241210
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r0-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r1-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r2-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-r3-in-asm
| |-- arch-arm64-include-asm-archrandom.h:error:unknown-register-name-x16-in-asm
| `-- arch-arm64-include-asm-stack_pointer.h:error:register-sp-unsuitable-for-global-register-variables-on-this-target
|-- arm64-randconfig-051-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-052-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-053-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-054-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241211
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:properties:capacity-dmips-mhz:ref-should-not-be-valid-under-const:ref
| |-- Documentation-devicetree-bindings-arm-cpu.yaml:title:ARM-CPUs-bindings-should-not-be-valid-under-pattern:(-Bb-inding-Ss-chema)
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:examples:cpus-arm-pbha-performance-only-bits-arm-pbha-no-aliases-bits-ncpu-device_type-cpu-compatible-arm-cortex-a57-...-n-is-not-of-type-array
| |-- Documentation-devicetree-bindings-arm-cpus.yaml:maintainers-is-a-required-property
| |-- Documentation-devicetree-bindings-display-allwinner-sun4i-a10-tcon.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-allwinner-sun8i-r40-tcon-top.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-analogix-anx7814.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-cdns-mhdp8546.yaml:properties:reg-names:minItems:maxItems:items:const:mhdptx-const:j721e-intg-should-not-be-valid-under-required:maxItems
| |-- Documentation-devicetree-bindings-display-bridge-chrontel-ch7033.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-lontium-lt9611.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:endpoint:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-ti-tfp410.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358762.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358768.yaml:properties:ports:properties:port:patternProperties:endpoint-does-not-match-()
| |-- Documentation-devicetree-bindings-display-bridge-toshiba-tc358775.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ingenic-lcd.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:port:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-advantech-idk-2121wr.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-panel-panel-simple.yaml:properties:compatible:enum:ampire-am-1280800n3tzqw-t00h-ampire-am-480272h3tmqw-t01h-ampire-am800480r3tmqwa1h-auo-b101aw03-auo-b101ean0
| |-- Documentation-devicetree-bindings-display-st-stm32-dsi.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-am65x-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| |-- Documentation-devicetree-bindings-display-ti-ti-j721e-dss.yaml:ports:Missing-additionalProperties-unevaluatedProperties-constraint
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- x86_64-allnoconfig
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- x86_64-allyesconfig
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
| |-- drivers-net-ethernet-huawei-hinic-hinic_hwdev.c:warning:address-of-array-chip_node-rt_cmd-will-always-evaluate-to-true
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-hashlen_t-is-a-C11-feature
| |-- fs-eulerfs-euler_def.h:warning:redefinition-of-typedef-page_info_t-is-a-C11-feature
| `-- fs-eulerfs-namei.c:warning:variable-de-is-uninitialized-when-used-here
|-- x86_64-buildonly-randconfig-001-20241210
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-002-20241210
| |-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
| |-- security-integrity-ima-ima.h:warning:declaration-of-struct-ima_digest-will-not-be-visible-outside-of-this-function
| `-- security-integrity-ima-ima_main.c:error:too-few-arguments-to-function-call-expected-have
|-- x86_64-buildonly-randconfig-003-20241210
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_timing_generator.o:warning:objtool:dce110_timing_generator_set_test_pattern:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce110-dce110_transform_v.o:warning:objtool:dce110_xfmv_set_scaler:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dce120-dce120_timing_generator.o:warning:objtool:dce120_timing_generator_set_test_pattern:unreachable-instruction
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dcn20-dcn20_hwseq.o:warning:objtool:dcn20_init_vm_ctx:unreachable-instruction
| |-- drivers-gpu-drm-i915-gt-uc-intel_guc_ct.o:warning:objtool:intel_guc_ct_event_handler:unreachable-instruction
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_enter-Werror-Wimplicit-function-declaration
| |-- kernel-workqueue.c:error:implicit-declaration-of-function-printk_safe_exit-Werror-Wimplicit-function-declaration
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
|-- x86_64-buildonly-randconfig-005-20241210
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-006-20241210
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn-Werror-Wimplicit-function-declaration
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_OPCODE
| |-- arch-x86-kernel-paravirt.c:error:use-of-undeclared-identifier-CALL_INSN_SIZE
| `-- ld.lld:error:version-script-assignment-of-LINUX_2.-to-symbol-__vdso_sgx_enter_enclave-failed:symbol-not-defined
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-cpu-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-enable-description-in-cppc_set_epp
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_get_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_act_window-not-described-in-cppc_set_auto_act_window
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-cpunum-not-described-in-cppc_get_auto_act_window
`-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-epp_val-not-described-in-cppc_set_epp
elapsed time: 782m
configs tested: 14
configs skipped: 86
tested configs:
arm64 allmodconfig clang-18
arm64 randconfig-001-20241210 clang-20
arm64 randconfig-002-20241210 clang-20
arm64 randconfig-003-20241210 clang-20
arm64 randconfig-004-20241210 clang-20
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241210 gcc-12
x86_64 buildonly-randconfig-002-20241210 clang-19
x86_64 buildonly-randconfig-003-20241210 clang-19
x86_64 buildonly-randconfig-004-20241210 gcc-12
x86_64 buildonly-randconfig-005-20241210 gcc-12
x86_64 buildonly-randconfig-006-20241210 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2574/2574] drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator.o: warning: objtool: dce110_timing_generator_set_test_pattern()+0x40d: unreachable instruction
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 5c3dff2dbd96a0929b37a4f5331b76089f8f6285
commit: f2c902d8c653f8021f9761092a27f7b9db42b662 [2574/2574] tracing: Make tracepoint lockdep check actually test something
config: x86_64-buildonly-randconfig-003-20241210 (https://download.01.org/0day-ci/archive/20241211/202412110343.SnsYTxbB-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241211/202412110343.SnsYTxbB-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412110343.SnsYTxbB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator.o: warning: objtool: dce110_timing_generator_set_test_pattern()+0x40d: unreachable instruction
--
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_transform_v.o: warning: objtool: dce110_xfmv_set_scaler()+0x1047: unreachable instruction
--
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_timing_generator.o: warning: objtool: dce120_timing_generator_set_test_pattern()+0x96d: unreachable instruction
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6] BUILD REGRESSION c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
by kernel test robot 11 Dec '24
by kernel test robot 11 Dec '24
11 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-6.6
branch HEAD: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5 !14106 uacce: some bugfix and cleanup
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412101347.Sow2DxhA-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412101536.8w9KRuyo-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412101859.KXPZLAMD-lkp@intel.com
<instantiation>:1:5: error: expected absolute expression
drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here [-Wuninitialized]
rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
Error/Warning ids grouped by kconfigs:
recent_errors
|-- arm64-allmodconfig
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-perf-arm_pmuv3.c:warning:stack-frame-size-()-exceeds-limit-()-in-armv8pmu_handle_irq
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_calc_virtcca_boot_aggregate
| |-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_extend
| `-- security-integrity-ima-ima_virtcca.c:warning:no-previous-prototype-for-function-ima_virtcca_init
|-- arm64-allnoconfig
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- arm64-randconfig-001-20241210
| |-- arch-arm64-kernel-cpufeature.c:warning:no-previous-prototype-for-function-fast_syscall_enabled
| |-- arch-arm64-kernel-virtcca_cvm_guest.c:warning:no-previous-prototype-for-function-enable_swiotlb_for_cvm_dev
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-psi.c:error:function-definition-is-not-allowed-here
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| `-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
|-- arm64-randconfig-002-20241210
| |-- instantiation:error:expected-absolute-expression
| |-- mm-mem_reliable.c:error:call-to-undeclared-function-mem_reliable_ctrl_bit_disable-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- arm64-randconfig-003-20241210
| |-- arch-arm64-kernel-ipi_nmi.c:error:call-to-undeclared-function-__printk_safe_enter-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- arch-arm64-kernel-ipi_nmi.c:error:call-to-undeclared-function-__printk_safe_exit-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-char-ipmi-ipmi_bt_sm.c:error:call-to-undeclared-function-acpi_evaluate_integer-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-pde_data-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-proc_create_data-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-remove_proc_entry-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-seq_printf-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:call-to-undeclared-function-single_open-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- drivers-irqchip-irq-gic-v3.c:error:incomplete-definition-of-type-struct-seq_file
| |-- drivers-irqchip-irq-gic-v3.c:error:no-member-named-dir-in-struct-irq_desc
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-seq_lseek
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-seq_read
| |-- drivers-irqchip-irq-gic-v3.c:error:use-of-undeclared-identifier-single_release
| |-- drivers-irqchip-irq-gic-v3.c:error:variable-has-incomplete-type-const-struct-proc_ops
| |-- instantiation:error:expected-absolute-expression
| |-- mm-mem_reliable.c:error:call-to-undeclared-function-mem_reliable_ctrl_bit_disable-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| `-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
|-- arm64-randconfig-004-20241210
| |-- instantiation:error:expected-absolute-expression
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- mm-page_alloc.c:error:call-to-undeclared-function-dynamic_pool_should_alloc-ISO-C99-and-later-do-not-support-implicit-function-declarations
| |-- mm-share_pool.c:error:call-to-undeclared-function-huge_ptep_get-ISO-C99-and-later-do-not-support-implicit-function-declarations
| `-- mm-share_pool.c:error:initializing-pte_t-with-an-expression-of-incompatible-type-int
|-- loongarch-allmodconfig
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:d-directive-output-may-be-truncated-writing-between-and-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:mq-poll-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:s-directive-output-may-be-truncated-writing-up-to-bytes-into-a-region-of-size
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-ima_tpm_init
|-- loongarch-allnoconfig
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-allyesconfig
| `-- multiple-definition-of-remove_mbx_irq-drivers-net-ethernet-mucse-rnpvf-rnpvf_main.o:rnpvf_main.c:(.text):first-defined-here
|-- loongarch-randconfig-001-20241210
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-002-20241210
| |-- arch-loongarch-kernel-efi.c:error:implicit-declaration-of-function-pmd_mkhuge
| |-- arch-loongarch-kernel-efi.c:error:incompatible-types-when-assigning-to-type-pmd_t-from-type-int
| |-- arch-loongarch-kernel-legacy_boot.c:error:implicit-declaration-of-function-nid_to_addrbase
| |-- drivers-irqchip-irq-loongson-eiointc.c:error:NODES_PER_FLATMODE_NODE-undeclared-(first-use-in-this-function)
| |-- include-linux-suspend.h:error:expected-)-before-numeric-constant
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- loongarch-randconfig-r111-20241210
| |-- arch-loongarch-kernel-kfpu.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-bool-noderef-__percpu
| `-- kernel-trace-ftrace.c:sparse:sparse:incorrect-type-in-argument-(different-address-spaces)-expected-void-ptr-got-int-noderef-__percpu
|-- x86_64-allnoconfig
| |-- drivers-char-lsse_sdf_cdev.c:linux-module.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:leapioraid_func.h-is-included-more-than-once.
| |-- drivers-scsi-leapioraid-leapioraid_app.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_func.c:linux-version.h-not-needed.
| |-- drivers-scsi-leapioraid-leapioraid_os.c:linux-version.h-not-needed.
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-allyesconfig
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-sm3_generic_block_fn
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_finup
| |-- arch-x86-crypto-sm3-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-zx_sm3_update
| |-- arch-x86-crypto-sm4-zhaoxin-gmi.c:warning:no-previous-prototype-for-function-gmi_sm4_set_key
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- arch-x86-kvm-svm-csv.c:warning:no-previous-prototype-for-function-csv_vm_attestation
| |-- arch-x86-kvm-svm-sev.c:warning:no-previous-prototype-for-function-sev_install_hooks
| |-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
| |-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-add_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_wait_em_reset
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-ahci_zhaoxin_set_em_sgpio_gpmode
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-remove_sgpio_zhaoxin
| |-- drivers-ata-ahci_zhaoxin_sgpio.c:warning:no-previous-prototype-for-function-set_em_messages
| |-- drivers-ata-libahci.c:warning:no-previous-prototype-for-function-get_ahci_em_messages
| |-- drivers-crypto-montage-tsse-tsse_ipc_api.c:warning:variable-device_handle-is-uninitialized-when-used-here
| |-- drivers-gpu-drm-amd-amdgpu-..-amdkfd-kfd_topology.c:warning:stack-frame-size-()-exceeds-limit-()-in-kfd_topology_add_device
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-calcs-dcn_calc_auto.c:warning:stack-frame-size-()-exceeds-limit-()-in-mode_support_and_system_configuration
| |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-dml-dcn30-display_mode_vba_30.c:warning:stack-frame-size-()-exceeds-limit-()-in-dml30_ModeSupportAndSystemConfigurationFull
| |-- drivers-net-ethernet-huawei-hinic3-adapter-sw_cmdq-sw_cmdq_ops.c:warning:expression-does-not-compute-the-number-of-elements-in-this-array-element-type-is-u16-(aka-unsigned-short-)-not-u32-(aka-unsigne
| |-- drivers-net-ethernet-huawei-hinic3-cqm-cqm_bitmap_table.c:error:a-randomized-struct-can-only-be-initialized-with-a-designated-initializer
| |-- drivers-net-ethernet-huawei-hinic3-hinic3_tx.c:warning:no-previous-prototype-for-function-hinic3_tx_offload
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-net_resource_mgt-set-but-not-used
| |-- drivers-net-ethernet-nebula-matrix-nbl-nbl_core-nbl_ethtool.c:warning:variable-netdev-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_flush_ios_and_panic
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_init_irqpolls
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_irqpoll
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_process_reply_queue
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:no-previous-prototype-for-function-leapioraid_base_stop_smart_polling
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ct-is-uninitialized-when-used-here
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ioc_state-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-issue_reset-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-ret-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_func.c:warning:variable-sgl_zero_addr-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-__leapioraid_get_sdev_by_addr
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_get_sdev_from_target
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_enclosure_find_by_handle
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_cmd_map_status
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:no-previous-prototype-for-function-leapioraid_scsihost_tm_post_processing
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-mpi_request-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-rc-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-revision-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-sas_target_priv_data-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_os.c:warning:variable-timeleft-set-but-not-used
| |-- drivers-scsi-leapioraid-leapioraid_transport.c:warning:no-previous-prototype-for-function-leapioraid_transport_get_port_id_by_rphy
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_is_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_entity_to_task
| |-- kernel-sched-bpf_sched.c:warning:no-previous-prototype-for-function-bpf_sched_tag_of_entity
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_setup_strp
| |-- net-ipv4-tcp_comp.c:warning:no-previous-prototype-for-function-comp_stream_read
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-001-20241210
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
|-- x86_64-buildonly-randconfig-002-20241210
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_early_secure_call_ident_map
| |-- arch-x86-kernel-csv-shared.c:warning:no-previous-prototype-for-function-csv3_scan_secure_call_pages
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-function-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:use-of-undeclared-identifier-setup_max_cpus
| |-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
| |-- security-integrity-ima-ima_main.c:warning:Function-parameter-or-member-bprm-not-described-in-ima_bprm_creds_for_exec
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_pcrread
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_calc_boot_aggregate
| |-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_extend
| `-- security-integrity-ima-ima_tpm.c:warning:no-previous-prototype-for-function-ima_tpm_init
|-- x86_64-buildonly-randconfig-004-20241210
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
| |-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
| |-- kernel-sched-isolation.c:error:setup_max_cpus-undeclared-(first-use-in-this-function)
| `-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- x86_64-defconfig
|-- drivers-acpi-cppc_acpi.c:warning:Excess-function-parameter-auto_act_window-description-in-cppc_get_auto_sel
|-- drivers-acpi-cppc_acpi.c:warning:Function-parameter-or-member-auto_sel-not-described-in-cppc_get_auto_sel
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-register_irqchip_proc
|-- kernel-irq-proc.c:warning:no-previous-prototype-for-unregister_irqchip_proc
|-- mm-memory.c:warning:variable-nr_pages-set-but-not-used
`-- net-ipv4-tcp_output.c:warning:variable-tcp_hdr_rsrvd_4b-set-but-not-used
elapsed time: 730m
configs tested: 19
configs skipped: 98
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 randconfig-001-20241210 clang-20
arm64 randconfig-002-20241210 clang-20
arm64 randconfig-003-20241210 clang-20
arm64 randconfig-004-20241210 clang-20
loongarch allmodconfig gcc-14.2.0
loongarch allnoconfig gcc-14.2.0
loongarch randconfig-001-20241210 gcc-14.2.0
loongarch randconfig-002-20241210 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241210 gcc-12
x86_64 buildonly-randconfig-002-20241210 clang-19
x86_64 buildonly-randconfig-003-20241210 clang-19
x86_64 buildonly-randconfig-004-20241210 gcc-12
x86_64 buildonly-randconfig-005-20241210 gcc-12
x86_64 buildonly-randconfig-006-20241210 clang-19
x86_64 defconfig gcc-11
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1610/1610] rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: bf177ad1d8f72824180b44563c09f37562f645de [1610/1610] drivers: initial support for rnpgbevf drivers from Mucse Technology
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101859.KXPZLAMD-lkp@…)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101859.KXPZLAMD-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101859.KXPZLAMD-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnp/rnp_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x110): multiple definition of `mpe_pkt_version'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x60): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_main.o: in function `.LANCHOR3':
rnpm_main.c:(.bss+0x114): multiple definition of `mpe_src_port'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.bss+0x64): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_pcs.o:(.data.rel.local+0x0): multiple definition of `pcs_ops_generic'; drivers/net/ethernet/mucse/rnp/rnp_pcs.o:(.data.rel.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpm/rnpm_ptp.o: in function `.LANCHOR1':
rnpm_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_main.o: in function `.LANCHOR7':
rnpgbe_main.c:(.data.rel.ro+0x0): multiple definition of `rnp10_netdev_ops'; drivers/net/ethernet/mucse/rnp/rnp_main.o:rnp_main.c:(.data.rel.ro+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx.o:(.data.rel.local+0x0): multiple definition of `mbx_ops_generic'; drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.o:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.o: in function `mbx_cookie_zalloc':
rnpgbe_mbx_fw.c:(.text+0x128): multiple definition of `mbx_cookie_zalloc'; drivers/net/ethernet/mucse/rnpm/rnpm_mbx_fw.o:rnpm_mbx_fw.c:(.text+0x6a4): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_sriov.o: in function `check_ari_mode':
rnpgbe_sriov.c:(.text+0x2acc): multiple definition of `check_ari_mode'; drivers/net/ethernet/mucse/rnp/rnp_sriov.o:rnp_sriov.c:(.text+0x2af8): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbe/rnpgbe_ptp.o: in function `.LANCHOR1':
rnpgbe_ptp.c:(.data.rel.ro.local+0x0): multiple definition of `mac_ptp'; drivers/net/ethernet/mucse/rnp/rnp_ptp.o:rnp_ptp.c:(.data.rel.ro.local+0x0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.o: in function `remove_mbx_irq':
>> rnpgbevf_main.c:(.text+0xb6bc): multiple definition of `remove_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc0b0): first defined here
loongarch64-linux-ld: drivers/net/ethernet/mucse/rnpgbevf/rnpgbevf_main.o: in function `register_mbx_irq':
rnpgbevf_main.c:(.text+0xbc28): multiple definition of `register_mbx_irq'; drivers/net/ethernet/mucse/rnpvf/rnpvf_main.o:rnpvf_main.c:(.text+0xc61c): first defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] <instantiation>:1:5: error: expected absolute expression
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Yipeng,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: cf5f2d9ff017873c792298693e593dc358db6035 [1613/1613] arm64: Faster SVC exception handler with xcall
config: arm64-randconfig-002-20241210 (https://download.01.org/0day-ci/archive/20241210/202412101536.8w9KRuyo-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101536.8w9KRuyo-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101536.8w9KRuyo-lkp@intel.com/
All errors (new ones prefixed by >>):
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
arch/arm64/kernel/entry.S:587:2: note: while in macro instantiation
kernel_entry 1
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:686:2: note: while in macro instantiation
entry_handler 1, t, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:687:2: note: while in macro instantiation
entry_handler 1, t, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:688:2: note: while in macro instantiation
entry_handler 1, t, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:689:2: note: while in macro instantiation
entry_handler 1, t, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:691:2: note: while in macro instantiation
entry_handler 1, h, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:692:2: note: while in macro instantiation
entry_handler 1, h, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:693:2: note: while in macro instantiation
entry_handler 1, h, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 1 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 1, 64
^
arch/arm64/kernel/entry.S:694:2: note: while in macro instantiation
entry_handler 1, h, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:696:2: note: while in macro instantiation
entry_handler 0, t, 64, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:697:2: note: while in macro instantiation
entry_handler 0, t, 64, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:698:2: note: while in macro instantiation
entry_handler 0, t, 64, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 64
^
arch/arm64/kernel/entry.S:699:2: note: while in macro instantiation
entry_handler 0, t, 64, error
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:701:2: note: while in macro instantiation
entry_handler 0, t, 32, sync
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:702:2: note: while in macro instantiation
entry_handler 0, t, 32, irq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:703:2: note: while in macro instantiation
entry_handler 0, t, 32, fiq
^
>> <instantiation>:1:5: error: expected absolute expression
.if 0 == 0 && std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:33:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:39:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:44:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:48:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:56:6: error: expected absolute expression
.if std == std
^
<instantiation>:3:2: note: while in macro instantiation
kernel_entry 0, 32
^
arch/arm64/kernel/entry.S:704:2: note: while in macro instantiation
entry_handler 0, t, 32, error
^
<instantiation>:11:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:21:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:26:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:30:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:55:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
<instantiation>:75:6: error: expected absolute expression
.if std == std
^
arch/arm64/kernel/entry.S:716:2: note: while in macro instantiation
kernel_exit 0
^
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PGP_PRELOAD
Depends on [n]: CRYPTO [=y] && ASYMMETRIC_KEY_TYPE [=n]
Selected by [y]:
- PGP_PRELOAD_PUBLIC_KEYS [=y] && CRYPTO [=y]
WARNING: unmet direct dependencies detected for RESCTRL_FS
Depends on [n]: MISC_FILESYSTEMS [=n] && ARCH_HAS_CPU_RESCTRL [=y]
Selected by [y]:
- ARM64_MPAM [=y]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1609/1609] drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Carrie.Cai,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c0c5f5fdc62998e0c68e6c77d6aae2566185bfd5
commit: 914854f2adb6988ac3b6521088ec96833d6743e2 [1609/1609] driver: crypto - update support for Mont-TSSE Driver
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101347.Sow2DxhA-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101347.Sow2DxhA-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101347.Sow2DxhA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/crypto/montage/tsse/tsse_ipc_api.c:10:
In file included from drivers/crypto/montage/tsse/tsse_dev.h:13:
In file included from include/linux/pci.h:1669:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2243:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/crypto/montage/tsse/tsse_ipc_api.c:62:36: warning: variable 'device_handle' is uninitialized when used here [-Wuninitialized]
62 | service_instance->device_handle = device_handle;
| ^~~~~~~~~~~~~
drivers/crypto/montage/tsse/tsse_ipc_api.c:56:19: note: initialize the variable 'device_handle' to silence this warning
56 | int device_handle;
| ^
| = 0
6 warnings generated.
vim +/device_handle +62 drivers/crypto/montage/tsse/tsse_ipc_api.c
41
42 /**
43 * tsse_im_service_handle_alloc() - Allocate IPC Message service handle for specific service.
44 * @name: IPC Message service name
45 * @cb: request callback for the service
46 * @handle: function output for the service handle
47 * Return: 0 if allocated successfully, other values for failure
48 */
49 int tsse_im_service_handle_alloc(
50 const char *name,
51 tsse_im_cb_func cb,
52 tsse_im_service_handle *handle)
53 {
54 struct tsse_service_instance *service_instance;
55 int ret;
56 int device_handle;
57
58 service_instance = kzalloc(sizeof(struct tsse_service_instance), GFP_ATOMIC);
59 if (!service_instance)
60 return -ENOMEM;
61 service_instance->service_opened = 0;
> 62 service_instance->device_handle = device_handle;
63 service_instance->cb = cb;
64 strscpy(service_instance->service_name, name, TSSE_IM_SERVICE_NAME_LEN);
65
66 ret = tsse_schedule_device_handle(service_instance);
67 if (ret) {
68 kfree(service_instance);
69 return ret;
70 }
71
72 ret = tsse_service_open(service_instance);
73 if (ret) {
74 pr_err("%s(): open service: %s failed: %d\n",
75 __func__, service_instance->service_name, ret);
76 kfree(service_instance);
77 return ret;
78 }
79 *handle = service_instance;
80 return 0;
81 }
82 EXPORT_SYMBOL_GPL(tsse_im_service_handle_alloc);
83
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[PATCH OLK-5.10 v2 0/4]ACPI: APEI: handle synchronous errors in task work
by Tong Tiangen 10 Dec '24
by Tong Tiangen 10 Dec '24
10 Dec '24
There are two major types of uncorrected recoverable (UCR) errors :
- Synchronous error: The error is detected and raised at the point of the
consumption in the execution flow, e.g. when a CPU tries to access
a poisoned cache line. The CPU will take a synchronous error exception
such as Synchronous External Abort (SEA) on Arm64 and Machine Check
Exception (MCE) on X86. OS requires to take action (for example, offline
failure page/kill failure thread) to recover this uncorrectable error.
- Asynchronous error: The error is detected out of processor execution
context, e.g. when an error is detected by a background scrubber. Some data
in the memory are corrupted. But the data have not been consumed. OS is
optional to take action to recover this uncorrectable error.
Currently, both synchronous and asynchronous error use
memory_failure_queue() to schedule memory_failure() exectute in kworker
context. As a result, when a user-space process is accessing a poisoned
data, a data abort is taken and the memory_failure() is executed in the
kworker context:
- will send wrong si_code by SIGBUS signal in early_kill mode, and
- can not kill the user-space in some cases resulting a synchronous
error infinite loop
Issue 1: send wrong si_code in early_kill mode
Since commit a70297d22132 ("ACPI: APEI: set memory failure flags as
MF_ACTION_REQUIRED on synchronous events")', the flag MF_ACTION_REQUIRED
could be used to determine whether a synchronous exception occurs on
ARM64 platform. When a synchronous exception is detected, the kernel is
expected to terminate the current process which has accessed poisoned
page. This is done by sending a SIGBUS signal with an error code
BUS_MCEERR_AR, indicating an action-required machine check error on
read.
However, when kill_proc() is called to terminate the processes who have
the poisoned page mapped, it sends the incorrect SIGBUS error code
BUS_MCEERR_AO because the context in which it operates is not the one
where the error was triggered.
To reproduce this problem:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 5 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 5) from einj_mem_uc indicates that it is BUS_MCEERR_AO
error and it is not fact.
To fix it, queue memory_failure() as a task_work so that it runs in
the context of the process that is actually consuming the poisoned data.
After this patch set:
# STEP1: enable early kill mode
#sysctl -w vm.memory_failure_early_kill=1
vm.memory_failure_early_kill = 1
# STEP2: inject an UCE error and consume it to trigger a synchronous error
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
The si_code (code 4) from einj_mem_uc indicates that it is BUS_MCEERR_AR
error as we expected.
Issue 2: a synchronous error infinite loop due to memory_failure() failed
If a user-space process, e.g. devmem, a poisoned page which has been set
HWPosion flag, kill_accessing_process() is called to send SIGBUS to the
current processs with error info. Because the memory_failure() is
executed in the kworker contex, it will just do nothing but return
EFAULT. So, devmem will access the posioned page and trigger an
excepction again, resulting in a synchronous error infinite loop. Such
loop may cause platform firmware to exceed some threshold and reboot
when Linux could have recovered from this error.
To reproduce this problem:
# STEP 1: inject an UCE error, and kernel will set HWPosion flag for related page
#einj_mem_uc single
0: single vaddr = 0xffffb0d75400 paddr = 4092d55b400
injecting ...
triggering ...
signal 7 code 4 addr 0xffffb0d75000
page not present
Test passed
# STEP 2: access the same page and it will trigger a synchronous error infinite loop
devmem 0x4092d55b400
To fix it, if memory_failure() failed, perform a force kill to current process.
Issue 3: a synchronous error infinite loop due to no memory_failure() queued
No memory_failure() work is queued unless all bellow preconditions check passed:
- `if (!(mem_err->validation_bits & CPER_MEM_VALID_PA))` in ghes_handle_memory_failure()
- `if (flags == -1)` in ghes_handle_memory_failure()
- `if (!IS_ENABLED(CONFIG_ACPI_APEI_MEMORY_FAILURE))` in ghes_do_memory_failure()
- `if (!pfn_valid(pfn) && !arch_is_platform_page(physical_addr)) ` in ghes_do_memory_failure()
If the preconditions are not passed, the user-space process will trigger SEA again.
This loop can potentially exceed the platform firmware threshold or even
trigger a kernel hard lockup, leading to a system reboot.
To fix it, if no memory_failure() queued, perform a force kill to current process.
And the the memory errors triggered in kernel-mode[5], also relies on this
patchset to kill the failure thread.
Lv Ying and XiuQi from Huawei also proposed to address similar problem[2][4].
Acknowledge to discussion with them.
[1] Add ARMv8 RAS virtualization support in QEMU https://patchew.org/QEMU/20200512030609.19593-1-gengdongjiu@huawei.com/
[2] https://lore.kernel.org/lkml/20221205115111.131568-3-lvying6@huawei.com/
[3] https://lkml.kernel.org/r/20220914064935.7851-1-xueshuai@linux.alibaba.com
[4] https://lore.kernel.org/lkml/20221209095407.383211-1-lvying6@huawei.com/
[5] https://patchwork.kernel.org/project/linux-arm-kernel/cover/20240528085915.…
Shuai Xue (4):
ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on
synchronous events
ACPI: APEI: send SIGBUS to current task if synchronous memory error
not recovered
mm: memory-failure: move return value documentation to function
declaration
ACPI: APEI: handle synchronous exceptions in task work
arch/x86/kernel/cpu/mce/core.c | 5 --
drivers/acpi/apei/ghes.c | 114 ++++++++++++++++++++++-----------
include/acpi/ghes.h | 3 -
include/linux/mm.h | 1 -
mm/memory-failure.c | 19 ++----
5 files changed, 82 insertions(+), 60 deletions(-)
--
2.25.1
2
5

[openeuler:OLK-6.6 1609/1609] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1922:5: warning: stack frame size (2200) exceeds limit (2048) in 'kfd_topology_add_device'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi xiajingze,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 241ad43fe7e9c24d5ba4cdd1ec22e731cdd22d14 [1609/1609] Compiler: Add clang's PGO support for kernel.
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101126.LSCSnI7W-lkp@…)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412101126.LSCSnI7W-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412101126.LSCSnI7W-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26:
In file included from include/linux/pci.h:1666:
In file included from include/linux/dmapool.h:14:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2235:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:1922:5: warning: stack frame size (2200) exceeds limit (2048) in 'kfd_topology_add_device' [-Wframe-larger-than]
1922 | int kfd_topology_add_device(struct kfd_node *gpu)
| ^
6 warnings generated.
--
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dml/calcs/dcn_calc_auto.c:26:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:35:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:29:
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/os_types.h:31:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2235:
include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
509 | item];
| ~~~~
include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
516 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
528 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
537 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/calcs/dcn_calc_auto.c:121:6: warning: stack frame size (2568) exceeds limit (2048) in 'mode_support_and_system_configuration' [-Wframe-larger-than]
121 | void mode_support_and_system_configuration(struct dcn_bw_internal_vars *v)
| ^
6 warnings generated.
vim +/kfd_topology_add_device +1922 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c
d230f1bfe7a197 Jonathan Kim 2022-03-25 1921
8dc1db3172ae2f Mukul Joshi 2022-09-14 @1922 int kfd_topology_add_device(struct kfd_node *gpu)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1923 {
f701acb6a4ed0a Felix Kuehling 2022-11-16 1924 uint32_t gpu_id;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1925 struct kfd_topology_device *dev;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1926 struct kfd_cu_info cu_info;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1927 int res = 0;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1928 int i;
f701acb6a4ed0a Felix Kuehling 2022-11-16 1929 const char *asic_name = amdgpu_asic_name[gpu->adev->asic_type];
f701acb6a4ed0a Felix Kuehling 2022-11-16 1930
f701acb6a4ed0a Felix Kuehling 2022-11-16 1931 gpu_id = kfd_generate_gpu_id(gpu);
400a39f1ec43d2 James Zhu 2023-08-09 1932 if (gpu->xcp && !gpu->xcp->ddev) {
400a39f1ec43d2 James Zhu 2023-08-09 1933 dev_warn(gpu->adev->dev,
400a39f1ec43d2 James Zhu 2023-08-09 1934 "Won't add GPU (ID: 0x%x) to topology since it has no drm node assigned.",
400a39f1ec43d2 James Zhu 2023-08-09 1935 gpu_id);
400a39f1ec43d2 James Zhu 2023-08-09 1936 return 0;
400a39f1ec43d2 James Zhu 2023-08-09 1937 } else {
f701acb6a4ed0a Felix Kuehling 2022-11-16 1938 pr_debug("Adding new GPU (ID: 0x%x) to topology\n", gpu_id);
400a39f1ec43d2 James Zhu 2023-08-09 1939 }
f701acb6a4ed0a Felix Kuehling 2022-11-16 1940
f701acb6a4ed0a Felix Kuehling 2022-11-16 1941 /* Check to see if this gpu device exists in the topology_device_list.
f701acb6a4ed0a Felix Kuehling 2022-11-16 1942 * If so, assign the gpu to that device,
f701acb6a4ed0a Felix Kuehling 2022-11-16 1943 * else create a Virtual CRAT for this gpu device and then parse that
f701acb6a4ed0a Felix Kuehling 2022-11-16 1944 * CRAT to create a new topology device. Once created assign the gpu to
f701acb6a4ed0a Felix Kuehling 2022-11-16 1945 * that topology device
f701acb6a4ed0a Felix Kuehling 2022-11-16 1946 */
f701acb6a4ed0a Felix Kuehling 2022-11-16 1947 down_write(&topology_lock);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1948 dev = kfd_assign_gpu(gpu);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1949 if (!dev)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1950 res = kfd_topology_add_device_locked(gpu, gpu_id, &dev);
c0cc999f3c32e6 Ma Jun 2022-11-02 1951 up_write(&topology_lock);
f701acb6a4ed0a Felix Kuehling 2022-11-16 1952 if (res)
f701acb6a4ed0a Felix Kuehling 2022-11-16 1953 return res;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1954
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1955 dev->gpu_id = gpu_id;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 1956 gpu->id = gpu_id;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1957
0f28cca87e9afc Ramesh Errabolu 2022-05-26 1958 kfd_dev_create_p2p_links();
0f28cca87e9afc Ramesh Errabolu 2022-05-26 1959
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1960 /* TODO: Move the following lines to function
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1961 * kfd_add_non_crat_information
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1962 */
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1963
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1964 /* Fill-in additional information that is not available in CRAT but
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1965 * needed for the topology
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1966 */
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1967
574c4183ef7511 Graham Sider 2021-10-19 1968 amdgpu_amdkfd_get_cu_info(dev->gpu->adev, &cu_info);
c181159a5b1e1e Yong Zhao 2019-08-01 1969
b7675b7bbc3c4c Graham Sider 2021-11-11 1970 for (i = 0; i < KFD_TOPOLOGY_PUBLIC_NAME_SIZE-1; i++) {
b7675b7bbc3c4c Graham Sider 2021-11-11 1971 dev->node_props.name[i] = __tolower(asic_name[i]);
b7675b7bbc3c4c Graham Sider 2021-11-11 1972 if (asic_name[i] == '\0')
b7675b7bbc3c4c Graham Sider 2021-11-11 1973 break;
b7675b7bbc3c4c Graham Sider 2021-11-11 1974 }
b7675b7bbc3c4c Graham Sider 2021-11-11 1975 dev->node_props.name[i] = '\0';
c181159a5b1e1e Yong Zhao 2019-08-01 1976
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1977 dev->node_props.simd_arrays_per_engine =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1978 cu_info.num_shader_arrays_per_engine;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1979
8dc1db3172ae2f Mukul Joshi 2022-09-14 1980 dev->node_props.gfx_target_version =
8dc1db3172ae2f Mukul Joshi 2022-09-14 1981 gpu->kfd->device_info.gfx_target_version;
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1982 dev->node_props.vendor_id = gpu->adev->pdev->vendor;
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1983 dev->node_props.device_id = gpu->adev->pdev->device;
c6d1ec4134edc1 Joseph Greathouse 2020-04-16 1984 dev->node_props.capability |=
02274fc0f67259 Graham Sider 2021-11-05 1985 ((dev->gpu->adev->rev_id << HSA_CAP_ASIC_REVISION_SHIFT) &
c6d1ec4134edc1 Joseph Greathouse 2020-04-16 1986 HSA_CAP_ASIC_REVISION_MASK);
92085240ef9c0e Jonathan Kim 2022-05-03 1987
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1988 dev->node_props.location_id = pci_dev_id(gpu->adev->pdev);
92085240ef9c0e Jonathan Kim 2022-05-03 1989 if (KFD_GC_VERSION(dev->gpu->kfd) == IP_VERSION(9, 4, 3))
92085240ef9c0e Jonathan Kim 2022-05-03 1990 dev->node_props.location_id |= dev->gpu->node_id;
92085240ef9c0e Jonathan Kim 2022-05-03 1991
d69a3b762dc4c9 Mukul Joshi 2022-05-09 1992 dev->node_props.domain = pci_domain_nr(gpu->adev->pdev->bus);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1993 dev->node_props.max_engine_clk_fcompute =
574c4183ef7511 Graham Sider 2021-10-19 1994 amdgpu_amdkfd_get_max_engine_clock_in_mhz(dev->gpu->adev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1995 dev->node_props.max_engine_clk_ccompute =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 1996 cpufreq_quick_get_max(0) / 1000;
a476c0c645535c Philip Yang 2023-02-23 1997
a476c0c645535c Philip Yang 2023-02-23 1998 if (gpu->xcp)
a476c0c645535c Philip Yang 2023-02-23 1999 dev->node_props.drm_render_minor = gpu->xcp->ddev->render->index;
a476c0c645535c Philip Yang 2023-02-23 2000 else
7c9b717196b1af Oak Zeng 2018-03-15 2001 dev->node_props.drm_render_minor =
8dc1db3172ae2f Mukul Joshi 2022-09-14 2002 gpu->kfd->shared_resources.drm_render_minor;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2003
8dc1db3172ae2f Mukul Joshi 2022-09-14 2004 dev->node_props.hive_id = gpu->kfd->hive_id;
ee2f17f4d02b14 Amber Lin 2021-11-18 2005 dev->node_props.num_sdma_engines = kfd_get_num_sdma_engines(gpu);
14568cf6583e9d Oak Zeng 2019-02-08 2006 dev->node_props.num_sdma_xgmi_engines =
ee2f17f4d02b14 Amber Lin 2021-11-18 2007 kfd_get_num_xgmi_sdma_engines(gpu);
bb71c74db3c554 Huang Rui 2019-12-16 2008 dev->node_props.num_sdma_queues_per_engine =
8dc1db3172ae2f Mukul Joshi 2022-09-14 2009 gpu->kfd->device_info.num_sdma_queues_per_engine -
8dc1db3172ae2f Mukul Joshi 2022-09-14 2010 gpu->kfd->device_info.num_reserved_sdma_queues_per_engine;
29633d0e204df1 Joseph Greathouse 2020-01-15 2011 dev->node_props.num_gws = (dev->gpu->gws &&
29e764621bbcd4 Oak Zeng 2019-05-03 2012 dev->gpu->dqm->sched_policy != KFD_SCHED_POLICY_NO_HWS) ?
02274fc0f67259 Graham Sider 2021-11-05 2013 dev->gpu->adev->gds.gws_size : 0;
e6945304187dea Yong Zhao 2020-01-30 2014 dev->node_props.num_cp_queues = get_cp_queues_num(dev->gpu->dqm);
0c1690e38b5e68 Shaoyun Liu 2018-07-06 2015
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2016 kfd_fill_mem_clk_max_info(dev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2017 kfd_fill_iolink_non_crat_info(dev);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2018
7eb0502ac0538e Graham Sider 2021-11-10 2019 switch (dev->gpu->adev->asic_type) {
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2020 case CHIP_KAVERI:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2021 case CHIP_HAWAII:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2022 case CHIP_TONGA:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2023 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 <<
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2024 HSA_CAP_DOORBELL_TYPE_TOTALBITS_SHIFT) &
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2025 HSA_CAP_DOORBELL_TYPE_TOTALBITS_MASK);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2026 break;
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2027 case CHIP_CARRIZO:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2028 case CHIP_FIJI:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2029 case CHIP_POLARIS10:
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2030 case CHIP_POLARIS11:
846a44d7e918a4 Gang Ba 2018-09-05 2031 case CHIP_POLARIS12:
ed81cd6e0e9f37 Kent Russell 2019-03-21 2032 case CHIP_VEGAM:
42aa8793d795f1 Felix Kuehling 2017-12-08 2033 pr_debug("Adding doorbell packet type capability\n");
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2034 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 <<
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2035 HSA_CAP_DOORBELL_TYPE_TOTALBITS_SHIFT) &
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2036 HSA_CAP_DOORBELL_TYPE_TOTALBITS_MASK);
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2037 break;
e4804a39ba5f72 Graham Sider 2021-10-28 2038 default:
d230f1bfe7a197 Jonathan Kim 2022-03-25 2039 if (KFD_GC_VERSION(dev->gpu) < IP_VERSION(9, 0, 1))
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2040 WARN(1, "Unexpected ASIC family %u",
7eb0502ac0538e Graham Sider 2021-11-10 2041 dev->gpu->adev->asic_type);
d230f1bfe7a197 Jonathan Kim 2022-03-25 2042 else
d230f1bfe7a197 Jonathan Kim 2022-03-25 2043 kfd_topology_set_capabilities(dev);
7639a8c420f04c Ben Goz 2015-06-07 2044 }
7639a8c420f04c Ben Goz 2015-06-07 2045
1ae99eab34f90c Oak Zeng 2019-06-10 2046 /*
1ae99eab34f90c Oak Zeng 2019-06-10 2047 * Overwrite ATS capability according to needs_iommu_device to fix
1ae99eab34f90c Oak Zeng 2019-06-10 2048 * potential missing corresponding bit in CRAT of BIOS.
1ae99eab34f90c Oak Zeng 2019-06-10 2049 */
1ae99eab34f90c Oak Zeng 2019-06-10 2050 dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT;
1ae99eab34f90c Oak Zeng 2019-06-10 2051
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2052 /* Fix errors in CZ CRAT.
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2053 * simd_count: Carrizo CRAT reports wrong simd_count, probably
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2054 * because it doesn't consider masked out CUs
70f372bffcc84c Philip Cox 2017-12-08 2055 * max_waves_per_simd: Carrizo reports wrong max_waves_per_simd
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2056 */
7eb0502ac0538e Graham Sider 2021-11-10 2057 if (dev->gpu->adev->asic_type == CHIP_CARRIZO) {
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2058 dev->node_props.simd_count =
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2059 cu_info.simd_per_cu * cu_info.cu_active_number;
70f372bffcc84c Philip Cox 2017-12-08 2060 dev->node_props.max_waves_per_simd = 10;
70f372bffcc84c Philip Cox 2017-12-08 2061 }
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2062
5436ab94cd9460 Stanley.Yang 2020-08-17 2063 /* kfd only concerns sram ecc on GFX and HBM ecc on UMC */
0dee45a25a63f7 Eric Huang 2019-01-11 2064 dev->node_props.capability |=
56c5977eae8799 Graham Sider 2021-10-19 2065 ((dev->gpu->adev->ras_enabled & BIT(AMDGPU_RAS_BLOCK__GFX)) != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2066 HSA_CAP_SRAM_EDCSUPPORTED : 0;
56c5977eae8799 Graham Sider 2021-10-19 2067 dev->node_props.capability |=
56c5977eae8799 Graham Sider 2021-10-19 2068 ((dev->gpu->adev->ras_enabled & BIT(AMDGPU_RAS_BLOCK__UMC)) != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2069 HSA_CAP_MEM_EDCSUPPORTED : 0;
0dee45a25a63f7 Eric Huang 2019-01-11 2070
046e674b961594 Graham Sider 2021-11-09 2071 if (KFD_GC_VERSION(dev->gpu) != IP_VERSION(9, 0, 1))
56c5977eae8799 Graham Sider 2021-10-19 2072 dev->node_props.capability |= (dev->gpu->adev->ras_enabled != 0) ?
0dee45a25a63f7 Eric Huang 2019-01-11 2073 HSA_CAP_RASEVENTNOTIFY : 0;
0dee45a25a63f7 Eric Huang 2019-01-11 2074
610dab118ff501 Philip Yang 2023-03-31 2075 if (KFD_IS_SVM_API_SUPPORTED(dev->gpu->adev))
4c166eb95decf0 Philip Yang 2020-12-09 2076 dev->node_props.capability |= HSA_CAP_SVMAPI_SUPPORTED;
4c166eb95decf0 Philip Yang 2020-12-09 2077
03d400e7605e3d Alex Sierra 2023-06-15 2078 if (dev->gpu->adev->gmc.is_app_apu ||
03d400e7605e3d Alex Sierra 2023-06-15 2079 dev->gpu->adev->gmc.xgmi.connected_to_cpu)
03d400e7605e3d Alex Sierra 2023-06-15 2080 dev->node_props.capability |= HSA_CAP_FLAGS_COHERENTHOSTACCESS;
03d400e7605e3d Alex Sierra 2023-06-15 2081
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2082 kfd_debug_print_topology();
3a87177eb14113 Harish Kasiviswanathan 2017-12-08 2083
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2084 kfd_notify_gpu_change(gpu_id, 1);
f701acb6a4ed0a Felix Kuehling 2022-11-16 2085
7d4f8db4a1448e Dan Carpenter 2022-11-25 2086 return 0;
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2087 }
5b5c4e40a37e85 Evgeny Pinchuk 2014-07-16 2088
:::::: The code at line 1922 was first introduced by commit
:::::: 8dc1db3172ae2f17ae71e33b608a33411ce8a1aa drm/amdkfd: Introduce kfd_node struct (v5)
:::::: TO: Mukul Joshi <mukul.joshi(a)amd.com>
:::::: CC: Alex Deucher <alexander.deucher(a)amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0