amd_gpio AMDI0030:00: Failed to translate GPIO pin 0x0000 to IRQ, err -517
Kernel Version: 5.18.0-rc2 / 5.18.0-rc3
Hi AMD OSS 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
lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Vendor ID: AuthenticAMD
Model name: AMD Ryzen 9 5900HS with Radeon Graphics
CPU family: 25
Model: 80
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
Stepping: 0
Frequency boost: enabled
CPU max MHz: 4680,0000
CPU min MHz: 400,0000
BogoMIPS: 6587.54
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall
nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl
pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy
svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perf
ctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 av
x2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm
_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm
_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload v
gif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm
Virtualization features:
Virtualization: AMD-V
Caches (sum of all):
L1d: 256 KiB (8 instances)
L1i: 256 KiB (8 instances)
L2: 4 MiB (8 instances)
L3: 16 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-15
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling
Srbds: Not affected
Tsx async abort: Not affected