Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2750318rdb; Wed, 4 Oct 2023 10:14:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZXZCJ12HfE2UvFYjE8f2+sEQgHlAxHEYoSIqvH5EbsIQibMOJNXjy42Zh2nH3GqI3UmtY X-Received: by 2002:a05:6a20:841b:b0:13e:1945:8873 with SMTP id c27-20020a056a20841b00b0013e19458873mr3370368pzd.37.1696439665882; Wed, 04 Oct 2023 10:14:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696439665; cv=none; d=google.com; s=arc-20160816; b=ow25n9HQ0ypjqlCqU2iYzJw/vV/kSQrVlGQUQWqUBoBrHIqaK/5WVnY0AoZ6rMO1+D OGWTf5ZC9Pu8SdfawzQgP3id6ski01WWv3xGSdRcROybRzVPs94J1kbMn6nUy1zxIrn/ ZOkvtWNa0bNfA64JTUNs/7mZXoBp5wHWnhsXO3czm7EwqHvnjnh1iJ6O8TKlpBHhunS4 d5J8r9HG6xOB2uuMiiEkjg0xSwA2UAG6SNT6IC5AR0mIc2spTrLGCKqgWx3W5+D6htOl znbQflZ9Ox7g8OUT4umLaMmmSYuFJBDdPFxx2Fq34E/dGnhZ79mLpn2b1hxDD7gbdM3Z af2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=sOAP03+W9UkNwBC7b0j1L28Qg4M4aoxG9yOktt/PwQY=; fh=eOziKcNq06JwcHeIsHUzECVtKTDzbs0glotKcUnQVv4=; b=Jgvr8fC5yAbTuIS16B3fBe6lllPdotLDr+IRtBiSTaNeIjiBvg3PXEs+QdmhVCiJab rk2ZBWu2wWVDR+Gh1eULRe2UW82rFIiSujtl8lb4iueqOrwrNa6hMsS9o3ZztTUQok+G SVYL1M6LPKHhY2E/IV6yS8zQk7e8M4xrsXF4V7wKtXhPOb4C8WlwGCfYXU7uFrU9q9vQ HzZ+efcfo5rh61LJUnrmJUcEFkjCE6rTzKUmursuPlZfF/ooKBhQIo1g6pk+GBQioE8g Av97TcsckOccrPaYdWFpjZsvjKoFdbjUwWg8//TY5VR2SeOemOvkrUciQtdTPYjekdBM 668A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ccINkiZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id h22-20020a056a00219600b00690fec2f3b6si4211152pfi.193.2023.10.04.10.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 10:14:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ccINkiZM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D0D42802E6E3; Wed, 4 Oct 2023 10:14:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243636AbjJDROX (ORCPT + 99 others); Wed, 4 Oct 2023 13:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243632AbjJDROW (ORCPT ); Wed, 4 Oct 2023 13:14:22 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E2FA9E for ; Wed, 4 Oct 2023 10:14:19 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBC2DC433C9; Wed, 4 Oct 2023 17:14:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696439659; bh=sOAP03+W9UkNwBC7b0j1L28Qg4M4aoxG9yOktt/PwQY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ccINkiZMcqiWavgi4MniY2e+pEf54wywxE/s4NCG1h8rQ9Sh769kzWyTytmAk4o+9 kpE0Gff2UAZ1NWYswQK9MOic4u1WHjafJeRpG4EmUpNwqNytD8Am7x/AUel9Vobie9 b6IcQ2tIJdwItLmnc7iy28Z2jN+WBAD+VPCVFwCLdnScHaOefcbEyUg44AGxcKHcIc wjVAHKXx+kBksaQfTCZ8CvYFEai7rLdJKlG85TsN1HiV+Pve4C6u0RGsCDiEM/KhaT XfZrYv6mySQ8cwhNGmezvvuWTEGwcm2tn6yLUlhS+IKjuXNqJOOKsehQE+TbjYWf8S 3Zu2rX6xAm8vg== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: =?utf-8?Q?Cl=C3=A9ment_L=C3=A9ger?= , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: =?utf-8?Q?Cl=C3=A9ment_L=C3=A9ger?= , Atish Patra , Andrew Jones , Evan Green , =?utf-8?Q?Bj=C3=B6rn?= Topel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Ron Minnich , Daniel Maslowski , Conor Dooley Subject: Re: [PATCH v2 5/8] riscv: add support for sysctl unaligned_enabled control In-Reply-To: <20231004151405.521596-6-cleger@rivosinc.com> References: <20231004151405.521596-1-cleger@rivosinc.com> <20231004151405.521596-6-cleger@rivosinc.com> Date: Wed, 04 Oct 2023 19:14:16 +0200 Message-ID: <877co2ux7b.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 10:14:25 -0700 (PDT) Cl=C3=A9ment L=C3=A9ger writes: > This sysctl tuning option allows the user to disable misaligned access > handling globally on the system. This will also be used by misaligned > detection code to temporarily disable misaligned access handling. > > Signed-off-by: Cl=C3=A9ment L=C3=A9ger Reviewed-by: Bj=C3=B6rn T=C3=B6pel