platform-driver-x86.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
@ 2024-01-03 21:31 Klara Modin
  2024-01-04  8:41 ` Shinichiro Kawasaki
  0 siblings, 1 reply; 11+ messages in thread
From: Klara Modin @ 2024-01-03 21:31 UTC (permalink / raw)
  To: shinichiro.kawasaki
  Cc: andriy.shevchenko, hdegoede, ilpo.jarvinen, linux-i2c, linux-pci,
	lukas, platform-driver-x86

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

Hi,

With this patch, ata_piix fails to detect my IDE controller (older P4
Xeon board). Reverting this on top of 6.7-rc8 resolves the issue for
me.

Please tell me if there's anything else you need. I'm willing to test
any new patches.

Kind regards,
Klara Modin

[-- Attachment #2: lspci --]
[-- Type: application/octet-stream, Size: 11095 bytes --]

00:00.0 Host bridge: Intel Corporation 82860 860 (Wombat) Chipset Host Bridge (MCH) (rev 04)
	Subsystem: Super Micro Computer Inc 82860 860 (Wombat) Chipset Host Bridge (MCH)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR+ INTx-
	Latency: 0
	Region 0: Memory at f0000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
	Kernel driver in use: agpgart-intel
	Kernel modules: i82860_edac

00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
	I/O behind bridge: f000-0fff [disabled] [16-bit]
	Memory behind bridge: f6000000-f7ffffff [size=32M] [32-bit]
	Prefetchable memory behind bridge: f4000000-f5ffffff [size=32M] [32-bit]
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA+ VGA+ VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:02.0 PCI bridge: Intel Corporation 82860 860 (Wombat) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64
	Bus: primary=00, secondary=02, subordinate=03, sec-latency=0
	I/O behind bridge: 9000-9fff [size=4K] [16-bit]
	Memory behind bridge: f8000000-f9ffffff [size=32M] [32-bit]
	Prefetchable memory behind bridge: 40000000-400fffff [size=1M] [32-bit]
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
	I/O behind bridge: a000-afff [size=4K] [16-bit]
	Memory behind bridge: fa000000-fbffffff [size=32M] [32-bit]
	Prefetchable memory behind bridge: 40100000-401fffff [size=1M] [32-bit]
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04) (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
	Subsystem: Super Micro Computer Inc 82801BA IDE U100 Controller
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at f000 [size=16]
	Kernel driver in use: ata_piix

00:1f.2 USB controller: Intel Corporation 82801BA/BAM UHCI USB 1.1 Controller #1 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Super Micro Computer Inc 82801BA/BAM UHCI USB 1.1 Controller
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin D routed to IRQ 19
	Region 4: I/O ports at b000 [size=32]
	Kernel driver in use: uhci_hcd

00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
	Subsystem: Super Micro Computer Inc 82801BA/BAM SMBus Controller
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin B routed to IRQ 17
	Region 4: I/O ports at 1000 [size=16]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.4 USB controller: Intel Corporation 82801BA/BAM UHCI USB 1.1 Controller #2 (rev 04) (prog-if 00 [UHCI])
	Subsystem: Super Micro Computer Inc 82801BA/BAM UHCI USB 1.1 Controller
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin C routed to IRQ 23
	Region 4: I/O ports at b800 [size=32]
	Kernel driver in use: uhci_hcd

00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 04)
	Subsystem: Super Micro Computer Inc 82801BA/BAM AC'97 Audio Controller
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 17
	Region 0: I/O ports at bc00 [size=256]
	Region 1: I/O ports at c000 [size=64]
	Kernel driver in use: snd_intel8x0
	Kernel modules: snd_intel8x0

01:00.0 VGA compatible controller: NVIDIA Corporation NV5 [Riva TNT2 Model 64 / Model 64 Pro] (rev 11) (prog-if 00 [VGA controller])
	Subsystem: Creative Labs NV5 [Riva TNT2 Model 64 / Model 64 Pro]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (1250ns min, 250ns max)
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at f4000000 (32-bit, prefetchable) [size=32M]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [60] Power Management version 1
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [44] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
	Kernel driver in use: nvidiafb
	Kernel modules: rivafb, nvidiafb

02:1f.0 PCI bridge: Intel Corporation 82806AA PCI64 Hub PCI Bridge (rev 03) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=32
	I/O behind bridge: 9000-9fff [size=4K] [16-bit]
	Memory behind bridge: f8000000-f9ffffff [size=32M] [32-bit]
	Prefetchable memory behind bridge: 40000000-400fffff [size=1M] [32-bit]
	Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA+ VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

03:00.0 PIC: Intel Corporation 82806AA PCI64 Hub Advanced Programmable Interrupt Controller (rev 01) (prog-if 20 [IO(X)-APIC])
	Subsystem: Intel Corporation 82806AA PCI64 Hub APIC
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at f9001000 (32-bit, non-prefetchable) [disabled] [size=4K]

03:04.0 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
	Subsystem: Adaptec AIC-7899P U160/m
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (10000ns min, 6250ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 18
	BIST result: 00
	Region 0: I/O ports at 9000 [disabled] [size=256]
	Region 1: Memory at f9000000 (64-bit, non-prefetchable) [size=4K]
	Expansion ROM at 40000000 [virtual] [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: aic7xxx

03:04.1 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
	Subsystem: Adaptec AIC-7899P U160/m
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (10000ns min, 6250ns max), Cache Line Size: 32 bytes
	Interrupt: pin B routed to IRQ 18
	BIST result: 00
	Region 0: I/O ports at 9400 [disabled] [size=256]
	Region 1: Memory at f9002000 (64-bit, non-prefetchable) [size=4K]
	Expansion ROM at 40020000 [virtual] [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: aic7xxx

04:04.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)
	Subsystem: Intel Corporation EtherExpress PRO/100+ Server Adapter (PILA8470B)
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 64 (2000ns min, 14000ns max), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fb100000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at a000 [size=64]
	Region 2: Memory at fb000000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at 40100000 [virtual] [disabled] [size=1M]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
	Kernel driver in use: e100


[-- Attachment #3: dmesg --]
[-- Type: application/octet-stream, Size: 43855 bytes --]

[    0.000000] Linux version 6.7.0-rc8-xeon2p-00001-g4f83302de1dd (klara@xeon2p.int.kasm.eu) (gcc (Gentoo 13.2.1_p20231216 p11) 13.2.1 20231216, GNU ld (Gentoo 2.41 p4) 2.41.0) #27 SMP PREEMPT_DYNAMIC Wed Jan  3 20:45:42 CET 2024
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000953ff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ff4efff] usable
[    0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fff2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000003fff3000-0x000000003fffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: Supermicro P4DC6/P4DC6, BIOS 6.00 PG 06/27/2003
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2180.845 MHz processor
[    0.006495] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.006505] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.006515] last_pfn = 0x3ff4f max_arch_pfn = 0x1000000
[    0.006531] MTRR map: 7 entries (6 fixed + 1 variable; max 22), built from 8 variable MTRRs
[    0.006541] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- UC  
[    0.017413] found SMP MP-table at [mem 0x000f5010-0x000f501f]
[    0.017444] initial memory mapped: [mem 0x00000000-0x151fffff]
[    0.017607] RAMDISK: [mem 0x37fe5000-0x37fe9fff]
[    0.017612] Allocated new RAMDISK: [mem 0x375f9000-0x375fd3ff]
[    0.017631] Move RAMDISK from [mem 0x37fe5000-0x37fe93ff] to [mem 0x375f9000-0x375fd3ff]
[    0.017645] ACPI: Early table checksum verification disabled
[    0.017655] ACPI: RSDP 0x00000000000F6BE0 000014 (v00 IntelR)
[    0.017665] ACPI: RSDT 0x000000003FFF3000 00002C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017680] ACPI: FACP 0x000000003FFF3040 000074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017694] ACPI: DSDT 0x000000003FFF30C0 003B65 (v01 INTELR AWRDACPI 00001000 MSFT 0100000E)
[    0.017706] ACPI: FACS 0x000000003FFF0000 000040
[    0.017715] ACPI: APIC 0x000000003FFF6C40 00006C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017723] ACPI: Reserving FACP table memory at [mem 0x3fff3040-0x3fff30b3]
[    0.017727] ACPI: Reserving DSDT table memory at [mem 0x3fff30c0-0x3fff6c24]
[    0.017730] ACPI: Reserving FACS table memory at [mem 0x3fff0000-0x3fff003f]
[    0.017734] ACPI: Reserving APIC table memory at [mem 0x3fff6c40-0x3fff6cab]
[    0.017767] 137MB HIGHMEM available.
[    0.017770] 885MB LOWMEM available.
[    0.017772]   mapped low ram: 0 - 375fe000
[    0.017775]   low ram: 0 - 375fe000
[    0.017801] Zone ranges:
[    0.017803]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.017809]   Normal   [mem 0x0000000001000000-0x00000000375fdfff]
[    0.017814]   HighMem  [mem 0x00000000375fe000-0x000000003ff4efff]
[    0.017819] Movable zone start for each node
[    0.017821] Early memory node ranges
[    0.017822]   node   0: [mem 0x0000000000001000-0x0000000000094fff]
[    0.017826]   node   0: [mem 0x0000000000100000-0x000000003ff4efff]
[    0.017831] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ff4efff]
[    0.017849] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.017939] On node 0, zone DMA: 107 pages in unavailable ranges
[    0.027653] ACPI: PM-Timer IO Port: 0x408
[    0.027689] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.027702] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.027707] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.027716] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.027721] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.027756] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.027762] PM: hibernation: Registered nosave memory: [mem 0x00095000-0x000effff]
[    0.027765] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.027771] [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.027780] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.027806] setup_percpu: NR_CPUS:8 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.028967] percpu: Embedded 34 pages/cpu s109460 r0 d29804 u139264
[    0.028986] pcpu-alloc: s109460 r0 d29804 u139264 alloc=34*4096
[    0.028994] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.029037] Kernel command line: BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-g4f83302de1dd root=PARTUUID=10cc689d-cade-4b45-a0e1-9036bbdc33b9 ro rootflags=subvol=gentoo console=tty0 console=ttyS0,115200 acpi_enforce_resources=lax resume=PARTUUID=fcfbed7f-e788-4297-a1d9-179484780a65 rootfstype=btrfs
[    0.029304] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-g4f83302de1dd", will be passed to user space.
[    0.030056] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.030453] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030536] Built 1 zonelists, mobility grouping on.  Total pages: 260087
[    0.030545] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.030554] Initializing HighMem for node 0 (000375fe:0003ff4f)
[    0.058153] Initializing Movable for node 0 (00000000:00000000)
[    0.068588] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.068622] Memory: 1020332K/1047436K available (10331K kernel code, 1640K rwdata, 2796K rodata, 808K init, 564K bss, 27104K reserved, 0K cma-reserved, 140612K highmem)
[    0.068765] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.068785] Kernel/User page tables isolation: enabled
[    0.069047] trace event string verifier disabled
[    0.069147] Dynamic Preempt: voluntary
[    0.069242] rcu: Preemptible hierarchical RCU implementation.
[    0.069244] rcu: 	RCU event tracing is enabled.
[    0.069246] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.069250] 	Trampoline variant of Tasks RCU enabled.
[    0.069252] 	Tracing variant of Tasks RCU enabled.
[    0.069254] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.069257] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.074117] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.074385] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.076781] Console: colour VGA+ 80x25
[    0.076789] printk: legacy console [tty0] enabled
[    0.081576] printk: legacy console [ttyS0] enabled
[    0.650881] ACPI: Core revision 20230628
[    0.655055] APIC: Switch to symmetric I/O mode setup
[    0.660496] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.683019] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1f6f83d5d05, max_idle_ns: 440795293766 ns
[    0.693616] Calibrating delay loop (skipped), value calculated using timer frequency.. 4361.69 BogoMIPS (lpj=8723380)
[    0.697718] CPU0: Thermal monitoring enabled (TM1)
[    0.701713] Last level iTLB entries: 4KB 64, 2MB 64, 4MB 64
[    0.705668] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
[    0.709675] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.713683] Spectre V2 : Mitigation: Retpolines
[    0.717666] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.721679] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.725669] Speculative Store Bypass: Vulnerable
[    0.729673] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.733669] MMIO Stale Data: Unknown: No mitigations
[    0.737673] x86/fpu: x87 FPU will use FXSAVE
[    0.742780] Freeing SMP alternatives memory: 36K
[    0.745669] pid_max: default: 32768 minimum: 301
[    0.749707] LSM: initializing lsm=capability,integrity
[    0.753730] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.757687] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.875201] smpboot: CPU0: Intel(R) Xeon(TM) MP CPU 2.20GHz (family: 0xf, model: 0x2, stepping: 0x6)
[    0.878267] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.881720] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.885733] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
[    0.889674] ... version:                0
[    0.893666] ... bit width:              40
[    0.897665] ... generic registers:      18
[    0.901665] ... value mask:             000000ffffffffff
[    0.905667] ... max period:             0000007fffffffff
[    0.909670] ... fixed-purpose events:   0
[    0.913666] ... event mask:             000000000003ffff
[    0.917945] signal: max sigframe size: 1440
[    0.921785] rcu: Hierarchical SRCU implementation.
[    0.925669] rcu: 	Max phase no-delay instances is 1000.
[    0.930200] smp: Bringing up secondary CPUs ...
[    0.934085] smpboot: x86: Booting SMP configuration:
[    0.937675] .... node  #0, CPUs:      #1
[    0.591194] [Firmware Bug]: CPU1: APIC id mismatch. Firmware: 1 APIC: 7
[    0.591194] smpboot: CPU 1 Converting physical 3 to logical package 1
[    0.591194] smpboot: CPU 1 Converting physical 0 to logical die 1
[    1.049987]  #2
[    0.591194] [Firmware Bug]: CPU2: APIC id mismatch. Firmware: 2 APIC: 6
[    1.149919] 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.
[    1.154159]  #3
[    0.591194] [Firmware Bug]: CPU3: APIC id mismatch. Firmware: 3 APIC: 1
[    1.253692] smp: Brought up 1 node, 4 CPUs
[    1.257780] smpboot: Max logical packages: 2
[    1.261668] smpboot: Total of 4 processors activated (17447.10 BogoMIPS)
[    1.269843] devtmpfs: initialized
[    1.274256] ACPI: PM: Registering ACPI NVS region [mem 0x3fff0000-0x3fff2fff] (12288 bytes)
[    1.277891] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.281706] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[    1.285804] pinctrl core: initialized pinctrl subsystem
[    1.289745] PM: RTC time: 20:26:58, date: 2024-01-03
[    1.294028] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    1.298102] audit: initializing netlink subsys (disabled)
[    1.301687] audit: type=2000 audit(1704313617.640:1): state=initialized audit_enabled=0 res=1
[    1.301908] thermal_sys: Registered thermal governor 'fair_share'
[    1.305688] thermal_sys: Registered thermal governor 'bang_bang'
[    1.309670] thermal_sys: Registered thermal governor 'step_wise'
[    1.313670] thermal_sys: Registered thermal governor 'user_space'
[    1.317703] cpuidle: using governor ladder
[    1.325679] cpuidle: using governor menu
[    1.335599] PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=4
[    1.337670] PCI: Using configuration type 1 for base access
[    1.342089] mtrr: your CPUs had inconsistent variable MTRR settings
[    1.345670] mtrr: probably your BIOS does not setup all CPUs.
[    1.349668] mtrr: corrected configuration.
[    1.353822] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    1.361680] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    1.366602] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    1.441604] raid6: sse2x2   gen()  2342 MB/s
[    1.513600] raid6: sse2x1   gen()  2037 MB/s
[    1.585604] raid6: sse1x2   gen()  1349 MB/s
[    1.657617] raid6: sse1x1   gen()  1118 MB/s
[    1.661669] raid6: using algorithm sse2x2 gen() 2342 MB/s
[    1.733602] raid6: .... xor() 1408 MB/s, rmw enabled
[    1.737668] raid6: using intx1 recovery algorithm
[    1.741797] ACPI: Added _OSI(Module Device)
[    1.745668] ACPI: Added _OSI(Processor Device)
[    1.749667] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.753668] ACPI: Added _OSI(Processor Aggregator Device)
[    1.766818] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.776023] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    1.778106] ACPI: Interpreter enabled
[    1.781719] ACPI: PM: (supports S0 S1 S3 S4 S5)
[    1.785667] ACPI: Using IOAPIC for interrupt routing
[    1.790224] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.793681] PCI: Using E820 reservations for host bridge windows
[    1.797917] ACPI: Enabled 1 GPEs in block 00 to 0F
[    1.801610] ACPI: Enabled 5 GPEs in block 10 to 1F
[    1.811260] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.813680] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    1.817682] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[    1.821696] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[    1.826217] PCI host bridge to bus 0000:00
[    1.829668] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.833671] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.837671] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff window]
[    1.841679] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    1.845680] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.849716] pci 0000:00:00.0: [8086:2531] type 00 class 0x060000
[    1.853678] pci 0000:00:00.0: reg 0x10: [mem 0xf0000000-0xf3ffffff pref]
[    1.857833] pci 0000:00:01.0: [8086:2532] type 01 class 0x060400
[    1.861828] pci 0000:00:02.0: [8086:2533] type 01 class 0x060400
[    1.865941] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060400
[    1.869933] pci 0000:00:1f.0: [8086:2440] type 00 class 0x060100
[    1.873758] pci 0000:00:1f.0: quirk: [io  0x0400-0x047f] claimed by ICH4 ACPI/GPIO/TCO
[    1.877699] pci 0000:00:1f.0: quirk: [io  0x0480-0x04bf] claimed by ICH4 GPIO
[    1.881872] pci 0000:00:1f.1: [8086:244b] type 00 class 0x010180
[    1.885724] pci 0000:00:1f.1: reg 0x20: [io  0xf000-0xf00f]
[    1.889693] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.893670] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.897674] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.901670] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.905887] pci 0000:00:1f.2: [8086:2442] type 00 class 0x0c0300
[    1.909725] pci 0000:00:1f.2: reg 0x20: [io  0xb000-0xb01f]
[    1.913912] pci 0000:00:1f.3: [8086:2443] type 00 class 0x0c0500
[    1.917725] pci 0000:00:1f.3: reg 0x20: [io  0x0500-0x050f]
[    1.921897] pci 0000:00:1f.4: [8086:2444] type 00 class 0x0c0300
[    1.925725] pci 0000:00:1f.4: reg 0x20: [io  0xb800-0xb81f]
[    1.929897] pci 0000:00:1f.5: [8086:2445] type 00 class 0x040100
[    1.933688] pci 0000:00:1f.5: reg 0x10: [io  0xbc00-0xbcff]
[    1.937679] pci 0000:00:1f.5: reg 0x14: [io  0xc000-0xc03f]
[    1.941830] pci_bus 0000:01: extended config space not accessible
[    1.945724] pci 0000:01:00.0: [10de:002d] type 00 class 0x030000
[    1.949683] pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff]
[    1.953678] pci 0000:01:00.0: reg 0x14: [mem 0xf4000000-0xf5ffffff pref]
[    1.957705] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.961688] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.965842] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.973616] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[    1.977674] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[    1.981696] pci_bus 0000:02: extended config space not accessible
[    1.985764] pci 0000:02:1f.0: [8086:1360] type 01 class 0x060400
[    1.989885] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[    1.993672] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[    1.997672] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.001684] pci_bus 0000:03: extended config space not accessible
[    2.005727] pci 0000:03:00.0: [8086:1161] type 00 class 0x080020
[    2.009684] pci 0000:03:00.0: reg 0x10: [mem 0xf9001000-0xf9001fff]
[    2.013851] pci 0000:03:04.0: [9005:00cf] type 00 class 0x010000
[    2.017688] pci 0000:03:04.0: reg 0x10: [io  0x9000-0x90ff]
[    2.021687] pci 0000:03:04.0: reg 0x14: [mem 0xf9000000-0xf9000fff 64bit]
[    2.025708] pci 0000:03:04.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    2.029821] pci 0000:03:04.1: [9005:00cf] type 00 class 0x010000
[    2.033687] pci 0000:03:04.1: reg 0x10: [io  0x9400-0x94ff]
[    2.037684] pci 0000:03:04.1: reg 0x14: [mem 0xf9002000-0xf9002fff 64bit]
[    2.041712] pci 0000:03:04.1: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    2.045852] pci 0000:02:1f.0: PCI bridge to [bus 03]
[    2.049671] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[    2.053672] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.057697] pci_bus 0000:04: extended config space not accessible
[    2.061733] pci 0000:04:04.0: [8086:1229] type 00 class 0x020000
[    2.065687] pci 0000:04:04.0: reg 0x10: [mem 0xfb100000-0xfb100fff]
[    2.069679] pci 0000:04:04.0: reg 0x14: [io  0xa000-0xa03f]
[    2.073679] pci 0000:04:04.0: reg 0x18: [mem 0xfb000000-0xfb0fffff]
[    2.077704] pci 0000:04:04.0: reg 0x30: [mem 0x00000000-0x000fffff pref]
[    2.081711] pci 0000:04:04.0: supports D1 D2
[    2.085666] pci 0000:04:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.089821] pci 0000:00:1e.0: PCI bridge to [bus 04] (subtractive decode)
[    2.093675] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[    2.097673] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[    2.101678] pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7 window] (subtractive decode)
[    2.105683] pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff window] (subtractive decode)
[    2.109681] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000dffff window] (subtractive decode)
[    2.113684] pci 0000:00:1e.0:   bridge window [mem 0x40000000-0xfebfffff window] (subtractive decode)
[    2.117699] pci_bus 0000:00: on NUMA node 0
[    2.118002] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    2.121806] ACPI: PCI: Interrupt link LNKB configured for IRQ 5
[    2.125802] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    2.129802] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    2.133801] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    2.137670] ACPI: PCI: Interrupt link LNKE disabled
[    2.141797] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    2.145673] ACPI: PCI: Interrupt link LNKF disabled
[    2.149798] ACPI: PCI: Interrupt link LNK0 configured for IRQ 12
[    2.153802] ACPI: PCI: Interrupt link LNK1 configured for IRQ 9
[    2.159080] iommu: Default domain type: Translated
[    2.161673] iommu: DMA domain TLB invalidation policy: lazy mode
[    2.165862] SCSI subsystem initialized
[    2.169690] libata version 3.00 loaded.
[    2.169690] ACPI: bus type USB registered
[    2.173716] usbcore: registered new interface driver usbfs
[    2.177688] usbcore: registered new interface driver hub
[    2.181688] usbcore: registered new device driver usb
[    2.186176] NetLabel: Initializing
[    2.189667] NetLabel:  domain hash size = 128
[    2.193667] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    2.197708] NetLabel:  unlabeled traffic allowed by default
[    2.197615] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc-early' as unstable because the skew is too large:
[    2.201616] PCI: Using ACPI for IRQ routing
[    2.205612] clocksource:                       'refined-jiffies' wd_nsec: 480030000 wd_now: fffedc88 wd_last: fffedc10 mask: ffffffff
[    2.209616] PCI: pci_cache_line_size set to 32 bytes
[    2.213612] clocksource:                       'tsc-early' cs_nsec: 727988528 cs_now: 1f2385d75e cs_last: 1ec4e48758 mask: ffffffffffffffff
[    2.213739] e820: reserve RAM buffer [mem 0x00095400-0x0009ffff]
[    2.217612] clocksource:                       Clocksource 'tsc-early' skewed 247958528 ns (247 ms) over watchdog 'refined-jiffies' interval of 480030000 ns (480 ms)
[    2.217686] e820: reserve RAM buffer [mem 0x3ff4f000-0x3fffffff]
[    2.221612] clocksource:                       No current clocksource.
[    2.221616] tsc: Marking TSC unstable due to clocksource watchdog
[    2.233880] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[    2.237610] pci 0000:01:00.0: vgaarb: bridge control possible
[    2.237610] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    2.237620] vgaarb: loaded
[    2.241968] clocksource: Switched to clocksource refined-jiffies
[    2.250122] pnp: PnP ACPI init
[    2.253595] pnp 00:00: disabling [mem 0x000cc000-0x000cffff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[    2.257687] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[    2.261697] pnp 00:00: disabling [mem 0x000cc000-0x000cffff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.265688] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.269688] pnp 00:00: disabling [mem 0x000f0000-0x000fbfff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.273687] pnp 00:00: disabling [mem 0x000fc000-0x000fffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.277687] pnp 00:00: disabling [mem 0x00000000-0x0009ffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.281688] pnp 00:00: disabling [mem 0x000e0000-0x000effff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.285763] system 00:00: [mem 0x3fff0000-0x3fffffff] could not be reserved
[    2.289676] system 00:00: [mem 0x00100000-0x3ffeffff] could not be reserved
[    2.293680] system 00:00: [mem 0xfec00000-0xfecfffff] could not be reserved
[    2.297676] system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
[    2.301676] system 00:00: [mem 0xffb00000-0xffb7ffff] has been reserved
[    2.305675] system 00:00: [mem 0xfff00000-0xffffffff] has been reserved
[    2.309919] system 00:01: [io  0x0400-0x04bf] could not be reserved
[    2.314117] system 00:02: [io  0x0b78-0x0b7b] has been reserved
[    2.317677] system 00:02: [io  0x0f78-0x0f7b] has been reserved
[    2.321676] system 00:02: [io  0x0a78-0x0a7b] has been reserved
[    2.325675] system 00:02: [io  0x0e78-0x0e7b] has been reserved
[    2.329676] system 00:02: [io  0x0bbc-0x0bbf] has been reserved
[    2.333676] system 00:02: [io  0x0fbc-0x0fbf] has been reserved
[    2.337677] system 00:02: [io  0x04d0-0x04d1] has been reserved
[    2.342500] system 00:02: [io  0x0294-0x0297] has been reserved
[    2.346450] pnp 00:04: [dma 2]
[    2.347921] pnp 00:07: [dma 3]
[    2.348244] pnp: PnP ACPI: found 9 devices
[    2.353688] PnPBIOS: Disabled
[    2.396929] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    2.397726] clocksource: Switched to clocksource acpi_pm
[    2.403190] NET: Registered PF_INET protocol family
[    2.408368] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.416911] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    2.425369] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.433228] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.441080] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    2.448691] TCP: Hash tables configured (established 8192 bind 8192)
[    2.455283] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.462776] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.469474] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.476685] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.482465] pci 0000:00:02.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[    2.489774] pci 0000:00:1e.0: BAR 9: assigned [mem 0x40100000-0x401fffff pref]
[    2.497074] pci 0000:00:01.0: PCI bridge to [bus 01]
[    2.502115] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[    2.508978] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[    2.516321] pci 0000:02:1f.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[    2.523690] pci 0000:03:04.0: BAR 6: assigned [mem 0x40000000-0x4001ffff pref]
[    2.531007] pci 0000:03:04.1: BAR 6: assigned [mem 0x40020000-0x4003ffff pref]
[    2.538308] pci 0000:02:1f.0: PCI bridge to [bus 03]
[    2.543337] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[    2.549503] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.556355] pci 0000:02:1f.0:   bridge window [mem 0x40000000-0x400fffff pref]
[    2.563658] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[    2.568951] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[    2.575116] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.581969] pci 0000:00:02.0:   bridge window [mem 0x40000000-0x400fffff pref]
[    2.589276] pci 0000:04:04.0: BAR 6: assigned [mem 0x40100000-0x401fffff pref]
[    2.596568] pci 0000:00:1e.0: PCI bridge to [bus 04]
[    2.601604] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[    2.607769] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[    2.614620] pci 0000:00:1e.0:   bridge window [mem 0x40100000-0x401fffff pref]
[    2.621923] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    2.628169] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    2.634416] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000dffff window]
[    2.641360] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[    2.648303] pci_bus 0000:01: resource 1 [mem 0xf6000000-0xf7ffffff]
[    2.654633] pci_bus 0000:01: resource 2 [mem 0xf4000000-0xf5ffffff pref]
[    2.661399] pci_bus 0000:02: resource 0 [io  0x9000-0x9fff]
[    2.667040] pci_bus 0000:02: resource 1 [mem 0xf8000000-0xf9ffffff]
[    2.673366] pci_bus 0000:02: resource 2 [mem 0x40000000-0x400fffff pref]
[    2.680137] pci_bus 0000:03: resource 0 [io  0x9000-0x9fff]
[    2.685774] pci_bus 0000:03: resource 1 [mem 0xf8000000-0xf9ffffff]
[    2.692108] pci_bus 0000:03: resource 2 [mem 0x40000000-0x400fffff pref]
[    2.698877] pci_bus 0000:04: resource 0 [io  0xa000-0xafff]
[    2.704517] pci_bus 0000:04: resource 1 [mem 0xfa000000-0xfbffffff]
[    2.710846] pci_bus 0000:04: resource 2 [mem 0x40100000-0x401fffff pref]
[    2.717616] pci_bus 0000:04: resource 4 [io  0x0000-0x0cf7 window]
[    2.723858] pci_bus 0000:04: resource 5 [io  0x0d00-0xffff window]
[    2.730107] pci_bus 0000:04: resource 6 [mem 0x000a0000-0x000dffff window]
[    2.737049] pci_bus 0000:04: resource 7 [mem 0x40000000-0xfebfffff window]
[    2.744794] PCI: CLS 32 bytes, default 32
[    2.749203] Unpacking initramfs...
[    2.753041] Freeing initrd memory: 20K
[    2.758118] Initialise system trusted keyrings
[    2.762784] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.769320] zbud: loaded
[    2.772297] NET: Registered PF_ALG protocol family
[    2.777171] xor: measuring software checksum speed
[    2.785010]    pIII_sse        :  3310 MB/sec
[    2.791706]    prefetch64-sse  :  4397 MB/sec
[    2.796124] xor: using function: prefetch64-sse (4397 MB/sec)
[    2.801934] Key type asymmetric registered
[    2.806098] Asymmetric key parser 'x509' registered
[    2.811084] bounce: pool size: 64 pages
[    2.815019] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    2.823590] isapnp: Scanning for PnP cards...
[    3.182085] isapnp: No Plug & Play device found
[    3.186842] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    3.213709] 00:05: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.241716] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.250066] Non-volatile memory driver v1.3
[    3.254447] Intel 82802 RNG detected
[    3.258202] Linux agpgart interface v0.103
[    3.262566] agpgart-intel 0000:00:00.0: Intel i860 Chipset
[    3.273223] agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf0000000
[    3.280115] ACPI: bus type drm_connector registered
[    4.851302] kpnpbiosd (58) used greatest stack depth: 7604 bytes left
[    8.563365] scsi host0: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
                       <Adaptec aic7899 Ultra160 SCSI adapter>
                       aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

[   13.939241] scsi host1: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
                       <Adaptec aic7899 Ultra160 SCSI adapter>
                       aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

[   13.961772] ata_piix 0000:00:1f.1: version 2.13
[   13.963444] scsi host2: ata_piix
[   13.967095] scsi host3: ata_piix
[   13.970532] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14 lpm-pol 0
[   13.978440] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15 lpm-pol 0
[   13.986469] e100: Intel(R) PRO/100 Network Driver
[   13.991258] e100: Copyright(c) 1999-2006 Intel Corporation
[   14.021660] e100 0000:04:04.0 eth0: addr 0xfb100000, irq 16, MAC addr 00:30:48:24:4d:4d
[   14.030127] uhci_hcd 0000:00:1f.2: UHCI Host Controller
[   14.035550] uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
[   14.043072] uhci_hcd 0000:00:1f.2: irq 19, io port 0x0000b000
[   14.049019] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   14.057363] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.064662] usb usb1: Product: UHCI Host Controller
[   14.069603] usb usb1: Manufacturer: Linux 6.7.0-rc8-xeon2p-00001-g4f83302de1dd uhci_hcd
[   14.077673] usb usb1: SerialNumber: 0000:00:1f.2
[   14.082690] hub 1-0:1.0: USB hub found
[   14.086542] hub 1-0:1.0: 2 ports detected
[   14.091106] uhci_hcd 0000:00:1f.4: UHCI Host Controller
[   14.096624] uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
[   14.104137] uhci_hcd 0000:00:1f.4: irq 23, io port 0x0000b800
[   14.110057] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   14.118401] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.125697] usb usb2: Product: UHCI Host Controller
[   14.130639] usb usb2: Manufacturer: Linux 6.7.0-rc8-xeon2p-00001-g4f83302de1dd uhci_hcd
[   14.138710] usb usb2: SerialNumber: 0000:00:1f.4
[   14.143743] hub 2-0:1.0: USB hub found
[   14.147587] hub 2-0:1.0: 2 ports detected
[   14.152015] usbcore: registered new interface driver usblp
[   14.157730] usbcore: registered new interface driver uas
[   14.163151] usbcore: registered new interface driver usb-storage
[   14.169374] i8042: PNP: No PS/2 controller found.
[   14.174141] i8042: Probing ports directly.
[   14.451528] serio: i8042 KBD port at 0x60,0x64 irq 1
[   14.456474] ata1.00: ATA-8: ST320LT020-9YG142, 0003LVM1, max UDMA/133
[   14.456680] rtc_cmos 00:03: RTC can wake from S4
[   14.462972] ata1.00: 625142448 sectors, multi 16: LBA48 
[   14.468308] rtc_cmos 00:03: registered as rtc0
[   14.477893] rtc_cmos 00:03: alarms up to one month, 242 bytes nvram
[   14.484481] intel_pstate: CPU model not supported
[   14.489296] hid: raw HID events driver (C) Jiri Kosina
[   14.494767] NET: Registered PF_INET6 protocol family
[   14.500647] Segment Routing with IPv6
[   14.504431] In-situ OAM (IOAM) with IPv6
[   14.509203] microcode: Current revision: 0x00000010
[   14.514153] microcode: Updated early from: 0x00000000
[   14.519507] IPI shorthand broadcast: enabled
[   14.529465] registered taskstats version 1
[   14.533731] Loading compiled-in X.509 certificates
[   14.545216] zswap: loaded using pool lzo/z3fold
[   14.556624] Btrfs loaded, zoned=no, fsverity=no
[   14.561636] PM:   Magic number: 8:689:446
[   14.565870] printk: legacy console [netcon0] enabled
[   14.570912] netconsole: network logging started
[   14.575592] RAS: Correctable Errors collector initialized.
[   17.811624] scsi 2:0:0:0: Direct-Access     ATA      ST320LT020-9YG14 LVM1 PQ: 0 ANSI: 5
[   17.820554] sd 2:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[   17.829027] sd 2:0:0:0: [sda] 4096-byte physical blocks
[   17.834361] sd 2:0:0:0: [sda] Write Protect is off
[   17.839244] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   17.839294] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   17.848483] sd 2:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[   17.987663]  sda: sda1 sda2 sda3 sda4 sda5
[   17.992516] sd 2:0:0:0: [sda] Attached SCSI disk
[   18.039501] Unstable clock detected, switching default tracing clock to "global"
               If you want to keep using the local clock, then add:
                 "trace_clock=local"
               on the kernel command line
[   18.060066] clk: Disabling unused clocks
[   18.086053] BTRFS: device fsid a13acd4c-2c33-4b07-a94d-594d98ef4c40 devid 1 transid 9144 /dev/root scanned by swapper/0 (1)
[   18.098678] BTRFS info (device sda5): first mount of filesystem a13acd4c-2c33-4b07-a94d-594d98ef4c40
[   18.107910] BTRFS info (device sda5): using xxhash64 (xxhash64-generic) checksum algorithm
[   18.116276] BTRFS info (device sda5): using free space tree
[   18.492003] VFS: Mounted root (btrfs filesystem) readonly on device 0:17.
[   18.511116] devtmpfs: mounted
[   18.515184] Freeing unused kernel image (initmem) memory: 808K
[   18.521197] Write protecting kernel text and read-only data: 13128k
[   18.527561] Run /sbin/init as init process
[   18.531722]   with arguments:
[   18.531726]     /sbin/init
[   18.531730]   with environment:
[   18.531734]     HOME=/
[   18.531737]     TERM=linux
[   18.531740]     BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-g4f83302de1dd
[   21.796910] modprobe (161) used greatest stack depth: 5544 bytes left
[   21.826954] systemd[1]: systemd 255 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 +LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[   21.858656] systemd[1]: Detected architecture x86.
[   21.930637] systemd[1]: Hostname set to <xeon2p.int.kasm.eu>.
[   22.132643] 10-gentoo-path (163) used greatest stack depth: 5460 bytes left
[   22.957295] systemd-debug-g (171) used greatest stack depth: 4916 bytes left
[   23.122436] systemd-gpt-auto-generator[174]: File system behind root file system is reported by btrfs to be backed by pseudo-device /dev/root, which is not a valid userspace accessible device node. Cannot determine correct backing block device.
[   23.667482] random: crng init done
[   24.337397] (sd-exec-[166]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[   25.379778] systemd[1]: Queued start job for default target Graphical Interface.
[   25.437529] systemd[1]: Created slice Slice /system/getty.
[   25.460222] systemd[1]: Created slice Slice /system/modprobe.
[   25.484184] systemd[1]: Created slice Slice /system/serial-getty.
[   25.508188] systemd[1]: Created slice Slice /system/systemd-fsck.
[   25.531895] systemd[1]: Created slice User and Session Slice.
[   25.555540] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   25.583499] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   25.607843] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   25.635366] systemd[1]: Expecting device /dev/disk/by-uuid/a13acd4c-2c33-4b07-a94d-594d98ef4c40...
[   25.663318] systemd[1]: Expecting device /dev/disk/by-uuid/abc16bac-bb12-475c-abd2-9f98d66564a5...
[   25.691317] systemd[1]: Expecting device /dev/disk/by-uuid/d93d3bf7-1712-4787-8e13-7c091c85f10d...
[   25.719321] systemd[1]: Expecting device /dev/ttyS0...
[   25.739462] systemd[1]: Reached target Path Units.
[   25.759382] systemd[1]: Reached target Slice Units.
[   25.785176] systemd[1]: Listening on Process Core Dump Socket.
[   25.808159] systemd[1]: Listening on Journal Audit Socket.
[   25.831773] systemd[1]: Listening on Journal Socket (/dev/log).
[   25.855810] systemd[1]: Listening on Journal Socket.
[   25.875946] systemd[1]: Listening on Network Service Netlink Socket.
[   25.948307] systemd[1]: Listening on udev Control Socket.
[   25.971721] systemd[1]: Listening on udev Kernel Socket.
[   26.013006] systemd[1]: Listening on User Database Manager Socket.
[   26.067371] systemd[1]: Mounting Huge Pages File System...
[   26.111586] systemd[1]: Mounting POSIX Message Queue File System...
[   26.137743] systemd[1]: Mounting Kernel Debug File System...
[   26.161555] systemd[1]: Mounting Kernel Trace File System...
[   26.177197] systemd[1]: Starting Kernel Module supporting RPCSEC_GSS...
[   26.202524] systemd[1]: Starting Create List of Static Device Nodes...
[   26.227554] systemd[1]: Starting Load Kernel Module configfs...
[   26.254387] systemd[1]: Starting Load Kernel Module dm_mod...
[   26.279567] systemd[1]: Starting Load Kernel Module drm...
[   26.304083] systemd[1]: Starting Load Kernel Module efi_pstore...
[   26.331587] systemd[1]: Starting Load Kernel Module fuse...
[   26.336627] RPC: Registered named UNIX socket transport module.
[   26.343412] RPC: Registered udp transport module.
[   26.343420] RPC: Registered tcp transport module.
[   26.343423] RPC: Registered tcp-with-tls transport module.
[   26.343426] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   26.368290] systemd[1]: Starting Load Kernel Module loop...
[   26.393440] systemd[1]: Starting Journal Service...
[   26.417518] modprobe (185) used greatest stack depth: 4740 bytes left
[   26.435151] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[   26.462591] systemd[1]: Starting Load Kernel Modules...
[   26.491025] systemd[1]: Starting Generate network units from Kernel command line...
[   26.505479] loop: module loaded
[   26.537708] systemd[1]: Starting Remount Root and Kernel File Systems...
[   26.540481] systemd-journald[197]: Collecting audit messages is enabled.
[   26.571180] systemd[1]: Starting Coldplug All udev Devices...
[   26.597009] BTRFS info (device sda5: state M): use lzo compression, level 0
[   26.619461] systemd[1]: Mounted Huge Pages File System.
[   26.624915] w83627hf: w83627hf: Found W83627HF chip at 0x290
[   26.630773] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000295-0x0000000000000296 (\IP) (20230628/utaddress-204)
[   26.647429] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[   26.655751] ACPI: OSL: Resource conflict: System may be unstable or behave erratically
[   26.665519] w83627hf w83627hf.656: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   26.691715] systemd[1]: Mounted POSIX Message Queue File System.
[   26.719665] systemd[1]: Mounted Kernel Debug File System.
[   26.739681] systemd[1]: Started Journal Service.
[   26.782413] nvidiafb: Device ID: 10de002d 
[   26.787268] nvidiafb 0000:01:00.0: vgaarb: deactivate vga console
[   26.795664] Console: switching to colour dummy device 80x25
[   27.079252] nvidiafb: EDID found from BUS1
[   27.083424] nvidiafb: Using CRT on CRTC 0
[   27.087850] fbcon: NV2 (fb0) is primary device
[   27.182428] Console: switching to colour frame buffer device 200x75
[   27.196321] nvidiafb: PCI nVidia NV2 framebuffer (32MB @ 0xF4000000)
[   27.330330] systemd-journald[197]: Received client request to flush runtime journal.
[   28.281878] systemd-journald[197]: /var/log/journal/8078fa31e0d048d69eae09c26e9e306f/system.journal: Journal file uses a different sequence number ID, rotating.
[   28.297684] systemd-journald[197]: Rotating system journal.
[   29.834702] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[   29.843376] ACPI: button: Power Button [PWRB]
[   29.847991] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   29.871288] ACPI: button: Power Button [PWRF]
[   30.158988] parport_pc 00:07: reported by Plug and Play ACPI
[   30.164896] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[   30.347098] FDC 0 is a post-1991 82077
[   30.398251] thermal LNXTHERM:00: registered as thermal_zone0
[   30.403999] ACPI: thermal: Thermal Zone [THRM] (29 C)
[   30.837542] i801_smbus 0000:00:1f.3: SMBus using polling
[   30.843417] i2c i2c-3: 4/4 memory slots populated (from DMI)
[   30.849123] i2c i2c-3: Memory type 0x11 not supported yet, not instantiating SPD
[   31.085250] e100 0000:04:04.0 enp4s4: renamed from eth0
[   31.400275] EDAC MC: Ver: 3.0.0
[   31.594090] ppdev: user-space parallel port driver
[   31.658863] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   31.667042] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   31.675993] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   31.684303] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   31.759347] EDAC i82860: i82860 init one
[   31.763830] EDAC MC0: Giving out device to module i82860_edac controller i82860: DEV 0000:00:00.0 (POLLED)
[   31.773572] EDAC PCI0: Giving out device to module i82860_edac controller EDAC PCI controller: DEV 0000:00:00.0 (POLLED)
[   31.937266] iTCO_vendor_support: vendor-support=0
[   32.097824] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   32.106534] cfg80211: failed to load regulatory.db
[   32.133683] iTCO_wdt iTCO_wdt.1.auto: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS
[   32.191473] e100 0000:04:04.0 enp4s4: NIC Link is Up 100 Mbps Full Duplex
[   32.316230] NET: Registered PF_PACKET protocol family
[   32.375234] snd_intel8x0 0000:00:1f.5: intel8x0_measure_ac97_clock: measured 59164 usecs (2844 samples)
[   32.384753] snd_intel8x0 0000:00:1f.5: clocking to 48000
[   33.179195] BTRFS info: devid 1 device path /dev/root changed to /dev/sda5 scanned by mount (303)
[   34.583923] Adding 16777212k swap on /dev/sda4.  Priority:-2 extents:1 across:16777212k 
[   36.190579] EXT4-fs (sda2): mounted filesystem d93d3bf7-1712-4787-8e13-7c091c85f10d r/w with ordered data mode. Quota mode: disabled.
[   38.152120] FS-Cache: Loaded
[   38.692483] Key type dns_resolver registered
[   39.628531] NFS: Registering the id_resolver key type
[   39.633694] Key type id_resolver registered
[   39.637937] Key type id_legacy registered
[  108.086532] systemd-journald[197]: /var/log/journal/8078fa31e0d048d69eae09c26e9e306f/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[  372.034659] pci 0000:00:1f.3: [8086:2443] type 00 class 0x0c0500
[  372.040936] pci 0000:00:1f.3: reg 0x20: [io  0x0500-0x050f]
[  372.047581] pci 0000:00:1f.3: BAR 4: assigned [io  0x1000-0x100f]
[  372.054212] i801_smbus 0000:00:1f.3: SMBus using polling
[  372.060372] i2c i2c-3: 4/4 memory slots populated (from DMI)
[  372.066187] i2c i2c-3: Memory type 0x11 not supported yet, not instantiating SPD

[-- Attachment #4: serial-no-revert --]
[-- Type: application/octet-stream, Size: 33686 bytes --]

[    0.000000] Linux version 6.7.0-rc8-xeon2p (klara@xeon2p.int.kasm.eu) (gcc (Gentoo 13.2.1_p20231216 p11) 13.2.1 20231216, GNU ld (Gentoo 2.41 p4) 2.41.0) #28 SMP PREEMPT_DYNAMIC Wed Jan  3 22:19:16 CET 2024
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000953ff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ff4efff] usable
[    0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fff2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000003fff3000-0x000000003fffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: Supermicro P4DC6/P4DC6, BIOS 6.00 PG 06/27/2003
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2180.902 MHz processor
[    0.006513] last_pfn = 0x3ff4f max_arch_pfn = 0x1000000
[    0.006529] MTRR map: 7 entries (6 fixed + 1 variable; max 22), built from 8 variable MTRRs
[    0.006539] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- UC  
[    0.017410] found SMP MP-table at [mem 0x000f5010-0x000f501f]
[    0.017607] RAMDISK: [mem 0x37fe5000-0x37fe9fff]
[    0.017612] Allocated new RAMDISK: [mem 0x375f9000-0x375fd3ff]
[    0.017631] Move RAMDISK from [mem 0x37fe5000-0x37fe93ff] to [mem 0x375f9000-0x375fd3ff]
[    0.017645] ACPI: Early table checksum verification disabled
[    0.017655] ACPI: RSDP 0x00000000000F6BE0 000014 (v00 IntelR)
[    0.017665] ACPI: RSDT 0x000000003FFF3000 00002C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017680] ACPI: FACP 0x000000003FFF3040 000074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017694] ACPI: DSDT 0x000000003FFF30C0 003B65 (v01 INTELR AWRDACPI 00001000 MSFT 0100000E)
[    0.017706] ACPI: FACS 0x000000003FFF0000 000040
[    0.017715] ACPI: APIC 0x000000003FFF6C40 00006C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017723] ACPI: Reserving FACP table memory at [mem 0x3fff3040-0x3fff30b3]
[    0.017727] ACPI: Reserving DSDT table memory at [mem 0x3fff30c0-0x3fff6c24]
[    0.017731] ACPI: Reserving FACS table memory at [mem 0x3fff0000-0x3fff003f]
[    0.017734] ACPI: Reserving APIC table memory at [mem 0x3fff6c40-0x3fff6cab]
[    0.017767] 137MB HIGHMEM available.
[    0.017770] 885MB LOWMEM available.
[    0.017772]   mapped low ram: 0 - 375fe000
[    0.017775]   low ram: 0 - 375fe000
[    0.017800] Zone ranges:
[    0.017802]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.017809]   Normal   [mem 0x0000000001000000-0x00000000375fdfff]
[    0.017813]   HighMem  [mem 0x00000000375fe000-0x000000003ff4efff]
[    0.017818] Movable zone start for each node
[    0.017820] Early memory node ranges
[    0.017821]   node   0: [mem 0x0000000000001000-0x0000000000094fff]
[    0.017825]   node   0: [mem 0x0000000000100000-0x000000003ff4efff]
[    0.017830] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ff4efff]
[    0.017848] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.017931] On node 0, zone DMA: 107 pages in unavailable ranges
[    0.027607] ACPI: PM-Timer IO Port: 0x408
[    0.027644] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.027656] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.027662] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.027670] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.027675] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.027710] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.027717] PM: hibernation: Registered nosave memory: [mem 0x00095000-0x000effff]
[    0.027719] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.027725] [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.027734] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.027760] setup_percpu: NR_CPUS:8 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.028930] percpu: Embedded 34 pages/cpu s109460 r0 d29804 u139264
[    0.029001] Kernel command line: BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p root=PARTUUID=10cc689d-cade-4b45-a0e1-9036bbdc33b9 ro rootflags=subvol=gentoo console=tty0 console=ttyS0,115200 acpi_enforce_resources=lax resume=PARTUUID=fcfbed7f-e788-4297-a1d9-179484780a65 rootfstype=btrfs
[    0.029267] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p", will be passed to user space.
[    0.030014] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.030405] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030490] Built 1 zonelists, mobility grouping on.  Total pages: 260087
[    0.030498] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.030507] Initializing HighMem for node 0 (000375fe:0003ff4f)
[    0.058078] Initializing Movable for node 0 (00000000:00000000)
[    0.068383] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.068417] Memory: 1020724K/1047436K available (10331K kernel code, 1640K rwdata, 2796K rodata, 808K init, 564K bss, 26712K reserved, 0K cma-reserved, 140612K highmem)
[    0.068561] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.068580] Kernel/User page tables isolation: enabled
[    0.068851] trace event string verifier disabled
[    0.068947] Dynamic Preempt: voluntary
[    0.069040] rcu: Preemptible hierarchical RCU implementation.
[    0.069043] rcu: 	RCU event tracing is enabled.
[    0.069045] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.069048] 	Trampoline variant of Tasks RCU enabled.
[    0.069051] 	Tracing variant of Tasks RCU enabled.
[    0.069053] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.069055] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.073828] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.074103] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.076523] Console: colour VGA+ 80x25
[    0.076531] printk: legacy console [tty0] enabled
[    0.081306] printk: legacy console [ttyS0] enabled
[    0.645387] ACPI: Core revision 20230628
[    0.649557] APIC: Switch to symmetric I/O mode setup
[    0.655002] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.677521] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1f6fb9a32c5, max_idle_ns: 440795281008 ns
[    0.688123] Calibrating delay loop (skipped), value calculated using timer frequency.. 4361.80 BogoMIPS (lpj=8723608)
[    0.692222] CPU0: Thermal monitoring enabled (TM1)
[    0.696217] Last level iTLB entries: 4KB 64, 2MB 64, 4MB 64
[    0.700174] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
[    0.704181] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.708188] Spectre V2 : Mitigation: Retpolines
[    0.712172] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.716185] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.720175] Speculative Store Bypass: Vulnerable
[    0.724179] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.728175] MMIO Stale Data: Unknown: No mitigations
[    0.732179] x86/fpu: x87 FPU will use FXSAVE
[    0.737286] Freeing SMP alternatives memory: 36K
[    0.740175] pid_max: default: 32768 minimum: 301
[    0.744213] LSM: initializing lsm=capability,integrity
[    0.748233] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.752192] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.869945] smpboot: CPU0: Intel(R) Xeon(TM) MP CPU 2.20GHz (family: 0xf, model: 0x2, stepping: 0x6)
[    0.872768] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.876227] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.880240] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
[    0.884180] ... version:                0
[    0.888171] ... bit width:              40
[    0.892171] ... generic registers:      18
[    0.896171] ... value mask:             000000ffffffffff
[    0.900173] ... max period:             0000007fffffffff
[    0.904176] ... fixed-purpose events:   0
[    0.908172] ... event mask:             000000000003ffff
[    0.912452] signal: max sigframe size: 1440
[    0.916289] rcu: Hierarchical SRCU implementation.
[    0.920175] rcu: 	Max phase no-delay instances is 1000.
[    0.924707] smp: Bringing up secondary CPUs ...
[    0.928589] smpboot: x86: Booting SMP configuration:
[    0.932181] .... node  #0, CPUs:      #1
[    0.585982] [Firmware Bug]: CPU1: APIC id mismatch. Firmware: 1 APIC: 7
[    0.585982] smpboot: CPU 1 Converting physical 3 to logical package 1
[    0.585982] smpboot: CPU 1 Converting physical 0 to logical die 1
[    1.044494]  #2
[    0.585982] [Firmware Bug]: CPU2: APIC id mismatch. Firmware: 2 APIC: 1
[    1.144403] 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.
[    1.148677]  #3
[    0.585982] [Firmware Bug]: CPU3: APIC id mismatch. Firmware: 3 APIC: 6
[    1.248224] smp: Brought up 1 node, 4 CPUs
[    1.252280] smpboot: Max logical packages: 2
[    1.256173] smpboot: Total of 4 processors activated (17447.14 BogoMIPS)
[    1.264348] devtmpfs: initialized
[    1.268755] ACPI: PM: Registering ACPI NVS region [mem 0x3fff0000-0x3fff2fff] (12288 bytes)
[    1.272399] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.276206] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[    1.280309] pinctrl core: initialized pinctrl subsystem
[    1.284252] PM: RTC time: 21:23:57, date: 2024-01-03
[    1.288533] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    1.292613] audit: initializing netlink subsys (disabled)
[    1.296192] audit: type=2000 audit(1704317035.640:1): state=initialized audit_enabled=0 res=1
[    1.296413] thermal_sys: Registered thermal governor 'fair_share'
[    1.300194] thermal_sys: Registered thermal governor 'bang_bang'
[    1.308179] thermal_sys: Registered thermal governor 'step_wise'
[    1.312176] thermal_sys: Registered thermal governor 'user_space'
[    1.316209] cpuidle: using governor ladder
[    1.324187] cpuidle: using governor menu
[    1.334095] PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=4
[    1.336176] PCI: Using configuration type 1 for base access
[    1.340593] mtrr: your CPUs had inconsistent variable MTRR settings
[    1.344176] mtrr: probably your BIOS does not setup all CPUs.
[    1.348174] mtrr: corrected configuration.
[    1.352330] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    1.360183] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    1.365095] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    1.440106] raid6: sse2x2   gen()  2341 MB/s
[    1.512120] raid6: sse2x1   gen()  2035 MB/s
[    1.584127] raid6: sse1x2   gen()  1392 MB/s
[    1.656105] raid6: sse1x1   gen()  1144 MB/s
[    1.660176] raid6: using algorithm sse2x2 gen() 2341 MB/s
[    1.732106] raid6: .... xor() 1532 MB/s, rmw enabled
[    1.736176] raid6: using intx1 recovery algorithm
[    1.740303] ACPI: Added _OSI(Module Device)
[    1.744174] ACPI: Added _OSI(Processor Device)
[    1.748173] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.752173] ACPI: Added _OSI(Processor Aggregator Device)
[    1.765283] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.774472] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[    1.776614] ACPI: Interpreter enabled
[    1.780223] ACPI: PM: (supports S0 S1 S3 S4 S5)
[    1.784173] ACPI: Using IOAPIC for interrupt routing
[    1.788726] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.792187] PCI: Using E820 reservations for host bridge windows
[    1.796428] ACPI: Enabled 1 GPEs in block 00 to 0F
[    1.800116] ACPI: Enabled 5 GPEs in block 10 to 1F
[    1.809962] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.812186] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    1.816188] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[    1.820202] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[    1.824724] PCI host bridge to bus 0000:00
[    1.828175] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.832178] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.836177] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff window]
[    1.840185] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[    1.844186] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.848221] pci 0000:00:00.0: [8086:2531] type 00 class 0x060000
[    1.852184] pci 0000:00:00.0: reg 0x10: [mem 0xf0000000-0xf3ffffff pref]
[    1.856340] pci 0000:00:01.0: [8086:2532] type 01 class 0x060400
[    1.860337] pci 0000:00:02.0: [8086:2533] type 01 class 0x060400
[    1.864449] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060400
[    1.868440] pci 0000:00:1f.0: [8086:2440] type 00 class 0x060100
[    1.872278] pci 0000:00:1f.0: quirk: [io  0x0400-0x047f] claimed by ICH4 ACPI/GPIO/TCO
[    1.876189] pci 0000:00:1f.0: quirk: [io  0x0480-0x04bf] claimed by ICH4 GPIO
[    1.880379] pci 0000:00:1f.1: [8086:244b] type 00 class 0x010180
[    1.884229] pci 0000:00:1f.1: reg 0x20: [io  0xf000-0xf00f]
[    1.888199] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.892176] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.896179] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.900176] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.904391] pci 0000:00:1f.2: [8086:2442] type 00 class 0x0c0300
[    1.908231] pci 0000:00:1f.2: reg 0x20: [io  0xb000-0xb01f]
[    1.912416] pci 0000:00:1f.3: [8086:2443] type 00 class 0x0c0500
[    1.916231] pci 0000:00:1f.3: reg 0x20: [io  0x0500-0x050f]
[    1.920403] pci 0000:00:1f.4: [8086:2444] type 00 class 0x0c0300
[    1.924231] pci 0000:00:1f.4: reg 0x20: [io  0xb800-0xb81f]
[    1.928403] pci 0000:00:1f.5: [8086:2445] type 00 class 0x040100
[    1.932194] pci 0000:00:1f.5: reg 0x10: [io  0xbc00-0xbcff]
[    1.936185] pci 0000:00:1f.5: reg 0x14: [io  0xc000-0xc03f]
[    1.940336] pci_bus 0000:01: extended config space not accessible
[    1.944229] pci 0000:01:00.0: [10de:002d] type 00 class 0x030000
[    1.948189] pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff]
[    1.952183] pci 0000:01:00.0: reg 0x14: [mem 0xf4000000-0xf5ffffff pref]
[    1.956211] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.960193] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.964347] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.968179] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[    1.972179] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[    1.976198] pci_bus 0000:02: extended config space not accessible
[    1.980275] pci 0000:02:1f.0: [8086:1360] type 01 class 0x060400
[    1.984391] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[    1.988177] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[    1.992178] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    1.996191] pci_bus 0000:03: extended config space not accessible
[    2.000232] pci 0000:03:00.0: [8086:1161] type 00 class 0x080020
[    2.004189] pci 0000:03:00.0: reg 0x10: [mem 0xf9001000-0xf9001fff]
[    2.008358] pci 0000:03:04.0: [9005:00cf] type 00 class 0x010000
[    2.012193] pci 0000:03:04.0: reg 0x10: [io  0x9000-0x90ff]
[    2.016190] pci 0000:03:04.0: reg 0x14: [mem 0xf9000000-0xf9000fff 64bit]
[    2.020216] pci 0000:03:04.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    2.024327] pci 0000:03:04.1: [9005:00cf] type 00 class 0x010000
[    2.028193] pci 0000:03:04.1: reg 0x10: [io  0x9400-0x94ff]
[    2.032190] pci 0000:03:04.1: reg 0x14: [mem 0xf9002000-0xf9002fff 64bit]
[    2.036213] pci 0000:03:04.1: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[    2.040363] pci 0000:02:1f.0: PCI bridge to [bus 03]
[    2.044177] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[    2.048179] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.052202] pci_bus 0000:04: extended config space not accessible
[    2.056240] pci 0000:04:04.0: [8086:1229] type 00 class 0x020000
[    2.060192] pci 0000:04:04.0: reg 0x10: [mem 0xfb100000-0xfb100fff]
[    2.064185] pci 0000:04:04.0: reg 0x14: [io  0xa000-0xa03f]
[    2.068184] pci 0000:04:04.0: reg 0x18: [mem 0xfb000000-0xfb0fffff]
[    2.072211] pci 0000:04:04.0: reg 0x30: [mem 0x00000000-0x000fffff pref]
[    2.076217] pci 0000:04:04.0: supports D1 D2
[    2.080173] pci 0000:04:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.084327] pci 0000:00:1e.0: PCI bridge to [bus 04] (subtractive decode)
[    2.088182] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[    2.092179] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[    2.096181] pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7 window] (subtractive decode)
[    2.100192] pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff window] (subtractive decode)
[    2.104188] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000dffff window] (subtractive decode)
[    2.108192] pci 0000:00:1e.0:   bridge window [mem 0x40000000-0xfebfffff window] (subtractive decode)
[    2.112508] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[    2.116310] ACPI: PCI: Interrupt link LNKB configured for IRQ 5
[    2.120308] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[    2.128309] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[    2.132307] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    2.136175] ACPI: PCI: Interrupt link LNKE disabled
[    2.140306] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    2.144178] ACPI: PCI: Interrupt link LNKF disabled
[    2.148305] ACPI: PCI: Interrupt link LNK0 configured for IRQ 12
[    2.152308] ACPI: PCI: Interrupt link LNK1 configured for IRQ 9
[    2.157591] iommu: Default domain type: Translated
[    2.160179] iommu: DMA domain TLB invalidation policy: lazy mode
[    2.164368] SCSI subsystem initialized
[    2.168193] ACPI: bus type USB registered
[    2.172221] usbcore: registered new interface driver usbfs
[    2.176193] usbcore: registered new interface driver hub
[    2.180197] usbcore: registered new device driver usb
[    2.184678] NetLabel: Initializing
[    2.188173] NetLabel:  domain hash size = 128
[    2.192173] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    2.192120] clocksource: timekeeping watchdog on CPU2: Marking clocksource 'tsc-early' as unstable because the skew is too large:
[    2.196182] NetLabel:  unlabeled traffic allowed by default
[    2.200120] clocksource:                       'refined-jiffies' wd_nsec: 480030000 wd_now: fffedc88 wd_last: fffedc10 mask: ffffffff
[    2.204122] PCI: Using ACPI for IRQ routing
[    2.208119] clocksource:                       'tsc-early' cs_nsec: 727970424 cs_now: 1e113c3e52 cs_last: 1db29ae67c mask: ffffffffffffffff
[    2.216119] clocksource:                       Clocksource 'tsc-early' skewed 247940424 ns (247 ms) over watchdog 'refined-jiffies' interval of 480030000 ns (480 ms)
[    2.220119] clocksource:                       No current clocksource.
[    2.220124] tsc: Marking TSC unstable due to clocksource watchdog
[    2.228563] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[    2.232116] pci 0000:01:00.0: vgaarb: bridge control possible
[    2.232116] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    2.232126] vgaarb: loaded
[    2.236474] clocksource: Switched to clocksource refined-jiffies
[    2.244861] pnp: PnP ACPI init
[    2.248368] pnp 00:00: disabling [mem 0x000cc000-0x000cffff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[    2.252193] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[    2.256203] pnp 00:00: disabling [mem 0x000cc000-0x000cffff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.260194] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.264193] pnp 00:00: disabling [mem 0x000f0000-0x000fbfff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.268196] pnp 00:00: disabling [mem 0x000fc000-0x000fffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.272193] pnp 00:00: disabling [mem 0x00000000-0x0009ffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.276194] pnp 00:00: disabling [mem 0x000e0000-0x000effff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[    2.280272] system 00:00: [mem 0x3fff0000-0x3fffffff] could not be reserved
[    2.284182] system 00:00: [mem 0x00100000-0x3ffeffff] could not be reserved
[    2.288182] system 00:00: [mem 0xfec00000-0xfecfffff] could not be reserved
[    2.292183] system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
[    2.296181] system 00:00: [mem 0xffb00000-0xffb7ffff] has been reserved
[    2.300182] system 00:00: [mem 0xfff00000-0xffffffff] has been reserved
[    2.304426] system 00:01: [io  0x0400-0x04bf] could not be reserved
[    2.308626] system 00:02: [io  0x0b78-0x0b7b] has been reserved
[    2.312183] system 00:02: [io  0x0f78-0x0f7b] has been reserved
[    2.316182] system 00:02: [io  0x0a78-0x0a7b] has been reserved
[    2.320181] system 00:02: [io  0x0e78-0x0e7b] has been reserved
[    2.324182] system 00:02: [io  0x0bbc-0x0bbf] has been reserved
[    2.328182] system 00:02: [io  0x0fbc-0x0fbf] has been reserved
[    2.332183] system 00:02: [io  0x04d0-0x04d1] has been reserved
[    2.337101] system 00:02: [io  0x0294-0x0297] has been reserved
[    2.342303] pnp: PnP ACPI: found 9 devices
[    2.348131] PnPBIOS: Disabled
[    2.391354] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    2.392232] clocksource: Switched to clocksource acpi_pm
[    2.398179] NET: Registered PF_INET protocol family
[    2.403351] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.411885] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    2.420347] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    2.428199] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.436065] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    2.443675] TCP: Hash tables configured (established 8192 bind 8192)
[    2.450274] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    2.457772] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.464465] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    2.471686] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.477466] pci 0000:00:02.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[    2.484763] pci 0000:00:1e.0: BAR 9: assigned [mem 0x40100000-0x401fffff pref]
[    2.492067] pci 0000:00:01.0: PCI bridge to [bus 01]
[    2.497105] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[    2.503958] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[    2.511257] pci 0000:02:1f.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[    2.518560] pci 0000:03:04.0: BAR 6: assigned [mem 0x40000000-0x4001ffff pref]
[    2.525854] pci 0000:03:04.1: BAR 6: assigned [mem 0x40020000-0x4003ffff pref]
[    2.533149] pci 0000:02:1f.0: PCI bridge to [bus 03]
[    2.538183] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[    2.544347] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.551203] pci 0000:02:1f.0:   bridge window [mem 0x40000000-0x400fffff pref]
[    2.558500] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[    2.563789] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[    2.569951] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[    2.576806] pci 0000:00:02.0:   bridge window [mem 0x40000000-0x400fffff pref]
[    2.584105] pci 0000:04:04.0: BAR 6: assigned [mem 0x40100000-0x401fffff pref]
[    2.591395] pci 0000:00:1e.0: PCI bridge to [bus 04]
[    2.596429] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[    2.602596] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[    2.609447] pci 0000:00:1e.0:   bridge window [mem 0x40100000-0x401fffff pref]
[    2.616754] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    2.622997] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    2.629244] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000dffff window]
[    2.636185] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[    2.643127] pci_bus 0000:01: resource 1 [mem 0xf6000000-0xf7ffffff]
[    2.649459] pci_bus 0000:01: resource 2 [mem 0xf4000000-0xf5ffffff pref]
[    2.656232] pci_bus 0000:02: resource 0 [io  0x9000-0x9fff]
[    2.661869] pci_bus 0000:02: resource 1 [mem 0xf8000000-0xf9ffffff]
[    2.668203] pci_bus 0000:02: resource 2 [mem 0x40000000-0x400fffff pref]
[    2.674973] pci_bus 0000:03: resource 0 [io  0x9000-0x9fff]
[    2.680609] pci_bus 0000:03: resource 1 [mem 0xf8000000-0xf9ffffff]
[    2.686936] pci_bus 0000:03: resource 2 [mem 0x40000000-0x400fffff pref]
[    2.693708] pci_bus 0000:04: resource 0 [io  0xa000-0xafff]
[    2.699345] pci_bus 0000:04: resource 1 [mem 0xfa000000-0xfbffffff]
[    2.705679] pci_bus 0000:04: resource 2 [mem 0x40100000-0x401fffff pref]
[    2.712448] pci_bus 0000:04: resource 4 [io  0x0000-0x0cf7 window]
[    2.718695] pci_bus 0000:04: resource 5 [io  0x0d00-0xffff window]
[    2.724942] pci_bus 0000:04: resource 6 [mem 0x000a0000-0x000dffff window]
[    2.731885] pci_bus 0000:04: resource 7 [mem 0x40000000-0xfebfffff window]
[    2.739590] PCI: CLS 32 bytes, default 32
[    2.744033] Unpacking initramfs...
[    2.747926] Freeing initrd memory: 20K
[    2.752962] Initialise system trusted keyrings
[    2.757626] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.764166] zbud: loaded
[    2.767138] NET: Registered PF_ALG protocol family
[    2.772009] xor: measuring software checksum speed
[    2.779868]    pIII_sse        :  3309 MB/sec
[    2.786585]    prefetch64-sse  :  4341 MB/sec
[    2.791003] xor: using function: prefetch64-sse (4341 MB/sec)
[    2.796814] Key type asymmetric registered
[    2.800977] Asymmetric key parser 'x509' registered
[    2.805963] bounce: pool size: 64 pages
[    2.809898] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    2.818476] isapnp: Scanning for PnP cards...
[    3.177028] isapnp: No Plug & Play device found
[    3.181774] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    3.208681] 00:05: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.236695] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.245038] Non-volatile memory driver v1.3
[    3.249424] Intel 82802 RNG detected
[    3.253185] Linux agpgart interface v0.103
[    3.257539] agpgart-intel 0000:00:00.0: Intel i860 Chipset
[    3.268144] agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf0000000
[    3.275028] ACPI: bus type drm_connector registered
[    4.846085] kpnpbiosd (57) used greatest stack depth: 7604 bytes left
[    8.558049] scsi host0: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[    8.558049]         <Adaptec aic7899 Ultra160 SCSI adapter>
[    8.558049]         aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
[    8.558049] 
[   13.934029] scsi host1: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[   13.934029]         <Adaptec aic7899 Ultra160 SCSI adapter>
[   13.934029]         aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
[   13.934029] 
[   13.956615] e100: Intel(R) PRO/100 Network Driver
[   13.961396] e100: Copyright(c) 1999-2006 Intel Corporation
[   13.991808] e100 0000:04:04.0 eth0: addr 0xfb100000, irq 16, MAC addr 00:30:48:24:4d:4d
[   14.000249] uhci_hcd 0000:00:1f.2: UHCI Host Controller
[   14.005672] uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
[   14.013198] uhci_hcd 0000:00:1f.2: irq 19, io port 0x0000b000
[   14.019139] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   14.027483] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.034782] usb usb1: Product: UHCI Host Controller
[   14.039725] usb usb1: Manufacturer: Linux 6.7.0-rc8-xeon2p uhci_hcd
[   14.046053] usb usb1: SerialNumber: 0000:00:1f.2
[   14.051081] hub 1-0:1.0: USB hub found
[   14.054917] hub 1-0:1.0: 2 ports detected
[   14.059485] uhci_hcd 0000:00:1f.4: UHCI Host Controller
[   14.064899] uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
[   14.072509] uhci_hcd 0000:00:1f.4: irq 23, io port 0x0000b800
[   14.078444] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   14.086789] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.094086] usb usb2: Product: UHCI Host Controller
[   14.099030] usb usb2: Manufacturer: Linux 6.7.0-rc8-xeon2p uhci_hcd
[   14.105357] usb usb2: SerialNumber: 0000:00:1f.4
[   14.110333] hub 2-0:1.0: USB hub found
[   14.114168] hub 2-0:1.0: 2 ports detected
[   14.118587] usbcore: registered new interface driver usblp
[   14.124276] usbcore: registered new interface driver uas
[   14.129696] usbcore: registered new interface driver usb-storage
[   14.135926] i8042: PNP: No PS/2 controller found.
[   14.140693] i8042: Probing ports directly.
[   14.414317] serio: i8042 KBD port at 0x60,0x64 irq 1
[   14.419479] rtc_cmos 00:03: RTC can wake from S4
[   14.424696] rtc_cmos 00:03: registered as rtc0
[   14.429289] rtc_cmos 00:03: alarms up to one month, 242 bytes nvram
[   14.435835] intel_pstate: CPU model not supported
[   14.440643] hid: raw HID events driver (C) Jiri Kosina
[   14.446120] NET: Registered PF_INET6 protocol family
[   14.452012] Segment Routing with IPv6
[   14.455807] In-situ OAM (IOAM) with IPv6
[   14.460552] microcode: Current revision: 0x00000010
[   14.465507] microcode: Updated early from: 0x00000000
[   14.470915] IPI shorthand broadcast: enabled
[   14.480926] registered taskstats version 1
[   14.485186] Loading compiled-in X.509 certificates
[   14.496136] zswap: loaded using pool lzo/z3fold
[   14.507545] Btrfs loaded, zoned=no, fsverity=no
[   14.512512] PM:   Magic number: 8:245:398
[   14.516754] printk: legacy console [netcon0] enabled
[   14.521785] netconsole: network logging started
[   14.526485] RAS: Correctable Errors collector initialized.
[   17.803683] Unstable clock detected, switching default tracing clock to "global"
[   17.803683] If you want to keep using the local clock, then add:
[   17.803683]   "trace_clock=local"
[   17.803683] on the kernel command line
[   17.824259] clk: Disabling unused clocks
[   17.828879] kworker/u10:0 (139) used greatest stack depth: 7016 bytes left
[   17.828927] VFS: Cannot open root device "PARTUUID=10cc689d-cade-4b45-a0e1-9036bbdc33b9" or unknown-block(0,0): error -6
[   17.846775] Please append a correct "root=" boot option; here are the available partitions:
[   17.855200] List of all bdev filesystems:
[   17.859275]  ext3
[   17.859279]  ext2
[   17.861252]  ext4
[   17.864146]  vfat
[   17.866133]  msdos
[   17.868114]  btrfs
[   17.870187] 
[   17.873790] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   17.874131] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.7.0-rc8-xeon2p #28
[   17.874131] Hardware name: Supermicro P4DC6/P4DC6, BIOS 6.00 PG 06/27/2003
[   17.874131] Call Trace:
[   17.874131]  dump_stack_lvl+0x31/0x44
[   17.874131]  dump_stack+0x12/0x1c
[   17.874131]  panic+0x2a3/0x2c8
[   17.874131]  mount_root_generic+0x24f/0x2a4
[   17.874131]  mount_root+0x172/0x1e8
[   17.874131]  prepare_namespace+0x4a/0x220
[   17.874131]  kernel_init_freeable+0x275/0x2c0
[   17.874131]  ? rdinit_setup+0x3c/0x3c
[   17.874131]  ? rest_init+0xb4/0xb4
[   17.874131]  kernel_init+0x15/0x1bc
[   17.874131]  ? schedule_tail+0x41/0x50
[   17.874131]  ret_from_fork+0x32/0x4c
[   17.874131]  ? rest_init+0xb4/0xb4
[   17.874131]  ret_from_fork_asm+0x12/0x1c
[   17.874131]  entry_INT80_32+0x10d/0x10d
[   17.874131] Kernel Offset: disabled
[   17.874131] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-03 21:31 [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe Klara Modin
@ 2024-01-04  8:41 ` Shinichiro Kawasaki
  2024-01-04 12:22   ` Klara Modin
  2024-01-04 12:36   ` Lukas Wunner
  0 siblings, 2 replies; 11+ messages in thread
