Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp319927rdb; Thu, 22 Feb 2024 05:02:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVA2TSid6a0SA7hiaU8BGIWVWB6Sdh5ngM/jyu4GywiWwWDOIrPvCLH2S8W0Uq6ZV6boMzBfeElKE2d49aLd5ysbAFKz86d3wHrzxAlwQ== X-Google-Smtp-Source: AGHT+IENuTXDkFKIriaCqqj4cP3yrLpoUnfHduOtsNP74dxTk08vFOevGLW6KC7Axw4dtP8wQ1t/ X-Received: by 2002:a17:906:3a94:b0:a3e:b754:2d71 with SMTP id y20-20020a1709063a9400b00a3eb7542d71mr8769604ejd.76.1708606974915; Thu, 22 Feb 2024 05:02:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708606974; cv=pass; d=google.com; s=arc-20160816; b=FykBH+7wYsNePEPsYo5m1HkpCW/RArxx3tQNa2iTacVw8uKqkn/vWOOr73ESzjF3qg CPHW2FC/1B+E4lX0qN/XV8JSm38g/QWJr/zsAKMG/swN81uwfratv8iB26Vj8utIXv1A gIPtA1aoebQ/8VvAUpt1ur5DkjfwinKnf9GAxQnjny2Ax42xNzF6DxVj+g3labv+aayi MzC42KZyJBYKyzyKFeQLX1fk8S7lbfkfQCDZEuqkvKC9IkDu2HL4iOoef45mSyOr7bL/ XpS6GLpi1pa2bQolhH+HUzj99rLyUuwYfWWea8/6fs8WLSN+qN3Pgr0XfhMRiD4mCyOj +b1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5AaVii71/VY2wZ+q8F0jNvSLMQ/WesHh9hxpdt+FDPE=; fh=M2QbruPX/nLelgll7ziJoEK1iGcG8E0VNvIjLD/Lpp0=; b=MeY64ZYQQZhVcFRuhUWtiUOalz20IovN4qi1I/44aqM1YnuPmEnb6SBtQxx9aJNGGp lkaOpJ5bFNH6Rbtf1aj3htaDXLD0dtvGAacNTZGO1xpDdQWZJz3I6Q+Bcm1G2QP/x+XC pEoOwMUtNCJiksn/n1kcztENUCmx11CODkJV5l43JfdjOrs6d7hzcQ/tCJJrGDOG4cXA 2Mtx8FWcBnlo0MTD3ngasdxkEVNxmub2yllM0IJNARAGzlejswm7lDmODPD9VskcF7OQ r+xt8NufHBL23ZzH9J61JZHsCOi39ITOISP0gc5/Ju1+CEqZtQTCjb06sPYsFY+rPMI7 SE6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=kG6nU4Z7; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-76555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76555-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gl20-20020a170906e0d400b00a3e631d4d59si4347646ejb.814.2024.02.22.05.02.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:02:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=kG6nU4Z7; arc=pass (i=1 spf=pass spfdomain=ziepe.ca dkim=pass dkdomain=ziepe.ca); spf=pass (google.com: domain of linux-kernel+bounces-76555-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76555-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A53191F26654 for ; Thu, 22 Feb 2024 13:02:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA71912F5AE; Thu, 22 Feb 2024 13:02:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="kG6nU4Z7" Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B644412DD93 for ; Thu, 22 Feb 2024 13:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708606968; cv=none; b=sJQQWoGHbZMHmgzMo4Kj3SjzVg8VEFZvvbdyTyyjtoE5CPU9T7NUgTFM3nMSG7AUVqR6PgNm34JIYv8slinl6XlNuhk425bSghBKGHfnO0AYaxZEdIeegZf7bGdvqOvVHHkDAU3kviVZOmoqL9gWIiY1IFNpic01+PKuHmGJb+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708606968; c=relaxed/simple; bh=mLihlxLtwpBjewJipEa6FRB39ptkzFSdsuzkpNHKxJI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dtAlj4TO+5mXL0Y69KxqZcMgLo4n9Pa483sb5v8/FUiUaAanPE+Jq9Hh4EagIe1AEpPpX2GZmrScG6ZD7kQK83MPbLnDtlYO3Su82rfxo0KsP9v5DQKhrMGfpzFO9i3lRKLLvf95TU179nNXs1pnKF/AI4qRImscueQ9KFGn3dc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=kG6nU4Z7; arc=none smtp.client-ip=209.85.219.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-68fb803a4c8so3458216d6.1 for ; Thu, 22 Feb 2024 05:02:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1708606962; x=1709211762; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=5AaVii71/VY2wZ+q8F0jNvSLMQ/WesHh9hxpdt+FDPE=; b=kG6nU4Z7+Q6FCz463hLsA756uwb15cy542whL12gyDB4rgN8f7anLjDdi0ntm7SzK2 r3dNrCWKpP6gRFDjSxaLeg7sx4x9EgLzKV44m/Wt7KIsjfHTWHFiseYP4FJwgTcaxyGZ ojwQiCz8i8FW4fzcczIPtm//dbX3YhF9aG1DdNrYtQZ2TtPx57SVauEdvwoGxygS+SLT AmZWVQPDM+lNNB2g+0dkBqGNv4CCegMayaSA6Nul2jc7KJrLoQaHHOFfgYDfDtfXIhvQ DK+3sak3puL+6TN1AnOhnBC8JoQLVPgGESNhhm6Dmwta2W699g/kBYDnnN8mqbIkPuhf gKQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708606962; x=1709211762; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5AaVii71/VY2wZ+q8F0jNvSLMQ/WesHh9hxpdt+FDPE=; b=YpvpeeKeKwas2Xtd2dv83sbrv6qdCmhrdGnYP4oVThPCif8qAIq8vqZqzaKvYt6CPV fQL3MsYi4bms0BrEICI1nyiSrcorFD8HjyubPw+vNQ0ZtcDX9EaoFr9b6EDa47e+gzP6 J0Mo8VHZJwY/FRdtpYc13C/w4aU1DOYzbJvYIK34AnrR7IVNO7T01/kHh+BX1OlAPabo D9t7mboeT/6LomiJub/9Qnc6wsX940fhhHZ77NXK34zIK/+8QCtdVlK2bB2a9E32BfRC iqAwAHj/IJ+dDYn8l+IjPeC4bbKib4gh8bQbno0TfBF9WNBiHD0R+fgMk44bUU/0rZXL etaA== X-Forwarded-Encrypted: i=1; AJvYcCUEd7swVG7Srg0LcmyXNYrZ4De/stkDuKTB/b/DqT+nwvf3sw5OF0VJ76Jv7FyIKfaMDsq4PZQlJ+ZbdWV/Ro6W2ErhWQjLZsOO88vu X-Gm-Message-State: AOJu0YzRo9NkkAsGe5mRBrikofYD3TZ1MP/EiOWUStvUmMItJK69iDYC Y1t3Ckoh/jFVhj118iy3g1IMwkWarWSzX9NyyIDiVNBo0II52yIg76E5IsH0QiY= X-Received: by 2002:a0c:da82:0:b0:68f:2c72:a76a with SMTP id z2-20020a0cda82000000b0068f2c72a76amr22568368qvj.3.1708606962586; Thu, 22 Feb 2024 05:02:42 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-68-80-239.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.80.239]) by smtp.gmail.com with ESMTPSA id qm18-20020a056214569200b0068c88a31f1bsm1309293qvb.89.2024.02.22.05.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:02:42 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1rd8im-00G85D-DJ; Thu, 22 Feb 2024 09:02:40 -0400 Date: Thu, 22 Feb 2024 09:02:40 -0400 From: Jason Gunthorpe To: Muhammad Usama Anjum Cc: Kevin Tian , Shuah Khan , Yi Liu , Nicolin Chen , kernel@collabora.com, iommu@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests/iommu: fix the config fragment Message-ID: <20240222130240.GA3220539@ziepe.ca> References: <20240222074934.71380-1-usama.anjum@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240222074934.71380-1-usama.anjum@collabora.com> 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 > --- > tools/testing/selftests/iommu/config | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Appled, thanks Jason