In message: RE: [linux-yocto][yocto-kernel-cache][yocto-6.18/master][PATCH] 
features/iommu: add CONFIG_BLK_DEV_FD=m
on 18/02/2026 Liu, Yongxin wrote:

> > -----Original Message-----
> > From: Paul Gortmaker <[email protected]>
> > Sent: Monday, February 16, 2026 22:03
> > To: Liu, Yongxin <[email protected]>
> > Cc: [email protected]; [email protected]
> > Subject: Re: [linux-yocto][yocto-kernel-cache][yocto-6.18/master][PATCH]
> > features/iommu: add CONFIG_BLK_DEV_FD=m
> > 
> > CAUTION: This email comes from a non Wind River email account!
> > Do not click links or open attachments unless you recognize the sender and
> > know the content is safe.
> > 
> > [[linux-yocto][yocto-kernel-cache][yocto-6.18/master][PATCH]
> > features/iommu: add CONFIG_BLK_DEV_FD=m] On 16/02/2026 (Mon 18:19) Yongxin
> > Liu via lists.yoctoproject.org wrote:
> > 
> > > 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
> > 
> > Might I suggest an alternate solution?  It is 2026, not 1996.  Rather than
> > add more instances of enabling the floppy driver, we instead go through
> > and remove any instances of enabling the floppy driver in all current (and
> > hence future) config fragments.  And in turn, delete the
> > INTEL_IOMMU_FLOPPY_WA setting too.
> 
> 
> Thanks Paul for your review. 
> I have no preference; either solution works fine for me.
> 
> @[email protected], which solution do you prefer?

Let's remove it. Since no one has complained about the warning,
we'll assume it is unused. And even if it is used, it can be
carried somewhere else as a config.

Bruce

> 
> 
> Thanks,
> Yongxin
> 
> > 
> > Paul.
> > --
> > 
> > >     [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 (#16313): 
https://lists.yoctoproject.org/g/linux-yocto/message/16313
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