Kernel
Threads by month
- ----- 2025 -----
- March
- 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
- 3 participants
- 16948 discussions

[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

[openeuler:OLK-6.6 1610/1610] drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:371:3: error: a randomized struct can only be initialized with a designated initializer
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Shuai,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: db988390007bce595dba0dfd782c610578e26d2d
commit: 4213ff7957de370c1cfe528c2bad1eb2e499038a [1610/1610] net/ethernet/huawei/hinic3: Add the CQM on which the RDMA depends
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241210/202412101054.7uczAWCS-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/202412101054.7uczAWCS-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/202412101054.7uczAWCS-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:6:
In file included from include/linux/pci.h:1663:
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:2204:
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/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:371:3: error: a randomized struct can only be initialized with a designated initializer
371 | {check_for_use_node_alloc, cqm_buf_use_node_alloc_page},
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:372:3: error: a randomized struct can only be initialized with a designated initializer
372 | {check_for_nouse_node_alloc, cqm_buf_unused_node_alloc_page}
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:376:3: error: a randomized struct can only be initialized with a designated initializer
376 | {check_use_non_vram, cqm_buf_free_page_common}
| ^
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:382:25: error: invalid application of 'sizeof' to an incomplete type 'const struct malloc_memory[]'
382 | u32 malloc_funcs_num = ARRAY_SIZE(g_malloc_funcs);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:57:32: note: expanded from macro 'ARRAY_SIZE'
57 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~
drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c:399:23: error: invalid application of 'sizeof' to an incomplete type 'const struct free_memory[]'
399 | u32 free_funcs_num = ARRAY_SIZE(g_free_funcs);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/kernel.h:57:32: note: expanded from macro 'ARRAY_SIZE'
57 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
| ^~~~~
5 warnings and 5 errors generated.
vim +371 drivers/net/ethernet/huawei/hinic3/cqm/cqm_bitmap_table.c
369
370 static const struct malloc_memory g_malloc_funcs[] = {
> 371 {check_for_use_node_alloc, cqm_buf_use_node_alloc_page},
372 {check_for_nouse_node_alloc, cqm_buf_unused_node_alloc_page}
373 };
374
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

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 1613/1613] WARNING: modpost: vmlinux: section mismatch in reference: virtio_fs_init+0x79 (section: .init.text) -> virtio_fs_sysfs_exit (section: .exit.text)
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: db988390007bce595dba0dfd782c610578e26d2d
commit: cc6009cb24f9754275aa850a61fd12554acdec36 [1613/1613] virtiofs: export filesystem tags through sysfs
config: x86_64-buildonly-randconfig-005-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100915.WfanJ73e-lkp@…)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241210/202412100915.WfanJ73e-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/202412100915.WfanJ73e-lkp@intel.com/
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> WARNING: modpost: vmlinux: section mismatch in reference: virtio_fs_init+0x79 (section: .init.text) -> virtio_fs_sysfs_exit (section: .exit.text)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10] BUILD REGRESSION fbaada49082c23aa4e4ed43386a1ad4a457a0354
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
tree/branch: https://gitee.com/openeuler/kernel.git OLK-5.10
branch HEAD: fbaada49082c23aa4e4ed43386a1ad4a457a0354 !14124 media: cx24116: prevent overflows on SNR calculus
Error/Warning (recently discovered and may have been fixed):
https://lore.kernel.org/oe-kbuild-all/202412092317.DIsy2Dp4-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100013.zF4K3d9s-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100301.fVrumCik-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100625.1CDZ0rpT-lkp@intel.com
https://lore.kernel.org/oe-kbuild-all/202412100719.EfO2Bdyg-lkp@intel.com
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r0' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r1' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r2' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'r3' in asm
arch/arm64/include/asm/archrandom.h:20:2: error: unknown register name 'x16' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x0' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x1' in asm
arch/arm64/include/asm/atomic_lse.h:364:1: error: unknown register name 'x2' in asm
arch/arm64/include/asm/stack_pointer.h:8:51: error: register 'sp' unsuitable for global register variables on this target
arch/x86/kernel/paravirt.c:65:29: error: use of undeclared identifier 'CALL_INSN_OPCODE'
arch/x86/kernel/paravirt.c:65:2: error: implicit declaration of function '__text_gen_insn' [-Werror,-Wimplicit-function-declaration]
arch/x86/kernel/paravirt.c:65:36: error: 'CALL_INSN_OPCODE' undeclared (first use in this function)
arch/x86/kernel/paravirt.c:66:26: error: use of undeclared identifier 'CALL_INSN_SIZE'
arch/x86/kernel/paravirt.c:66:47: error: 'CALL_INSN_SIZE' undeclared (first use in this function)
drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait' [-Werror,-Wimplicit-function-declaration]
drivers/tty/tty_buffer.c:177:2: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
fs/eulerfs/euler_def.h:199:13: warning: redefinition of typedef 'hashlen_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/euler_def.h:92:12: warning: redefinition of typedef 'page_info_t' is a C11 feature [-Wtypedef-redefinition]
fs/eulerfs/namei.c:422:47: warning: variable 'de' is uninitialized when used here [-Wuninitialized]
kernel/workqueue.c:4821:5: error: implicit declaration of function 'printk_safe_enter' [-Werror,-Wimplicit-function-declaration]
kernel/workqueue.c:4823:5: error: implicit declaration of function 'printk_safe_exit' [-Werror,-Wimplicit-function-declaration]
ld.lld: error: version script assignment of 'LINUX_2.6' to symbol '__vdso_sgx_enter_enclave' failed: symbol not defined
make[2]: *** [Documentation/devicetree/bindings/Makefile:52: Documentation/devicetree/bindings/processed-schema-examples.json] Error 123
Unverified Error/Warning (likely false positive, kindly check if interested):
Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio:599 ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:0
Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio:588 ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:36
drivers/gpu/drm/radeon/si.o: warning: objtool: si_irq_process() falls through to next function si_resume()
drivers/gpu/drm/radeon/si.o: warning: objtool: si_irq_suspend() falls through to next function si_pcie_gart_disable()
drivers/net/ethernet/pensando/ionic/ionic_lif.c:855 ionic_adminq_napi() error: we previously assumed 'lif->adminqcq' could be null (see line 848)
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-allnoconfig
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| `-- kismet:WARNING:unmet-direct-dependencies-detected-for-CPPC_CPUFREQ_SYSFS_INTERFACE-when-selected-by-CPU_FREQ_GOV_SEEP
|-- arm64-defconfig
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_create_ttt_levels
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_brps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_get_num_wrps
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_ipa_limit
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_populate_par_region
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_pmu
| |-- arch-arm64-kvm-cvm.c:warning:no-previous-prototype-for-kvm_cvm_supports_sve
| |-- arch-arm64-kvm-hyp-nvhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- arch-arm64-kvm-hyp-vhe-..-aarch32.c:warning:Function-parameter-or-member-is_wide_instr-not-described-in-kvm_skip_instr32
| |-- 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-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-err_init_guid_fail-defined-but-not-used
| `-- drivers-net-ethernet-hisilicon-hns3-hns3_enet.c:warning:label-out_dbg_init-defined-but-not-used
|-- arm64-randconfig-001-20241209
| |-- arch-arm64-kernel-ipi_nmi.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- 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-crypto-hisilicon-qm.c:warning:strncpy-specified-bound-depends-on-the-length-of-the-source-argument
| |-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
| |-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
| |-- mm-kasan-common.c:error:void-value-not-ignored-as-it-ought-to-be
| |-- mm-kasan-common.c:warning:control-reaches-end-of-non-void-function
| `-- mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
|-- arm64-randconfig-003-20241209
| |-- 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-004-20241209
| |-- lib-..-mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
| |-- mm-kasan-common.c:error:void-value-not-ignored-as-it-ought-to-be
| |-- mm-kasan-common.c:warning:control-reaches-end-of-non-void-function
| `-- mm-kasan-kasan.h:warning:return-with-a-value-in-function-returning-void
|-- arm64-randconfig-051-20241210
| |-- 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-20241210
| |-- 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-20241210
| |-- 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-20241210
| |-- 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-055-20241209
| `-- make:Documentation-devicetree-bindings-Makefile:Documentation-devicetree-bindings-processed-schema-examples.json-Error
|-- arm64-randconfig-055-20241210
| |-- 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-r063-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
|-- x86_64-allnoconfig
| |-- Warning:sys-bus-iio-devices-iio:deviceX-out_altvoltageY_frequency-is-defined-times:.-Documentation-ABI-testing-sysfs-bus-iio-.-Documentation-ABI-testing-sysfs-bus-iio-frequency-adf4371
| `-- Warning:sys-bus-iio-devices-iio:deviceX-out_altvoltageY_powerdown-is-defined-times:.-Documentation-ABI-testing-sysfs-bus-iio-.-Documentation-ABI-testing-sysfs-bus-iio-frequency-adf4371
|-- 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-20241209
| |-- 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-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-002-20241209
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_OPCODE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:CALL_INSN_SIZE-undeclared-(first-use-in-this-function)
| |-- arch-x86-kernel-paravirt.c:error:implicit-declaration-of-function-__text_gen_insn
| `-- drivers-tty-tty_buffer.c:error:implicit-declaration-of-function-printk_safe_exit
|-- x86_64-buildonly-randconfig-003-20241209
| |-- 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
| |-- 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-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
|-- x86_64-buildonly-randconfig-004-20241209
| |-- 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
| `-- kernel-sched-topology.c:error:implicit-declaration-of-function-register_sysctl_init
|-- x86_64-buildonly-randconfig-005-20241209
| |-- 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
|-- x86_64-randconfig-101-20241209
| |-- drivers-gpu-drm-radeon-si.o:warning:objtool:si_irq_process-falls-through-to-next-function-si_resume()
| `-- drivers-gpu-drm-radeon-si.o:warning:objtool:si_irq_suspend-falls-through-to-next-function-si_pcie_gart_disable()
|-- x86_64-randconfig-161-20241204
| `-- drivers-net-ethernet-pensando-ionic-ionic_lif.c-ionic_adminq_napi()-error:we-previously-assumed-lif-adminqcq-could-be-null-(see-line-)
`-- x86_64-randconfig-161-20241210
`-- drivers-net-dsa-mv88e6xxx-chip.c:error:implicit-declaration-of-function-mv88e6xxx_g2_eeprom_wait-Werror-Wimplicit-function-declaration
elapsed time: 735m
configs tested: 16
configs skipped: 129
tested configs:
arm64 allmodconfig clang-18
arm64 allnoconfig gcc-14.2.0
arm64 defconfig gcc-14.2.0
arm64 randconfig-001-20241209 gcc-14.2.0
arm64 randconfig-002-20241209 clang-20
arm64 randconfig-003-20241209 clang-19
arm64 randconfig-004-20241209 gcc-14.2.0
x86_64 allnoconfig clang-19
x86_64 allyesconfig clang-19
x86_64 buildonly-randconfig-001-20241209 gcc-12
x86_64 buildonly-randconfig-002-20241209 gcc-12
x86_64 buildonly-randconfig-003-20241209 clang-19
x86_64 buildonly-randconfig-004-20241209 gcc-12
x86_64 buildonly-randconfig-005-20241209 clang-19
x86_64 buildonly-randconfig-006-20241209 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 1613/1613] drivers/irqchip/irq-gic-v3.c:1036:23: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations
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: db988390007bce595dba0dfd782c610578e26d2d
commit: 3053668e6b211924bb67c19d791a5a532eca2ad8 [1613/1613] arm64: Introduce Xint software solution
config: arm64-randconfig-003-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100826.ymHdQKlB-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/202412100826.ymHdQKlB-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/202412100826.ymHdQKlB-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/irqchip/irq-gic-v3.c:25:
In file included from include/linux/irqchip/arm-gic-v3.h:632:
In file included from arch/arm64/include/asm/arch_gicv3.h:17:
In file included from arch/arm64/include/asm/cacheflush.h:11:
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:2247:
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/irqchip/irq-gic-v3.c:1036:23: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1036 | int irq = (int)(long)pde_data(file_inode(file));
| ^
>> drivers/irqchip/irq-gic-v3.c:1074:2: error: call to undeclared function 'seq_printf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1074 | seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
| ^
>> drivers/irqchip/irq-gic-v3.c:1074:46: error: incomplete definition of type 'struct seq_file'
1074 | seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
| ~^
arch/arm64/include/asm/smp.h:56:8: note: forward declaration of 'struct seq_file'
56 | struct seq_file;
| ^
>> drivers/irqchip/irq-gic-v3.c:1080:9: error: call to undeclared function 'single_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1080 | return single_open(file, xint_proc_show, pde_data(inode));
| ^
drivers/irqchip/irq-gic-v3.c:1080:9: note: did you mean 'simple_open'?
include/linux/fs.h:3226:12: note: 'simple_open' declared here
3226 | extern int simple_open(struct inode *inode, struct file *file);
| ^
drivers/irqchip/irq-gic-v3.c:1080:43: error: call to undeclared function 'pde_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1080 | return single_open(file, xint_proc_show, pde_data(inode));
| ^
>> drivers/irqchip/irq-gic-v3.c:1085:15: error: use of undeclared identifier 'seq_read'
1085 | .proc_read = seq_read,
| ^
>> drivers/irqchip/irq-gic-v3.c:1086:16: error: use of undeclared identifier 'seq_lseek'
1086 | .proc_lseek = seq_lseek,
| ^
>> drivers/irqchip/irq-gic-v3.c:1087:18: error: use of undeclared identifier 'single_release'
1087 | .proc_release = single_release,
| ^
>> drivers/irqchip/irq-gic-v3.c:1083:30: error: variable has incomplete type 'const struct proc_ops'
1083 | static const struct proc_ops xint_proc_ops = {
| ^
drivers/irqchip/irq-gic-v3.c:1083:21: note: forward declaration of 'struct proc_ops'
1083 | static const struct proc_ops xint_proc_ops = {
| ^
>> drivers/irqchip/irq-gic-v3.c:1097:2: error: call to undeclared function 'proc_create_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1097 | proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
| ^
>> drivers/irqchip/irq-gic-v3.c:1097:39: error: no member named 'dir' in 'struct irq_desc'
1097 | proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
| ~~~~ ^
>> drivers/irqchip/irq-gic-v3.c:1105:2: error: call to undeclared function 'remove_proc_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1105 | remove_proc_entry("xint", desc->dir);
| ^
drivers/irqchip/irq-gic-v3.c:1105:34: error: no member named 'dir' in 'struct irq_desc'
1105 | remove_proc_entry("xint", desc->dir);
| ~~~~ ^
5 warnings and 13 errors generated.
vim +/pde_data +1036 drivers/irqchip/irq-gic-v3.c
1032
1033 static ssize_t xint_proc_write(struct file *file,
1034 const char __user *buffer, size_t count, loff_t *pos)
1035 {
> 1036 int irq = (int)(long)pde_data(file_inode(file));
1037 bool xint_state = false;
1038 unsigned long val;
1039 char *buf = NULL;
1040
1041 if (!xint_transform(irq, XINT_RANGE_CHECK))
1042 return -EPERM;
1043
1044 buf = memdup_user_nul(buffer, count);
1045 if (IS_ERR(buf))
1046 return PTR_ERR(buf);
1047
1048 if (kstrtoul(buf, 0, &val) || (val != 0 && val != 1)) {
1049 kfree(buf);
1050 return -EINVAL;
1051 }
1052
1053 xint_state = xint_transform(irq, XINT_SET_CHECK);
1054 if (xint_state == val) {
1055 kfree(buf);
1056 return -EBUSY;
1057 }
1058
1059 local_irq_disable();
1060 disable_irq(irq);
1061
1062 xint_transform(irq, xint_state ? XINT_TO_IRQ : IRQ_TO_XINT);
1063
1064 enable_irq(irq);
1065 local_irq_enable();
1066
1067 kfree(buf);
1068
1069 return count;
1070 }
1071
1072 static int xint_proc_show(struct seq_file *m, void *v)
1073 {
> 1074 seq_printf(m, "%d\n", xint_transform((long)m->private, XINT_SET_CHECK));
1075 return 0;
1076 }
1077
1078 static int xint_proc_open(struct inode *inode, struct file *file)
1079 {
> 1080 return single_open(file, xint_proc_show, pde_data(inode));
1081 }
1082
> 1083 static const struct proc_ops xint_proc_ops = {
1084 .proc_open = xint_proc_open,
> 1085 .proc_read = seq_read,
> 1086 .proc_lseek = seq_lseek,
> 1087 .proc_release = single_release,
1088 .proc_write = xint_proc_write,
1089 };
1090
1091 void register_irqchip_proc(struct irq_desc *desc, void *irqp)
1092 {
1093 if (!is_xint_support)
1094 return;
1095
1096 /* create /proc/irq/<irq>/xint */
> 1097 proc_create_data("xint", 0644, desc->dir, &xint_proc_ops, irqp);
1098 }
1099
1100 void unregister_irqchip_proc(struct irq_desc *desc)
1101 {
1102 if (!is_xint_support)
1103 return;
1104
> 1105 remove_proc_entry("xint", desc->dir);
1106 }
1107 #endif /* CONFIG_FAST_IRQ */
1108
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:openEuler-1.0-LTS 1321/1321] arch/x86/power/cpu.o: warning: objtool: missing symbol for section .exit.text
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Borislav,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: faa52e40c08916893e09ba030e616f92e4fc020b
commit: 27dd57ae7b305c8c1bcf55eab82c45d85b605149 [1321/1321] x86/cpu: Load microcode during restore_processor_state()
config: x86_64-buildonly-randconfig-002-20241205 (https://download.01.org/0day-ci/archive/20241210/202412100840.h8kOEWMA-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/202412100840.h8kOEWMA-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/202412100840.h8kOEWMA-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/power/cpu.c:27:
In file included from arch/x86/include/asm/mmu_context.h:12:
In file included from arch/x86/include/asm/pgalloc.h:7:
include/linux/pagemap.h:425:21: warning: cast from 'int (*)(struct file *, struct page *)' to 'filler_t *' (aka 'int (*)(void *, struct page *)') converts to incompatible function type [-Wcast-function-type-strict]
425 | filler_t *filler = (filler_t *)mapping->a_ops->readpage;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
arch/x86/power/cpu.c:78: warning: Function parameter or member 'ctxt' not described in '__save_processor_state'
arch/x86/power/cpu.c:200: warning: Function parameter or member 'ctxt' not described in '__restore_processor_state'
>> arch/x86/power/cpu.o: warning: objtool: missing symbol for section .exit.text
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-6.6 1613/1613] arch/arm64/kernel/cpufeature.c:2387:6: warning: no previous prototype for function 'fast_syscall_enabled'
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: db988390007bce595dba0dfd782c610578e26d2d
commit: 5c3cf22892983304b18d87296ed96ff0ab7d6c95 [1613/1613] arm64: Introduce xcall a faster svc exception handling
config: arm64-randconfig-001-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100701.gJFnUZcV-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/202412100701.gJFnUZcV-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/202412100701.gJFnUZcV-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/arm64/kernel/cpufeature.c:67:
In file included from include/linux/crash_dump.h:5:
In file included from include/linux/kexec.h:18:
In file included from include/linux/crash_core.h:6:
In file included from include/linux/elfcore.h:11:
In file included from include/linux/ptrace.h:10:
In file included from include/linux/pid_namespace.h:7:
In file included from include/linux/mm.h:2247:
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 +
| ~~~~~~~~~~~~~~~~~~~~~~
>> arch/arm64/kernel/cpufeature.c:2387:6: warning: no previous prototype for function 'fast_syscall_enabled' [-Wmissing-prototypes]
2387 | bool fast_syscall_enabled(void)
| ^
arch/arm64/kernel/cpufeature.c:2387:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2387 | bool fast_syscall_enabled(void)
| ^
| static
6 warnings generated.
vim +/fast_syscall_enabled +2387 arch/arm64/kernel/cpufeature.c
2386
> 2387 bool fast_syscall_enabled(void)
2388 {
2389 return is_xcall_support;
2390 }
2391
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0

[openeuler:OLK-5.10 2570/2570] drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait'
by kernel test robot 10 Dec '24
by kernel test robot 10 Dec '24
10 Dec '24
Hi Fabio,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: fbaada49082c23aa4e4ed43386a1ad4a457a0354
commit: 02956abc74ede6549249eb21e5b319b92dd147f3 [2570/2570] net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
config: x86_64-randconfig-161-20241210 (https://download.01.org/0day-ci/archive/20241210/202412100719.EfO2Bdyg-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/202412100719.EfO2Bdyg-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/202412100719.EfO2Bdyg-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/dsa/mv88e6xxx/chip.c:15:
In file included from include/linux/etherdevice.h:20:
In file included from include/linux/if_ether.h:19:
In file included from include/linux/skbuff.h:17:
In file included from include/linux/bvec.h:14:
In file included from include/linux/mm.h:1581:
include/linux/vmstat.h:431:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
431 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from drivers/net/dsa/mv88e6xxx/chip.c:32:
In file included from include/net/dsa.h:22:
include/net/devlink.h:28:19: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
28 | u32 reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:29:26: warning: arithmetic between different enumeration types ('enum devlink_reload_limit' and 'enum devlink_reload_action') [-Wenum-enum-conversion]
29 | u32 remote_reload_stats[DEVLINK_RELOAD_STATS_ARRAY_SIZE];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/devlink.h:25:30: note: expanded from macro 'DEVLINK_RELOAD_STATS_ARRAY_SIZE'
25 | (__DEVLINK_RELOAD_LIMIT_MAX * __DEVLINK_RELOAD_ACTION_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mv88e6xxx/chip.c:2320:4: error: implicit declaration of function 'mv88e6xxx_g2_eeprom_wait' [-Werror,-Wimplicit-function-declaration]
2320 | mv88e6xxx_g2_eeprom_wait(chip);
| ^
drivers/net/dsa/mv88e6xxx/chip.c:2320:4: note: did you mean 'mv88e6xxx_g2_pvt_write'?
drivers/net/dsa/mv88e6xxx/global2.h:457:19: note: 'mv88e6xxx_g2_pvt_write' declared here
457 | static inline int mv88e6xxx_g2_pvt_write(struct mv88e6xxx_chip *chip,
| ^
3 warnings and 1 error generated.
vim +/mv88e6xxx_g2_eeprom_wait +2320 drivers/net/dsa/mv88e6xxx/chip.c
2306
2307 static void mv88e6xxx_hardware_reset(struct mv88e6xxx_chip *chip)
2308 {
2309 struct gpio_desc *gpiod = chip->reset;
2310
2311 /* If there is a GPIO connected to the reset pin, toggle it */
2312 if (gpiod) {
2313 /* If the switch has just been reset and not yet completed
2314 * loading EEPROM, the reset may interrupt the I2C transaction
2315 * mid-byte, causing the first EEPROM read after the reset
2316 * from the wrong location resulting in the switch booting
2317 * to wrong mode and inoperable.
2318 */
2319 if (chip->info->ops->get_eeprom)
> 2320 mv88e6xxx_g2_eeprom_wait(chip);
2321
2322 gpiod_set_value_cansleep(gpiod, 1);
2323 usleep_range(10000, 20000);
2324 gpiod_set_value_cansleep(gpiod, 0);
2325 usleep_range(10000, 20000);
2326
2327 if (chip->info->ops->get_eeprom)
2328 mv88e6xxx_g2_eeprom_wait(chip);
2329 }
2330 }
2331
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
1
0