Re: [PATCH v6 16/19] iommufd: Add kernel support for testing iommufd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 22, 2024 at 09:27:18AM +0200, Geert Uytterhoeven wrote:
> > +if IOMMUFD
> > +config IOMMUFD_TEST
> > +	bool "IOMMU Userspace API Test support"
> > +	depends on DEBUG_KERNEL
> > +	depends on FAULT_INJECTION
> > +	depends on RUNTIME_TESTING_MENU
> > +	default n
> > +	help
> > +	  This is dangerous, do not enable unless running
> > +	  tools/testing/selftests/iommu
> > +endif
> 
> How dangerous is this?
> I.e. is it now unsafe to run an allyesconfig or allmodconfig kernel?

Depends what you mean by unsafe? This is less unsafe than /dev/mem,
for instance.. It does nothing unless poked by userspace.

> Probably this symbol should be tristate?

It is not a seperate module.

Jason




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux