Bug 219515 - intel_th_pci Driver Probe Failed with Error Code -107
Summary: intel_th_pci Driver Probe Failed with Error Code -107
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: Intel Linux
: P3 normal
Assignee: Alexander Shishckin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-20 03:16 UTC by andy.liang
Modified: 2024-12-09 05:30 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
v6.12.rc7 (127.52 KB, image/png)
2024-11-20 03:16 UTC, andy.liang
Details
v6.11.7 (125.08 KB, image/png)
2024-11-20 03:16 UTC, andy.liang
Details
RHEL9.5 dmesg (765.86 KB, text/plain)
2024-11-20 03:17 UTC, andy.liang
Details
Intel Corporation Ice Lake NorthPeak device (95.52 KB, image/png)
2024-11-20 03:19 UTC, andy.liang
Details
S15SP6 Dmesg (132.36 KB, text/plain)
2024-11-20 03:19 UTC, andy.liang
Details
S15SP7 dmesg (129.68 KB, text/plain)
2024-11-20 03:20 UTC, andy.liang
Details

Description andy.liang 2024-11-20 03:16:34 UTC
Created attachment 307248 [details]
v6.12.rc7

Processor : Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz
OS : SLE-15-SP7-Full-x86_64-Beta1-202410-Media1 / RHEL-10.0-20241104.0-x86_64-dvd1 / latest upstream kernel (6.11.x and 6.12-rc)

The intel_th_pci driver hooks with the Intel Corporation Ice Lake NorthPeak device and causes the problems. The older version kernel doesn't hooked with the Intel_th_pci driver.

[   24.202199] intel_th_pci 0000:00:02.4: enabling device (0140 -> 0142)
[   24.202369] intel_th_pci 0000:00:02.4: can't derive routing for PCI INT A
[   24.202371] intel_th_pci 0000:00:02.4: PCI INT A: not connected
[   24.202441] intel_th_pci: probe of 0000:00:02.4 failed with error -107
[   24.203214] intel_th_pci 0000:80:02.4: enabling device (0140 -> 0142)
[   24.203315] intel_th_pci 0000:80:02.4: can't derive routing for PCI INT A
[   24.203317] intel_th_pci 0000:80:02.4: PCI INT A: not connected
[   24.203371] intel_th_pci: probe of 0000:80:02.4 failed with error -107
Comment 1 andy.liang 2024-11-20 03:16:49 UTC
Created attachment 307249 [details]
v6.11.7
Comment 2 andy.liang 2024-11-20 03:17:16 UTC
Created attachment 307250 [details]
RHEL9.5 dmesg
Comment 3 andy.liang 2024-11-20 03:19:30 UTC
Created attachment 307251 [details]
Intel Corporation Ice Lake NorthPeak device
Comment 4 andy.liang 2024-11-20 03:19:53 UTC
Created attachment 307252 [details]
S15SP6 Dmesg
Comment 5 andy.liang 2024-11-20 03:20:13 UTC
Created attachment 307253 [details]
S15SP7 dmesg
Comment 6 Takashi Iwai 2024-12-02 13:43:50 UTC
Alexander, could you check it?  It's about intel-th stuff.
It might be a BIOS problem or somewhere in PCI core, but it needs to be verified.
Comment 7 andy.liang 2024-12-09 05:30:49 UTC
Myron Stowe from RHEL has feedback below.

1. The device id 0x3456 in the latest intel_th driver. 
      pci 0000:00:02.4: [8086:3456] type 00 class 0x130000 conventional PCI endpoint.
https://elixir.bootlin.com/linux/v6.12/source/drivers/hwtracing/intel_th/pci.c#L324

2. The BIOS sets up the IRQ as "IRQ_NOTCONNECTED"

 intel_th_pci 0000:00:02.4: enabling device (0140 -> 0142)
 intel_th_pci 0000:00:02.4: can't derive routing for PCI INT A
 intel_th_pci 0000:00:02.4: PCI INT A: not connected
 intel_th_pci 0000:00:02.4: probe with driver intel_th_pci failed w/ errno -107

     https://elixir.bootlin.com/linux/v6.12/source/kernel/irq/manage.c#L2157
     https://elixir.bootlin.com/linux/v6.12/source/include/uapi/asm-generic/errno.h#L90

3. The driver doesn't support the unconnected irq mode.

 Interrupt: pin A routed to IRQ -2147483648    # 0xffffffff80000000
           
    https://elixir.bootlin.com/linux/v6.12/source/drivers/acpi/pci_irq.c#L373

Note You need to log in before you can comment on or make changes to this bug.