All of lore.kernel.org
 help / color / mirror / Atom feed
* REGRESSION 5.19-rc1: virtio: harden vring IRQ
@ 2022-06-09  4:55 Theodore Ts'o
  2022-06-09  6:19 ` Jason Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Theodore Ts'o @ 2022-06-09  4:55 UTC (permalink / raw)
  To: Jason Wang
  Cc: Thomas Gleixner, Peter Zijlstra, Paul E. McKenney, Marc Zyngier,
	Halil Pasic, Cornelia Huck, Vineeth Vijayan, Peter Oberparleiter,
	linux-kernel, Linus Torvalds, horsten Leemhuis

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

I can no longer boot v5.19-rc1 on a Google Compute Engine VM.  This
bisected to commit 8b4ec69d7e09 ("virtio: harden vring IRQ").  Its
parent commit, be83f04d2529 ("virtio: allow to unbreak virtqueue")
does successfully boot, so it appears to be caused by commit
8b4ec69d7e09.

I've attached the console log and the config file which I used (which
was generated by using "kvm-xfstests install-kconfig"[1] which is
essentially a "make olddefconfig" of [2]

[1] https://github.com/tytso/xfstests-bld/blob/master/kernel-build/install-kconfig
[2] https://github.com/tytso/xfstests-bld/blob/master/kernel-build/kernel-configs/x86_64-config-5.15

Unfortunately, commit 8b4ec69d7e09 doesn't revert cleanly against
v5.19-rc1, but I can look into figure out how to do revert it if
necessary.

Is this a known issue?

Thanks,

						- Ted


[-- Attachment #2: console-fail --]
[-- Type: text/plain, Size: 25200 bytes --]

Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
[    0.000000] Linux version 5.18.0-xfstests-11488-g8b4ec69d7e09 (tytso@cwcc) (gcc (Debian 11.3.0-3) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38) #679 SMP PREEMPT_DYNAMIC Thu Jun 9 00:09:03 EDT 2022
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.18.0-xfstests-11488-g8b4ec69d7e09 root=UUID=4bc6c562-dfc5-430b-8630-ae5ab9b2650e ro console=ttyS0,115200 earlyprintk=ttyS0,115200 elevator=noop console=ttyS0 net.ifnames=0 biosdevname=0 cmd=maint mem=7680M fstestcfg= fstestset= fstestexc= fstestopt= fstesttyp=ext4 fstestapi=1.5 fsteststr= nfssrv= orig_cmdline=bGF1bmNo
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
[    0.000000] signal: max sigframe size: 1776
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000001000-0x0000000000054fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000055000-0x000000000005ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000060000-0x0000000000097fff] usable
[    0.000000] BIOS-e820: [mem 0x0000000000098000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000be8eefff] usable
[    0.000000] BIOS-e820: [mem 0x00000000be8ef000-0x00000000be9eefff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000be9ef000-0x00000000beaeefff] type 20
[    0.000000] BIOS-e820: [mem 0x00000000beaef000-0x00000000beb6efff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000beb6f000-0x00000000beb7efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000beb7f000-0x00000000bebfefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bebff000-0x00000000bffdffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000023fffffff] usable
[    0.000000] printk: bootconsole [earlyser0] enabled
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] user-defined physical RAM map:
[    0.000000] user: [mem 0x0000000000000000-0x0000000000000fff] reserved
[    0.000000] user: [mem 0x0000000000001000-0x0000000000054fff] usable
[    0.000000] user: [mem 0x0000000000055000-0x000000000005ffff] reserved
[    0.000000] user: [mem 0x0000000000060000-0x0000000000097fff] usable
[    0.000000] user: [mem 0x0000000000098000-0x000000000009ffff] reserved
[    0.000000] user: [mem 0x0000000000100000-0x00000000be8eefff] usable
[    0.000000] user: [mem 0x00000000be8ef000-0x00000000be9eefff] reserved
[    0.000000] user: [mem 0x00000000be9ef000-0x00000000beaeefff] type 20
[    0.000000] user: [mem 0x00000000beaef000-0x00000000beb6efff] reserved
[    0.000000] user: [mem 0x00000000beb6f000-0x00000000beb7efff] ACPI data
[    0.000000] user: [mem 0x00000000beb7f000-0x00000000bebfefff] ACPI NVS
[    0.000000] user: [mem 0x00000000bebff000-0x00000000bffdffff] usable
[    0.000000] user: [mem 0x00000000bffe0000-0x00000000bfffffff] reserved
[    0.000000] user: [mem 0x0000000100000000-0x00000001dfffffff] usable
[    0.000000] efi: EFI v2.70 by EDK II
[    0.000000] efi: TPMFinalLog=0xbebf7000 ACPI=0xbeb7e000 ACPI 2.0=0xbeb7e014 SMBIOS=0xbe9cc000 MEMATTR=0xbd488198 
[    0.000000] SMBIOS 2.4 present.
[    0.000000] DMI: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000002] kvm-clock: using sched offset of 6281714328 cycles
[    0.001653] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.004971] tsc: Detected 2200.166 MHz processor
[    0.005776] last_pfn = 0x1e0000 max_arch_pfn = 0x400000000
[    0.006847] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Memory KASLR using RDRAND RDTSC...
[    0.008383] last_pfn = 0xbffe0 max_arch_pfn = 0x400000000
[    0.024028] Using GB pages for direct mapping
[    0.026437] Secure boot could not be determined
[    0.027895] RAMDISK: [mem 0x363f9000-0x371f3fff]
[    0.029286] ACPI: Early table checksum verification disabled
[    0.030868] ACPI: RSDP 0x00000000BEB7E014 000024 (v02 Google)
[    0.031673] ACPI: XSDT 0x00000000BEB7D0E8 00005C (v01 Google GOOGFACP 00000001      01000013)
[    0.033946] ACPI: FACP 0x00000000BEB78000 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[    0.036460] ACPI: DSDT 0x00000000BEB79000 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[    0.039425] ACPI: FACS 0x00000000BEBF2000 000040
[    0.040941] ACPI: SSDT 0x00000000BEB7C000 000316 (v02 GOOGLE Tpm2Tabl 00001000 INTL 20211217)
[    0.042973] ACPI: TPM2 0x00000000BEB7B000 000034 (v04 GOOGLE          00000001 GOOG 00000001)
[    0.044617] ACPI: SRAT 0x00000000BEB77000 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[    0.047803] ACPI: APIC 0x00000000BEB76000 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[    0.049881] ACPI: SSDT 0x00000000BEB75000 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[    0.051410] ACPI: WAET 0x00000000BEB74000 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[    0.054633] ACPI: Reserving FACP table memory at [mem 0xbeb78000-0xbeb780f3]
[    0.056867] ACPI: Reserving DSDT table memory at [mem 0xbeb79000-0xbeb7aa63]
[    0.059275] ACPI: Reserving FACS table memory at [mem 0xbebf2000-0xbebf203f]
[    0.060362] ACPI: Reserving SSDT table memory at [mem 0xbeb7c000-0xbeb7c315]
[    0.062071] ACPI: Reserving TPM2 table memory at [mem 0xbeb7b000-0xbeb7b033]
[    0.064026] ACPI: Reserving SRAT table memory at [mem 0xbeb77000-0xbeb770c7]
[    0.065849] ACPI: Reserving APIC table memory at [mem 0xbeb76000-0xbeb76075]
[    0.067114] ACPI: Reserving SSDT table memory at [mem 0xbeb75000-0xbeb7597f]
[    0.068355] ACPI: Reserving WAET table memory at [mem 0xbeb74000-0xbeb74027]
[    0.069371] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.070284] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.071150] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
[    0.072581] ACPI: SRAT: Node 0 PXM 0 [mem 0x00100000-0xbfffffff]
[    0.074201] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x23fffffff]
[    0.075438] NUMA: Node 0 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0xbfffffff] -> [mem 0x00000000-0xbfffffff]
[    0.078156] NUMA: Node 0 [mem 0x00000000-0xbfffffff] + [mem 0x100000000-0x1dfffffff] -> [mem 0x00000000-0x1dfffffff]
[    0.080915] NODE_DATA(0) allocated [mem 0x1dfffb000-0x1dfffffff]
[    0.083187] Zone ranges:
[    0.083948]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.085081]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.086041]   Normal   [mem 0x0000000100000000-0x00000001dfffffff]
[    0.087635]   Device   empty
[    0.088238] Movable zone start for each node
[    0.089556] Early memory node ranges
[    0.090347]   node   0: [mem 0x0000000000001000-0x0000000000054fff]
[    0.092007]   node   0: [mem 0x0000000000060000-0x0000000000097fff]
[    0.093675]   node   0: [mem 0x0000000000100000-0x00000000be8eefff]
[    0.094873]   node   0: [mem 0x00000000bebff000-0x00000000bffdffff]
[    0.096541]   node   0: [mem 0x0000000100000000-0x00000001dfffffff]
[    0.097662] Initmem setup node 0 [mem 0x0000000000001000-0x00000001dfffffff]
[    0.099610] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.099615] On node 0, zone DMA: 11 pages in unavailable ranges
[    0.100639] On node 0, zone DMA: 104 pages in unavailable ranges
[    0.118398] On node 0, zone DMA32: 784 pages in unavailable ranges
[    0.139008] On node 0, zone Normal: 32 pages in unavailable ranges
[    0.140875] ACPI: PM-Timer IO Port: 0xb008
[    0.143368] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.145180] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.146623] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.148347] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.150229] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.152174] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.153739] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.155023] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[    0.157465] [mem 0xc0000000-0xffffffff] available for PCI devices
[    0.158504] Booting paravirtualized kernel on KVM
[    0.159560] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.167938] setup_percpu: NR_CPUS:48 nr_cpumask_bits:48 nr_cpu_ids:2 nr_node_ids:1
[    0.171550] percpu: Embedded 51 pages/cpu s178984 r0 d29912 u1048576
[    0.172947] kvm-guest: PV spinlocks enabled
[    0.173879] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.175667] Fallback order for Node 0: 0 
[    0.176225] Built 1 zonelists, mobility grouping on.  Total pages: 1673211
[    0.177179] Policy zone: Normal
[    0.177582] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.18.0-xfstests-11488-g8b4ec69d7e09 root=UUID=4bc6c562-dfc5-430b-8630-ae5ab9b2650e ro console=ttyS0,115200 earlyprintk=ttyS0,115200 elevator=noop console=ttyS0 net.ifnames=0 biosdevname=0 cmd=maint mem=7680M fstestcfg= fstestset= fstestexc= fstestopt= fstesttyp=ext4 fstestapi=1.5 fsteststr= nfssrv= orig_cmdline=bGF1bmNo
[    0.185737] Kernel parameter elevator= does not have any effect anymore.
[    0.185737] Please use sysfs to set IO scheduler for individual devices.
[    0.189103] Unknown kernel command line parameters "BOOT_IMAGE=/boot/vmlinuz-5.18.0-xfstests-11488-g8b4ec69d7e09 biosdevname=0 cmd=maint fstestcfg= fstestset= fstestexc= fstestopt= fstesttyp=ext4 fstestapi=1.5 fsteststr= nfssrv= orig_cmdline=bGF1bmNo", will be passed to user space.
[    0.196802] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.199412] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.201035] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.236086] Memory: 6519832K/6812016K available (16401K kernel code, 2761K rwdata, 3692K rodata, 1600K init, 6636K bss, 291924K reserved, 0K cma-reserved)
[    0.240945] kmemleak: Kernel memory leak detector disabled
[    0.242980] Kernel/User page tables isolation: enabled
[    0.244181] ftrace: allocating 47121 entries in 185 pages
[    0.254750] ftrace: allocated 185 pages with 5 groups
[    0.257638] Dynamic Preempt: none
[    0.259817] rcu: Preemptible hierarchical RCU implementation.
[    0.261190] rcu: 	RCU event tracing is enabled.
[    0.262247] rcu: 	RCU restricting CPUs from NR_CPUS=48 to nr_cpu_ids=2.
[    0.263517] rcu: 	RCU debug extended QS entry/exit.
[    0.264724] 	Trampoline variant of Tasks RCU enabled.
[    0.265452] 	Rude variant of Tasks RCU enabled.
[    0.266056] 	Tracing variant of Tasks RCU enabled.
[    0.266687] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    0.267786] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.274217] NR_IRQS: 4352, nr_irqs: 440, preallocated irqs: 16
[    0.276370] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.277980] random: crng init done
[    0.280101] Console: colour dummy device 80x25
[    0.280752] printk: console [ttyS0] enabled
[    0.280752] printk: console [ttyS0] enabled
[    0.282320] printk: bootconsole [earlyser0] disabled
[    0.282320] printk: bootconsole [earlyser0] disabled
[    0.285897] ACPI: Core revision 20220331
[    0.287158] APIC: Switch to symmetric I/O mode setup
[    0.288637] x2apic enabled
[    0.292716] Switched APIC routing to physical x2apic.
[    0.299360] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[    0.302354] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1fb6cfa72cd, max_idle_ns: 440795262980 ns
[    0.305617] Calibrating delay loop (skipped) preset value.. 4402.67 BogoMIPS (lpj=7333886)
[    0.308953] pid_max: default: 32768 minimum: 301
[    0.314639] LSM: Security Framework initializing
[    0.315686] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.317625] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Poking KASLR using RDRAND RDTSC...
[    0.320267] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[    0.322286] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[    0.325632] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.327467] Spectre V2 : Mitigation: Retpolines
[    0.328952] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.330819] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.332289] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.334515] Spectre V2 : User space: Mitigation: STIBP via prctl
[    0.335619] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.337792] TAA: Mitigation: Clear CPU buffers
[    0.338952] MDS: Mitigation: Clear CPU buffers
[    0.342944] Freeing SMP alternatives memory: 48K
[    0.451262] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.20GHz (family: 0x6, model: 0x4f, stepping: 0x0)
[    0.452279] cblist_init_generic: Setting adjustable number of callback queues.
[    0.452283] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.455675] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.457977] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.458976] Performance Events: unsupported p6 CPU model 79 no PMU driver, software events only.
[    0.462371] rcu: Hierarchical SRCU implementation.
[    0.462388] printk: console [ttyS0] printing thread started
[    0.467553] NMI watchdog: Perf NMI watchdog permanently disabled
[    0.467639] smp: Bringing up secondary CPUs ...
[    0.468237] x86: Booting SMP configuration:
[    0.468238] .... node  #0, CPUs:      #1
[    0.474064] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.474064] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details.
[    0.474064] smp: Brought up 1 node, 2 CPUs
[    0.474064] smpboot: Max logical packages: 1
[    0.474064] smpboot: Total of 2 processors activated (8804.35 BogoMIPS)
[    0.474064] devtmpfs: initialized
[    0.474064] x86/mm: Memory block size: 128MB
[    0.474064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.474064] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.474064] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.474064] thermal_sys: Registered thermal governor 'step_wise'
[    0.496815] cpuidle: using governor menu
[    0.496815] PCI: Using configuration type 1 for base access
[    0.533980] cryptd: max_cpu_qlen set to 1000
[    0.591721] raid6: avx2x4   gen() 12495 MB/s
[    0.648390] raid6: avx2x2   gen() 14607 MB/s
[    0.705066] raid6: avx2x1   gen() 12283 MB/s
[    0.705071] raid6: using algorithm avx2x2 gen() 14607 MB/s
[    0.761730] raid6: .... xor() 17214 MB/s, rmw enabled
[    0.761734] raid6: using avx2x2 recovery algorithm
[    0.761772] ACPI: Added _OSI(Module Device)
[    0.761773] ACPI: Added _OSI(Processor Device)
[    0.761773] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.761774] ACPI: Added _OSI(Processor Aggregator Device)
[    0.761775] ACPI: Added _OSI(Linux-Dell-Video)
[    0.761776] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.761777] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.762967] ACPI: 3 ACPI AML tables successfully acquired and loaded
[    0.764289] ACPI: Interpreter enabled
[    0.764298] ACPI: PM: (supports S0 S5)
[    0.764300] ACPI: Using IOAPIC for interrupt routing
[    0.764320] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.764321] PCI: Using E820 reservations for host bridge windows
[    0.764599] ACPI: Enabled 16 GPEs in block 00 to 0F
[    0.768169] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.768178] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    0.768181] acpi PNP0A03:00: PCIe port services disabled; not requesting _OSC control
[    0.768373] PCI host bridge to bus 0000:00
[    0.768375] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.768378] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.768380] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.768382] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfefff window]
[    0.768384] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.768453] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    0.769211] pci 0000:00:01.0: [8086:7110] type 00 class 0x060100
[    0.780948] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    0.787067] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 ACPI
[    0.787473] pci 0000:00:03.0: [1af4:1004] type 00 class 0x000000
[    0.791100] pci 0000:00:03.0: reg 0x10: [io  0xc040-0xc07f]
[    0.791100] pci 0000:00:03.0: reg 0x14: [mem 0xc0002000-0xc000207f]
[    0.798037] pci 0000:00:04.0: [1af4:1000] type 00 class 0x020000
[    0.800563] pci 0000:00:04.0: reg 0x10: [io  0xc000-0xc03f]
[    0.804459] pci 0000:00:04.0: reg 0x14: [mem 0xc0001000-0xc000107f]
[    0.809235] pci 0000:00:05.0: [1af4:1002] type 00 class 0x00ff00
[    0.810819] pci 0000:00:05.0: reg 0x10: [io  0xc0a0-0xc0bf]
[    0.810819] pci 0000:00:05.0: reg 0x14: [mem 0xc0000000-0xc000007f]
[    0.819440] pci 0000:00:06.0: [1af4:1005] type 00 class 0x00ff00
[    0.820428] pci 0000:00:06.0: reg 0x10: [io  0xc080-0xc09f]
[    0.820548] pci 0000:00:06.0: reg 0x14: [mem 0xc0003000-0xc000303f]
[    0.828768] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    0.829076] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[    0.829099] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    0.830666] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    0.832329] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[    0.832950] SCSI subsystem initialized
[    0.832997] Registered efivars operations
[    0.833151] PCI: Using ACPI for IRQ routing
[    0.833379] vgaarb: loaded
[    0.878959] clocksource: Switched to clocksource kvm-clock
[    0.879229] VFS: Disk quotas dquot_6.6.0
[    0.879254] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.879320] pnp: PnP ACPI init
[    0.880652] pnp: PnP ACPI: found 7 devices
[    0.886598] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.886661] NET: Registered PF_INET protocol family
[    0.886914] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.888926] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.888944] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.889697] TCP bind bhash tables hash table entries: 65536 (order: 8, 1572864 bytes, linear)
[    0.890473] TCP: Hash tables configured (established 65536 bind 65536)
[    0.890519] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.890546] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.890612] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.905409] RPC: Registered named UNIX socket transport module.
[    0.905412] RPC: Registered udp transport module.
[    0.905413] RPC: Registered tcp transport module.
[    0.905414] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.905423] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    0.905427] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    0.905429] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    0.905431] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfefff window]
[    0.905485] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.905593] PCI: CLS 0 bytes, default 64
[    0.905603] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.905604] software IO TLB: mapped [mem 0x00000000b6ff7000-0x00000000baff7000] (64MB)
[    0.905787] Unpacking initramfs...
[    0.951093] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer
[    0.951106] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb6cfa72cd, max_idle_ns: 440795262980 ns
[    0.951334] clocksource: Switched to clocksource tsc
[    0.951568] Initialise system trusted keyrings
[    0.951623] workingset: timestamp_bits=40 max_order=21 bucket_order=0
[    0.952129] NFS: Registering the id_resolver key type
[    0.952135] Key type id_resolver registered
[    0.952136] Key type id_legacy registered
[    0.952140] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.952327] ntfs: driver 2.1.32 [Flags: R/W].
[    0.952387] fuse: init (API version 7.36)
[    0.952444] JFS: nTxBlock = 8192, nTxLock = 65536
[    0.976972] SGI XFS with ACLs, security attributes, realtime, scrub, repair, verbose warnings, quota, no debug enabled
[    0.977550] 9p: Installing v9fs 9p2000 file system support
[    0.977570] NILFS version 2 loaded
[    0.977593] ocfs2: Registered cluster interface o2cb
[    0.977652] OCFS2 User DLM kernel interface loaded
[    0.977873] xor: automatically using best checksumming function   avx       
[    0.977876] Key type asymmetric registered
[    0.977878] Asymmetric key parser 'x509' registered
[    0.977892] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.977893] io scheduler mq-deadline registered
[    0.977895] io scheduler kyber registered
[    0.999498] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    0.999503] ACPI: button: Power Button [PWRF]
[    0.999576] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[    0.999578] ACPI: button: Sleep Button [SLPF]
[    1.011046] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[    1.011117] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver
[    1.016175] ACPI: \_SB_.LNKD: Enabled at IRQ 10
[    1.016239] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver
[    1.022492] ACPI: \_SB_.LNKA: Enabled at IRQ 10
[    1.022559] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver
[    1.027627] ACPI: \_SB_.LNKB: Enabled at IRQ 11
[    1.027696] virtio-pci 0000:00:06.0: virtio_pci: leaving for legacy driver
[    1.045011] virtio_balloon virtio2: init_vqs: add stat_vq failed
[    1.046530] virtio_balloon: probe of virtio2 failed with error -5
[    1.054466] Serial: 8250/16550 driver, 32 ports, IRQ sharing disabled
[    1.054642] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.054897] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    1.055087] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A
[    1.055275] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A
[    1.075479] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0x9009, rev-id 0)
[    1.199842] Freeing initrd memory: 14316K
[  245.675674] INFO: task swapper/0:1 blocked for more than 122 seconds.
[  245.676681]       Not tainted 5.18.0-xfstests-11488-g8b4ec69d7e09 #679
[  245.677801] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  245.679214] task:swapper/0       state:D stack:    0 pid:    1 ppid:     0 flags:0x00004000
[  245.680732] Call Trace:
[  245.681092]  <TASK>
[  245.681537]  __schedule+0x269/0x720
[  245.682108]  schedule+0x4e/0xb0
[  245.682851]  schedule_preempt_disabled+0x14/0x20
[  245.683855]  __mutex_lock.constprop.0+0x4bd/0x730
[  245.684723]  add_early_randomness+0x17/0xb0
[  245.685480]  hwrng_register+0x18e/0x1a0
[  245.686031]  tpm_chip_register+0xda/0x260
[  245.686654]  tpm_tis_core_init.cold+0x279/0x44a
[  245.687479]  tpm_tis_plat_probe+0xd8/0x100
[  245.688058]  platform_probe+0x2b/0x50
[  245.688670]  really_probe+0xca/0x3a0
[  245.689347]  driver_probe_device+0x1e/0x90
[  245.689938]  __driver_attach+0x90/0x1c0
[  245.690597]  ? __device_attach_driver+0x100/0x100
[  245.691311]  ? __device_attach_driver+0x100/0x100
[  245.692206]  bus_for_each_dev+0x78/0xc0
[  245.692825]  bus_add_driver+0x141/0x1e0
[  245.693470]  driver_register+0x8f/0xe0
[  245.694028]  ? tpm_init+0xf1/0xf1
[  245.694744]  init_tis+0x88/0xde
[  245.695193]  ? kobject_uevent_env+0x113/0x380
[  245.696604]  ? driver_register+0xc2/0xe0
[  245.700750]  do_one_initcall+0x81/0x162
[  245.704719]  do_initcalls+0xc6/0xdf
[  245.708334]  kernel_init_freeable+0x115/0x146
[  245.712816]  ? rest_init+0xc0/0xc0
[  245.716344]  kernel_init+0x16/0x120
[  245.719954]  ret_from_fork+0x22/0x30
[  245.723653]  </TASK>


[-- Attachment #3: config.gz --]
[-- Type: application/gzip, Size: 18967 bytes --]

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

* Re: REGRESSION 5.19-rc1: virtio: harden vring IRQ
  2022-06-09  4:55 REGRESSION 5.19-rc1: virtio: harden vring IRQ Theodore Ts'o
@ 2022-06-09  6:19 ` Jason Wang
  2022-06-09 13:52   ` Theodore Ts'o
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Wang @ 2022-06-09  6:19 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Thomas Gleixner, Peter Zijlstra, Paul E. McKenney, Marc Zyngier,
	Halil Pasic, Cornelia Huck, Vineeth Vijayan, Peter Oberparleiter,
	linux-kernel, Linus Torvalds, horsten Leemhuis

Hi:

On Thu, Jun 9, 2022 at 12:57 PM Theodore Ts'o <tytso@mit.edu> wrote:
>
> I can no longer boot v5.19-rc1 on a Google Compute Engine VM.  This
> bisected to commit 8b4ec69d7e09 ("virtio: harden vring IRQ").  Its
> parent commit, be83f04d2529 ("virtio: allow to unbreak virtqueue")
> does successfully boot, so it appears to be caused by commit
> 8b4ec69d7e09.
>
> I've attached the console log and the config file which I used (which
> was generated by using "kvm-xfstests install-kconfig"[1] which is
> essentially a "make olddefconfig" of [2]
>
> [1] https://github.com/tytso/xfstests-bld/blob/master/kernel-build/install-kconfig
> [2] https://github.com/tytso/xfstests-bld/blob/master/kernel-build/kernel-configs/x86_64-config-5.15
>
> Unfortunately, commit 8b4ec69d7e09 doesn't revert cleanly against
> v5.19-rc1, but I can look into figure out how to do revert it if
> necessary.
>
> Is this a known issue?

This seems to be the same issue as the syzbot report recently.

Would you please test this patch to see if it works?

https://www.spinics.net/lists/kernel/msg4389357.html

Thanks

>
> Thanks,
>
>                                                 - Ted
>


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

* Re: REGRESSION 5.19-rc1: virtio: harden vring IRQ
  2022-06-09  6:19 ` Jason Wang
@ 2022-06-09 13:52   ` Theodore Ts'o
  0 siblings, 0 replies; 3+ messages in thread
From: Theodore Ts'o @ 2022-06-09 13:52 UTC (permalink / raw)
  To: Jason Wang
  Cc: Thomas Gleixner, Peter Zijlstra, Paul E. McKenney, Marc Zyngier,
	Halil Pasic, Cornelia Huck, Vineeth Vijayan, Peter Oberparleiter,
	linux-kernel, Linus Torvalds, horsten Leemhuis

On Thu, Jun 09, 2022 at 02:19:59PM +0800, Jason Wang wrote:
> 
> This seems to be the same issue as the syzbot report recently.
> 
> Would you please test this patch to see if it works?
> 
> https://www.spinics.net/lists/kernel/msg4389357.html

Yep, that fixes things for me!  (As does disabling
CONFIG_HW_RANDOM_TPM.)

Tested-by: Theodore Ts'o <tytso@mit.edu>

Thanks,

					- Ted

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

end of thread, other threads:[~2022-06-09 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09  4:55 REGRESSION 5.19-rc1: virtio: harden vring IRQ Theodore Ts'o
2022-06-09  6:19 ` Jason Wang
2022-06-09 13:52   ` Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.