Patch "iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest" has been added to the 6.8-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     iommufd-add-missing-iommufd_driver-kconfig-for-the-s.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e8f66e6b117d556bc4faedcbdf1f662cefc8887b
Author: Jason Gunthorpe <jgg@xxxxxxxx>
Date:   Thu Apr 4 21:05:14 2024 -0300

    iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest
    
    [ Upstream commit 8541323285994528ad5be2c1bdc759e6c83b936e ]
    
    Some kconfigs don't automatically include this symbol which results in sub
    functions for some of the dirty tracking related things that are
    non-functional. Thus the test suite will fail. select IOMMUFD_DRIVER in
    the IOMMUFD_TEST kconfig to fix it.
    
    Fixes: a9af47e382a4 ("iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP")
    Link: https://lore.kernel.org/r/20240327182050.GA1363414@xxxxxxxx
    Tested-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
    Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/iommu/iommufd/Kconfig b/drivers/iommu/iommufd/Kconfig
index 99d4b075df49e..76656fe0470d7 100644
--- a/drivers/iommu/iommufd/Kconfig
+++ b/drivers/iommu/iommufd/Kconfig
@@ -37,6 +37,7 @@ config IOMMUFD_TEST
 	depends on DEBUG_KERNEL
 	depends on FAULT_INJECTION
 	depends on RUNTIME_TESTING_MENU
+	select IOMMUFD_DRIVER
 	default n
 	help
 	  This is dangerous, do not enable unless running




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux