From patchwork Wed Jan 31 15:59:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Ghiti X-Patchwork-Id: 194829 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1987275dyb; Wed, 31 Jan 2024 08:02:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiJZTbUSTskbZE6XlUPxzzai5C6frKQw2qTcCUT3EJ56dhvJJs2gxY0GFjtI2W0fnqzpD7 X-Received: by 2002:a17:902:7403:b0:1d8:bcd7:737f with SMTP id g3-20020a170902740300b001d8bcd7737fmr1874203pll.27.1706716930518; Wed, 31 Jan 2024 08:02:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706716930; cv=pass; d=google.com; s=arc-20160816; b=gdIrmBmR4iERW6YrZfBhidfli1ThtvLyGqx9/jbAZiuPLdv2JVObXv5nMo4C/i4k8f 1TmquHp6xf66NAUNDnYYMAgchRWeafzL8E7grWk29M+hPtvOKz7k9vs9WlZu6ZUoKsJi GtZOrQdjwZyNC372VYUW/qSR5GgfNkSdWUbOS+UeMILk17du28vZXD8vLCuaFeZRo6rl yXzmgD5Ot/dkij2hZtnbm6+ZJy8Bdp1nyy2NoxUKxxJLdzWFuKjnH1egVKoHC1CWMkfn xFKniawfIlzDt/0z0xM6V2J/sJUgiNtEAZfk/ot4oahyeSkeO9TAm8RPOUhSPWqDgkX0 EPxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=I7GGjOTfTMBIIqyaAo6ALuSMS6zgfYAZi7fWs6gtAQ0=; fh=yweYF7Jxyf2VFjBhSZl/QfdwuLdK43lEWd8AB7WleCA=; b=xjw8+z/ujf8/2Dc/Mi5lmHHWbOx8SoAFsEkqIpNIbEYp98OTOi8UHpsAR6310SrEcq HSDKWJaCyV6RMk4TJRzyhzAe2xqgbV3nyxovJ02xOdWPsXpB4z1Sw/TV4//D70ceSuK/ 941YRf5VFW8vmYeLzmi5YtV7+gksq/5IOsPHXgszzGFvzRprOSWFmAvvZPDF22lB/kHG 6AXjc1IW0zFPv9xcXSafiBGGO6bfOZSqeLavEUhM7i7xFcMH99mYV6dq15M802gs8ko3 qzWGF+yHOMQ5W3+Jh9IQNBgqwg0qQPm87aLfBjiFIoua1UaYwOMxzeV10Ie9VpseAPfq mnEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=cSZJz4L8; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-46750-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46750-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCX5hP3TEOyVo78wVzy/QsjgsUeOTPKq1tnc70GsGqEJgk/4EVwrYFsPCgCna+wee9r/ca6zDvW20OqmNtF8ImS0Q4EHrA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d14-20020a170903230e00b001d8e91b8b62si5747399plh.617.2024.01.31.08.02.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:02:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46750-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=cSZJz4L8; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-46750-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46750-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 38640289AA5 for ; Wed, 31 Jan 2024 16:02:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2A8012BEAE; Wed, 31 Jan 2024 16:01:41 +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="cSZJz4L8" Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.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 60CAA63C7 for ; Wed, 31 Jan 2024 16:01:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706716899; cv=none; b=E6UQ8wZRcCpxq3N6kjLhHydd6LtfpK9QRfvPsRdYw2zgn2IIVyaTaymA4X6RzzjhPyf8mrpU20R0QsgVej2FK81QXq1ppH7/MGf5/eKDDVnb69gs3GhDsoiUzu0sHb7jN06Xj+2d4VEw/3cDgEC6s9FOXhW4HpNO9wsoWFjF72Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706716899; c=relaxed/simple; bh=Mg5KUcqZKde/DqexwQDNBEzmGIIExghhEG8nFsecXgA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jKuMj0Um/3UiQIm5j4n0p7fq8LXwpKSwDMqERBXYSbjrNfOHMaWp5d+CLAwj35oD1hQrspxro/qNNXxrn6+MKd7F5qYZ7QnZpxXpaoFbKRQc6/tVU1GAvRywLxo+aIia8Mn0u0z6TYkNzCYFOEusF/xQDxlUwx71KSvhp2F2PTo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=cSZJz4L8; arc=none smtp.client-ip=209.85.221.47 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-wr1-f47.google.com with SMTP id ffacd0b85a97d-33aea66a31cso2146599f8f.1 for ; Wed, 31 Jan 2024 08:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1706716895; x=1707321695; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I7GGjOTfTMBIIqyaAo6ALuSMS6zgfYAZi7fWs6gtAQ0=; b=cSZJz4L8eeDraHTJ8O3+Td0UN8jZRCuNPZbzBYge47mHEynMjA4+4LP9wycEem8gSk IchKm9zrHFtP6IX1WnVlltxIWY34j3wjfC9OYZEoDI2ZRarGMoCO+zpxdtohvBSr7BzZ Lra4qdc7WEfwfsTDQawracthC2KL+NrbRwEuFudB1rHB1ZpDalHvi16nPZSmqVThv5S+ E0FBjvAHRTL9bQOyxlHfw7IhR9lWJ1pv8fGp0fj+0mMXesEedXIT2IBsEQL3EKy84M7b s7hPzTMqwbVxKeP/i4CoM7cRPMU7uFnEANPl1K6hvSR0VaOPSSDcoE1x3nqbFdwVhV4P LLvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706716895; x=1707321695; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I7GGjOTfTMBIIqyaAo6ALuSMS6zgfYAZi7fWs6gtAQ0=; b=MGsjjI+ytXh5G6dSA4eb6mPShNQs6Ovj/Hf0SP5QFAkoanO1x/qJeNEkFaSiFC78zm h3OyhkDgFWqbN0f4dQkqGX4jHoh2x6xrbLKF8a60Sy5odykEAu7evb9swK6RvN9Jcd2Z cBfHUgVCgDzY/NnXMqJbFaCXeDfJwfxr05UnLyxnJJSEjYub7PWYW1niM8Uc3rPzQhpt r1FvpmWy3XqwAVKvGJlj1YYqvdVqjHKou5Bant/kC8erRPBdftMca5oMjOIki/2SbqkJ tHBz1ybekFNT8A7bKm9+VzblvidlhPDxCiNXBQJSd+z5cLhL0smvQAG/ve933yQYrq0R bf5A== X-Gm-Message-State: AOJu0YyVQxhwbBR/br9+hQ2JR8BCyAkPjME7Qg9aHuooHyb0D+oA71+Z wzUn6vPuze9awZ2ZnDLHo2kdT6mZqfslY4BAeNRx7YRZ8kt/t1sxh9EjETZmmX8= X-Received: by 2002:adf:e292:0:b0:33a:d2d4:959 with SMTP id v18-20020adfe292000000b0033ad2d40959mr1290673wri.11.1706716895453; Wed, 31 Jan 2024 08:01:35 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUMmlfGb5QJrtWjQ3hwdRXHqr6tBQk0FIxMX0uA5P+4YYcbUZ8kMED0+5zSvPxp9Se7FDafq1n/DY934cDYAzBUsuJC61YJexveBQSJLg7aTm75drBWzhDXDpPnE0l7gnKGYL+NZ08V3zM9OcyZg18MIDPvkaVKY3n553LA+zl3U+PBNVZSqQ4OJFYlAd+XQCVFsqmjAvgAu94sEw9sEJBxzDIGrAwSiwP+rLI1AOEFoHCQko0EZIEwQuqgCuHpX6cP/EEYYWnOvDzGKbvNABXq1TpX3vYsnWd8cF2ONfdDW14WDtXiy37WLvtJt38NeCjgTKUFonqMDLWTEEk037t8rkyOgpIafa1COSx7MktRFXJuHq14e0rmtyCCAh2qsI+eJWk8yrEnwRA062YhoPJHPcwhqxqj4YGj8RGlqwf7fyXJbj6WVuGvHK7yb1D/+NGovyndWxjJOD2rhLLW/XWaX+s9UrHLCyvZef4E7hM2FoJhLzSFkuJKEvG/jCTxRNoVuv8MXActoVinBxYpoKfqtvQbEYibDAr9IFUTB7YggocoqH5QJHoXjU3mTpGGZyZnZP5qvj2lgg1N6C6BHU/XSetdZiGav2/UV2L5p7b7QF4caHnszz4xB08lDGxMWBuhhqpKVsqMtaPPUA== Received: from alex-rivos.ba.rivosinc.com (amontpellier-656-1-456-62.w92-145.abo.wanadoo.fr. [92.145.124.62]) by smtp.gmail.com with ESMTPSA id c17-20020a5d5291000000b0033ae4ba8ca0sm11407009wrv.82.2024.01.31.08.01.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 08:01:34 -0800 (PST) From: Alexandre Ghiti To: Catalin Marinas , Will Deacon , Thomas Bogendoerfer , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrew Morton , Ved Shanbhogue , Matt Evans , Dylan Jhong , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Cc: Alexandre Ghiti Subject: [PATCH RFC/RFT v2 2/4] dt-bindings: riscv: Add Svvptc ISA extension description Date: Wed, 31 Jan 2024 16:59:27 +0100 Message-Id: <20240131155929.169961-3-alexghiti@rivosinc.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131155929.169961-1-alexghiti@rivosinc.com> References: <20240131155929.169961-1-alexghiti@rivosinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789622411661841568 X-GMAIL-MSGID: 1789622411661841568 Add description for the Svvptc ISA extension which was ratified recently. Signed-off-by: Alexandre Ghiti --- Documentation/devicetree/bindings/riscv/extensions.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 63d81dc895e5..59bf14d2c1eb 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 privileged ISA specification. + - const: svvptc + description: + The standard Svvptc supervisor-level extension for + address-translation cache behaviour with respect to invalid entries + as ratified in the XXXXXXXX version of the privileged ISA + specification. + - const: zacas description: | The Zacas extension for Atomic Compare-and-Swap (CAS) instructions