From patchwork Wed Feb 21 16:25:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Tissoires X-Patchwork-Id: 204312 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1147824dyc; Wed, 21 Feb 2024 08:30:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVOo+E7FUA8kCkd1/1Iv8W+vKKIAx/MsHB4mMLBP+WwnTaUajglDaJdBY56tFYXwIi2RpYcw9jKcfzo2t4nwDWwz6/YeA== X-Google-Smtp-Source: AGHT+IEUw1yYhCAiXXqV1boO6GwzoXAW3Sg6NHA5YYzXWaIrqC7NAfg2Pa6mBcrme1k+RE9tdnuT X-Received: by 2002:ac8:5e4b:0:b0:42e:2b80:72ca with SMTP id i11-20020ac85e4b000000b0042e2b8072camr5124525qtx.45.1708533000083; Wed, 21 Feb 2024 08:30:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708533000; cv=pass; d=google.com; s=arc-20160816; b=s7v/5vBM5q4oJ9L9STnxX0w4AuJ0/vWWpVnw043858xGci8pmMwq9ZXE4ALgv4bc1X sI3Kkqfv5XShbdjTsjYk9TnppClmg4eqLB0hCu2WbewcOz8TOecs7R5hJ/leDFNs7OMF GFm9BhEk5XFMeVV3nceB0e2H++BflbmPzzxruWiUcHtdPjEUMI7KbU/WLs+b0EkmRexd g6OA6vnlxqFZf/HPo/3i6WOTH8g6arnIvJARp67cYi+Ne/Vwr4Zutqx04F8uaLe1/R0Y xXzvD4thS23A7v2liI0nQ815TwYjEUGR/uCIabODGsvpe7aAQ5bYyIkBIlgQfjojB8b1 5Mlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=hxzCxPQqPUfSgTpJYfpOymT5n/egnFRwF+d+PX7enns=; fh=hc4Y6F7QBSV+XcCZzl4ZOgjmnikSFu9Au/ny4/yLvAg=; b=cDoZgnpIvgezZ0qBLQ8d6L5iz2z5SaJQ3XPmtgTrqJMV+Wx405qIrmahVcGHzUQ/YT 1xtN5imJ6otkseWO2Rq7m7Tit9bmnzrNbd2NG044UxX1gV80Yfm8/rRhgD4A+345sZ5b 4y9DMkIinAgtXeZDSC+0qmW4uhaziDYwq+SCmiK+sEHDcW4uuxhX3wZBWCOE4kK0maXY uahi/iJchBWaWMqVdtzIsf5QRwrMeHxGIkl1I6RlZ4G1rbFZVAdKIvR8dcNqA/YB1bCD qce0G2kRSXQ86te7rEQWKfR+5VJDZakPEiAY49/yj3PEHGfVwvOOK6gTmSL2KvdFMahI D1ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tW2owCt+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75113-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75113-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y12-20020a05622a004c00b0042c5ff0e29asi12144414qtw.740.2024.02.21.08.29.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 08:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75113-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tW2owCt+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75113-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75113-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A7EFA1C247B4 for ; Wed, 21 Feb 2024 16:29:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3085D86640; Wed, 21 Feb 2024 16:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tW2owCt+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8E1898613F; Wed, 21 Feb 2024 16:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532795; cv=none; b=e0RoCZMjFXdoxQZNMS6Ebop4eR7quDJ+/YzB1bpD40O6CGjVZojkzLPoy+v5tXzYljuTzXRE8Z8wyNegSAfZDQSdpAPsw4zWYPmiv3+SDEV9vBt7diGD0CKp6+YFDpHKm3G1KhNzo4lZQmqZvbz8EiqJRxiEdATuEEn5b3+jGrg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708532795; c=relaxed/simple; bh=FSFPqOox8jy+6us2erHCBIcxyNaaYOx+aOuItwb5naM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RwVSu1vfjQ3e0WV/cnjFGUqo/RQ2VHP7qvnNb3kdjKuUqrSyBjp3UeR4qrp2juYjKSsLcEMp7BWOJ36k0oH/k9Vw9N7UTdFzr+lUMV/iqYkAql5ES8vaooHo/wt3NAAVqZ2eYPKHSdGQvBmVRcshLRagwW08TJHLymbmoWu0keI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tW2owCt+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65EB5C43601; Wed, 21 Feb 2024 16:26:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708532795; bh=FSFPqOox8jy+6us2erHCBIcxyNaaYOx+aOuItwb5naM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=tW2owCt+eidfjnZErOd6UZdf80iVKOoRCZ/dpzQwWJy1xOJOcoqzQ5M2+U03abqLS 2eYJR3BZOBKr9VzTln1c6qZwaWnNwrBvqXeSY1XkIkcnc0q5unKP2EUNZZN+zBOvPB 0LcbyYIfW7tD1JAFx3zAuyVej64OwUfsa71rjTLyDilvbFCF2ZHexpayVZuzw7lc2R 1eZcFuTqJDTYH060SXuE0kkhtyvnMivAglis0vt+AHEAFzY3QKQ+QjJjwyoffReJ1j 41aAHQu7U7zrmJ0mdBDUpcUm5LCUPw19sNQD1y2VApexlpnG0okzvqDGBVx4BpzLiY mz++cAnGIipCA== From: Benjamin Tissoires Date: Wed, 21 Feb 2024 17:25:32 +0100 Subject: [PATCH RFC bpf-next v3 16/16] selftests/hid: add KASAN to the VM tests Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240221-hid-bpf-sleepable-v3-16-1fb378ca6301@kernel.org> References: <20240221-hid-bpf-sleepable-v3-0-1fb378ca6301@kernel.org> In-Reply-To: <20240221-hid-bpf-sleepable-v3-0-1fb378ca6301@kernel.org> To: Alexei Starovoitov , Daniel Borkmann , John Fastabend , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Shuah Khan Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Benjamin Tissoires X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708532719; l=600; i=bentiss@kernel.org; s=20230215; h=from:subject:message-id; bh=FSFPqOox8jy+6us2erHCBIcxyNaaYOx+aOuItwb5naM=; b=os7H6Nw/gEfbbLdcePDV54UogZsbsOUmDrFyLvScf7QTRZCgWAui2Sw4Yz5yjwtlweqqb1KN/ hafTD3+SoIdA8qt+8z4AB9K40VwVO0llfpGdqp5IY19Ibm1gvzmaQMQ X-Developer-Key: i=bentiss@kernel.org; a=ed25519; pk=7D1DyAVh6ajCkuUTudt/chMuXWIJHlv2qCsRkIizvFw= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791526699016538885 X-GMAIL-MSGID: 1791526699016538885 It's always a good idea to have KASAN in tests. Signed-off-by: Benjamin Tissoires --- new in v3 --- tools/testing/selftests/hid/config.common | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/hid/config.common b/tools/testing/selftests/hid/config.common index 0f456dbab62f..45b5570441ce 100644 --- a/tools/testing/selftests/hid/config.common +++ b/tools/testing/selftests/hid/config.common @@ -238,3 +238,4 @@ CONFIG_VLAN_8021Q=y CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_USER=y CONFIG_ZEROPLUS_FF=y +CONFIG_KASAN=y