Message ID | 20210225041129.58576-3-manivannan.sadhasivam@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp11249jap; Wed, 24 Feb 2021 20:13:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMbpHX25SieoZ4/OBmjMtqSrCJ9KTPiAYMmUuKyyOEhOOQ84DYG5yMuD0CVL52gGf0qe59 X-Received: by 2002:a05:6214:2022:: with SMTP id 2mr910092qvf.39.1614226383794; Wed, 24 Feb 2021 20:13:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614226383; cv=none; d=google.com; s=arc-20160816; b=b5ceBtscfMuch+l3Gk3L8JOGN07Lxef3hcNSs4Hcw3biJ8cP1vp8MUU2+lLSmJQmLJ Q0qgKUEE1NFuFniKolw09WBGCMbcHaGk+YytwcQ0Eivq8GII6fSNR4EtcCmNwVD60KvE vlk/eitbDlL7Axw/caHLI3UwLByvZazFCUTszvsq4/8Z43PjSt2QkB+LuUpDs4RAvxJh u0QWn4pActYiaTmqL8ecC1PiZ4uPyTkQ3fpB18lpC8HnghPSW23ABPISZZEYazQDoedL DLn0OkcBCdtksFJ4YkGH0esOVggLJHGI2oXZ2j4QlzIVsJDcFLfu9eNW/EXZbYM87Yol CZIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=hikPmrIcromlEj5SSJ7nlTItLIdnwzoeu174+1lBXyQ=; b=Nn/gOg/8lRRMXoT9dOY0TbGMHb5NxhjbumuOYGpBBeO4X6rxR/Bm39y7Pw7L0yLz8y +KZfUYHP7ghUoDcfmgdY2uNLgCdHYjfWw5O1G7myy/38fOz/HCG7D44hv3JpJAVBcsBn olw1IShz+56a30I7Ojq8ciwgpoXOMtN7NimupnMxgATfvdk6zCMRx1tiVd2JkQifWRU8 4YDnYzYBy+40yKa5L7uUeW7ERhgc3xnntz0LM6bCqS19OZndQvmsHqHT54H/4OPki6Ls Tpgc4jI6HPbyxKt6lt3qVmy0vM5Txe1uSEK7MXf+qcz3uobhcnqSdQxMzIm968P54F0P ZjVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=UbXXLYj1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="PLak/fmj"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id bk5si2501316qvb.8.2021.02.24.20.13.03 for <patch@linaro.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 20:13:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=UbXXLYj1; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="PLak/fmj"; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hikPmrIcromlEj5SSJ7nlTItLIdnwzoeu174+1lBXyQ=; b=UbXXLYj1j523tsd3pP7C4pxSc bqZbyES/qxdLNulmdVmhyxLnlolqrtd4/DWWH9HlaXsYvi9CXZEveRnraXJZk0CwjDH1LBE+ZgFHb e/oUSQkb0BE3eFMAC6YUbWkuR/sljPgXIM45bAlQ5By6NHq5v5OPuaJcslnBEvQFKn0CoO5wmH1uj kc1tT3p2H7r2KnX+MA7jkM4o7qihvjzzNWYGnfAw8lI8wrtf8RvJFIHe2aWLjoQi+eJ+yQIWQuH3u IsvJUi5VlosCBW4hCcc3rWw4F+/q+jrB7W55Zj/inEIz8pb5+uE3uNN+0c5+d7+HT/RxdKW6rwf3h J0jKw8KnQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lF80K-0001Be-8M; Thu, 25 Feb 2021 04:11:56 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lF80G-0001B4-9M for linux-mtd@lists.infradead.org; Thu, 25 Feb 2021 04:11:53 +0000 Received: by mail-pl1-x635.google.com with SMTP id u11so2464627plg.13 for <linux-mtd@lists.infradead.org>; Wed, 24 Feb 2021 20:11:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6hU6WGdCR9365lMcGYUik+Qyi/ZAYDHu+MFoj3y6wt4=; b=PLak/fmjN7fnFTz8fRzhp1I+hcyR24BNlkBt5PJNVU8drkHY1J+dcgL9k1ye8PzB4P XgniJRQ2nOYiqNNyhmVcWaxrxhf8nKffy5ArsDIKieuXGcs7Pt+28n/MDmCQVcRdtvCX U4OcK9AbfHpeTyG/tJio6DBDkX64Me6iyH2IWf6mzidlyUiVSec5eZ4N/iHNnpwbmyVn SUD6Xx40S9tRXZQ37zRs+OwPIDxkyYhtAblnvXqDUWdCnJYmzK4y1XwAZ7BZ4ybWaXXF 8GDQNQEe427tSGC7c8qUTdeKx4+k/mok2MRa2gO3bQNoHfY5HCjz8kvmYF1/giAjeoyr V64w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6hU6WGdCR9365lMcGYUik+Qyi/ZAYDHu+MFoj3y6wt4=; b=MZWODm1krKViDFPmBPvCbxn5LiFZcB4gySDLItDdsX90nhBmct5VsMhVHVt5lCojas yaUd7zL/f7WGa4YvnWZ9CczP+u9YkbI1jyHJC/gTeDGSru+RPUSs5UQZ1eTaLtFhXA9P c+tb2lWUG0w1N1h9mZwpxiZADXaFvoNuJN3P7+hQVdoHClguodEOZAHOyzVcEQHS5/QQ yo1vObkNkErNx++aV5j8qUIyDonB2k2F/GVFsIeQkA3Z1ElAI83lT2FVHELXeTrwe1dK N1WuKoliO/SHqcPsgtP8uR3r9jqPcTNclNbfnfHliui203UYNOCj0QqUsHA5Ih5SfD5Q 6iNw== X-Gm-Message-State: AOAM533QUKZ3U12xdMTmpYxmCo0FzvAWVbugNUS7v7oVTrwNKUhDD/rW zE8LIde9FttDxs4+ecOB/K/W X-Received: by 2002:a17:90a:cc18:: with SMTP id b24mr1304343pju.214.1614226310108; Wed, 24 Feb 2021 20:11:50 -0800 (PST) Received: from localhost.localdomain ([103.66.79.45]) by smtp.gmail.com with ESMTPSA id c12sm4155494pjq.48.2021.02.24.20.11.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 20:11:49 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Subject: [PATCH v2 2/3] dt-bindings: mtd: Add a property to declare secure regions in NAND chips Date: Thu, 25 Feb 2021 09:41:28 +0530 Message-Id: <20210225041129.58576-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210225041129.58576-1-manivannan.sadhasivam@linaro.org> References: <20210225041129.58576-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210224_231152_361360_DBDEA43F X-CRM114-Status: GOOD ( 12.65 ) X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (1.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [103.66.79.45 listed in dnsbl.sorbs.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:635 listed in] [list.dnswl.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, Daniele.Palmas@telit.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, boris.brezillon@collabora.com, linux-mtd@lists.infradead.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
None
|
expand
|
diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml index d0e422f4b3e0..4a528468b90f 100644 --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml @@ -143,6 +143,13 @@ patternProperties: Ready/Busy pins. Active state refers to the NAND ready state and should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted. + nand-secure-regions: + $ref: /schemas/types.yaml#/definitions/uint32-array + description: + Regions in the NAND chip which are protected using a secure element + like Trustzone. This property contains the start address and size of + the secure regions present. + required: - reg
On a typical end product, a vendor may choose to secure some regions in the NAND memory which are supposed to stay intact between FW upgrades. The access to those regions will be blocked by a secure element like Trustzone. So the normal world software like Linux kernel should not touch these regions (including reading). So let's add a property for declaring such secure regions so that the drivers can skip touching them. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> --- Documentation/devicetree/bindings/mtd/nand-controller.yaml | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/