From: Yongxin Liu <[email protected]>

Dependency of CONFIG_INTEL_IOMMU_FLOPPY_WA on CONFIG_BLK_DEV_FD was
added in kernel commit cb3db5a39e2a6b6396df1780d39a250f649d2e3a
("iommu/vt-d: Set INTEL_IOMMU_FLOPPY_WA depend on BLK_DEV_FD").

Fix the following warning:

    [NOTE]: 'CONFIG_INTEL_IOMMU_FLOPPY_WA' last val (y) and .config val (n) do 
not match
    [INFO]: CONFIG_INTEL_IOMMU_FLOPPY_WA : n
    [INFO]: raw config text:

        config INTEL_IOMMU_FLOPPY_WA
                bool
                default y
                depends on X86 && BLK_DEV_FD && INTEL_IOMMU && IOMMU_SUPPORT
                help
                  Floppy disk drivers are known to bypass DMA API calls
                  thereby failing to work when IOMMU is enabled. This
                  workaround will setup a 1:1 mapping for the first
                  16MiB to make floppy (an ISA device) work.

        Config 'INTEL_IOMMU_FLOPPY_WA' has the following Direct dependencies 
(INTEL_IOMMU_FLOPPY_WA=n):
                X86(=y) && BLK_DEV_FD(=n) && INTEL_IOMMU(=y) && 
IOMMU_SUPPORT(=y)
        Parent dependencies are:
             BLK_DEV_FD [n] IOMMU_SUPPORT [y] X86 [y] INTEL_IOMMU [y]
    [INFO]: config 'CONFIG_INTEL_IOMMU_FLOPPY_WA' was set, but it wasn't 
assignable, check (parent) dependencies

Signed-off-by: Yongxin Liu <[email protected]>
---
 features/iommu/iommu.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/iommu/iommu.cfg b/features/iommu/iommu.cfg
index 4f5eefae..ebd22540 100644
--- a/features/iommu/iommu.cfg
+++ b/features/iommu/iommu.cfg
@@ -7,5 +7,6 @@ CONFIG_PCI_PASID=y
 CONFIG_IOMMU_API=y
 CONFIG_IOMMU_IOVA=y
 CONFIG_INTEL_IOMMU=y
+CONFIG_BLK_DEV_FD=m
 CONFIG_INTEL_IOMMU_FLOPPY_WA=y
 CONFIG_INTEL_IOMMU_DEFAULT_ON=n
-- 
2.46.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16303): 
https://lists.yoctoproject.org/g/linux-yocto/message/16303
Mute This Topic: https://lists.yoctoproject.org/mt/117836618/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to