From nobody Fri Nov 29 13:40:33 2024 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 A6A0456B81 for ; Fri, 20 Sep 2024 07:39:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726817966; cv=none; b=rf7e7oBJWcleLkcYWYDUW6gFg46g/WPEBx9qSC1xt7zNVlaH5Yahs/ZPkRsAQslu2R0RD6wfJB5wAc8xQdAEtB4g2B7rLhsEM8i7c6blw96t6ORLXCzoDy0oFuBiHq510FlOVIy02QkpJURDPaG45R4RVSlGeWX8p66lDbxwLFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726817966; c=relaxed/simple; bh=0k8ksCBEILGEf/m73awHSumKV1bg5YEQJrbmB46fqmU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uKFYTRHjMTnl0s0Lbv87gPbcNNONfCPtLypTD7GA75PylV72p5oAntlcrVKqfpqTN1mfdg5lw9xCSYu/GuIyzhk2oWq4NR56WVs+0mAS1EynNwsX5WJfDZ9I/ytgTHzSjPPvYdFNIS9PinvNfL9OLlK4EQPPUU5l1gNCiJ3vxvk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=dgp4QT/K; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="dgp4QT/K" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-2053616fa36so22743455ad.0 for ; Fri, 20 Sep 2024 00:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1726817964; x=1727422764; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ruwmjdS7i6iu2fXr/1ljeWFvjxlJAr2Uh230cCJEG48=; b=dgp4QT/KlLbJ3mEFsl8EifMt4W2Kn5G/h+3J2y9zhnTiLm3viNEN6I2uLAb8emzwey oFEGxFmonCLSsGx64uvJms1YSuyXHmGtrF1IXMkF5Ajuc0qeKxS/9lz5IwkZxArVcBgl 5vspfib+wpuz+Dbo2VN/s2dFOLADfpxP+7H01LKZn6OvDR+0qFeezcEV+bX3FPNO8jUI t+BeTqWEvW22tR6Iprw8PdINBHk9zzMXyHO4RAyG7g0EJjlT2ux/9/OWWU4IjF/noF+D M8GXpyv4QpD/t3wbryJmOWkZTHQwJK29jXoiXVbGFmNSwF/j5sF76XUm9qawcB3zf6CZ V6Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726817964; x=1727422764; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ruwmjdS7i6iu2fXr/1ljeWFvjxlJAr2Uh230cCJEG48=; b=evObKL8ak7Ry4sphltoy2rWcYM+79uhbAipEWPjrPlv7+t8zuWx9vzRn7AoHEzDlc7 JfcSwBYs7G2GxXkNpWiJFycUe03AcbutVkb5ATq4xIk/PknL4++zNuy3BTLAwuijVmok BOm4QvMzlLWYgIi2JGDvJ8NvOlmBGu6fz6hulFK11zWvdNyxCyWnDb5JTR7l3fh3yb5d eoTvUjbAKDFGNvPnGucwI/istHM3p4e6StFHkL3p9PWg0b2iAR8caThLjP9bUoShDu5d RF2UBgU1M0tHkgrXRYkjrXjTxIlNIFgxAtLIZRpl5MRWo7sjx0pcdNa2pdd/ONjeWsey vTrw== X-Forwarded-Encrypted: i=1; AJvYcCW2H0UqefFNJayDVlBnrsB4uLC6bkJcKCtSFL1Oall7ZHq+CNoi2/udRQCGT9gdH/gzVIN/nlmagY6UCi0=@vger.kernel.org X-Gm-Message-State: AOJu0YwWjtcfoigbE6t06CNBN4+svrPWeE+VRg/r1JABy2mZQiVA84uS focK4qhizefBwt/v8B1zGweCr6txbgqlzzlhtMg9q6eexGV+4V5EV/Q9aFfCeas= X-Google-Smtp-Source: AGHT+IFQ17yTVynIy2XrD45IeMLpoJPTm7mZPtHiliv+sGkaava/UbW2FEYcKNJPThWePCcr9bME2w== X-Received: by 2002:a17:902:f693:b0:206:c5cf:9721 with SMTP id d9443c01a7336-208d830ed04mr28068335ad.1.1726817964075; Fri, 20 Sep 2024 00:39:24 -0700 (PDT) Received: from [127.0.1.1] (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-207946fcaa4sm89645805ad.212.2024.09.20.00.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 00:39:23 -0700 (PDT) From: Max Hsu Date: Fri, 20 Sep 2024 15:39:03 +0800 Subject: [PATCH RFC 1/3] dt-bindings: riscv: Add Svukte entry 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: <20240920-dev-maxh-svukte-rebase-v1-1-7864a88a62bd@sifive.com> References: <20240920-dev-maxh-svukte-rebase-v1-0-7864a88a62bd@sifive.com> In-Reply-To: <20240920-dev-maxh-svukte-rebase-v1-0-7864a88a62bd@sifive.com> To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Anup Patel , Atish Patra Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Max Hsu , Samuel Holland X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1312; i=max.hsu@sifive.com; h=from:subject:message-id; bh=0k8ksCBEILGEf/m73awHSumKV1bg5YEQJrbmB46fqmU=; b=owEB7QES/pANAwAKAdID/Z0HeUC9AcsmYgBm7SalmDrzx1nt7U4zRVn2TPSNvgiS6IDu0bWQn Kih/ez6tBaJAbMEAAEKAB0WIQTqXmcbOhS2KZE9X2jSA/2dB3lAvQUCZu0mpQAKCRDSA/2dB3lA vYzBDAC4qFye9TdTtbWuZxd4jp5gc9vJmV5AkP++702TLaSmioYtypI+JvTir7sHlehq6ncb/yf bmnci8IxCkk1BADX4GYvx2EGMziigRvdO2ZyTCIUr4Oe6SazBRjKSHvpi6QSWiCZAyhrXMtbFhe h9QvCakpMYjDTpp7Xiw2vj4VfO4nILyDcQCW54ZnUMqsEvXm7Yf3lIzElrG0gFmU3wfUsfxhc64 tQEwoVnpzClS/JFlW2tW+zaI31qv4AQ6Ntw880KMfwKu0gI8546318I7uHDl0HK5ZVO2jrt/pCF iRvjX1UeHaIRBYdojju8pI7yWfoHS8l8yoOSHhtJ/rpRCUsEzPgVb9lmEOofF6RgxmnK4ZbYUa0 TjF5lJmjW+3hdk67G2oiL3DBWnp1OX3V11ciOBnWkZMTOhZLHbPAtlNZ33cYDb6zJrQxOGBqPgy VUmHLfSABhBVe2ryVn0D7VUjc6DOJgIl9nWifkZyuAYkCuv2SKqBunOTfIIcuVF+WdCro= X-Developer-Key: i=max.hsu@sifive.com; a=openpgp; fpr=EA5E671B3A14B629913D5F68D203FD9D077940BD Add an entry for the Svukte extension to the riscv,isa-extensions property. Reviewed-by: Samuel Holland Signed-off-by: Max Hsu Reviewed-by: Alexandre Ghiti Reviewed-by: Deepak Gupta --- Documentation/devicetree/bindings/riscv/extensions.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Docu= mentation/devicetree/bindings/riscv/extensions.yaml index a06dbc6b4928958704855c8993291b036e3d1a63..df96aea5e53a70b0cb890533246= 4a42a264e56e6 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -171,6 +171,13 @@ properties: memory types as ratified in the 20191213 version of the privil= eged ISA specification. =20 + - const: svukte + description: + The standard Svukte supervisor-level extensions for making use= r-mode + accesses to supervisor memory raise page faults in constant ti= me, + mitigating attacks that attempt to discover the supervisor + software's address-space layout, as PR#1564 of riscv-isa-manua= l. + - const: zacas description: | The Zacas extension for Atomic Compare-and-Swap (CAS) instruct= ions --=20 2.43.2