From nobody Wed Dec 17 23:56:12 2025 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 2164417E8F4 for ; Tue, 25 Jun 2024 21:09:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719349779; cv=none; b=Dtw/s4mqE3YfSWH64+F3XH8C1LnLxRb4WhkP6Xhx8dRtY15dYVreslsvT/4GAFjhLXMGVJ//ORqK8xcqeNBDeRV6tWiYj+eDNTs21Aa2UOZ7b9xUPgobBt1S6kTsLFDaCChSBdDsyh9Ex0+vArNYhlgQCcptkKgRHD9ZUBwKGfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719349779; c=relaxed/simple; bh=upIN8lLvkvAmyOYUtScrb1g2QzO9PokPUHgX64sgY6g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MZ/fC7xFAUgNUvzPf+rYlkehRFdto8kR/KwcJjo5QtBNOY+CHoAqKn5r7VFj21V1hKn9PxIkQ54tWgx6PaiChvuyE0wzkWF4wcWTpevsbCzrObCezEJEdjZro8o7TyjGw2GQGdvVZDA5IDz0L2YHDghC99X6xRZn6FQEJBLOka8= 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=QEjtMzNU; arc=none smtp.client-ip=209.85.214.175 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="QEjtMzNU" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1f9b52ef481so48999055ad.1 for ; Tue, 25 Jun 2024 14:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1719349777; x=1719954577; 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=RApDUBWnH8dOo11vUms6fSIyGurtiCmTLAn99yajCOk=; b=QEjtMzNU/BEH8PB/B+DhufG2HBpTesHNqTycBeXfMO45ZhndZM0o4zEYauYmMW58uz E/dwypIgOlCPUGAJwZW/dLKegeMg9xY5dVGxwWobv7Hh3zh2GuInumg8xZeI7CE2sO2M QwwMd+GqnDG4pQFXBL/cB6/1pKxDyL5ggkWJW9ke2nx3y41FqUxkdyoTrfZXnaquR8E+ Bz4ddSGdEwjENAE1eJXd2BFRRV+gOq5sP1O8YsNJOSt8ICSiYiqDvYwFqfy65Jn6BEv0 4SAqvw0j4s42jTyucYyMqm6ATAh5aSc/Yi4OW+2Zgfdbxg9zcT9ztGg8ev6lJf/8ggid tkqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719349777; x=1719954577; 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=RApDUBWnH8dOo11vUms6fSIyGurtiCmTLAn99yajCOk=; b=S7jFzrT46WVXQ6vmm6XspfS5uh5hhnftU7BBeODMy6ml/R1C0mRkkj0rWuaAZBPmGc KmPjSsc8ARSQvygIji/N+PLiuH4GAxLTXvn1VvzKHal5kgGKT701bknqyToJF7pmkXqY 8mRt9OkJ4OcQ3sRq9Rr2u01viDW+xjCb+cqDTVCXBK4MpgnVMx3YyBTItcbioS+UF0AR vShsjKnGHNSRx18c5Cm1uff7Rx48TqCwGctOdq64t13aZ65BFDVhjQNxW5OgRSO4DuW1 IdVcyO+lmqjqivD2ufnWQZioQyH9NBv46U8n8VlbWvHIRgO/BWDHLx6+EmpKZ/4CY+j+ FU6w== X-Forwarded-Encrypted: i=1; AJvYcCVj/jFm5p7YIM1o4oUUjOKCl+j6i3g2PRpDRlBR4ALBd0VfSR/pKorIfe0aciY6c29OAl3mUh8Q6jOfP0uwQ0QyuSahGkmXm6l+/5bG X-Gm-Message-State: AOJu0YzwvC8SQGe8+CAHJDXSzkzzb8odpjIFMxT1ncsAX6UMzRqW/pfg A28olZDIplyro5m1BnhjX3QzMZqsPFKx1xTWYdzoxMG0g+zC/s05I7LxK/Ed4UY= X-Google-Smtp-Source: AGHT+IEeTn6riobaHMOyEcGvzSEs8JEyz1MxFY6peHqzdzbBPKE7rdm0nA1jgpjPUCoTtFM7TxnQ4w== X-Received: by 2002:a17:903:230e:b0:1f9:c3a1:4b65 with SMTP id d9443c01a7336-1fa23f1d44bmr113141665ad.47.1719349777431; Tue, 25 Jun 2024 14:09:37 -0700 (PDT) Received: from sw06.internal.sifive.com ([4.53.31.132]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb328f57sm85873455ad.110.2024.06.25.14.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 14:09:37 -0700 (PDT) From: Samuel Holland To: Palmer Dabbelt , linux-riscv@lists.infradead.org Cc: devicetree@vger.kernel.org, Catalin Marinas , linux-kernel@vger.kernel.org, Anup Patel , Conor Dooley , kasan-dev@googlegroups.com, Atish Patra , Evgenii Stepanov , Krzysztof Kozlowski , Rob Herring , "Kirill A . Shutemov" , Samuel Holland Subject: [PATCH v2 01/10] dt-bindings: riscv: Add pointer masking ISA extensions Date: Tue, 25 Jun 2024 14:09:12 -0700 Message-ID: <20240625210933.1620802-2-samuel.holland@sifive.com> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240625210933.1620802-1-samuel.holland@sifive.com> References: <20240625210933.1620802-1-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The RISC-V Pointer Masking specification defines three extensions: Smmpm, Smnpm, and Ssnpm. Document the behavior of these extensions as following the current draft of the specification, which is 1.0.0-rc2. Signed-off-by: Samuel Holland Acked-by: Conor Dooley --- Changes in v2: - Update pointer masking specification version reference .../devicetree/bindings/riscv/extensions.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Docu= mentation/devicetree/bindings/riscv/extensions.yaml index cfed80ad5540..b6aeedc53676 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -128,6 +128,18 @@ properties: changes to interrupts as frozen at commit ccbddab ("Merge pull request #42 from riscv/jhauser-2023-RC4") of riscv-aia. =20 + - const: smmpm + description: | + The standard Smmpm extension for M-mode pointer masking as def= ined + at commit 654a5c4a7725 ("Update PDF and version number.") of + riscv-j-extension. + + - const: smnpm + description: | + The standard Smnpm extension for next-mode pointer masking as = defined + at commit 654a5c4a7725 ("Update PDF and version number.") of + riscv-j-extension. + - const: smstateen description: | The standard Smstateen extension for controlling access to CSRs @@ -147,6 +159,12 @@ properties: and mode-based filtering as ratified at commit 01d1df0 ("Add a= bility to manually trigger workflow. (#2)") of riscv-count-overflow. =20 + - const: ssnpm + description: | + The standard Ssnpm extension for next-mode pointer masking as = defined + at commit 654a5c4a7725 ("Update PDF and version number.") of + riscv-j-extension. + - const: sstc description: | The standard Sstc supervisor-level extension for time compare = as --=20 2.44.1