Skip to content

iommu/xen: register before xen-pciback binds its devices - #23

Merged
azenla merged 1 commit into
edera/mainlinefrom
azenla/fix/tpu-fixes-mainline
Oct 12, 2026
Merged

azenla merged 1 commit into
edera/mainlinefrom
azenla/fix/tpu-fixes-mainline

Conversation

@azenla

@azenla azenla commented Oct 12, 2026

Copy link
Copy Markdown
Member

xen-pciback seizes a hidden device in an fs_initcall, but the Xen IOMMU registered from a device_initcall. Registering probes every PCI device that already exists, so a hidden device was found with a driver bound and the IOMMU core warned about a late probe at driver bind.

Register from subsys_initcall_sync instead, so the IOMMU is in place before pciback binds anything.

antoineco
antoineco previously approved these changes Oct 12, 2026
xen-pciback seizes a hidden device in an fs_initcall, but the Xen IOMMU
registered from a device_initcall. Registering probes every PCI device
that already exists, so a hidden device was found with a driver bound and
the IOMMU core warned about a late probe at driver bind.

Register from subsys_initcall_sync instead, so the IOMMU is in place
before pciback binds anything.

Signed-off-by: Alex Zenla <alex@edera.dev>
@azenla
azenla force-pushed the azenla/fix/tpu-fixes-mainline branch from d20fadd to cfb5809 Compare October 12, 2026 17:03
@azenla
azenla merged commit 662f515 into edera/mainline Oct 12, 2026
@azenla
azenla deleted the azenla/fix/tpu-fixes-mainline branch October 12, 2026 17:03
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Backport to edera/6.18-lts: proposed in #26

Checks and builds passed.

Run log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants