From nobody Thu Apr 9 23:25:13 2026 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 D966036683D; Thu, 5 Mar 2026 08:12:02 +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=1772698322; cv=none; b=Mq1AFn2IprH1crhjbT8e3st0B2COEDcvDE1JN3nud0QgvRHzS19IgPoqAK+aIrfszDzJOV3d1uEaktZ6XeF4b/sq5Y9UhbUR7dfgM/dwOCcvW/3riXc9/dIOnjULwJBrrTwZSaA04pvMg0hTYrDVvNLr0f6Q3Y0I177v+Wdo9OA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772698322; c=relaxed/simple; bh=9LP7nlSjlZICynTt9XDTwozxYwtIquJTVqNP+9kcEYE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jxcobixkGjLXB60FrOec1CWPCsYTGxBGKUXKQpB4ABNMNtwtctCS0q2p+7a1h93yD7ER/EG4UzLBKyoWkOIy+yVLLLzaWBGbJFrxmp+IMU48zfEr3C0B+/fdB+7797lhlMXQ3PHMso8zQRAm+pBZn0mbihxVFztCNfvDDM8OSIM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ibK3WHUv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ibK3WHUv" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8C0B1C2BCB0; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772698322; bh=9LP7nlSjlZICynTt9XDTwozxYwtIquJTVqNP+9kcEYE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ibK3WHUvegVVAuH5880+YVhkyR57UzKG6AmrbSsbgkVfb4lrQ/Jss/cGOlWh77o6E 20cTghovAQb11XqwuWtXsIE12OclwI47ADHm6WnZpjBCxWk7RQTUEhTWa1FZGE8RO4 vjjHq3OwWJXxtvc0Bx6X0Q/i/eEPvE2MF64MTLNv67Yti3NyZCSdYXnOsnmQnSpSPv BaE0kMxhn3Rjk9mjmyLxl7xpW/Umrbrgld4H4QiLJWB9Rf+gdZ7sYw7XsP7Rm82Ki4 71YK5XMV/eXd/cfGjQ+kkdyD6mW4CdaZp2h5NGCbwxymdNQw+MoieO8bgO+WYow510 n0hzAqJ9G5h9Q== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F31AEEF31B; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) From: Charlie Jenkins via B4 Relay Date: Thu, 05 Mar 2026 00:11:29 -0800 Subject: [PATCH 1/4] selftests: riscv: Add definition of BIT() macro 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-Transfer-Encoding: quoted-printable Message-Id: <20260305-fix_selftests-v1-1-61b62d23500b@gmail.com> References: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> In-Reply-To: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> To: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Sergey Matyukevich , Andy Chiu , Deepak Gupta Cc: linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772698321; l=1614; i=thecharlesjenkins@gmail.com; s=2026030; h=from:subject:message-id; bh=M9wZ+QYEsaJi68PSnz9JK4iYBoPubDLiHbEPbHDQLxE=; b=C/Lh7aPi35cf9hAmcFgh1b97ibEZIit+zZ7krQ7MxKyZjRNMGPA3EN4xr5iSQAuxYwSAp5avy DU94JT+vRpdA54bpDp7gvH+4ZHCs365DiBiOlsUYE0XkeewVPJE35eJ X-Developer-Key: i=thecharlesjenkins@gmail.com; a=ed25519; pk=vpF2USrG+aB6CTbSt34rzJKsAVe/l+GAXo1IomCMETk= X-Endpoint-Received: by B4 Relay for thecharlesjenkins@gmail.com/2026030 with auth_id=663 X-Original-From: Charlie Jenkins Reply-To: thecharlesjenkins@gmail.com From: Charlie Jenkins The BIT() macros is used by the validate_v_ptrace() test case, but not defined. Include linux/bits.h to pull in this definition. To ensure that the header in the kernel source is used, add tools/include to the header search path. Fixes: 30eb191c895b ("selftests: riscv: verify ptrace rejects invalid vecto= r csr inputs") Signed-off-by: Charlie Jenkins --- tools/testing/selftests/riscv/vector/Makefile | 2 ++ tools/testing/selftests/riscv/vector/validate_v_ptrace.c | 1 + 2 files changed, 3 insertions(+) diff --git a/tools/testing/selftests/riscv/vector/Makefile b/tools/testing/= selftests/riscv/vector/Makefile index 326dafd739bf..92c4cfe5f34d 100644 --- a/tools/testing/selftests/riscv/vector/Makefile +++ b/tools/testing/selftests/riscv/vector/Makefile @@ -2,6 +2,8 @@ # Copyright (C) 2021 ARM Limited # Originally tools/testing/arm64/abi/Makefile =20 +CFLAGS +=3D -I$(top_srcdir)/tools/include + TEST_GEN_PROGS :=3D v_initval vstate_prctl vstate_ptrace validate_v_ptrace TEST_GEN_PROGS_EXTENDED :=3D vstate_exec_nolibc v_exec_initval_nolibc TEST_GEN_LIBS :=3D v_helpers.c sys_hwprobe.c diff --git a/tools/testing/selftests/riscv/vector/validate_v_ptrace.c b/too= ls/testing/selftests/riscv/vector/validate_v_ptrace.c index 3589549f7228..257de36274e9 100644 --- a/tools/testing/selftests/riscv/vector/validate_v_ptrace.c +++ b/tools/testing/selftests/riscv/vector/validate_v_ptrace.c @@ -6,6 +6,7 @@ #include #include =20 +#include #include #include =20 --=20 2.52.0 From nobody Thu Apr 9 23:25:13 2026 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 D9538366828; Thu, 5 Mar 2026 08:12:02 +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=1772698322; cv=none; b=pMU0MS4Ks4kzTcMETT7Ow0Wadr2UpLSLRSCev/ideRfrZVd3341BEdIUb/SDbdU/lCGYl5v5qBDcR7mrNsAFEij19xZ52dAiN/iE1zAD6DgFHRgOpmyQafeHqSNhEcIxVvSs38noAhT/idw6AXNo825iXyM/Yj2ivBMTMG6rFZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772698322; c=relaxed/simple; bh=jKNMW1Kppp086xhKb9OmDqM3phfapbkFQYsfGDjd564=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=h6DrLp7AdcHqBQVpUl1GTONn2NnZZ9m8sUNpCUXJCDNuAY1SMorqaJtqTZDhzZV661u44bGignIfo+3bcSWII7hhvkcxGJMV/uhsC7WIXOYcj2TDUZVaVik4Cw/Gowm1EXizghDoi16020Y9gvs5Fnp0XSRsAMd5ibUSh4/w8ak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k4zk6MJU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k4zk6MJU" Received: by smtp.kernel.org (Postfix) with ESMTPS id A78CBC2BCB1; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772698322; bh=jKNMW1Kppp086xhKb9OmDqM3phfapbkFQYsfGDjd564=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=k4zk6MJUbMhYHdS4LxlVYCT/aH0EX994s2aGHdUF/lRA587ZjUzPJuBmqqTJNAL7X +1B1MmfdBkXJTtQUT0a2XlENQ/9BwgIGF8NCfkceoIrEyRP+LSx12jjs2BYtFWSwbN YEnvtjihc7FG2A4O3CHKQqulge3DKLRgt9ykDGo53g9Kv/tFf7FGxaqEK7hx57MfrE PL+j+66cIr6pipAOGtfR6C8mWkvdnXHQylF4Vuax0zHx7wER+kUqBjz6Iyk9hWU2Lt 7jK/HKWZpvzazFVVV5zKWAx862pQABtO7yem94F5mGu+fdLYx2Tjcwf80rL0LH8ivS /TcAabkl1Gjsw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B2E1EEF31C; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) From: Charlie Jenkins via B4 Relay Date: Thu, 05 Mar 2026 00:11:30 -0800 Subject: [PATCH 2/4] selftests: riscv: Add braces around EXPECT_EQ() 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-Transfer-Encoding: quoted-printable Message-Id: <20260305-fix_selftests-v1-2-61b62d23500b@gmail.com> References: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> In-Reply-To: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> To: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Sergey Matyukevich , Andy Chiu , Deepak Gupta Cc: linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772698321; l=2373; i=thecharlesjenkins@gmail.com; s=2026030; h=from:subject:message-id; bh=7v3hKOxSt+L+8LtCfZh085q396U9Poj6cOIz6NZfRCU=; b=Sq295+AKQQFINYQEs3JVoWOvokFXidLJ16vqhMSgXrs+qeDEBg2Bsqzq3t3yeHAYLKFS8YzVI lMB1g2/JAyhBYHhOGkxarQsvqBREbStMSMkmw1hZ9HeKbCRxs/ZzXQ0 X-Developer-Key: i=thecharlesjenkins@gmail.com; a=ed25519; pk=vpF2USrG+aB6CTbSt34rzJKsAVe/l+GAXo1IomCMETk= X-Endpoint-Received: by B4 Relay for thecharlesjenkins@gmail.com/2026030 with auth_id=663 X-Original-From: Charlie Jenkins Reply-To: thecharlesjenkins@gmail.com From: Charlie Jenkins EXPECT_EQ() expands to multiple lines, breaking up one-line if statements. This issue was not present in the patch on the mailing list but was instead introduced by the maintainer when attempting to fix up checkpatch warnings. Add braces around EXPECT_EQ() to avoid the error even though checkpatch suggests them to be removed: validate_v_ptrace.c:626:17: error: =E2=80=98else=E2=80=99 without a previou= s =E2=80=98if=E2=80=99 Fixes: 3789d5eecd5a ("selftests: riscv: verify syscalls discard vector cont= ext") Fixes: 30eb191c895b ("selftests: riscv: verify ptrace rejects invalid vecto= r csr inputs") Fixes: 849f05ae1ea6 ("selftests: riscv: verify ptrace accepts valid vector = csr values") Signed-off-by: Charlie Jenkins --- tools/testing/selftests/riscv/vector/validate_v_ptrace.c | 15 +++++++++---= --- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/riscv/vector/validate_v_ptrace.c b/too= ls/testing/selftests/riscv/vector/validate_v_ptrace.c index 257de36274e9..5724e6eb3309 100644 --- a/tools/testing/selftests/riscv/vector/validate_v_ptrace.c +++ b/tools/testing/selftests/riscv/vector/validate_v_ptrace.c @@ -291,10 +291,11 @@ TEST(ptrace_v_syscall_clobbering) =20 /* verify initial vsetvli settings */ =20 - if (is_xtheadvector_supported()) + if (is_xtheadvector_supported()) { EXPECT_EQ(5UL, regset_data->vtype); - else + } else { EXPECT_EQ(9UL, regset_data->vtype); + } =20 EXPECT_EQ(regset_data->vlenb, regset_data->vl); EXPECT_EQ(vlenb, regset_data->vlenb); @@ -620,10 +621,11 @@ TEST_F(v_csr_invalid, ptrace_v_invalid_values) =20 /* verify initial vsetvli settings */ =20 - if (is_xtheadvector_supported()) + if (is_xtheadvector_supported()) { EXPECT_EQ(5UL, regset_data->vtype); - else + } else { EXPECT_EQ(9UL, regset_data->vtype); + } =20 EXPECT_EQ(regset_data->vlenb, regset_data->vl); EXPECT_EQ(vlenb, regset_data->vlenb); @@ -828,10 +830,11 @@ TEST_F(v_csr_valid, ptrace_v_valid_values) =20 /* verify initial vsetvli settings */ =20 - if (is_xtheadvector_supported()) + if (is_xtheadvector_supported()) { EXPECT_EQ(5UL, regset_data->vtype); - else + } else { EXPECT_EQ(9UL, regset_data->vtype); + } =20 EXPECT_EQ(regset_data->vlenb, regset_data->vl); EXPECT_EQ(vlenb, regset_data->vlenb); --=20 2.52.0 From nobody Thu Apr 9 23:25:13 2026 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 D95D936682F; Thu, 5 Mar 2026 08:12:02 +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=1772698322; cv=none; b=PwFrs8efyM7GL35/v4oiiMnZNKFskC5cUqqqPDdhrcqbmDlw8BF4d90qHZ/WaBDtZE+RnMC9j5woC7An35m4wUcisS24OhHXiAWg+IEVPBfaz03/G4JJ1yRR1/gydnG+uy433HBoZt0iyELWHY7mZtHSuMM6ucv/DYKMqhmnw1w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772698322; c=relaxed/simple; bh=UDuJTfJFnSO3UuVkTPP9yX+tK1rRS0uC+sGgQyxBvZ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=drj22AHwHiu3BIG27zZpHurUOCwaecovPip66hpV/NYgVfLeLa7Bmrasv6mBA8xCbw0NFJzTGh6XGuzceOisbmt/9ljFIzYEUPwoJTGHuvYqGvdg6z1jrZ5rx5tt70+635/ubd1ggGIV4yjZ7ujevhGexLnx7wd+cv/8AaKRP2w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kXA4KmNg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kXA4KmNg" Received: by smtp.kernel.org (Postfix) with ESMTPS id B5C62C2BCB3; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772698322; bh=UDuJTfJFnSO3UuVkTPP9yX+tK1rRS0uC+sGgQyxBvZ4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=kXA4KmNgQnDgFEgl8BpriILqKTTUewg7gm5I1IzesRivYDxFhFGYwn/+emxgtrJhU t2oWB/aIywVx9dsXSmAWy1bjX0+zKWApyMm2MgppPIWFBKyuEa0MZuF4r2Zt4FvUGn Vo7bFO9EBQ+C6CSyJDlkeCgzmlsPf29dVKX4ofehUcNUXsK0jRLAFpEGY2IbqWzaeb k/9WNOsGUFa12zGGNdKTkO/IOYNPA3j/MHc9nCeLZAASutWpzXQt3ydIEOmxBoOww7 ApGZkReWj6Lm3Qlgyi+GIG2uVvwDwIpjTkLFNJNBTK6H9deXOf6+Mftrqasm7Nq/x7 lVWC/KCoORyYg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC677EEF323; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) From: Charlie Jenkins via B4 Relay Date: Thu, 05 Mar 2026 00:11:31 -0800 Subject: [PATCH 3/4] riscv: ptrace: Fix BIT() compilation issues 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-Transfer-Encoding: quoted-printable Message-Id: <20260305-fix_selftests-v1-3-61b62d23500b@gmail.com> References: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> In-Reply-To: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> To: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Sergey Matyukevich , Andy Chiu , Deepak Gupta Cc: linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772698321; l=1011; i=thecharlesjenkins@gmail.com; s=2026030; h=from:subject:message-id; bh=t37RqGcAuzbofdWiHpfRgZVkCDu2cWFOE4fQhY8Q/nQ=; b=pwecciV9DjRLq/2gHCdYoGcDPn1tWnba1BaX9qs7LAxqs0yHVratA1TL/I9YQ+2ZZd3/7VDVT PqwJHDwvVa9D+ZwzrENdIATzGGEn7e65aX7PX5Jot5MLvfHnRTIojpl X-Developer-Key: i=thecharlesjenkins@gmail.com; a=ed25519; pk=vpF2USrG+aB6CTbSt34rzJKsAVe/l+GAXo1IomCMETk= X-Endpoint-Received: by B4 Relay for thecharlesjenkins@gmail.com/2026030 with auth_id=663 X-Original-From: Charlie Jenkins Reply-To: thecharlesjenkins@gmail.com From: Charlie Jenkins BIT() is being used in ptrace.h without a definition, resulting in compilation errors in tools/testing/selftests/riscv/cfi/cfitests.c: cfitests.c:101:60: error: implicit declaration of function =E2=80=98BIT=E2= =80=99 [-Wimplicit-function-declaration] 101 | if ((cfi_reg.cfi_status.cfi_state & CFI_ENABLE= _MASK) !=3D CFI_ENABLE_MASK) Include linux/bits.h to resolve this issue. Fixes: 2af7c9cf021c ("riscv/ptrace: expose riscv CFI status and state via p= trace and in core files") Signed-off-by: Charlie Jenkins --- arch/riscv/include/uapi/asm/ptrace.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/include/uapi/asm/ptrace.h b/arch/riscv/include/uapi= /asm/ptrace.h index 18988a5f1a63..5b53cea14355 100644 --- a/arch/riscv/include/uapi/asm/ptrace.h +++ b/arch/riscv/include/uapi/asm/ptrace.h @@ -8,6 +8,7 @@ =20 #ifndef __ASSEMBLER__ =20 +#include #include =20 #define PTRACE_GETFDPIC 33 --=20 2.52.0 From nobody Thu Apr 9 23:25:13 2026 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 359C7366DDE; Thu, 5 Mar 2026 08:12:03 +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=1772698323; cv=none; b=RFEH/9WsINPMDBdzMAQbLRUGtmjxki7D4xyNvqGdwlBG/CyIK6Xyo0h7KCp2lRPYy3thepRtWzPfkh7fx72TI+GFJGzYU5qAPm3kNayzYmTq3LeS5rrx1rV29hF3KWxbJnfCR1LzvdJV/sFH5X8FKN9GHwgj/lNkHyjP/UhVkjg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772698323; c=relaxed/simple; bh=nnM2zjvYkKOyj9s5ooMFB4/ffFs14ySMOoYr/6UGGu0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ViaU6qNIgKsbRg0dnj4iGahI9AOCPkfYowIjXDDe0e6vDAZEvoxDfG3a52rCySrRDqQkMxmZHzP6dWqMHFy4l+qKPrAxD7ycJE+XWbJrrtXH2c+Kms3Q4bXsBe3QlA5J2QA2JQf5UVRHTc0DN+UNkSM5kOaDBcP9raKR0Q5Hf2o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GnqTYgNY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GnqTYgNY" Received: by smtp.kernel.org (Postfix) with ESMTPS id E1295C2BCB6; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772698322; bh=nnM2zjvYkKOyj9s5ooMFB4/ffFs14ySMOoYr/6UGGu0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=GnqTYgNYa7dLqlZLdlp9wbgllkgI69NpZ227nMPQkneMQuhPyzt25/YEcUVVcxiDu G7jony0ea89QL8V4mmq0OdfGWhQXOZ3YimDmNf1JNgJZRRiGdvuhsX8DsQ8veDGVl5 aX2oPCyj0OHNZL3b2OIZCB/L7u/DzL7gl++CQRZnUPo4rnMV0mmA4HUCX4pbTVGZnw 72wLpm1P0ugcJgBbQ+9VmZNapGi/YTjws6ddUd9ALUNQSTO46OI1dkoXyKXs1MgJke PmowGO2QlHe3c/qFX49xx6Xc5Pvc1oXfsdl645MVipFPn4kU6Ut3f41kpMq7vyxo7Y 5iRy+bcYLWhmA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4C43EEF31C; Thu, 5 Mar 2026 08:12:02 +0000 (UTC) From: Charlie Jenkins via B4 Relay Date: Thu, 05 Mar 2026 00:11:32 -0800 Subject: [PATCH 4/4] selftests: riscv: Add license to cfi selftest 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-Transfer-Encoding: quoted-printable Message-Id: <20260305-fix_selftests-v1-4-61b62d23500b@gmail.com> References: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> In-Reply-To: <20260305-fix_selftests-v1-0-61b62d23500b@gmail.com> To: Shuah Khan , Paul Walmsley , Palmer Dabbelt , Sergey Matyukevich , Andy Chiu , Deepak Gupta Cc: linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772698321; l=597; i=thecharlesjenkins@gmail.com; s=2026030; h=from:subject:message-id; bh=BASghyhUbPQR3TaCTFC1Bxb1DJuKTtAvjw5yHhn6X94=; b=lJ0mzQxUxYW7xpr4ssXjgSI8+lMx7NSdTsAffUyoUAlkm3NsAqEX0NnmwgQl90DM5nKUkE2Ol iwQ51FDEMj1BmgGXixIaUwyqZuUjPg4nvPFvJoh8E5HgBpvT4rK4KgZ X-Developer-Key: i=thecharlesjenkins@gmail.com; a=ed25519; pk=vpF2USrG+aB6CTbSt34rzJKsAVe/l+GAXo1IomCMETk= X-Endpoint-Received: by B4 Relay for thecharlesjenkins@gmail.com/2026030 with auth_id=663 X-Original-From: Charlie Jenkins Reply-To: thecharlesjenkins@gmail.com From: Charlie Jenkins The cfi selftest was missing a license so add it. Signed-off-by: Charlie Jenkins --- tools/testing/selftests/riscv/cfi/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/riscv/cfi/Makefile b/tools/testing/sel= ftests/riscv/cfi/Makefile index 96a4dc4b69c3..93b4738c0e2e 100644 --- a/tools/testing/selftests/riscv/cfi/Makefile +++ b/tools/testing/selftests/riscv/cfi/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + CFLAGS +=3D $(KHDR_INCLUDES) CFLAGS +=3D -I$(top_srcdir)/tools/include =20 --=20 2.52.0