From patchwork Tue Dec 20 10:46:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himanshu Chauhan X-Patchwork-Id: 1717789 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=F5kMhoOV; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=ERDuGssL; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NbtZk6gFjz1ydZ for ; Tue, 20 Dec 2022 21:47:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B7Tjr7GmBWuR0j/saKSIhqvhMhEnt6hPlr1yo/v2D04=; b=F5kMhoOVvvQQ3N RcONJppmxIfCBbY+b70IHPZ1jtQeYy8siBkQ6yfJBNVjAB7iHwUlt7qrDIl2R8J57Qb9dhSTqb2qL PoRWissc7dAMlG+dIkj6utM8N3Aw3rv+AyeewZjafib5NZkRtGvXjJYXtkV33dMPoYE+eS14PXXKH X5NtJj5CiRO6OjO/oAZWwAgblPQoCl6gOr019vZf0ShB1O+Tb34CN5pN380ucShUjrPEoXc82ghWX Aj5zBjzPps74un8yWPOv30p4mWiltP5/9BiFYIE/3pHduyDwCIAlCqtGPXPyu7zShD+iLlHc3QArA mo035b0ah1DYUykZHEQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7a9s-00DRm7-6f; Tue, 20 Dec 2022 10:47:40 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p7a97-00DRAk-1y for opensbi@lists.infradead.org; Tue, 20 Dec 2022 10:46:55 +0000 Received: by mail-pj1-x102b.google.com with SMTP id k88-20020a17090a4ce100b00219d0b857bcso11737062pjh.1 for ; Tue, 20 Dec 2022 02:46:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; 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=1sWXTYGn0Lk+x0BhkfVjRxFlmuym+7C6y/Zy8c8QQBg=; b=ERDuGssLqgYKM1xOtfr0Mgi30uymhZYwacCQAdWkdQ32eUgMwo0VytBHo/ujfUO+ct KsfKsRNXKAgA7nRhcPKERAw6VeuGwp8Q+LxmgXbHBTADHTK4nvb+A4N2Y2yixlN6TyU9 DEUAzTfl7yfQu80dNoTnDgX6YE3NOWLApRlqoXPJe5E0Q+rt2yVzYkl1IF0P/pDp+m3H GW6BASUflbfgPpXMCG/00bO8Fz3qZBCSE4+6nrqo688s/BINK5+Y+OhSQHhxqUQFd9Ty gFyBF2CtMuwQXklzFYPvbBGEbJYAZ+8Lm8eNJgiCtWRqE4iEh6aPF0n+w0TpUfACCQPV GRDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=1sWXTYGn0Lk+x0BhkfVjRxFlmuym+7C6y/Zy8c8QQBg=; b=0BtYlcgtlpC/R0x7hx35KJ+PGWeOvb1UVmF5s0s8oh7hfVNRXGZ5Dyh7GrXYJ7QNtl YlTDowhMnLzbGsxZbtReHl9OM1QMBQvGsiJFRvmxyHQwJ0mhoIl3QRPqJt6G7ZypPwHA scH1n1AcVclMQRRDrBdA6rtlHkZ4Vi29/Y2c5xUhwg5k5HYv2vXojPmaPU3DpBnQLgDt h58ZjmKCZH4Fo7p+XSyV7wqKmsx4nSNNDPbvgrD9oKgVh+FFMMRLwHyBgOPET85LYStc 8BpaJgZJ1LjK843WrIU/03rCZzX9ES0vhf/x3QQEGGIlAQ7vSKyLOwI+0CN/D0GKQgay 7G/A== X-Gm-Message-State: ANoB5pnFfS//fWtpN+gPic/42s2dlhMHViIy8Kp7cOg40UIrj86o4JDU k5s0fD0tmAYnc0am6CWdf+XkYpmwTTdk1U6Fr2JTLg== X-Google-Smtp-Source: AA0mqf4z/swt8zxJZ88vWXtPetZVog7YE8Wid5x7saFl1o2xJslSemQrMYztrBbR2e2OGEV1G8v57A== X-Received: by 2002:a17:903:442:b0:189:d0e1:4fcd with SMTP id iw2-20020a170903044200b00189d0e14fcdmr48372605plb.55.1671533212298; Tue, 20 Dec 2022 02:46:52 -0800 (PST) Received: from yoga6.thechauhan.dev ([2405:201:d019:c0a2:9958:7bb7:7663:ccd9]) by smtp.gmail.com with ESMTPSA id ik30-20020a170902ab1e00b001897d30143asm8923550plb.289.2022.12.20.02.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 02:46:51 -0800 (PST) From: Himanshu Chauhan To: opensbi@lists.infradead.org Cc: Himanshu Chauhan Subject: [PATCH 9/9] docs: Update domain's region permissions and requirements Date: Tue, 20 Dec 2022 16:16:25 +0530 Message-Id: <20221220104625.80667-10-hchauhan@ventanamicro.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221220104625.80667-1-hchauhan@ventanamicro.com> References: <20221220104625.80667-1-hchauhan@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221220_024653_166202_BEE72F97 X-CRM114-Status: GOOD ( 10.14 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Updated the various permissions bits available for domains defined in DT node and restrictions on them. Signed-off-by: Himanshu Chauhan --- docs/domain_support.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:102b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: opensbi@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "opensbi" Errors-To: opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Updated the various permissions bits available for domains defined in DT node and restrictions on them. Signed-off-by: Himanshu Chauhan --- docs/domain_support.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/domain_support.md b/docs/domain_support.md index 8963b57..e533bf7 100644 --- a/docs/domain_support.md +++ b/docs/domain_support.md @@ -160,8 +160,11 @@ The DT properties of a domain instance DT node are as follows: * **regions** (Optional) - The list of domain memory region DT node phandle and access permissions for the domain instance. Each list entry is a pair of DT node phandle and access permissions. The access permissions are - represented as a 32bit bitmask having bits: **readable** (BIT[0]), - **writeable** (BIT[1]), **executable** (BIT[2]), and **m-mode** (BIT[3]). + represented as a 32bit bitmask having bits: **M readable** (BIT[0]), + **M writeable** (BIT[1]), **M executable** (BIT[2]), **SU readable** + (BIT[3]), **SU writable** (BIT[4]), and **SU executable** (BIT[5]). + Any region of a domain defined in DT node cannot have only M-bits set + in access permissions i.e. it cannot be an m-mode only accessible region. * **boot-hart** (Optional) - The DT node phandle of the HART booting the domain instance. If coldboot HART is assigned to the domain instance then this DT property is ignored and the coldboot HART is assumed to be the