Re: [PATCH v7 3/6] PCI: Allow pci_bus_for_each_resource() to take less arguments

kernel test robot <[email protected]>
Newsgroups gmane.linux.ports.sparc,gmane.linux.kernel.pci,gmane.linux.kernel,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.ppc64.devel,gmane.linux.ports.sh.devel,gmane.comp.emulators.xen.devel,gmane.linux.acpi.devel
Message-ID <[email protected]>
Greeting,

FYI, we noticed various errors such like
    "i40e: probe of 0000:3d:00.0 failed with error -12"
due to commit (built with gcc-11):

commit: d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2 ("[PATCH v7 3/6] PCI: Allow pci_bus_for_each_resource() to take less arguments")
url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/kernel-h-Split-out-COUNT_ARGS-and-CONCATENATE/20230324-013857
base: https://git.kernel.org/cgit/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/all/[email protected]/
patch subject: [PATCH v7 3/6] PCI: Allow pci_bus_for_each_resource() to take less arguments

in testcase: boot

on test machine: 96 threads 2 sockets Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz (Cascade Lake) with 512G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-lkp/[email protected]


$ xzgrep error dmesg.xz
[   51.684385][    T1] i40e: probe of 0000:3d:00.0 failed with error -12
[   51.709906][    T1] i40e: probe of 0000:3d:00.1 failed with error -12
[   51.979447][  T638] xhci_hcd: probe of 0000:00:14.0 failed with error -16
[   55.722124][    T1] calling  init_error_injection+0x0/0x70 @ 1
[   55.729441][    T1] initcall init_error_injection+0x0/0x70 returned 0 after 1316 usecs
e Volatile Files[   69.603735][ T1054] ioatdma: probe of 0000:00:04.0 failed with error -22
[   69.630580][ T1054] ioatdma: probe of 0000:00:04.1 failed with error -22
[   69.658415][ T1054] ioatdma: probe of 0000:00:04.2 failed with error -22
[   69.706342][ T1054] ioatdma: probe of 0000:00:04.3 failed with error -22
[   69.788776][ T1054] ioatdma: probe of 0000:00:04.4 failed with error -22
         Startin[   69.810610][ T1054] ioatdma: probe of 0000:00:04.5 failed with error -22
[   69.838865][ T1054] ioatdma: probe of 0000:00:04.6 failed with error -22
ind portmap serv[   69.866504][ T1054] ioatdma: probe of 0000:00:04.7 failed with error -22
[   69.897288][ T1054] ioatdma: probe of 0000:80:04.0 failed with error -22
tem Boot/Shutdow[   69.917172][ T1054] ioatdma: probe of 0000:80:04.1 failed with error -22
[   69.936033][ T1054] ioatdma: probe of 0000:80:04.2 failed with error -22
1;39mRPC bind po[   69.954728][ T1054] ioatdma: probe of 0000:80:04.3 failed with error -22
[   69.979795][ T1054] ioatdma: probe of 0000:80:04.4 failed with error -22
[   70.015547][ T1054] ioatdma: probe of 0000:80:04.6 failed with error -22
[   70.017299][ T1054] ioatdma: probe of 0000:80:04.7 failed with error -22
[   70.093241][ T1012] ahci: probe of 0000:00:11.5 failed with error -22
0m] Reached targ[   70.113139][ T1012] ahci: probe of 0000:00:17.0 failed with error -22



To reproduce:

        # build kernel
	cd linux
	cp config-6.3.0-rc1-00011-gd23d5938fd7c .config
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
config-6.3.0-rc1-00011-gd23d5938fd7c (text/plain, 166.3 KB) - not displayed
job-script (text/plain, 5.4 KB)
#!/bin/sh