From: Shinichiro Kawasaki @ 2024-01-04  8:41 UTC (permalink / raw)
  To: Klara Modin
  Cc: andriy.shevchenko, hdegoede, ilpo.jarvinen, linux-i2c, linux-pci,
	lukas, platform-driver-x86

On Jan 03, 2024 / 22:31, Klara Modin wrote:
> Hi,
> 
> With this patch, ata_piix fails to detect my IDE controller (older P4
> Xeon board). Reverting this on top of 6.7-rc8 resolves the issue for
> me.

Thanks for the report. According the dmesg and lspci logs, it looks the IDE
controller has the PCI DEVFN 31:1 (0000:00:1f.1). So, I guess as follows:

- Klara's system has the old ICH (ICH4) which has IDE controller at DEVFN 31:1.
  This DEVFN is same as P2SB device that newer PCH Series 100 or later has.
- The system has ISA bridge 82801BA for LPC, then LPC_ICH driver is loaded.
  This driver depends on P2SB and calls p2sb_bar(). But p2sb_bar() is called
  only for new features of LPC_ICH driver (SPI flash and GPIO). Then p2sb_bar()
  is not called on the system, probably (I want to confirm it).
- Before the commit b28ff7a7c324 ("platform/x86: p2sb: Allow p2sb_bar() calls
  during PCI device probe"), the DEVFN 31:1 is accessed as P2SB only when
  p2sb_bar() is called. After the commit, if P2SB is enabled in Kconfig,
  DEVFN 31:1 is accessed as P2SB to cache P2SB resources. However, the device
  is not P2SB devcie but IDE controller, then it casued the IDE controller
  detection failure.

> 
> Please tell me if there's anything else you need. I'm willing to test
> any new patches.

Could you confirm that p2sb_bar() is not called during boot process on your
system? Applying the one liner printk patch below, let's confirm that the
string "p2sb_bar" does not appear in the dmesg log.

diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
index 99a0e456f075..e034a58d7531 100644
--- a/drivers/platform/x86/p2sb.c
+++ b/drivers/platform/x86/p2sb.c
@@ -195,6 +195,7 @@ int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
 	struct p2sb_res_cache *cache;
 	int ret;
 
+	printk("%s\n", __func__);
 	bus = p2sb_get_bus(bus);
 	if (!bus)
 		return -ENODEV;


If p2sb_bar() is not called on the system, I think P2SB device scan and resource
cache shall not run on such old systems. Before the commit 53eb64c88f17
("platform/x86: p2sb: Don't fail if unknown CPU is found"), p2sb.c had a
whitelist of Intel CPU IDs to access P2SB device. Its commit message indicates
that we can add blacklist of CPU IDs if needed. I think this blacklist will help
to avoid the failure.

So next question is: how to list the CPUs which do not need P2SB resource cache?
I don't have clear answer yet. According a P2SB document [1], P2SB support was
introduced since PCH Series 100, around 2010. Looking at ICH history [2], ICH9
removed PATA support, so I guess DEVFN 31:1 for IDE controller was removed since
ICH9, around 2007. So the end of the Intel CPU blacklist could be the CPU
introduced between 2007 and 2010.

[1] https://lab.whitequark.org/notes/2017-11-08/accessing-intel-ich-pch-gpios/
[2] https://en.wikipedia.org/wiki/I/O_Controller_Hub#ICH8

My mere idea was to just blacklist Intel CPUs with family != 6. If my guesses
are all correct, following patch will avoid the failure on the reported system,
since the system has CPU with family == 0xf. This will cover certain amount of
old CPUs which should not access DEVFN 31:1 as P2SB. But family 6 started around
2006, then it is not the complete blacklist, probably. I will think about the
better way.

diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
index 99a0e456f075..c9bcef8e2c4c 100644
--- a/drivers/platform/x86/p2sb.c
+++ b/drivers/platform/x86/p2sb.c
@@ -46,6 +46,10 @@ static int p2sb_get_devfn(unsigned int *devfn)
 	unsigned int fn = P2SB_DEVFN_DEFAULT;
 	const struct x86_cpu_id *id;
 
+	/* ICH/PCHs for old CPUs do not have P2SB */
+	if (boot_cpu_data.x86 != 6)
+		return -ENODEV;
+
 	id = x86_match_cpu(p2sb_cpu_ids);
 	if (id)
 		fn = (unsigned int)id->driver_data;

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-04  8:41 ` Shinichiro Kawasaki
@ 2024-01-04 12:22   ` Klara Modin
  2024-01-04 12:36   ` Lukas Wunner
  1 sibling, 0 replies; 11+ messages in thread
From: Klara Modin @ 2024-01-04 12:22 UTC (permalink / raw)
  To: Shinichiro Kawasaki
  Cc: andriy.shevchenko, hdegoede, ilpo.jarvinen, linux-i2c, linux-pci,
	lukas, platform-driver-x86

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

Thanks for the reply!

Den tors 4 jan. 2024 kl 09:41 skrev Shinichiro Kawasaki
<shinichiro.kawasaki@wdc.com>:
> Could you confirm that p2sb_bar() is not called during boot process on your
> system? Applying the one liner printk patch below, let's confirm that the
> string "p2sb_bar" does not appear in the dmesg log.
>
> diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
> index 99a0e456f075..e034a58d7531 100644
> --- a/drivers/platform/x86/p2sb.c
> +++ b/drivers/platform/x86/p2sb.c
> @@ -195,6 +195,7 @@ int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
>         struct p2sb_res_cache *cache;
>         int ret;
>
> +       printk("%s\n", __func__);
>         bus = p2sb_get_bus(bus);
>         if (!bus)
>                 return -ENODEV;

p2sb_bar does indeed not appear in the kernel log with this patch
snippet applied.

> My mere idea was to just blacklist Intel CPUs with family != 6. If my guesses
> are all correct, following patch will avoid the failure on the reported system,
> since the system has CPU with family == 0xf. This will cover certain amount of
> old CPUs which should not access DEVFN 31:1 as P2SB. But family 6 started around
> 2006, then it is not the complete blacklist, probably. I will think about the
> better way.
>
> diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
> index 99a0e456f075..c9bcef8e2c4c 100644
> --- a/drivers/platform/x86/p2sb.c
> +++ b/drivers/platform/x86/p2sb.c
> @@ -46,6 +46,10 @@ static int p2sb_get_devfn(unsigned int *devfn)
>         unsigned int fn = P2SB_DEVFN_DEFAULT;
>         const struct x86_cpu_id *id;
>
> +       /* ICH/PCHs for old CPUs do not have P2SB */
> +       if (boot_cpu_data.x86 != 6)
> +               return -ENODEV;
> +
>         id = x86_match_cpu(p2sb_cpu_ids);
>         if (id)
>                 fn = (unsigned int)id->driver_data;

This patch snippet resolves the issue, at least in my use case.

Thanks,
Tested-by: Klara Modin <klarasmodin@gmail.com>

[-- Attachment #2: dmesg-both-patches --]
[-- Type: application/octet-stream, Size: 43058 bytes --]

[    0.000000] Linux version 6.7.0-rc8-xeon2p-00001-gfb50ac454b00 (klara@xeon2p.int.kasm.eu) (gcc (Gentoo 13.2.1_p20231216 p11) 13.2.1 20231216, GNU ld (Gentoo 2.41 p4) 2.41.0) #29 SMP PREEMPT_DYNAMIC Thu Jan  4 12:37:30 CET 2024
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x00000000000953ff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ff4efff] usable
[    0.000000] BIOS-e820: [mem 0x000000003fff0000-0x000000003fff2fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000003fff3000-0x000000003fffffff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] APIC: Static calls initialized
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: Supermicro P4DC6/P4DC6, BIOS 6.00 PG 06/27/2003
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 2180.882 MHz processor
[    0.006495] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.006505] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.006515] last_pfn = 0x3ff4f max_arch_pfn = 0x1000000
[    0.006531] MTRR map: 7 entries (6 fixed + 1 variable; max 22), built from 8 variable MTRRs
[    0.006542] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- UC  
[    0.017414] found SMP MP-table at [mem 0x000f5010-0x000f501f]
[    0.017445] initial memory mapped: [mem 0x00000000-0x1e1fffff]
[    0.017607] RAMDISK: [mem 0x37fe5000-0x37fe9fff]
[    0.017613] Allocated new RAMDISK: [mem 0x375f9000-0x375fd3ff]
[    0.017632] Move RAMDISK from [mem 0x37fe5000-0x37fe93ff] to [mem 0x375f9000-0x375fd3ff]
[    0.017646] ACPI: Early table checksum verification disabled
[    0.017656] ACPI: RSDP 0x00000000000F6BE0 000014 (v00 IntelR)
[    0.017666] ACPI: RSDT 0x000000003FFF3000 00002C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017681] ACPI: FACP 0x000000003FFF3040 000074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017696] ACPI: DSDT 0x000000003FFF30C0 003B65 (v01 INTELR AWRDACPI 00001000 MSFT 0100000E)
[    0.017708] ACPI: FACS 0x000000003FFF0000 000040
[    0.017717] ACPI: APIC 0x000000003FFF6C40 00006C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
[    0.017725] ACPI: Reserving FACP table memory at [mem 0x3fff3040-0x3fff30b3]
[    0.017729] ACPI: Reserving DSDT table memory at [mem 0x3fff30c0-0x3fff6c24]
[    0.017733] ACPI: Reserving FACS table memory at [mem 0x3fff0000-0x3fff003f]
[    0.017736] ACPI: Reserving APIC table memory at [mem 0x3fff6c40-0x3fff6cab]
[    0.017769] 137MB HIGHMEM available.
[    0.017772] 885MB LOWMEM available.
[    0.017774]   mapped low ram: 0 - 375fe000
[    0.017777]   low ram: 0 - 375fe000
[    0.017803] Zone ranges:
[    0.017806]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.017812]   Normal   [mem 0x0000000001000000-0x00000000375fdfff]
[    0.017816]   HighMem  [mem 0x00000000375fe000-0x000000003ff4efff]
[    0.017821] Movable zone start for each node
[    0.017823] Early memory node ranges
[    0.017824]   node   0: [mem 0x0000000000001000-0x0000000000094fff]
[    0.017828]   node   0: [mem 0x0000000000100000-0x000000003ff4efff]
[    0.017833] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ff4efff]
[    0.017851] On node 0, zone DMA: 1 pages in unavailable ranges
[    0.017939] On node 0, zone DMA: 107 pages in unavailable ranges
[    0.027636] ACPI: PM-Timer IO Port: 0x408
[    0.027674] IOAPIC[0]: apic_id 4, version 32, address 0xfec00000, GSI 0-23
[    0.027685] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.027691] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.027699] ACPI: Using ACPI (MADT) for SMP configuration information
[    0.027704] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.027738] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.027744] PM: hibernation: Registered nosave memory: [mem 0x00095000-0x000effff]
[    0.027747] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.027753] [mem 0x40000000-0xfebfffff] available for PCI devices
[    0.027763] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.027789] setup_percpu: NR_CPUS:8 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.028968] percpu: Embedded 34 pages/cpu s109460 r0 d29804 u139264
[    0.028988] pcpu-alloc: s109460 r0 d29804 u139264 alloc=34*4096
[    0.028996] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.029040] Kernel command line: BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-gfb50ac454b00 root=PARTUUID=10cc689d-cade-4b45-a0e1-9036bbdc33b9 ro rootflags=subvol=gentoo console=tty0 console=ttyS0,115200 acpi_enforce_resources=lax resume=PARTUUID=fcfbed7f-e788-4297-a1d9-179484780a65 rootfstype=btrfs
[    0.029307] Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-gfb50ac454b00", will be passed to user space.
[    0.030078] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.030473] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.030558] Built 1 zonelists, mobility grouping on.  Total pages: 260087
[    0.030567] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.030575] Initializing HighMem for node 0 (000375fe:0003ff4f)
[    0.058148] Initializing Movable for node 0 (00000000:00000000)
[    0.068458] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.068493] Memory: 1020044K/1047436K available (10331K kernel code, 1640K rwdata, 2796K rodata, 808K init, 564K bss, 27392K reserved, 0K cma-reserved, 140612K highmem)
[    0.068637] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.068657] Kernel/User page tables isolation: enabled
[    0.068939] trace event string verifier disabled
[    0.069039] Dynamic Preempt: voluntary
[    0.069132] rcu: Preemptible hierarchical RCU implementation.
[    0.069134] rcu: 	RCU event tracing is enabled.
[    0.069136] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.069140] 	Trampoline variant of Tasks RCU enabled.
[    0.069142] 	Tracing variant of Tasks RCU enabled.
[    0.069145] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.069147] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.074030] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.074299] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.076691] Console: colour VGA+ 80x25
[    0.076699] printk: legacy console [tty0] enabled
[    0.081486] printk: legacy console [ttyS0] enabled
[    0.651024] ACPI: Core revision 20230628
[    0.655203] APIC: Switch to symmetric I/O mode setup
[    0.660648] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.683166] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1f6fa6d1810, max_idle_ns: 440795246207 ns
[    0.693769] Calibrating delay loop (skipped), value calculated using timer frequency.. 4361.76 BogoMIPS (lpj=8723528)
[    0.697869] CPU0: Thermal monitoring enabled (TM1)
[    0.701863] Last level iTLB entries: 4KB 64, 2MB 64, 4MB 64
[    0.705820] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 64, 1GB 0
[    0.709827] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.713835] Spectre V2 : Mitigation: Retpolines
[    0.717818] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.721831] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.725821] Speculative Store Bypass: Vulnerable
[    0.729824] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.733821] MMIO Stale Data: Unknown: No mitigations
[    0.737824] x86/fpu: x87 FPU will use FXSAVE
[    0.742933] Freeing SMP alternatives memory: 36K
[    0.749820] pid_max: default: 32768 minimum: 301
[    0.753859] LSM: initializing lsm=capability,integrity
[    0.757880] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.761838] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.880527] smpboot: CPU0: Intel(R) Xeon(TM) MP CPU 2.20GHz (family: 0xf, model: 0x2, stepping: 0x6)
[    0.882414] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.885874] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.889885] Performance Events: Netburst events, Netburst P4/Xeon PMU driver.
[    0.893826] ... version:                0
[    0.897817] ... bit width:              40
[    0.901817] ... generic registers:      18
[    0.905818] ... value mask:             000000ffffffffff
[    0.909819] ... max period:             0000007fffffffff
[    0.913823] ... fixed-purpose events:   0
[    0.917817] ... event mask:             000000000003ffff
[    0.922100] signal: max sigframe size: 1440
[    0.925936] rcu: Hierarchical SRCU implementation.
[    0.929821] rcu: 	Max phase no-delay instances is 1000.
[    0.934353] smp: Bringing up secondary CPUs ...
[    0.938235] smpboot: x86: Booting SMP configuration:
[    0.941827] .... node  #0, CPUs:      #1
[    0.591432] [Firmware Bug]: CPU1: APIC id mismatch. Firmware: 1 APIC: 7
[    0.591432] smpboot: CPU 1 Converting physical 3 to logical package 1
[    0.591432] smpboot: CPU 1 Converting physical 0 to logical die 1
[    1.054142]  #2
[    0.591432] [Firmware Bug]: CPU2: APIC id mismatch. Firmware: 2 APIC: 6
[    1.154072] 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.
[    1.158315]  #3
[   11.173766] CPU3 failed to report alive state
[   11.177894] smp: Brought up 1 node, 3 CPUs
[   11.181838] smpboot: Max logical packages: 2
[   11.185832] smpboot: Total of 3 processors activated (13085.36 BogoMIPS)
[   11.190536] devtmpfs: initialized
[   11.194574] ACPI: PM: Registering ACPI NVS region [mem 0x3fff0000-0x3fff2fff] (12288 bytes)
[   11.198115] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   11.201861] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[   11.206064] pinctrl core: initialized pinctrl subsystem
[   11.209934] PM: RTC time: 12:17:08, date: 2024-01-04
[   11.214320] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[   11.218376] audit: initializing netlink subsys (disabled)
[   11.225785] audit: type=2000 audit(1704370627.564:1): state=initialized audit_enabled=0 res=1
[   11.226117] thermal_sys: Registered thermal governor 'fair_share'
[   11.229856] thermal_sys: Registered thermal governor 'bang_bang'
[   11.233845] thermal_sys: Registered thermal governor 'step_wise'
[   11.237836] thermal_sys: Registered thermal governor 'user_space'
[   11.241870] cpuidle: using governor ladder
[   11.249845] cpuidle: using governor menu
[   11.258692] PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=4
[   11.261837] PCI: Using configuration type 1 for base access
[   11.266346] mtrr: your CPUs had inconsistent variable MTRR settings
[   11.269835] mtrr: probably your BIOS does not setup all CPUs.
[   11.273832] mtrr: corrected configuration.
[   11.278019] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[   11.286128] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[   11.293766] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[   11.369756] raid6: sse2x2   gen()  2281 MB/s
[   11.441749] raid6: sse2x1   gen()  2007 MB/s
[   11.513751] raid6: sse1x2   gen()  1432 MB/s
[   11.585777] raid6: sse1x1   gen()  1126 MB/s
[   11.589829] raid6: using algorithm sse2x2 gen() 2281 MB/s
[   11.661755] raid6: .... xor() 1475 MB/s, rmw enabled
[   11.665832] raid6: using intx1 recovery algorithm
[   11.669965] ACPI: Added _OSI(Module Device)
[   11.673831] ACPI: Added _OSI(Processor Device)
[   11.677830] ACPI: Added _OSI(3.0 _SCP Extensions)
[   11.681830] ACPI: Added _OSI(Processor Aggregator Device)
[   11.695039] ACPI: 1 ACPI AML tables successfully acquired and loaded
[   11.704277] ACPI: _OSC evaluation for CPUs failed, trying _PDC
[   11.710274] ACPI: Interpreter enabled
[   11.713885] ACPI: PM: (supports S0 S1 S3 S4 S5)
[   11.717830] ACPI: Using IOAPIC for interrupt routing
[   11.722384] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[   11.733846] PCI: Using E820 reservations for host bridge windows
[   11.738090] ACPI: Enabled 1 GPEs in block 00 to 0F
[   11.741761] ACPI: Enabled 5 GPEs in block 10 to 1F
[   11.759682] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[   11.765848] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[   11.773768] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[   11.781862] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[   11.794387] PCI host bridge to bus 0000:00
[   11.797832] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[   11.805835] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[   11.809835] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff window]
[   11.817844] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]
[   11.825845] pci_bus 0000:00: root bus resource [bus 00-ff]
[   11.833886] pci 0000:00:00.0: [8086:2531] type 00 class 0x060000
[   11.837842] pci 0000:00:00.0: reg 0x10: [mem 0xf0000000-0xf3ffffff pref]
[   11.846024] pci 0000:00:01.0: [8086:2532] type 01 class 0x060400
[   11.849985] pci 0000:00:02.0: [8086:2533] type 01 class 0x060400
[   11.858114] pci 0000:00:1e.0: [8086:244e] type 01 class 0x060400
[   11.865935] pci 0000:00:1f.0: [8086:2440] type 00 class 0x060100
[   11.869931] pci 0000:00:1f.0: quirk: [io  0x0400-0x047f] claimed by ICH4 ACPI/GPIO/TCO
[   11.877850] pci 0000:00:1f.0: quirk: [io  0x0480-0x04bf] claimed by ICH4 GPIO
[   11.885835] pci 0000:00:1f.0: quirk_ich4_lpc_acpi+0x0/0x8c took 15625 usecs
[   11.894042] pci 0000:00:1f.1: [8086:244b] type 00 class 0x010180
[   11.897894] pci 0000:00:1f.1: reg 0x20: [io  0xf000-0xf00f]
[   11.905859] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[   11.909834] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[   11.917833] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[   11.925835] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[   11.934051] pci 0000:00:1f.2: [8086:2442] type 00 class 0x0c0300
[   11.937899] pci 0000:00:1f.2: reg 0x20: [io  0xb000-0xb01f]
[   11.946075] pci 0000:00:1f.3: [8086:2443] type 00 class 0x0c0500
[   11.949896] pci 0000:00:1f.3: reg 0x20: [io  0x0500-0x050f]
[   11.958066] pci 0000:00:1f.4: [8086:2444] type 00 class 0x0c0300
[   11.961896] pci 0000:00:1f.4: reg 0x20: [io  0xb800-0xb81f]
[   11.970070] pci 0000:00:1f.5: [8086:2445] type 00 class 0x040100
[   11.973854] pci 0000:00:1f.5: reg 0x10: [io  0xbc00-0xbcff]
[   11.981843] pci 0000:00:1f.5: reg 0x14: [io  0xc000-0xc03f]
[   11.986004] pci_bus 0000:01: extended config space not accessible
[   11.993888] pci 0000:01:00.0: [10de:002d] type 00 class 0x030000
[   11.997849] pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff]
[   12.005842] pci 0000:01:00.0: reg 0x14: [mem 0xf4000000-0xf5ffffff pref]
[   12.009875] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[   12.017856] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[   12.026025] pci 0000:00:01.0: PCI bridge to [bus 01]
[   12.033771] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[   12.037837] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[   12.045857] pci_bus 0000:02: extended config space not accessible
[   12.053933] pci 0000:02:1f.0: [8086:1360] type 01 class 0x060400
[   12.058058] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[   12.065835] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[   12.069837] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[   12.077853] pci_bus 0000:03: extended config space not accessible
[   12.081886] pci 0000:03:00.0: [8086:1161] type 00 class 0x080020
[   12.089849] pci 0000:03:00.0: reg 0x10: [mem 0xf9001000-0xf9001fff]
[   12.094018] pci 0000:03:04.0: [9005:00cf] type 00 class 0x010000
[   12.101851] pci 0000:03:04.0: reg 0x10: [io  0x9000-0x90ff]
[   12.105849] pci 0000:03:04.0: reg 0x14: [mem 0xf9000000-0xf9000fff 64bit]
[   12.113875] pci 0000:03:04.0: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[   12.121992] pci 0000:03:04.1: [9005:00cf] type 00 class 0x010000
[   12.125853] pci 0000:03:04.1: reg 0x10: [io  0x9400-0x94ff]
[   12.133849] pci 0000:03:04.1: reg 0x14: [mem 0xf9002000-0xf9002fff 64bit]
[   12.141879] pci 0000:03:04.1: reg 0x30: [mem 0x00000000-0x0001ffff pref]
[   12.146027] pci 0000:02:1f.0: PCI bridge to [bus 03]
[   12.153836] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[   12.157835] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[   12.165861] pci_bus 0000:04: extended config space not accessible
[   12.169895] pci 0000:04:04.0: [8086:1229] type 00 class 0x020000
[   12.177853] pci 0000:04:04.0: reg 0x10: [mem 0xfb100000-0xfb100fff]
[   12.185775] pci 0000:04:04.0: reg 0x14: [io  0xa000-0xa03f]
[   12.189842] pci 0000:04:04.0: reg 0x18: [mem 0xfb000000-0xfb0fffff]
[   12.197808] pci 0000:04:04.0: reg 0x30: [mem 0x00000000-0x000fffff pref]
[   12.201884] pci 0000:04:04.0: supports D1 D2
[   12.205829] pci 0000:04:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[   12.213993] pci 0000:00:1e.0: PCI bridge to [bus 04] (subtractive decode)
[   12.221839] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[   12.225837] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[   12.233839] pci 0000:00:1e.0:   bridge window [io  0x0000-0x0cf7 window] (subtractive decode)
[   12.241847] pci 0000:00:1e.0:   bridge window [io  0x0d00-0xffff window] (subtractive decode)
[   12.249846] pci 0000:00:1e.0:   bridge window [mem 0x000a0000-0x000dffff window] (subtractive decode)
[   12.261852] pci 0000:00:1e.0:   bridge window [mem 0x40000000-0xfebfffff window] (subtractive decode)
[   12.269867] pci_bus 0000:00: on NUMA node 0
[   12.270168] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[   12.277969] ACPI: PCI: Interrupt link LNKB configured for IRQ 5
[   12.281969] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[   12.289968] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[   12.293967] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[   12.301835] ACPI: PCI: Interrupt link LNKE disabled
[   12.305965] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[   12.309835] ACPI: PCI: Interrupt link LNKF disabled
[   12.317966] ACPI: PCI: Interrupt link LNK0 configured for IRQ 12
[   12.321969] ACPI: PCI: Interrupt link LNK1 configured for IRQ 9
[   12.331293] iommu: Default domain type: Translated
[   12.333832] iommu: DMA domain TLB invalidation policy: lazy mode
[   12.342039] SCSI subsystem initialized
[   12.345849] libata version 3.00 loaded.
[   12.345849] ACPI: bus type USB registered
[   12.349877] usbcore: registered new interface driver usbfs
[   12.353852] usbcore: registered new interface driver hub
[   12.361854] usbcore: registered new device driver usb
[   12.366363] NetLabel: Initializing
[   12.369830] NetLabel:  domain hash size = 128
[   12.373828] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[   12.381874] NetLabel:  unlabeled traffic allowed by default
[   12.385837] PCI: Using ACPI for IRQ routing
[   12.389831] PCI: pci_cache_line_size set to 32 bytes
[   12.389898] e820: reserve RAM buffer [mem 0x00095400-0x0009ffff]
[   12.389905] e820: reserve RAM buffer [mem 0x3ff4f000-0x3fffffff]
[   12.389964] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[   12.393761] pci 0000:01:00.0: vgaarb: bridge control possible
[   12.393761] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[   12.409775] vgaarb: loaded
[   12.414134] clocksource: Switched to clocksource tsc-early
[   12.419783] pnp: PnP ACPI init
[   12.423277] pnp 00:00: disabling [mem 0x000cc000-0x000cffff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[   12.434840] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff] because it overlaps 0000:01:00.0 BAR 6 [mem 0x000c0000-0x000dffff]
[   12.446413] pnp 00:00: disabling [mem 0x000cc000-0x000cffff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.459185] pnp 00:00: disabling [mem 0x000d1000-0x000d3fff disabled] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.471959] pnp 00:00: disabling [mem 0x000f0000-0x000fbfff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.483949] pnp 00:00: disabling [mem 0x000fc000-0x000fffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.495941] pnp 00:00: disabling [mem 0x00000000-0x0009ffff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.507937] pnp 00:00: disabling [mem 0x000e0000-0x000effff] because it overlaps 0000:04:04.0 BAR 6 [mem 0x00000000-0x000fffff pref]
[   12.520043] system 00:00: [mem 0x3fff0000-0x3fffffff] could not be reserved
[   12.527086] system 00:00: [mem 0x00100000-0x3ffeffff] could not be reserved
[   12.534121] system 00:00: [mem 0xfec00000-0xfecfffff] could not be reserved
[   12.541153] system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
[   12.547845] system 00:00: [mem 0xffb00000-0xffb7ffff] has been reserved
[   12.554532] system 00:00: [mem 0xfff00000-0xffffffff] has been reserved
[   12.561478] system 00:01: [io  0x0400-0x04bf] could not be reserved
[   12.568274] system 00:02: [io  0x0b78-0x0b7b] has been reserved
[   12.574271] system 00:02: [io  0x0f78-0x0f7b] has been reserved
[   12.580265] system 00:02: [io  0x0a78-0x0a7b] has been reserved
[   12.586260] system 00:02: [io  0x0e78-0x0e7b] has been reserved
[   12.592248] system 00:02: [io  0x0bbc-0x0bbf] has been reserved
[   12.598243] system 00:02: [io  0x0fbc-0x0fbf] has been reserved
[   12.604232] system 00:02: [io  0x04d0-0x04d1] has been reserved
[   12.610232] system 00:02: [io  0x0294-0x0297] has been reserved
[   12.616544] pnp 00:04: [dma 2]
[   12.618051] pnp 00:07: [dma 3]
[   12.618374] pnp: PnP ACPI: found 9 devices
[   12.622551] PnPBIOS: Disabled
[   12.666513] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[   12.675620] NET: Registered PF_INET protocol family
[   12.680825] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[   12.689330] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[   12.698849] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[   12.706694] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[   12.714566] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[   12.722202] TCP: Hash tables configured (established 8192 bind 8192)
[   12.728822] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[   12.736327] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[   12.743037] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[   12.750258] NET: Registered PF_UNIX/PF_LOCAL protocol family
[   12.756039] pci 0000:00:02.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[   12.763345] pci 0000:00:1e.0: BAR 9: assigned [mem 0x40100000-0x401fffff pref]
[   12.770652] pci 0000:00:01.0: PCI bridge to [bus 01]
[   12.775693] pci 0000:00:01.0:   bridge window [mem 0xf6000000-0xf7ffffff]
[   12.782556] pci 0000:00:01.0:   bridge window [mem 0xf4000000-0xf5ffffff pref]
[   12.789864] pci 0000:02:1f.0: BAR 9: assigned [mem 0x40000000-0x400fffff pref]
[   12.797168] pci 0000:03:04.0: BAR 6: assigned [mem 0x40000000-0x4001ffff pref]
[   12.804473] pci 0000:03:04.1: BAR 6: assigned [mem 0x40020000-0x4003ffff pref]
[   12.811772] pci 0000:02:1f.0: PCI bridge to [bus 03]
[   12.816813] pci 0000:02:1f.0:   bridge window [io  0x9000-0x9fff]
[   12.822998] pci 0000:02:1f.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[   12.829860] pci 0000:02:1f.0:   bridge window [mem 0x40000000-0x400fffff pref]
[   12.837167] pci 0000:00:02.0: PCI bridge to [bus 02-03]
[   12.842461] pci 0000:00:02.0:   bridge window [io  0x9000-0x9fff]
[   12.848634] pci 0000:00:02.0:   bridge window [mem 0xf8000000-0xf9ffffff]
[   12.855495] pci 0000:00:02.0:   bridge window [mem 0x40000000-0x400fffff pref]
[   12.862803] pci 0000:04:04.0: BAR 6: assigned [mem 0x40100000-0x401fffff pref]
[   12.870107] pci 0000:00:1e.0: PCI bridge to [bus 04]
[   12.875144] pci 0000:00:1e.0:   bridge window [io  0xa000-0xafff]
[   12.881310] pci 0000:00:1e.0:   bridge window [mem 0xfa000000-0xfbffffff]
[   12.888171] pci 0000:00:1e.0:   bridge window [mem 0x40100000-0x401fffff pref]
[   12.895483] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[   12.901736] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[   12.907984] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000dffff window]
[   12.914934] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]
[   12.921883] pci_bus 0000:01: resource 1 [mem 0xf6000000-0xf7ffffff]
[   12.928226] pci_bus 0000:01: resource 2 [mem 0xf4000000-0xf5ffffff pref]
[   12.935001] pci_bus 0000:02: resource 0 [io  0x9000-0x9fff]
[   12.940648] pci_bus 0000:02: resource 1 [mem 0xf8000000-0xf9ffffff]
[   12.946982] pci_bus 0000:02: resource 2 [mem 0x40000000-0x400fffff pref]
[   12.953750] pci_bus 0000:03: resource 0 [io  0x9000-0x9fff]
[   12.959396] pci_bus 0000:03: resource 1 [mem 0xf8000000-0xf9ffffff]
[   12.965734] pci_bus 0000:03: resource 2 [mem 0x40000000-0x400fffff pref]
[   12.972510] pci_bus 0000:04: resource 0 [io  0xa000-0xafff]
[   12.978147] pci_bus 0000:04: resource 1 [mem 0xfa000000-0xfbffffff]
[   12.984484] pci_bus 0000:04: resource 2 [mem 0x40100000-0x401fffff pref]
[   12.991255] pci_bus 0000:04: resource 4 [io  0x0000-0x0cf7 window]
[   12.997506] pci_bus 0000:04: resource 5 [io  0x0d00-0xffff window]
[   13.003753] pci_bus 0000:04: resource 6 [mem 0x000a0000-0x000dffff window]
[   13.010697] pci_bus 0000:04: resource 7 [mem 0x40000000-0xfebfffff window]
[   13.018397] PCI: CLS 32 bytes, default 32
[   13.022647] Unpacking initramfs...
[   13.026527] Freeing initrd memory: 20K
[   13.031507] Initialise system trusted keyrings
[   13.036171] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[   13.042722] zbud: loaded
[   13.045722] NET: Registered PF_ALG protocol family
[   13.050594] xor: measuring software checksum speed
[   13.058451]    pIII_sse        :  3291 MB/sec
[   13.065156]    prefetch64-sse  :  4324 MB/sec
[   13.069585] xor: using function: prefetch64-sse (4324 MB/sec)
[   13.075413] Key type asymmetric registered
[   13.079578] Asymmetric key parser 'x509' registered
[   13.084572] bounce: pool size: 64 pages
[   13.088507] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[   13.097005] isapnp: Scanning for PnP cards...
[   13.455879] isapnp: No Plug & Play device found
[   13.460639] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[   13.487661] 00:05: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[   13.515946] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[   13.524527] Non-volatile memory driver v1.3
[   13.528924] Intel 82802 RNG detected
[   13.532687] Linux agpgart interface v0.103
[   13.537079] agpgart-intel 0000:00:00.0: Intel i860 Chipset
[   13.548651] agpgart-intel 0000:00:00.0: AGP aperture is 64M @ 0xf0000000
[   13.555573] ACPI: bus type drm_connector registered
[   14.035463] tsc: Refined TSC clocksource calibration: 2180.767 MHz
[   14.041754] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1f6f3a0337d, max_idle_ns: 440795206766 ns
[   14.051884] clocksource: Switched to clocksource tsc
[   15.123528] kpnpbiosd (57) used greatest stack depth: 7604 bytes left
[   18.803497] scsi host0: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
                       <Adaptec aic7899 Ultra160 SCSI adapter>
                       aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

[   24.179477] scsi host1: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
                       <Adaptec aic7899 Ultra160 SCSI adapter>
                       aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

[   24.202225] ata_piix 0000:00:1f.1: version 2.13
[   24.204253] scsi host2: ata_piix
[   24.207929] scsi host3: ata_piix
[   24.211354] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14 lpm-pol 0
[   24.219287] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15 lpm-pol 0
[   24.227330] e100: Intel(R) PRO/100 Network Driver
[   24.232120] e100: Copyright(c) 1999-2006 Intel Corporation
[   24.263236] e100 0000:04:04.0 eth0: addr 0xfb100000, irq 16, MAC addr 00:30:48:24:4d:4d
[   24.271798] uhci_hcd 0000:00:1f.2: UHCI Host Controller
[   24.277241] uhci_hcd 0000:00:1f.2: new USB bus registered, assigned bus number 1
[   24.284785] uhci_hcd 0000:00:1f.2: irq 19, io port 0x0000b000
[   24.290773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   24.299139] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.306451] usb usb1: Product: UHCI Host Controller
[   24.311409] usb usb1: Manufacturer: Linux 6.7.0-rc8-xeon2p-00001-gfb50ac454b00 uhci_hcd
[   24.319506] usb usb1: SerialNumber: 0000:00:1f.2
[   24.324587] hub 1-0:1.0: USB hub found
[   24.328440] hub 1-0:1.0: 2 ports detected
[   24.333106] uhci_hcd 0000:00:1f.4: UHCI Host Controller
[   24.338544] uhci_hcd 0000:00:1f.4: new USB bus registered, assigned bus number 2
[   24.346092] uhci_hcd 0000:00:1f.4: irq 23, io port 0x0000b800
[   24.352160] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.07
[   24.360522] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   24.367841] usb usb2: Product: UHCI Host Controller
[   24.372794] usb usb2: Manufacturer: Linux 6.7.0-rc8-xeon2p-00001-gfb50ac454b00 uhci_hcd
[   24.380891] usb usb2: SerialNumber: 0000:00:1f.4
[   24.385909] hub 2-0:1.0: USB hub found
[   24.389764] hub 2-0:1.0: 2 ports detected
[   24.394619] usbcore: registered new interface driver usblp
[   24.400417] usbcore: registered new interface driver uas
[   24.405854] usbcore: registered new interface driver usb-storage
[   24.412099] i8042: PNP: No PS/2 controller found.
[   24.416880] i8042: Probing ports directly.
[   24.691813] serio: i8042 KBD port at 0x60,0x64 irq 1
[   24.697013] rtc_cmos 00:03: RTC can wake from S4
[   24.702369] rtc_cmos 00:03: registered as rtc0
[   24.706970] rtc_cmos 00:03: alarms up to one month, 242 bytes nvram
[   24.713472] intel_pstate: CPU model not supported
[   24.718332] ata1.00: ATA-8: ST320LT020-9YG142, 0003LVM1, max UDMA/133
[   24.718496] hid: raw HID events driver (C) Jiri Kosina
[   24.724790] ata1.00: 625142448 sectors, multi 16: LBA48 
[   24.730245] NET: Registered PF_INET6 protocol family
[   24.741473] Segment Routing with IPv6
[   24.745286] In-situ OAM (IOAM) with IPv6
[   24.750001] microcode: Current revision: 0x00000010
[   24.754962] microcode: Updated early from: 0x00000000
[   24.760291] IPI shorthand broadcast: enabled
[   24.771423] sched_clock: Marking stable (24180005833, 587432840)->(24937647386, -170208713)
[   24.780173] registered taskstats version 1
[   24.784495] Loading compiled-in X.509 certificates
[   24.795040] zswap: loaded using pool lzo/z3fold
[   24.807744] Btrfs loaded, zoned=no, fsverity=no
[   24.812795] PM:   Magic number: 8:260:278
[   24.816976] tty tty15: hash matches
[   24.820630] printk: legacy console [netcon0] enabled
[   24.825679] netconsole: network logging started
[   24.830387] RAS: Correctable Errors collector initialized.
[   28.051920] scsi 2:0:0:0: Direct-Access     ATA      ST320LT020-9YG14 LVM1 PQ: 0 ANSI: 5
[   28.060857] sd 2:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[   28.068464] sd 2:0:0:0: [sda] 4096-byte physical blocks
[   28.073810] sd 2:0:0:0: [sda] Write Protect is off
[   28.078686] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   28.078733] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   28.088984] sd 2:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[   28.216516]  sda: sda1 sda2 sda3 sda4 sda5
[   28.221388] sd 2:0:0:0: [sda] Attached SCSI disk
[   28.268359] clk: Disabling unused clocks
[   28.292917] BTRFS: device fsid a13acd4c-2c33-4b07-a94d-594d98ef4c40 devid 1 transid 9272 /dev/root scanned by swapper/0 (1)
[   28.305541] BTRFS info (device sda5): first mount of filesystem a13acd4c-2c33-4b07-a94d-594d98ef4c40
[   28.314785] BTRFS info (device sda5): using xxhash64 (xxhash64-generic) checksum algorithm
[   28.323175] BTRFS info (device sda5): using free space tree
[   28.684875] VFS: Mounted root (btrfs filesystem) readonly on device 0:17.
[   28.699514] devtmpfs: mounted
[   28.703699] Freeing unused kernel image (initmem) memory: 808K
[   28.709734] Write protecting kernel text and read-only data: 13128k
[   28.716121] Run /sbin/init as init process
[   28.720293]   with arguments:
[   28.720298]     /sbin/init
[   28.720304]   with environment:
[   28.720308]     HOME=/
[   28.720312]     TERM=linux
[   28.720316]     BOOT_IMAGE=/vmlinuz-6.7.0-rc8-xeon2p-00001-gfb50ac454b00
[   32.091757] modprobe (163) used greatest stack depth: 6080 bytes left
[   32.121844] systemd[1]: systemd 255 running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 +LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[   32.153521] systemd[1]: Detected architecture x86.
[   32.200452] systemd[1]: Hostname set to <xeon2p.int.kasm.eu>.
[   32.416490] 10-gentoo-path (165) used greatest stack depth: 5460 bytes left
[   33.218306] rpc-pipefs-gene (170) used greatest stack depth: 4840 bytes left
[   33.351589] systemd-gpt-auto-generator[175]: File system behind root file system is reported by btrfs to be backed by pseudo-device /dev/root, which is not a valid userspace accessible device node. Cannot determine correct backing block device.
[   33.657502] random: crng init done
[   34.577227] (sd-exec-[167]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator failed with exit status 1.
[   35.607519] systemd[1]: Queued start job for default target Graphical Interface.
[   35.637749] systemd[1]: Created slice Slice /system/getty.
[   35.660420] systemd[1]: Created slice Slice /system/modprobe.
[   35.684379] systemd[1]: Created slice Slice /system/serial-getty.
[   35.708371] systemd[1]: Created slice Slice /system/systemd-fsck.
[   35.732078] systemd[1]: Created slice User and Session Slice.
[   35.755747] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   35.783699] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   35.808054] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   35.835588] systemd[1]: Expecting device /dev/disk/by-uuid/a13acd4c-2c33-4b07-a94d-594d98ef4c40...
[   35.863531] systemd[1]: Expecting device /dev/disk/by-uuid/abc16bac-bb12-475c-abd2-9f98d66564a5...
[   35.891533] systemd[1]: Expecting device /dev/disk/by-uuid/d93d3bf7-1712-4787-8e13-7c091c85f10d...
[   35.919531] systemd[1]: Expecting device /dev/ttyS0...
[   35.939692] systemd[1]: Reached target Path Units.
[   35.959585] systemd[1]: Reached target Slice Units.
[   35.985412] systemd[1]: Listening on Process Core Dump Socket.
[   36.008387] systemd[1]: Listening on Journal Audit Socket.
[   36.035981] systemd[1]: Listening on Journal Socket (/dev/log).
[   36.060012] systemd[1]: Listening on Journal Socket.
[   36.080142] systemd[1]: Listening on Network Service Netlink Socket.
[   36.144709] systemd[1]: Listening on udev Control Socket.
[   36.167932] systemd[1]: Listening on udev Kernel Socket.
[   36.219851] systemd[1]: Listening on User Database Manager Socket.
[   36.275623] systemd[1]: Mounting Huge Pages File System...
[   36.319789] systemd[1]: Mounting POSIX Message Queue File System...
[   36.346088] systemd[1]: Mounting Kernel Debug File System...
[   36.370986] systemd[1]: Mounting Kernel Trace File System...
[   36.394501] systemd[1]: Starting Kernel Module supporting RPCSEC_GSS...
[   36.420024] systemd[1]: Starting Create List of Static Device Nodes...
[   36.446621] systemd[1]: Starting Load Kernel Module configfs...
[   36.475978] systemd[1]: Starting Load Kernel Module dm_mod...
[   36.499522] systemd[1]: Starting Load Kernel Module drm...
[   36.529417] systemd[1]: Starting Load Kernel Module efi_pstore...
[   36.545845] RPC: Registered named UNIX socket transport module.
[   36.551884] RPC: Registered udp transport module.
[   36.556711] RPC: Registered tcp transport module.
[   36.561516] RPC: Registered tcp-with-tls transport module.
[   36.563000] systemd[1]: Starting Load Kernel Module fuse...
[   36.567035] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   36.582614] systemd[1]: Starting Load Kernel Module loop...
[   36.605931] systemd[1]: Starting Journal Service...
[   36.619965] modprobe (186) used greatest stack depth: 4740 bytes left
[   36.639548] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[   36.664153] systemd[1]: Starting Load Kernel Modules...
[   36.681537] loop: module loaded
[   36.688616] systemd[1]: Starting Generate network units from Kernel command line...
[   36.718194] systemd[1]: Starting Remount Root and Kernel File Systems...
[   36.748091] systemd[1]: Starting Coldplug All udev Devices...
[   36.748511] systemd-journald[197]: Collecting audit messages is enabled.
[   36.777867] systemd[1]: Mounted Huge Pages File System.
[   36.800119] systemd[1]: Mounted POSIX Message Queue File System.
[   36.828180] systemd[1]: Mounted Kernel Debug File System.
[   36.844477] BTRFS info (device sda5: state M): use lzo compression, level 0
[   36.855070] systemd[1]: Mounted Kernel Trace File System.
[   36.876615] systemd[1]: Finished Kernel Module supporting RPCSEC_GSS.
[   36.904503] systemd[1]: Finished Create List of Static Device Nodes.
[   36.927952] systemd[1]: Started Journal Service.
[   36.933768] w83627hf: w83627hf: Found W83627HF chip at 0x290
[   36.940236] ACPI Warning: SystemIO range 0x0000000000000295-0x0000000000000296 conflicts with OpRegion 0x0000000000000295-0x0000000000000296 (\IP) (20230628/utaddress-204)
[   36.956719] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[   36.965019] ACPI: OSL: Resource conflict: System may be unstable or behave erratically
[   36.974596] w83627hf w83627hf.656: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[   37.123087] nvidiafb: Device ID: 10de002d 
[   37.127416] nvidiafb 0000:01:00.0: vgaarb: deactivate vga console
[   37.138822] Console: switching to colour dummy device 80x25
[   37.358945] systemd-journald[197]: Received client request to flush runtime journal.
[   37.423494] nvidiafb: EDID found from BUS1
[   37.427656] nvidiafb: Using CRT on CRTC 0
[   37.432114] fbcon: NV2 (fb0) is primary device
[   37.538734] Console: switching to colour frame buffer device 200x75
[   37.555536] nvidiafb: PCI nVidia NV2 framebuffer (32MB @ 0xF4000000)
[   38.574852] systemd-journald[197]: /var/log/journal/8078fa31e0d048d69eae09c26e9e306f/system.journal: Journal file uses a different sequence number ID, rotating.
[   38.589328] systemd-journald[197]: Rotating system journal.
[   40.424322] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
[   40.432936] ACPI: button: Power Button [PWRB]
[   40.437541] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[   40.459532] ACPI: button: Power Button [PWRF]
[   40.699389] FDC 0 is a post-1991 82077
[   40.752981] parport_pc 00:07: reported by Plug and Play ACPI
[   40.758888] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[   40.824492] thermal LNXTHERM:00: registered as thermal_zone0
[   40.830216] ACPI: thermal: Thermal Zone [THRM] (36 C)
[   41.491999] EDAC MC: Ver: 3.0.0
[   41.646131] EDAC i82860: i82860 init one
[   41.650757] EDAC MC0: Giving out device to module i82860_edac controller i82860: DEV 0000:00:00.0 (POLLED)
[   41.660513] EDAC PCI0: Giving out device to module i82860_edac controller EDAC PCI controller: DEV 0000:00:00.0 (POLLED)
[   41.973446] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   42.007555] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   42.016853] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   42.062837] i801_smbus 0000:00:1f.3: SMBus using polling
[   42.076256] i2c i2c-3: 4/4 memory slots populated (from DMI)
[   42.082022] i2c i2c-3: Memory type 0x11 not supported yet, not instantiating SPD
[   42.177123] e100 0000:04:04.0 enp4s4: renamed from eth0
[   42.194806] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   42.203538] cfg80211: failed to load regulatory.db
[   42.372264] input: PC Speaker as /devices/platform/pcspkr/input/input4
[   42.559734] e100 0000:04:04.0 enp4s4: NIC Link is Up 100 Mbps Full Duplex
[   42.626320] ppdev: user-space parallel port driver
[   42.649902] iTCO_vendor_support: vendor-support=0
[   42.683788] NET: Registered PF_PACKET protocol family
[   42.721743] iTCO_wdt iTCO_wdt.1.auto: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS
[   42.855478] snd_intel8x0 0000:00:1f.5: intel8x0_measure_ac97_clock: measured 59437 usecs (2856 samples)
[   42.864971] snd_intel8x0 0000:00:1f.5: clocking to 48000
[   44.291700] BTRFS info: devid 1 device path /dev/root changed to /dev/sda5 scanned by mount (300)
[   45.541818] Adding 16777212k swap on /dev/sda4.  Priority:-2 extents:1 across:16777212k 
[   47.409647] EXT4-fs (sda2): mounted filesystem d93d3bf7-1712-4787-8e13-7c091c85f10d r/w with ordered data mode. Quota mode: disabled.
[   51.441894] FS-Cache: Loaded
[   52.086481] Key type dns_resolver registered
[   52.823933] NFS: Registering the id_resolver key type
[   52.829074] Key type id_resolver registered
[   52.833304] Key type id_legacy registered
[   61.497337] systemd-journald[197]: /var/log/journal/8078fa31e0d048d69eae09c26e9e306f/user-1000.journal: Journal file uses a different sequence number ID, rotating.

[-- Attachment #3: serial-first-patch --]
[-- Type: application/octet-stream, Size: 33802 bytes --]

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-04  8:41 ` Shinichiro Kawasaki
  2024-01-04 12:22   ` Klara Modin
@ 2024-01-04 12:36   ` Lukas Wunner
  2024-01-05  8:18     ` Shinichiro Kawasaki
  1 sibling, 1 reply; 11+ messages in thread
From: Lukas Wunner @ 2024-01-04 12:36 UTC (permalink / raw)
  To: Shinichiro Kawasaki
  Cc: Klara Modin, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

On Thu, Jan 04, 2024 at 08:41:28AM +0000, Shinichiro Kawasaki wrote:
> My mere idea was to just blacklist Intel CPUs with family != 6.

The P2SB device has Vendor ID 0x8086, Device ID 0xc5c5, so just match
for that?  The IDE controller in question has [8086:244b].  Class codes
also differ, so that would be another suitable method for differentiation.

Thanks,

Lukas

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-04 12:36   ` Lukas Wunner
@ 2024-01-05  8:18     ` Shinichiro Kawasaki
  2024-01-05  8:44       ` Lukas Wunner
  0 siblings, 1 reply; 11+ messages in thread
From: Shinichiro Kawasaki @ 2024-01-05  8:18 UTC (permalink / raw)
  To: Lukas Wunner
  Cc: Klara Modin, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

On Jan 04, 2024 / 13:36, Lukas Wunner wrote:
> On Thu, Jan 04, 2024 at 08:41:28AM +0000, Shinichiro Kawasaki wrote:
> > My mere idea was to just blacklist Intel CPUs with family != 6.
> 
> The P2SB device has Vendor ID 0x8086, Device ID 0xc5c5, so just match
> for that?  The IDE controller in question has [8086:244b].  Class codes
> also differ, so that would be another suitable method for differentiation.

Lukas,

Thank you for the idea. I refereed ICH/PCH documents and found that Device IDs
of IDE controller and P2SB at DEVFN(31,1) are different depending on ICH/PCH
version. It looks troublesome to list them all. On the other hand, class code of
P2SB looks same across PCH versions: 58000h is the class code. So I think and
hope that the class code check will be the best solution. If anyone in Intel can
confirm that all P2SB devices have the same class code, it will be great.

Klara,

Thank you very much for confirming that p2sb_bar() is not called on your system.
As the next step, I would like to try out the solution idea by Lukas. Could you
apply the patch below on top of the kernel v6.7-rc8 and see if the IDE
controller detection failure is resolved?


diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
index fcf1ce8bbdc5..e82ab2ddd74b 100644
--- a/drivers/platform/x86/p2sb.c
+++ b/drivers/platform/x86/p2sb.c
@@ -26,6 +26,8 @@ static const struct x86_cpu_id p2sb_cpu_ids[] = {
 	{}
 };
 
+#define P2SB_CLASS_CODE		0x58000
+
 /*
  * Cache BAR0 of P2SB device functions 0 to 7.
  * TODO: The constant 8 is the number of functions that PCI specification
@@ -136,9 +138,10 @@ static struct pci_bus *p2sb_get_bus(struct pci_bus *bus)
 
 static int p2sb_cache_resources(void)
 {
-	struct pci_bus *bus;
 	unsigned int devfn_p2sb;
 	u32 value = P2SBC_HIDE;
+	struct pci_bus *bus;
+	u32 class;
 	int ret;
 
 	/* Get devfn for P2SB device itself */
@@ -150,6 +153,14 @@ static int p2sb_cache_resources(void)
 	if (!bus)
 		return -ENODEV;
 
+	/*
+	 * When a device with same devfn exists and it is not P2SB, do not
+	 * touch it.
+	 */
+	pci_bus_read_config_dword(bus, devfn_p2sb, PCI_CLASS_REVISION, &class);
+	if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
+		return -ENODEV;
+
 	/*
 	 * Prevent concurrent PCI bus scan from seeing the P2SB device and
 	 * removing via sysfs while it is temporarily exposed.



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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-05  8:18     ` Shinichiro Kawasaki
@ 2024-01-05  8:44       ` Lukas Wunner
  2024-01-05 10:26         ` Shinichiro Kawasaki
  0 siblings, 1 reply; 11+ messages in thread
From: Lukas Wunner @ 2024-01-05  8:44 UTC (permalink / raw)
  To: Shinichiro Kawasaki
  Cc: Klara Modin, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

On Fri, Jan 05, 2024 at 08:18:05AM +0000, Shinichiro Kawasaki wrote:
> --- a/drivers/platform/x86/p2sb.c
> +++ b/drivers/platform/x86/p2sb.c
> @@ -150,6 +153,14 @@ static int p2sb_cache_resources(void)
>  	if (!bus)
>  		return -ENODEV;
>  
> +	/*
> +	 * When a device with same devfn exists and it is not P2SB, do not
> +	 * touch it.
> +	 */
> +	pci_bus_read_config_dword(bus, devfn_p2sb, PCI_CLASS_REVISION, &class);
> +	if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
> +		return -ENODEV;
> +

The function should probably return if PCI_POSSIBLE_ERROR() is true.
Also I think you can use PCI_CLASS_MEMORY_OTHER, so how about:

	if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
		return -ENODEV;

Can alternatively use "class >> 8 != PCI_CLASS_MEMORY_OTHER << 8" if you
want to ensure the lowest byte is 0x00.

Thanks,

Lukas

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-05  8:44       ` Lukas Wunner
@ 2024-01-05 10:26         ` Shinichiro Kawasaki
  2024-01-05 11:45           ` Klara Modin
  0 siblings, 1 reply; 11+ messages in thread
From: Shinichiro Kawasaki @ 2024-01-05 10:26 UTC (permalink / raw)
  To: Lukas Wunner
  Cc: Klara Modin, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

On Jan 05, 2024 / 09:44, Lukas Wunner wrote:
> On Fri, Jan 05, 2024 at 08:18:05AM +0000, Shinichiro Kawasaki wrote:
> > --- a/drivers/platform/x86/p2sb.c
> > +++ b/drivers/platform/x86/p2sb.c
> > @@ -150,6 +153,14 @@ static int p2sb_cache_resources(void)
> >  	if (!bus)
> >  		return -ENODEV;
> >  
> > +	/*
> > +	 * When a device with same devfn exists and it is not P2SB, do not
> > +	 * touch it.
> > +	 */
> > +	pci_bus_read_config_dword(bus, devfn_p2sb, PCI_CLASS_REVISION, &class);
> > +	if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
> > +		return -ENODEV;
> > +
> 
> The function should probably return if PCI_POSSIBLE_ERROR() is true.

At this point, the P2SB device can be still hidden and PCI_POSSIBLE_ERROR() can
be true. In that case, the function should not return.

> Also I think you can use PCI_CLASS_MEMORY_OTHER, so how about:
> 
> 	if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
> 		return -ENODEV;
> 
> Can alternatively use "class >> 8 != PCI_CLASS_MEMORY_OTHER << 8" if you
> want to ensure the lowest byte is 0x00.

Thanks, it looks the better to use PCI_CLASS_MEMORY_OTHER. Will reflect it when
I create the formal fix patch.

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-05 10:26         ` Shinichiro Kawasaki
@ 2024-01-05 11:45           ` Klara Modin
  2024-01-06  1:03             ` Shinichiro Kawasaki
  0 siblings, 1 reply; 11+ messages in thread
From: Klara Modin @ 2024-01-05 11:45 UTC (permalink / raw)
  To: Shinichiro Kawasaki
  Cc: Lukas Wunner, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

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

Den fre 5 jan. 2024 kl 11:26 skrev Shinichiro Kawasaki
<shinichiro.kawasaki@wdc.com>:
>
> On Jan 05, 2024 / 09:44, Lukas Wunner wrote:
> > On Fri, Jan 05, 2024 at 08:18:05AM +0000, Shinichiro Kawasaki wrote:
> > > --- a/drivers/platform/x86/p2sb.c
> > > +++ b/drivers/platform/x86/p2sb.c
> > > @@ -150,6 +153,14 @@ static int p2sb_cache_resources(void)
> > >     if (!bus)
> > >             return -ENODEV;
> > >
> > > +   /*
> > > +    * When a device with same devfn exists and it is not P2SB, do not
> > > +    * touch it.
> > > +    */
> > > +   pci_bus_read_config_dword(bus, devfn_p2sb, PCI_CLASS_REVISION, &class);
> > > +   if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
> > > +           return -ENODEV;
> > > +
> >
> > The function should probably return if PCI_POSSIBLE_ERROR() is true.
>
> At this point, the P2SB device can be still hidden and PCI_POSSIBLE_ERROR() can
> be true. In that case, the function should not return.
>
> > Also I think you can use PCI_CLASS_MEMORY_OTHER, so how about:
> >
> >       if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
> >               return -ENODEV;
> >
> > Can alternatively use "class >> 8 != PCI_CLASS_MEMORY_OTHER << 8" if you
> > want to ensure the lowest byte is 0x00.
>
> Thanks, it looks the better to use PCI_CLASS_MEMORY_OTHER. Will reflect it when
> I create the formal fix patch.

Both of the variants seem to work for me.

I tried the first patch on its own (059b825c5234), with
       if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
               return -ENODEV;

Then Lukas' suggestion (b97584391ea7), with
        if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
                return -ENODEV;

Tested-by: Klara Modin <klarasmodin@gmail.com>

[-- Attachment #2: dmesg1.gz --]
[-- Type: application/gzip, Size: 11200 bytes --]

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

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2024-01-05 11:45           ` Klara Modin
@ 2024-01-06  1:03             ` Shinichiro Kawasaki
  0 siblings, 0 replies; 11+ messages in thread
From: Shinichiro Kawasaki @ 2024-01-06  1:03 UTC (permalink / raw)
  To: Klara Modin
  Cc: Lukas Wunner, andriy.shevchenko, hdegoede, ilpo.jarvinen,
	linux-i2c, linux-pci, platform-driver-x86

On Jan 05, 2024 / 12:45, Klara Modin wrote:
> Den fre 5 jan. 2024 kl 11:26 skrev Shinichiro Kawasaki
> <shinichiro.kawasaki@wdc.com>:
> >
> > On Jan 05, 2024 / 09:44, Lukas Wunner wrote:
> > > On Fri, Jan 05, 2024 at 08:18:05AM +0000, Shinichiro Kawasaki wrote:
> > > > --- a/drivers/platform/x86/p2sb.c
> > > > +++ b/drivers/platform/x86/p2sb.c
> > > > @@ -150,6 +153,14 @@ static int p2sb_cache_resources(void)
> > > >     if (!bus)
> > > >             return -ENODEV;
> > > >
> > > > +   /*
> > > > +    * When a device with same devfn exists and it is not P2SB, do not
> > > > +    * touch it.
> > > > +    */
> > > > +   pci_bus_read_config_dword(bus, devfn_p2sb, PCI_CLASS_REVISION, &class);
> > > > +   if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
> > > > +           return -ENODEV;
> > > > +
> > >
> > > The function should probably return if PCI_POSSIBLE_ERROR() is true.
> >
> > At this point, the P2SB device can be still hidden and PCI_POSSIBLE_ERROR() can
> > be true. In that case, the function should not return.
> >
> > > Also I think you can use PCI_CLASS_MEMORY_OTHER, so how about:
> > >
> > >       if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
> > >               return -ENODEV;
> > >
> > > Can alternatively use "class >> 8 != PCI_CLASS_MEMORY_OTHER << 8" if you
> > > want to ensure the lowest byte is 0x00.
> >
> > Thanks, it looks the better to use PCI_CLASS_MEMORY_OTHER. Will reflect it when
> > I create the formal fix patch.
> 
> Both of the variants seem to work for me.
> 
> I tried the first patch on its own (059b825c5234), with
>        if (!PCI_POSSIBLE_ERROR(class) && class >> 8 != P2SB_CLASS_CODE)
>                return -ENODEV;
> 
> Then Lukas' suggestion (b97584391ea7), with
>         if (PCI_POSSIBLE_ERROR(class) || class >> 16 != PCI_CLASS_MEMORY_OTHER)
>                 return -ENODEV;
> 
> Tested-by: Klara Modin <klarasmodin@gmail.com>

Thank you for trying it out. This fix approach looks good :) I will create a
formal patch next week for review.

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

* Re: [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2023-12-29  6:39 ` [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe Shin'ichiro Kawasaki
@ 2023-12-29 13:34   ` Ilpo Järvinen
  0 siblings, 0 replies; 11+ messages in thread
From: Ilpo Järvinen @ 2023-12-29 13:34 UTC (permalink / raw)
  To: Shin'ichiro Kawasaki
  Cc: platform-driver-x86, Hans de Goede, Andy Shevchenko,
	Lukas Wunner, linux-pci, linux-i2c

On Fri, 29 Dec 2023, Shin'ichiro Kawasaki wrote:

> p2sb_bar() unhides P2SB device to get resources from the device. It
> guards the operation by locking pci_rescan_remove_lock so that parallel
> rescans do not find the P2SB device. However, this lock causes deadlock
> when PCI bus rescan is triggered by /sys/bus/pci/rescan. The rescan
> locks pci_rescan_remove_lock and probes PCI devices. When PCI devices
> call p2sb_bar() during probe, it locks pci_rescan_remove_lock again.
> Hence the deadlock.
> 
> To avoid the deadlock, do not lock pci_rescan_remove_lock in p2sb_bar().
> Instead, do the lock at fs_initcall. Introduce p2sb_cache_resources()
> for fs_initcall which gets and caches the P2SB resources. At p2sb_bar(),
> refer the cache and return to the caller.
> 
> Link: https://lore.kernel.org/linux-pci/6xb24fjmptxxn5js2fjrrddjae6twex5bjaftwqsuawuqqqydx@7cl3uik5ef6j/
> Fixes: 9745fb07474f ("platform/x86/intel: Add Primary to Sideband (P2SB) bridge support")
> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>

Thanks for the update. I've replaced the commit in review-ilpo branch with 
this v5 patch 1/2.

-- 
 i.


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

* [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
  2023-12-29  6:39 [PATCH v5 0/2] platform/x86: p2sb: Fix deadlock at sysfs PCI bus rescan Shin'ichiro Kawasaki
@ 2023-12-29  6:39 ` Shin'ichiro Kawasaki
  2023-12-29 13:34   ` Ilpo Järvinen
  0 siblings, 1 reply; 11+ messages in thread
From: Shin'ichiro Kawasaki @ 2023-12-29  6:39 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: Hans de Goede, Ilpo Järvinen, Andy Shevchenko, Lukas Wunner,
	linux-pci, linux-i2c, Shin'ichiro Kawasaki

p2sb_bar() unhides P2SB device to get resources from the device. It
guards the operation by locking pci_rescan_remove_lock so that parallel
rescans do not find the P2SB device. However, this lock causes deadlock
when PCI bus rescan is triggered by /sys/bus/pci/rescan. The rescan
locks pci_rescan_remove_lock and probes PCI devices. When PCI devices
call p2sb_bar() during probe, it locks pci_rescan_remove_lock again.
Hence the deadlock.

To avoid the deadlock, do not lock pci_rescan_remove_lock in p2sb_bar().
Instead, do the lock at fs_initcall. Introduce p2sb_cache_resources()
for fs_initcall which gets and caches the P2SB resources. At p2sb_bar(),
refer the cache and return to the caller.

Link: https://lore.kernel.org/linux-pci/6xb24fjmptxxn5js2fjrrddjae6twex5bjaftwqsuawuqqqydx@7cl3uik5ef6j/
Fixes: 9745fb07474f ("platform/x86/intel: Add Primary to Sideband (P2SB) bridge support")
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 drivers/platform/x86/p2sb.c | 172 +++++++++++++++++++++++++++---------
 1 file changed, 131 insertions(+), 41 deletions(-)

diff --git a/drivers/platform/x86/p2sb.c b/drivers/platform/x86/p2sb.c
index 1cf2471d54dd..fcf1ce8bbdc5 100644
--- a/drivers/platform/x86/p2sb.c
+++ b/drivers/platform/x86/p2sb.c
@@ -26,6 +26,21 @@ static const struct x86_cpu_id p2sb_cpu_ids[] = {
 	{}
 };
 
+/*
+ * Cache BAR0 of P2SB device functions 0 to 7.
+ * TODO: The constant 8 is the number of functions that PCI specification
+ *       defines. Same definitions exist tree-wide. Unify this definition and
+ *       the other definitions then move to include/uapi/linux/pci.h.
+ */
+#define NR_P2SB_RES_CACHE 8
+
+struct p2sb_res_cache {
+	u32 bus_dev_id;
+	struct resource res;
+};
+
+static struct p2sb_res_cache p2sb_resources[NR_P2SB_RES_CACHE];
+
 static int p2sb_get_devfn(unsigned int *devfn)
 {
 	unsigned int fn = P2SB_DEVFN_DEFAULT;
@@ -39,8 +54,16 @@ static int p2sb_get_devfn(unsigned int *devfn)
 	return 0;
 }
 
+static bool p2sb_valid_resource(struct resource *res)
+{
+	if (res->flags)
+		return true;
+
+	return false;
+}
+
 /* Copy resource from the first BAR of the device in question */
-static int p2sb_read_bar0(struct pci_dev *pdev, struct resource *mem)
+static void p2sb_read_bar0(struct pci_dev *pdev, struct resource *mem)
 {
 	struct resource *bar0 = &pdev->resource[0];
 
@@ -56,47 +79,64 @@ static int p2sb_read_bar0(struct pci_dev *pdev, struct resource *mem)
 	mem->end = bar0->end;
 	mem->flags = bar0->flags;
 	mem->desc = bar0->desc;
-
-	return 0;
 }
 
-static int p2sb_scan_and_read(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
+static void p2sb_scan_and_cache_devfn(struct pci_bus *bus, unsigned int devfn)
 {
+	struct p2sb_res_cache *cache = &p2sb_resources[PCI_FUNC(devfn)];
 	struct pci_dev *pdev;
-	int ret;
 
 	pdev = pci_scan_single_device(bus, devfn);
 	if (!pdev)
-		return -ENODEV;
+		return;
 
-	ret = p2sb_read_bar0(pdev, mem);
+	p2sb_read_bar0(pdev, &cache->res);
+	cache->bus_dev_id = bus->dev.id;
 
 	pci_stop_and_remove_bus_device(pdev);
-	return ret;
+	return;
 }
 
-/**
- * p2sb_bar - Get Primary to Sideband (P2SB) bridge device BAR
- * @bus: PCI bus to communicate with
- * @devfn: PCI slot and function to communicate with
- * @mem: memory resource to be filled in
- *
- * The BIOS prevents the P2SB device from being enumerated by the PCI
- * subsystem, so we need to unhide and hide it back to lookup the BAR.
- *
- * if @bus is NULL, the bus 0 in domain 0 will be used.
- * If @devfn is 0, it will be replaced by devfn of the P2SB device.
- *
- * Caller must provide a valid pointer to @mem.
- *
- * Locking is handled by pci_rescan_remove_lock mutex.
- *
- * Return:
- * 0 on success or appropriate errno value on error.
- */
-int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
+static int p2sb_scan_and_cache(struct pci_bus *bus, unsigned int devfn)
+{
+	unsigned int slot, fn;
+
+	if (PCI_FUNC(devfn) == 0) {
+		/*
+		 * When function number of the P2SB device is zero, scan it and
+		 * other function numbers, and if devices are available, cache
+		 * their BAR0s.
+		 */
+		slot = PCI_SLOT(devfn);
+		for (fn = 0; fn < NR_P2SB_RES_CACHE; fn++)
+			p2sb_scan_and_cache_devfn(bus, PCI_DEVFN(slot, fn));
+	} else {
+		/* Scan the P2SB device and cache its BAR0 */
+		p2sb_scan_and_cache_devfn(bus, devfn);
+	}
+
+	if (!p2sb_valid_resource(&p2sb_resources[PCI_FUNC(devfn)].res))
+		return -ENOENT;
+
+	return 0;
+}
+
+static struct pci_bus *p2sb_get_bus(struct pci_bus *bus)
+{
+	static struct pci_bus *p2sb_bus;
+
+	bus = bus ?: p2sb_bus;
+	if (bus)
+		return bus;
+
+	/* Assume P2SB is on the bus 0 in domain 0 */
+	p2sb_bus = pci_find_bus(0, 0);
+	return p2sb_bus;
+}
+
+static int p2sb_cache_resources(void)
 {
-	struct pci_dev *pdev_p2sb;
+	struct pci_bus *bus;
 	unsigned int devfn_p2sb;
 	u32 value = P2SBC_HIDE;
 	int ret;
@@ -106,8 +146,9 @@ int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
 	if (ret)
 		return ret;
 
-	/* if @bus is NULL, use bus 0 in domain 0 */
-	bus = bus ?: pci_find_bus(0, 0);
+	bus = p2sb_get_bus(NULL);
+	if (!bus)
+		return -ENODEV;
 
 	/*
 	 * Prevent concurrent PCI bus scan from seeing the P2SB device and
@@ -115,17 +156,16 @@ int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
 	 */
 	pci_lock_rescan_remove();
 
-	/* Unhide the P2SB device, if needed */
+	/*
+	 * The BIOS prevents the P2SB device from being enumerated by the PCI
+	 * subsystem, so we need to unhide and hide it back to lookup the BAR.
+	 * Unhide the P2SB device here, if needed.
+	 */
 	pci_bus_read_config_dword(bus, devfn_p2sb, P2SBC, &value);
 	if (value & P2SBC_HIDE)
 		pci_bus_write_config_dword(bus, devfn_p2sb, P2SBC, 0);
 
-	pdev_p2sb = pci_scan_single_device(bus, devfn_p2sb);
-	if (devfn)
-		ret = p2sb_scan_and_read(bus, devfn, mem);
-	else
-		ret = p2sb_read_bar0(pdev_p2sb, mem);
-	pci_stop_and_remove_bus_device(pdev_p2sb);
+	ret = p2sb_scan_and_cache(bus, devfn_p2sb);
 
 	/* Hide the P2SB device, if it was hidden */
 	if (value & P2SBC_HIDE)
@@ -133,12 +173,62 @@ int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
 
 	pci_unlock_rescan_remove();
 
-	if (ret)
-		return ret;
+	return ret;
+}
+
+/**
+ * p2sb_bar - Get Primary to Sideband (P2SB) bridge device BAR
+ * @bus: PCI bus to communicate with
+ * @devfn: PCI slot and function to communicate with
+ * @mem: memory resource to be filled in
+ *
+ * If @bus is NULL, the bus 0 in domain 0 will be used.
+ * If @devfn is 0, it will be replaced by devfn of the P2SB device.
+ *
+ * Caller must provide a valid pointer to @mem.
+ *
+ * Return:
+ * 0 on success or appropriate errno value on error.
+ */
+int p2sb_bar(struct pci_bus *bus, unsigned int devfn, struct resource *mem)
+{
+	struct p2sb_res_cache *cache;
+	int ret;
 
-	if (mem->flags == 0)
+	bus = p2sb_get_bus(bus);
+	if (!bus)
 		return -ENODEV;
 
+	if (!devfn) {
+		ret = p2sb_get_devfn(&devfn);
+		if (ret)
+			return ret;
+	}
+
+	cache = &p2sb_resources[PCI_FUNC(devfn)];
+	if (cache->bus_dev_id != bus->dev.id)
+		return -ENODEV;
+
+	if (!p2sb_valid_resource(&cache->res))
+		return -ENOENT;
+
+	memcpy(mem, &cache->res, sizeof(*mem));
 	return 0;
 }
 EXPORT_SYMBOL_GPL(p2sb_bar);
+
+static int __init p2sb_fs_init(void)
+{
+	p2sb_cache_resources();
+	return 0;
+}
+
+/*
+ * pci_rescan_remove_lock to avoid access to unhidden P2SB devices can
+ * not be locked in sysfs pci bus rescan path because of deadlock. To
+ * avoid the deadlock, access to P2SB devices with the lock at an early
+ * step in kernel initialization and cache required resources. This
+ * should happen after subsys_initcall which initializes PCI subsystem
+ * and before device_initcall which requires P2SB resources.
+ */
+fs_initcall(p2sb_fs_init);
-- 
2.43.0


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

end of thread, other threads:[~2024-01-06  1:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 21:31 [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe Klara Modin
2024-01-04  8:41 ` Shinichiro Kawasaki
2024-01-04 12:22   ` Klara Modin
2024-01-04 12:36   ` Lukas Wunner
2024-01-05  8:18     ` Shinichiro Kawasaki
2024-01-05  8:44       ` Lukas Wunner
2024-01-05 10:26         ` Shinichiro Kawasaki
2024-01-05 11:45           ` Klara Modin
2024-01-06  1:03             ` Shinichiro Kawasaki
  -- strict thread matches above, loose matches on Subject: below --
2023-12-29  6:39 [PATCH v5 0/2] platform/x86: p2sb: Fix deadlock at sysfs PCI bus rescan Shin'ichiro Kawasaki
2023-12-29  6:39 ` [PATCH v5 1/2] platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe Shin'ichiro Kawasaki
2023-12-29 13:34   ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).