From: Sairaj Kodilkar <sarunkod@amd.com>
To: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Cc: <sarunkod@amd.com>, Ani Sinha <anisinha@redhat.com>,
Eduardo Habkost <eduardo@habkost.net>,
Igor Mammedov <imammedo@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,
Paolo Bonzini <pbonzini@redhat.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
<qemu-devel@nongnu.org>, <vasant.hegde@amd.com>,
<suravee.suthikulpanit@amd.com>
Subject: Re: [PATCH 4/8] acpi_build: Use IOMMU pci device to build IOMMU device ID
Date: Wed, 2 Sep 2026 19:11:07 +0530 [thread overview]
Message-ID: <c899544c-4617-40b7-be80-b232e19dce6d@amd.com> (raw)
In-Reply-To: <d77edd98-7bdb-42e4-86cc-ea3e5e9454a6@amd.com>
On 8/31/2026 4:10 PM, Sairaj Kodilkar wrote:
> [ 238.666837] pci 0000:02:00.0: EDR: Failed to install notify handler
> [ 238.675198] BUG: unable to handle page fault for address: 0000000000080060
> [ 238.677682] #PF: supervisor read access in kernel mode
> [ 238.679330] #PF: error_code(0x0000) - not-present page
> [ 238.680976] PGD 0 P4D 0
> [ 238.681846] Oops: Oops: 0000 [#1] SMP NOPTI
> [ 238.683206] CPU: 0 UID: 0 PID: 1436 Comm: tee Tainted: G W 7.1.0-rc1-qemu #2 PREEMPT(lazy)
> [ 238.686328] Tainted: [W]=WARN
> [ 238.687326] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014
> [ 238.690864] RIP: 0010:amd_iommu_probe_device+0x53/0x470
> [ 238.692598] Code: b0 0f 84 6d 01 00 00 31 f6 e8 e9 d2 ff ff 85 c0 0f 88 45 01 00 00 4c 89 e7 0f b7 d8 e8 96 d6 ff ff 48 85 c0 0f 84 31 01 00 00 <48> 8b 40 60 0f b7 40 1a 39 c3 0f 8f 21 01 00 00 4c 89 e7 e8 6
> [ 238.697728] RSP: 0018:ffffd317452ab948 EFLAGS: 00010206
> [ 238.698706] RAX: 0000000000080000 RBX: 0000000000000200 RCX: 0000000000000000
> [ 238.700044] RDX: ffff8e374195f000 RSI: 0000000000000200 RDI: ffff8e376ff580d0
> [ 238.701369] RBP: ffffd317452ab970 R08: 0000000000080000 R09: ffff8e375156e380
> [ 238.702693] R10: ffff8e37707264b8 R11: ffffffffb0f28a20 R12: ffff8e376ff580d0
> [ 238.704033] R13: ffff8e376ff580d0 R14: 00000000ffffffff R15: ffff8e3740d0f5d8
> [ 238.705358] FS: 00007f2d02060540(0000) GS:ffff8e37ff749000(0000) knlGS:0000000000000000
> [ 238.706843] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 238.707918] CR2: 0000000000080060 CR3: 0000000101d00004 CR4: 0000000000770ef0
> [ 238.709285] PKRU: 55555554
> [ 238.709828] Call Trace:
> [ 238.710314] <TASK>
> [ 238.710742] iommu_init_device+0xbf/0x330
> [ 238.711518] ? srso_alias_return_thunk+0x5/0xfbef5
> [ 238.712450] iommu_probe_device+0x70/0xb0
> [ 238.713214] iommu_bus_notifier+0x2c/0x80
> [ 238.713984] ? srso_alias_return_thunk+0x5/0xfbef5
> [ 238.714889] notifier_call_chain+0x66/0xf0
> [ 238.715673] blocking_notifier_call_chain+0x47/0x70
> [ 238.716632] bus_notify+0x3b/0x50
> [ 238.717295] device_add+0x631/0x870
> [ 238.717982] pci_device_add+0x303/0x720
> [ 238.718735] pci_scan_single_device+0xad/0xd0
> [ 238.719571] pci_scan_slot+0x97/0x230
> [ 238.720279] ? srso_alias_return_thunk+0x5/0xfbef5
> [ 238.721186] pci_scan_child_bus_extend+0x3b/0x2f0
> [ 238.722082] ? srso_alias_return_thunk+0x5/0xfbef5
> [ 238.722987] pci_scan_bridge_extend+0x447/0x4f0
> [ 238.723847] pci_scan_child_bus_extend+0x106/0x2f0
> [ 238.724795] pci_rescan_bus+0x1b/0x40
> [ 238.725499] dev_rescan_store+0x70/0x90
> [ 238.726252] dev_attr_store+0x1b/0x30
> [ 238.726963] sysfs_kf_write+0x76/0x90
> [ 238.727677] kernfs_fop_write_iter+0x145/0x1d0
> [ 238.728530] vfs_write+0x307/0x420
> [ 238.729401] ksys_write+0x6d/0xe0
> [ 238.730223] __x64_sys_write+0x1d/0x30
> [ 238.731116] x64_sys_call+0x1704/0x21c0
> [ 238.732018] do_syscall_64+0xa3/0x7c0
> [ 238.732907] ? irqentry_exit+0x42/0x5a0
> [ 238.733815] ? srso_alias_return_thunk+0x5/0xfbef5
> [ 238.734877] ? do_syscall_64+0x58/0x7c0
> [ 238.735768] ? exc_page_fault+0x98/0x1c0
> [ 238.736709] entry_SYSCALL_64_after_hwframe+0x76/0x7e
> [ 238.737825] RIP: 0033:0x7f2d01b10104
> [ 238.738673] Code: 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 8d 05 e1 08 2e 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 f3 c3 66 90 41 54 55 49 89 d4 53 48 5
> [ 238.742405] RSP: 002b:00007ffd09b75168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
> [ 238.743966] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f2d01b10104
> [ 238.745478] RDX: 0000000000000002 RSI: 00007ffd09b75250 RDI: 0000000000000003
> [ 238.746962] RBP: 00007ffd09b75250 R08: 0000000000000002 R09: 00007f2d02060540
> [ 238.748466] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000555ec468b280
> [ 238.749943] R13: 0000000000000002 R14: 00007f2d01de7760 R15: 0000000000000002
> [ 238.751418] </TASK>
> [ 238.752010] Modules linked in:
> [ 238.752772] CR2: 0000000000080060
> [ 238.753571] ---[ end trace 0000000000000000 ]---
> [ 238.754628] RIP: 0010:amd_iommu_probe_device+0x53/0x470
> [ 238.755772] Code: b0 0f 84 6d 01 00 00 31 f6 e8 e9 d2 ff ff 85 c0 0f 88 45 01 00 00 4c 89 e7 0f b7 d8 e8 96 d6 ff ff 48 85 c0 0f 84 31 01 00 00 <48> 8b 40 60 0f b7 40 1a 39 c3 0f 8f 21 01 00 00 4c 89 e7 e8 6
> [ 238.759542] RSP: 0018:ffffd317452ab948 EFLAGS: 00010206
> [ 238.760706] RAX: 0000000000080000 RBX: 0000000000000200 RCX: 0000000000000000
> [ 238.762210] RDX: ffff8e374195f000 RSI: 0000000000000200 RDI: ffff8e376ff580d0
> [ 238.763708] RBP: ffffd317452ab970 R08: 0000000000080000 R09: ffff8e375156e380
> [ 238.765248] R10: ffff8e37707264b8 R11: ffffffffb0f28a20 R12: ffff8e376ff580d0
> [ 238.766761] R13: ffff8e376ff580d0 R14: 00000000ffffffff R15: ffff8e3740d0f5d8
> [ 238.768279] FS: 00007f2d02060540(0000) GS:ffff8e37ff749000(0000) knlGS:0000000000000000
> [ 238.769959] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 238.771227] CR2: 0000000000080060 CR3: 0000000101d00004 CR4: 0000000000770ef0
> [ 238.772767] PKRU: 55555554
> [ 238.773488] note: tee[1436] exited with irqs disabled
Hi Alejandro,
Seems like upstream doesnt have this issue anymore
This patch fixed it: 07d0f496fe7ec5abe3bee7e38be709521567bb33
Thanks
Sairaj
next prev parent reply other threads:[~2026-09-02 13:47 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 12:39 [PATCH 0/8] acpi_build: Refactor and cleanup AMD IVRS build Sairaj Kodilkar
2026-05-11 12:39 ` [PATCH 1/8] tests/acpi: x86: Allow IVRS acpi table changes Sairaj Kodilkar
2026-05-11 12:39 ` [PATCH 2/8] amd_iommu: update PA, GVA and VA size macros Sairaj Kodilkar
2026-05-19 8:39 ` Vasant Hegde
2026-07-30 21:41 ` Alejandro Jimenez
2026-08-03 22:15 ` Michael S. Tsirkin
2026-05-11 12:39 ` [PATCH 3/8] amd_iommu: Return empty efr for stub call Sairaj Kodilkar
2026-07-30 21:45 ` Alejandro Jimenez
2026-05-11 12:39 ` [PATCH 4/8] acpi_build: Use IOMMU pci device to build IOMMU device ID Sairaj Kodilkar
2026-07-30 22:35 ` Alejandro Jimenez
2026-07-31 9:50 ` Michael S. Tsirkin
2026-07-31 12:32 ` Sairaj Kodilkar
2026-07-31 21:47 ` Alejandro Jimenez
2026-08-01 0:01 ` Michael S. Tsirkin
2026-08-04 5:01 ` Sairaj Kodilkar
2026-08-27 6:18 ` Sairaj Kodilkar
2026-08-28 1:14 ` Alejandro Jimenez
2026-08-31 10:40 ` Sairaj Kodilkar
2026-09-02 13:41 ` Sairaj Kodilkar [this message]
2026-05-11 12:39 ` [PATCH 5/8] acpi_build: Introduce necessary macros and structs for AMD IOMMU IVRS Sairaj Kodilkar
2026-08-03 21:35 ` Alejandro Jimenez
2026-08-03 22:08 ` Michael S. Tsirkin
2026-05-11 12:39 ` [PATCH 6/8] acpi_build: Build IVRS feature report using extended feature register Sairaj Kodilkar
2026-05-19 8:43 ` Vasant Hegde
2026-05-11 12:39 ` [PATCH 7/8] acpi_build: Cleanup AMD IOMMU IVRS building Sairaj Kodilkar
2026-08-03 21:56 ` Michael S. Tsirkin
2026-08-03 22:10 ` Michael S. Tsirkin
2026-08-04 5:23 ` Sairaj Kodilkar
2026-05-11 12:39 ` [PATCH 8/8] tests/acpi: x86: update golden masters for IVRS Sairaj Kodilkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c899544c-4617-40b7-be80-b232e19dce6d@amd.com \
--to=sarunkod@amd.com \
--cc=alejandro.j.jimenez@oracle.com \
--cc=anisinha@redhat.com \
--cc=eduardo@habkost.net \
--cc=imammedo@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=suravee.suthikulpanit@amd.com \
--cc=vasant.hegde@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.