Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2678044lqp; Mon, 25 Mar 2024 06:28:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUw+9S+5tvGpzlNP3Rxvl3Sdf9FbDppLNxw6cvH5kUMVuIkjBQO8taR1++clzd6ZzGV+hYpvcAqIHWzMH+Et435fap21c8MVjYJA5pIA== X-Google-Smtp-Source: AGHT+IEX9jSrRDYqyJ4h0vAW1AJ0JwzBFcERN/NrUKjgXq8mAqkLFCTn5MriFMlohBAuXvh28C+5 X-Received: by 2002:a05:6214:410a:b0:695:f40f:d7e6 with SMTP id kc10-20020a056214410a00b00695f40fd7e6mr10071640qvb.28.1711373284114; Mon, 25 Mar 2024 06:28:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711373284; cv=pass; d=google.com; s=arc-20160816; b=RSmKgxLmpM9TV7IKIx4htQNNUuU2EMYMOUvRuYynk6xjl7mQwQnJLRRo8uYsCA7r7w beSgTD6KxAiGliS2aRgkor8iOWIV1o0hq3gs4ImsjN9BEqS9Z5l5iFaV32IV4/BKJVmp TwbAilxmesQ3XhzFwIiUCPPZNMZjyJ0G5nU9gfxq49iyfOOAGpLGJhJ6rk1/hwp4+pm9 4IeclW4Leat9OZrZ+S0iTRDe4pl3d9WN0iaDmi8+Y1oPTjUSt847Hwj2EIXB8lSdPp+G BZxOp8ABoCQsFtCN2DrptgFXbRD+6UFinUsIVTSUInPh5WyJN0xKQEFxMwhyf7qdBty9 72Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=cf1rRR0jynhfQdoUjO82LYzkg1LQY9z+h6aXuVx+Ss4=; fh=ACReog1sd6/yFiHOhoG4g4VwR+/1F1n9sv9dAvmf0as=; b=BdPXqP36gZyItKc+9ELITJWKcrCP78mKXpEgTIzBWU+PMEV7HYBER9OhFr/OTvI7Du ayF+cWMyhRxEeuGA42uFPrvYABShcFqL1Fwn3wNIRl8MA65VIc5C0gDMKzscdKFkmoSK 7JiLp3/hlULVsgevF2HXytJdLN9d62Zzls0LLrESSxE5E2JjrUrB7dcB82wHz80O6+cL R91yz2O1HQ+VqEQwADLk1Im+O4L1Bnli09U+1Da8X/ULEF4SWbjAIC3e08u0rR6d3jFk CgVQf9bn4b7sbMCGYtaJ/kkgy1d05wuBWu7UoJFVUAb3dv8KcC/kc1HYwAVzpjLyH8Sd oRqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vWoq9zoU; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-116728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g1-20020a0562140ac100b00696420a5f15si7880511qvi.285.2024.03.25.06.28.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=vWoq9zoU; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-116728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BE0D91C38555 for ; Mon, 25 Mar 2024 13:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BB9D46F079; Mon, 25 Mar 2024 10:31:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="vWoq9zoU" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2141C16ABD7; Mon, 25 Mar 2024 09:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711357224; cv=none; b=VO7qQpDrkWyjdB3bjD9yhIEsK4dmThvk3u1hzbfmRghv7vs2OmY1LC+7t1q/y8BpQxNnawZOgXyM74MqZfzHXS6PzFMdSstbUjId8Xtufcn5GYEBLRzW7AVSnsoN5wSWTJg7phZLzGy7pnb2VJo2janwJNCTunxHAnENZqrq1xo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711357224; c=relaxed/simple; bh=26sBVyPr2mvxrvqKu15s8Y422gv6bcuJX3lZRL2zqII=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FJdx2CKjcXc3AU1ztXbhd9G4REVkTRu9OUP35EKF5BBL+5WoV8Ot80jQNW0TQ1NOY+pv1sEzxScXgLlHcT7q8A2qg9Y8NKzgcHk1s5ydhZ6MJq+QIV81gATDsb2wT9d76XRnX3n/NKccUT36GChLCEiWmBD4KAwBQAIs12gJ1J4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=vWoq9zoU; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1711357221; bh=26sBVyPr2mvxrvqKu15s8Y422gv6bcuJX3lZRL2zqII=; h=From:To:Cc:Subject:Date:From; b=vWoq9zoUw81jAjaaZzchyc/yxBqqYNtvW9aYykHPYHWJyT9OHJHe7kxfWt46RiwOV wjhHdpH4vqW0Xm0ea2iisr/j1TBZQ2qUMT8DSr9f8CyNHiZ7ML6D5OBZjUnE1huAlW RXAiRyTI8cFtlwE7CpQ+nZ3LsVpaDUC6ONCSRM6BucJ1y4LU2mDuzVRAjbsh43goS8 D1EwNVGiCHWZwmk813P63uEOu78G6mwmHpX1rlnu3GfqNI5Of4q/jLAptdENSYNBf8 WCivw8s07+j7iOnq5evhntJXUkF/tYV8hBZSXY+hfWOGyW+WKO7R5B+JwAW/JWWBll OdxjJ0pPpRyMQ== Received: from localhost.localdomain (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id DBF4037813B7; Mon, 25 Mar 2024 09:00:18 +0000 (UTC) From: Muhammad Usama Anjum To: Jason Gunthorpe , Kevin Tian , Shuah Khan Cc: Muhammad Usama Anjum , kernel@collabora.com, iommu@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] selftests: iommu: add config needed for iommufd_fail_nth Date: Mon, 25 Mar 2024 14:00:48 +0500 Message-Id: <20240325090048.1423908-1-usama.anjum@collabora.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add FAULT_INJECTION_DEBUG_FS and FAILSLAB configurations which are needed by iommufd_fail_nth test. Signed-off-by: Muhammad Usama Anjum --- While building and running these tests on x86, defconfig had these configs enabled. But ARM64's defconfig doesn't enable these configs. Hence the config options are being added explicitly in this patch. --- tools/testing/selftests/iommu/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/iommu/config b/tools/testing/selftests/iommu/config index 110d73917615d..02a2a1b267c1e 100644 --- a/tools/testing/selftests/iommu/config +++ b/tools/testing/selftests/iommu/config @@ -1,3 +1,5 @@ CONFIG_IOMMUFD=y +CONFIG_FAULT_INJECTION_DEBUG_FS=y CONFIG_FAULT_INJECTION=y CONFIG_IOMMUFD_TEST=y +CONFIG_FAILSLAB=y -- 2.39.2