[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240222130240.GA3220539@ziepe.ca>
Date: Thu, 22 Feb 2024 09:02:40 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>
Cc: Kevin Tian <kevin.tian@...el.com>, Shuah Khan <shuah@...nel.org>,
Yi Liu <yi.l.liu@...el.com>, Nicolin Chen <nicolinc@...dia.com>,
kernel@...labora.com, iommu@...ts.linux.dev,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests/iommu: fix the config fragment
On Thu, Feb 22, 2024 at 12:49:33PM +0500, Muhammad Usama Anjum wrote:
> The config fragment doesn't follow the correct format to enable those
> config options which make the config options getting missed while
> merging with other configs.
>
> ➜ merge_config.sh -m .config tools/testing/selftests/iommu/config
> Using .config as base
> Merging tools/testing/selftests/iommu/config
> ➜ make olddefconfig
> .config:5295:warning: unexpected data: CONFIG_IOMMUFD
> .config:5296:warning: unexpected data: CONFIG_IOMMUFD_TEST
>
> While at it, add CONFIG_FAULT_INJECTION as well which is needed for
> CONFIG_IOMMUFD_TEST. If CONFIG_FAULT_INJECTION isn't present in base
> config (such as x86 defconfig), CONFIG_IOMMUFD_TEST doesn't get enabled.
>
> Fixes: 57f0988706fe ("iommufd: Add a selftest")
> Signed-off-by: Muhammad Usama Anjum <usama.anjum@...labora.com>
> ---
> tools/testing/selftests/iommu/config | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Appled, thanks
Jason
Powered by blists - more mailing lists