From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 C240120D516; Mon, 21 Apr 2025 07:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745220170; cv=none; b=Po5BaB7ONQWIVvh1E+Yr8Y63fO/Y97oWWAIN4ezCmXTuk2+NF2cM4ZSY8TjKrYRUO2AackmhS/7dxF2WTCIKhGZvt94mJxLQv3MJHu/Fofhf+49cBN8/pNc2zszLf3E7Su+1uYDQZAsnsQJVI5IH+hobziLyrLfPJjYuF+hvnV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745220170; c=relaxed/simple; bh=CgG69MQ/EYPTgruTAu52tqABJWetDvK3CxES8vaBp0o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WPml/LZQSvR6nt6RcMU8CNAGT8tLjYgfoqbt7KCzxNrKK0+3BaB6wPAPCekUrw2OsJX43DeQXDRpDL2WWgnYRhOHzlGn4Wc3MObo5vcdiJXdUr5cBEWnT1TDOEzu2ZxDfJbWftWX5jXHlmNr9PE5kriagBOQEvf1C4ckmW/U3K4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr; spf=pass smtp.mailfrom=ghiti.fr; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ghiti.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ghiti.fr Received: by mail.gandi.net (Postfix) with ESMTPSA id 91A761FCE9; Mon, 21 Apr 2025 07:22:45 +0000 (UTC) Message-ID: <95cefab6-4d9c-4ad2-bc75-d117e0aefc62@ghiti.fr> Date: Mon, 21 Apr 2025 09:22:45 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/5] Documentation/sysctl: add riscv to unaligned-trap supported archs Content-Language: en-US To: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , "open list:DOCUMENTATION" , open list , "open list:RISC-V ARCHITECTURE" , "open list:KERNEL SELFTEST FRAMEWORK" Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Shuah Khan , Andrew Jones , Samuel Holland References: <20250414123543.1615478-1-cleger@rivosinc.com> <20250414123543.1615478-5-cleger@rivosinc.com> From: Alexandre Ghiti In-Reply-To: <20250414123543.1615478-5-cleger@rivosinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvgedtvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptehlvgigrghnughrvgcuifhhihhtihcuoegrlhgvgiesghhhihhtihdrfhhrqeenucggtffrrghtthgvrhhnpedtgeeuhffhveeujeetveevieekleekvdffudefleevgefgieekkefggefhtddtveenucfkphepvddttddumeekiedumeeffeekvdemvghfledtmedufhehjeemvgdutggumedukegutdemtgdtvdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddttddumeekiedumeeffeekvdemvghfledtmedufhehjeemvgdutggumedukegutdemtgdtvdekpdhhvghloheplgfkrfggieemvddttddumeekiedumeeffeekvdemvghfledtmedufhehjeemvgdutggumedukegutdemtgdtvdekngdpmhgrihhlfhhrohhmpegrlhgvgiesghhhihhtihdrfhhrpdhnsggprhgtphhtthhopeduvddprhgtphhtthhopegtlhgvghgvrhesrhhivhhoshhinhgtrdgtohhmpdhrtghpthhtoheplhhinhhugidqughotgesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrr dhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhrihhstghvsehlihhsthhsrdhinhhfrhgruggvrggurdhorhhgpdhrtghpthhtoheplhhinhhugidqkhhsvghlfhhtvghsthesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhrsggvtheslhifnhdrnhgvthdprhgtphhtthhopehprghulhdrfigrlhhmshhlvgihsehsihhfihhvvgdrtghomhdprhgtphhtthhopehprghlmhgvrhesuggrsggsvghlthdrtghomh X-GND-Sasl: alex@ghiti.fr On 14/04/2025 14:34, Clément Léger wrote: > riscv supports the "unaligned-trap" sysctl variable, add it to the list > of supported architectures. > > Signed-off-by: Clément Léger > --- > Documentation/admin-guide/sysctl/kernel.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst > index dd49a89a62d3..a38e91c4d92c 100644 > --- a/Documentation/admin-guide/sysctl/kernel.rst > +++ b/Documentation/admin-guide/sysctl/kernel.rst > @@ -1595,8 +1595,8 @@ unaligned-trap > > On architectures where unaligned accesses cause traps, and where this > feature is supported (``CONFIG_SYSCTL_ARCH_UNALIGN_ALLOW``; currently, > -``arc``, ``parisc`` and ``loongarch``), controls whether unaligned traps > -are caught and emulated (instead of failing). > +``arc``, ``parisc``, ``loongarch`` and ``riscv``), controls whether unaligned > +traps are caught and emulated (instead of failing). > > = ======================================================== > 0 Do not emulate unaligned accesses. Reviewed-by: Alexandre Ghiti Thanks, Alex