Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6840831rdb; Fri, 15 Dec 2023 09:35:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDIK0vZWrB798rcK+uOk1vrqIulW4qAmULrmTLffa2NNkF4Fs6thqziAAg2bNkX7Xb0s4f X-Received: by 2002:a05:6e02:320f:b0:35f:847c:1e5b with SMTP id cd15-20020a056e02320f00b0035f847c1e5bmr3322181ilb.53.1702661711044; Fri, 15 Dec 2023 09:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702661711; cv=none; d=google.com; s=arc-20160816; b=PSA2Ig4DnEbrIz612xJjvr1JLZArItU30hnr+SlQ/9RI6l1ZFio9xa36f44VMmtDoS yfy+OE/mXV77JAvZqvtHdkkrkcPecFuzToPPPBFRTQUdLs7uLK0mpMX85nghaPGpevGn PgTMFELpi7MSPwG2IYmG2NRlSsSEhVMugaoKPCUPR8E4TzOWXXzR4QIzcc9P3knimE0g GbGw5qO9tLRHHoAliMNlc246553/d+Rh2oAvZbvJGu+oAshs397Rv0XkH3pvpkSojv+X /xXvD6hWLYIyPzArH7PZBHnspq6Xdb/EyVnkmuEQ2mbs0mqZH9GzbblIWs+p3ZJv7a34 4Tpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bJgdaQfVEOqTf6cuulaJ0BP/0PqG9vdbBBj+6Nf4OLQ=; fh=t0Hm87W9s7LTxpazMxHvvvJpX4vRoviqqc3uBpgF4I4=; b=wersljcMhDIWWNA4zhiOLtXvq7WF9u2YONfSsTTk3B78NvxeJ0G7crdQ4CIttpwSgn LtkBZYt6cS42vW86n4uF2F2lV+9mGVxmvDGpKmDREjnxleFT7LJzFmLM4tBhtPOWXJ05 OjSGOcY1O+rlJeZLw4RvPvDH+O8h9LI14aD2IxADGt8yH9qaKKAi0s1R59T/RA8hSdsD 3uvBUScPvVj8FX7iYxJ6Q+d6J0GbCw2TWxSDgAR2+sFTf2ZQ5GwxZH9Ylq+AOjL6cAya mqXYNK53faLjTSQZSYJv0av0/l5cbCAMhl1/CAKf7eJ594tdyjOfJQQ7LQeLu+KWxESH VRKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=A6cNi9MM; spf=pass (google.com: domain of linux-kernel+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y64-20020a636443000000b005c6fc5d7a5fsi11642597pgb.558.2023.12.15.09.35.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 09:35:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=A6cNi9MM; spf=pass (google.com: domain of linux-kernel+bounces-1423-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1423-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5B90BB21407 for ; Fri, 15 Dec 2023 17:31:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DD5946453; Fri, 15 Dec 2023 17:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="A6cNi9MM" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C45649F67 for ; Fri, 15 Dec 2023 17:28:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-50c04ebe1bbso1968198e87.1 for ; Fri, 15 Dec 2023 09:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1702661292; x=1703266092; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bJgdaQfVEOqTf6cuulaJ0BP/0PqG9vdbBBj+6Nf4OLQ=; b=A6cNi9MM7UFbdYUBBSplxkAVXogSCfn+9QxF8Ft2BB9KIMfSdPnEOoG6c3B0r5Zm4j 2blxH98ngsFTm8aWUzhNskxNN5dkMVCVoUs0qWIQyZ66wOWlkB8tZk2Ra3CUCF/9hUtj g0exxxpHYiNSyWGzP3505by1Z/0b5s84CoEhMGdxprQCmTf9Y5QiYfkAzPQUsx4h9EGs TbA8Pf8ITvqzPL0JTGcBsyEWOyXox/5dLjx1nxpRErCcvfc0lcJlhwwP5dnTpbAvzG/G I9B0xLLPEVE4NU2NiI4i5Gfqgq1aB0hpStJzSjffWQry/4kVCr6cyzRCPkcgRKs0Ow7R yjxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702661292; x=1703266092; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bJgdaQfVEOqTf6cuulaJ0BP/0PqG9vdbBBj+6Nf4OLQ=; b=blLGjkFoO8v2rOr+QTDE495Eh3W8XedfFGn0vdFDXvL6Q+ec+dJxhXkrTF2sEB3jlw oXDuNMVwx7TV8dlag1XQCme3usGu4g2F6mrk7EyJXjIKfsTqkj1U8zk61iR6EzRtxpjH BK21RJpBII7DlZDOQhb1igYNxZJ43q+uuqqmWagIoj9qisYVR3L0oflGk3gaeez3iOC3 SJHVMLpjQ5Gm29LE9fyBdNwklTuLrA5goEUseqrNUhEnMC2djsQM/5IvMRkVzCS2n/PD Xthxp9flTPwNTdgvHPkPjc6aCbM4K8KVDA1tKHtBrPIqNhoqKSxBAao/K8hZy6xVzkR+ x48g== X-Gm-Message-State: AOJu0YyWH1vYB55PwfORwXh7aFXzr8jjztNImNswXEpGBOorcFz4RCJr 8IOBKt0T1Vf6BeX6+HgBeOmK73tpUHdkrq9M/vpcVA== X-Received: by 2002:a05:6512:2354:b0:50a:a872:3b1c with SMTP id p20-20020a056512235400b0050aa8723b1cmr8848174lfu.27.1702661292417; Fri, 15 Dec 2023 09:28:12 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231212-optimize_checksum-v12-0-419a4ba6d666@rivosinc.com> <20231212-optimize_checksum-v12-2-419a4ba6d666@rivosinc.com> In-Reply-To: <20231212-optimize_checksum-v12-2-419a4ba6d666@rivosinc.com> From: Evan Green Date: Fri, 15 Dec 2023 09:27:36 -0800 Message-ID: Subject: Re: [PATCH v12 2/5] riscv: Add static key for misaligned accesses To: Charlie Jenkins Cc: Palmer Dabbelt , Conor Dooley , Samuel Holland , David Laight , Xiao Wang , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Paul Walmsley , Albert Ou , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 12, 2023 at 5:18=E2=80=AFPM Charlie Jenkins wrote: > > Support static branches depending on the value of misaligned accesses. > This will be used by a later patch in the series. All cpus must be > considered "fast" for this static branch to be flipped. > > Signed-off-by: Charlie Jenkins Reviewed-by: Evan Green