aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-checker.c
diff options
context:
space:
mode:
authorVasant Hegde <[email protected]>2025-09-11 13:14:06 +0000
committerJoerg Roedel <[email protected]>2025-09-13 06:11:30 +0000
commita0c17ed907ac3326cf3c9d6007ea222a746f5cc2 (patch)
treeac3f3e87469aa2fb8f17e0763e376d5737cb54ce /fs/btrfs/tree-checker.c
parentiommu/s390: Make attach succeed when the device was surprise removed (diff)
downloadkernel-a0c17ed907ac3326cf3c9d6007ea222a746f5cc2.tar.gz
kernel-a0c17ed907ac3326cf3c9d6007ea222a746f5cc2.zip
iommu/amd: Fix alias device DTE setting
Commit 7bea695ada0 restructured DTE flag handling but inadvertently changed the alias device configuration logic. This may cause incorrect DTE settings for certain devices. Add alias flag check before calling set_dev_entry_from_acpi(). Also move the device iteration loop inside the alias check to restrict execution to cases where alias devices are present. Fixes: 7bea695ada0 ("iommu/amd: Introduce struct ivhd_dte_flags to store persistent DTE flags") Cc: Suravee Suthikulpanit <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-checker.c')
0 files changed, 0 insertions, 0 deletions