export_top_env()
{
	export suite='boot'
	export testcase='boot'
	export category='functional'
	export timeout='10m'
	export job_origin='boot.yaml'
	export queue_cmdline_keys='branch
commit
kbuild_queue_analysis'
	export queue='validate'
	export testbox='lkp-csl-2sp7'
	export tbox_group='lkp-csl-2sp7'
	export branch='linux-review/Andy-Shevchenko/kernel-h-Split-out-COUNT_ARGS-and-CONCATENATE/20230324-013857'
	export commit='d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2'
	export submit_id='6425360bd72cca2e430b1ec2'
	export job_file='/lkp/jobs/scheduled/lkp-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2-20230330-11843-1kr537c-5.yaml'
	export id='27789a0684b9f388a33c7a5b8286d250194b9e5e'
	export queuer_version='/zday/lkp'
	export model='Cascade Lake'
	export nr_node=2
	export nr_cpu=96
	export memory='512G'
	export nr_hdd_partitions=1
	export nr_ssd_partitions=1
	export hdd_partitions='/dev/disk/by-id/ata-ST1000NM0055-1V410C_ZBS1K5E0-part1'
	export ssd_partitions='/dev/disk/by-id/ata-INTEL_SSDSC2BB800G4_PHWL4204000G800RGN-part1'
	export swap_partitions=
	export rootfs_partition='/dev/disk/by-id/ata-ST1000NM0055-1V410C_ZBS1K5E0-part2'
	export brand='Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz'
	export ucode='0x5003302'
	export need_kconfig_hw='{"I40E"=>"y"}
SATA_AHCI'
	export rootfs='debian-11.1-x86_64-20220510.cgz'
	export kconfig='x86_64-rhel-8.3-func'
	export enqueue_time='2023-03-30 15:11:08 +0800'
	export compiler='gcc-11'
	export _id='64253621d72cca2e430b1ec4'
	export _rt='/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2'
	export user='lkp'
	export LKP_SERVER='internal-lkp-server'
	export result_root='/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2/3'
	export scheduler_version='/lkp/lkp/.src-20230330-101552'
	export arch='x86_64'
	export max_uptime=600
	export initrd='/osimage/debian/debian-11.1-x86_64-20220510.cgz'
	export bootloader_append='root=/dev/ram0
RESULT_ROOT=/result/boot/1/lkp-csl-2sp7/debian-11.1-x86_64-20220510.cgz/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2/3
BOOT_IMAGE=/pkg/linux/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2/vmlinuz-6.3.0-rc1-00011-gd23d5938fd7c
branch=linux-review/Andy-Shevchenko/kernel-h-Split-out-COUNT_ARGS-and-CONCATENATE/20230324-013857
job=/lkp/jobs/scheduled/lkp-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2-20230330-11843-1kr537c-5.yaml
user=lkp
ARCH=x86_64
kconfig=x86_64-rhel-8.3-func
commit=d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2
initcall_debug
nmi_watchdog=0
max_uptime=600
LKP_SERVER=internal-lkp-server
nokaslr
selinux=0
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
net.ifnames=0
printk.devkmsg=on
panic=-1
softlockup_panic=1
nmi_watchdog=panic
oops=panic
load_ramdisk=2
prompt_ramdisk=0
drbd.minor_count=8
systemd.log_level=err
ignore_loglevel
console=tty0
earlyprintk=ttyS0,115200
console=ttyS0,115200
vga=normal
rw'
	export modules_initrd='/pkg/linux/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2/modules.cgz'
	export bm_initrd='/osimage/deps/debian-11.1-x86_64-20220510.cgz/run-ipconfig_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/lkp_20220513.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/rsync-rootfs_20220515.cgz,/osimage/deps/debian-11.1-x86_64-20220510.cgz/hw_20220526.cgz'
	export ucode_initrd='/osimage/ucode/intel-ucode-20220804.cgz'
	export lkp_initrd='/osimage/user/lkp/lkp-x86_64.cgz'
	export site='inn'
	export LKP_CGI_PORT=80
	export LKP_CIFS_PORT=139
	export last_kernel='4.20.0'
	export repeat_to=6
	export schedule_notify_address=
	export stop_repeat_if_found='last_state.booting'
	export kbuild_queue_analysis=1
	export kernel='/pkg/linux/x86_64-rhel-8.3-func/gcc-11/d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2/vmlinuz-6.3.0-rc1-00011-gd23d5938fd7c'
	export dequeue_time='2023-03-30 15:18:03 +0800'
	export job_initrd='/lkp/jobs/scheduled/lkp-csl-2sp7/boot-1-debian-11.1-x86_64-20220510.cgz-d23d5938fd7ced817d6aa1ff86cd671ebbaebfc2-20230330-11843-1kr537c-5.cgz'

	[ -n "$LKP_SRC" ] ||
	export LKP_SRC=/lkp/${user:-lkp}/src
}

run_job()
{
	echo $$ > $TMP/run-job.pid

	. $LKP_SRC/lib/http.sh
	. $LKP_SRC/lib/job.sh
	. $LKP_SRC/lib/env.sh

	export_top_env

	run_monitor $LKP_SRC/monitors/one-shot/wrapper boot-slabinfo
	run_monitor $LKP_SRC/monitors/one-shot/wrapper boot-meminfo
	run_monitor $LKP_SRC/monitors/one-shot/wrapper memmap
	run_monitor $LKP_SRC/monitors/no-stdout/wrapper boot-time
	run_monitor $LKP_SRC/monitors/wrapper kmsg
	run_monitor $LKP_SRC/monitors/wrapper heartbeat
	run_monitor $LKP_SRC/monitors/wrapper meminfo
	run_monitor $LKP_SRC/monitors/wrapper oom-killer
	run_monitor $LKP_SRC/monitors/plain/watchdog

	run_test $LKP_SRC/tests/wrapper sleep 1
}

extract_stats()
{
	export stats_part_begin=
	export stats_part_end=

	$LKP_SRC/stats/wrapper boot-slabinfo
	$LKP_SRC/stats/wrapper boot-meminfo
	$LKP_SRC/stats/wrapper memmap
	$LKP_SRC/stats/wrapper boot-memory
	$LKP_SRC/stats/wrapper boot-time
	$LKP_SRC/stats/wrapper kernel-size
	$LKP_SRC/stats/wrapper kmsg
	$LKP_SRC/stats/wrapper sleep
	$LKP_SRC/stats/wrapper meminfo

	$LKP_SRC/stats/wrapper time sleep.time
	$LKP_SRC/stats/wrapper dmesg
	$LKP_SRC/stats/wrapper kmsg
	$LKP_SRC/stats/wrapper last_state
	$LKP_SRC/stats/wrapper stderr
	$LKP_SRC/stats/wrapper time
}

"$@"
dmesg.xz (application/x-xz, 43.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.