Bug 215850 - amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
Summary: amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
Status: RESOLVED ANSWERED
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 07:08 UTC by sander44
Modified: 2022-04-18 08:52 UTC (History)
0 users

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


Attachments

Description sander44 2022-04-18 07:08:16 UTC
Hi Kernel Team,

I tried to start version 5.18.0-rc2 today.
But I noticed some error messages on the AMD GPIO side.

Errors:
[    0.468508] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
[    0.468521] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517
[    0.468530] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003A to IRQ, err -517
[    0.468539] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003B to IRQ, err -517
[    0.468548] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0012 to IRQ, err -517


dmesg | grep -E "amd_gpio|amd|pcieport|GPIO|pin|IRQ|amdgpu"
[    0.003686] Using GB pages for direct mapping
[    0.040585] Built 1 zonelists, mobility grouping on.  Total pages: 8104247
[    0.099061] NR_IRQS: 524544, nr_irqs: 1096, preallocated irqs: 16
[    0.100838] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.213029] smpboot: CPU0: AMD Ryzen 9 5900HS with Radeon Graphics (family: 0x19, model: 0x50, stepping: 0x0)
[    0.236234] pinctrl core: initialized pinctrl subsystem
[    0.249214] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.249237] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.263098] ACPI: PCI: Interrupt link LNKA configured for IRQ 0
[    0.263134] ACPI: PCI: Interrupt link LNKB configured for IRQ 0
[    0.263165] ACPI: PCI: Interrupt link LNKC configured for IRQ 0
[    0.263203] ACPI: PCI: Interrupt link LNKD configured for IRQ 0
[    0.263238] ACPI: PCI: Interrupt link LNKE configured for IRQ 0
[    0.263266] ACPI: PCI: Interrupt link LNKF configured for IRQ 0
[    0.263296] ACPI: PCI: Interrupt link LNKG configured for IRQ 0
[    0.263324] ACPI: PCI: Interrupt link LNKH configured for IRQ 0
[    0.266775] PCI: Using ACPI for IRQ routing
[    0.271267] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.288916] AMD-Vi: Interrupt remapping enabled
[    0.333900] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[    0.468508] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
[    0.468521] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x002C to IRQ, err -517
[    0.468530] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003A to IRQ, err -517
[    0.468539] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x003B to IRQ, err -517
[    0.468548] amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0012 to IRQ, err -517
[    0.468715] pcieport 0000:00:01.1: PME: Signaling with IRQ 26
[    0.468731] pcieport 0000:00:01.1: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[    0.468833] pcieport 0000:00:02.2: PME: Signaling with IRQ 27
[    0.468842] pcieport 0000:00:02.2: pciehp: Slot #0 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[    0.468935] pcieport 0000:00:02.4: PME: Signaling with IRQ 28
[    0.469012] pcieport 0000:00:08.1: PME: Signaling with IRQ 29
[    0.472869] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    0.689426] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.681190] [drm] amdgpu kernel modesetting enabled.
[    2.681218] amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
[    2.705595] amdgpu: Virtual CRAT table created for CPU
[    2.710113] amdgpu: Topology: Add CPU node
[    2.710788] fb0: switching to amdgpu from EFI VGA
[    2.717675] amdgpu 0000:04:00.0: vgaarb: deactivate vga console
[    2.717725] amdgpu 0000:04:00.0: enabling device (0006 -> 0007)
[    2.717857] amdgpu 0000:04:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
[    2.804234] amdgpu 0000:04:00.0: amdgpu: Fetched VBIOS from VFCT
[    2.804238] amdgpu: ATOM BIOS: 113-CEZANNE-018
[    2.807447] amdgpu 0000:04:00.0: amdgpu: PCIE atomic ops is not supported
[    2.807463] amdgpu 0000:04:00.0: amdgpu: MODE2 reset
[    2.807549] amdgpu 0000:04:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[    2.807553] amdgpu 0000:04:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[    2.807555] amdgpu 0000:04:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[    2.807637] [drm] amdgpu: 512M of VRAM memory ready
[    2.807640] [drm] amdgpu: 3072M of GTT memory ready.
[    2.819377] amdgpu 0000:04:00.0: amdgpu: PSP runtime database doesn't exist
[    2.828352] amdgpu 0000:04:00.0: amdgpu: Will use PSP to load VCN firmware
[    3.680341] amdgpu 0000:04:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    3.689612] amdgpu 0000:04:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    3.689615] amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    3.690170] amdgpu 0000:04:00.0: amdgpu: SMU is initialized successfully!
[    3.707970] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    3.808817] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[    3.819942] amdgpu: HMM registered 512MB device memory
[    3.819962] amdgpu: SRAT table not found
[    3.819963] amdgpu: Virtual CRAT table created for GPU
[    3.820198] amdgpu: Topology: Add dGPU node [0x1638:0x1002]
[    3.820201] kfd kfd: amdgpu: added device 1002:1638
[    3.820210] amdgpu 0000:04:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 8
[    3.820320] amdgpu 0000:04:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[    3.820321] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[    3.820322] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[    3.820323] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[    3.820324] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[    3.820324] amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[    3.820325] amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[    3.820326] amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[    3.820326] amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[    3.820327] amdgpu 0000:04:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[    3.820328] amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[    3.820329] amdgpu 0000:04:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[    3.820330] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[    3.820330] amdgpu 0000:04:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[    3.820331] amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
[    3.821555] [drm] Initialized amdgpu 3.46.0 20150101 for 0000:04:00.0 on minor 0
[    3.826760] fbcon: amdgpudrmfb (fb0) is primary device
[    3.869032] amdgpu 0000:04:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[  157.003581] pcieport 0000:00:08.1: PME: Spurious native interrupt!

lspci:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
02:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter
03:00.0 Non-Volatile memory controller: Intel Corporation Device f1aa (rev 03)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c4)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
Comment 1 Artem S. Tashkinov 2022-04-18 08:52:14 UTC
Please refile at https://gitlab.freedesktop.org/drm/amd/-/issues

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