|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/arm: Fix HAS_PASSTHROUGH selection
commit a084862317daae2efb9c4656e7f8d64fd10dd2b9
Author: Michal Orzel <michal.orzel@xxxxxxx>
AuthorDate: Thu Jul 31 10:05:21 2025 +0200
Commit: Michal Orzel <michal.orzel@xxxxxxx>
CommitDate: Thu Jul 31 13:15:03 2025 +0200
xen/arm: Fix HAS_PASSTHROUGH selection
HAS_PASSTHROUGH should only be selected on MMU systems. It's been like
that until commit 163c6b589879 added possibility to select HAS_PASSTHROUGH
if PCI_PASSTHROUGH is enabled on Arm64. This is incorrect as it may result
in enabling passthrough/ build on MPU systems. PCI_PASSTHROUGH should
depend on HAS_PASSTHROUGH instead.
Fixes: 163c6b589879 ("xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig
option")
Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/arch/arm/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 17df147b25..a0c8160474 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -9,7 +9,6 @@ config ARM_64
select 64BIT
select HAS_FAST_MULTIPLY
select HAS_VPCI_GUEST_SUPPORT if PCI_PASSTHROUGH
- select HAS_PASSTHROUGH if PCI_PASSTHROUGH
config ARM
def_bool y
@@ -263,7 +262,7 @@ source "arch/arm/firmware/Kconfig"
config PCI_PASSTHROUGH
bool "PCI passthrough" if EXPERT
- depends on ARM_64
+ depends on ARM_64 && HAS_PASSTHROUGH
help
This option enables PCI device passthrough
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |