Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1839924/?format=api
{ "id": 1839924, "url": "http://patchwork.ozlabs.org/api/patches/1839924/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20230926194242.2732127-2-sjg@chromium.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20230926194242.2732127-2-sjg@chromium.org>", "list_archive_url": null, "date": "2023-09-26T19:42:39", "name": "[v7,2/2] schemas: Add some common reserved-memory usages", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "6f7f4d2a56cb693c5d4ee4aeb2d2a2f904245d2c", "submitter": { "id": 6170, "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api", "name": "Simon Glass", "email": "sjg@chromium.org" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20230926194242.2732127-2-sjg@chromium.org/mbox/", "series": [ { "id": 374995, "url": "http://patchwork.ozlabs.org/api/series/374995/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=374995", "date": "2023-09-26T19:42:38", "name": "[v7,1/2] schemas: memory: Add ECC properties", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/374995/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1839924/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1839924/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=S2GwTJwq;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"S2GwTJwq\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4Rw9Bw1d4zz1ypD\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 05:43:04 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 56FDA86CBB;\n\tTue, 26 Sep 2023 21:42:53 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id DC56986D4D; Tue, 26 Sep 2023 21:42:52 +0200 (CEST)", "from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com\n [IPv6:2607:f8b0:4864:20::d2c])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 7DC6586C67\n for <u-boot@lists.denx.de>; Tue, 26 Sep 2023 21:42:50 +0200 (CEST)", "by mail-io1-xd2c.google.com with SMTP id\n ca18e2360f4ac-79fca042ec0so163652839f.3\n for <u-boot@lists.denx.de>; Tue, 26 Sep 2023 12:42:50 -0700 (PDT)", "from kea.bld.corp.google.com\n ([2620:15c:183:200:1da0:a3ce:7aae:e9fa])\n by smtp.gmail.com with ESMTPSA id\n g6-20020a056e02130600b0035134f1a240sm1961451ilr.86.2023.09.26.12.42.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 26 Sep 2023 12:42:48 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,\n SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1695757369; x=1696362169; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=xfBINqFi+tu9r+hgIndvcFHVghblGM5fsNWuNXfdXnI=;\n b=S2GwTJwqCMZ345xoqhQa1ANG3Yo1S6GsWyanAM4doI93y0gx/vSh1lQMw2xgbznOSr\n ydG15LvfPsKBcQmqpayLQshxRrYZOZps7H/bs+GysNu6DIwJJy3O0rL4Tw7c76pSJl/L\n ee6nFI+RquiMlutZMltjE0eIDMxuCaB/awO00=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1695757369; x=1696362169;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=xfBINqFi+tu9r+hgIndvcFHVghblGM5fsNWuNXfdXnI=;\n b=CjlWsQAR9VBIcZA3sIpymjIUuGlwLf7TVawCWhLRSEU3LkL7xkEsUBaEn6LZUvTB8a\n U/lIeY1NTET8l2FtWavLtUIk7ew7bDs7NeXnV1eehVToKPvPICdu7zZqQyt37YTQRMll\n mh9CIfXZPRjxWt4DTZp/2hkzqdywKfWELxnYyN79D3ytuoWuYQbhY4vEQ7PyynFVN/KF\n KjYey3new6JTgxTmZk+kiX1uii5pz2XfVSbSH7tMJWppEQr6PFbJ3O0ZIwfyOlqDjyCd\n FwLZt7J80Xa5ONvDfFWtzz8g/mHkClZgluOBMbEzy35e+6AtRiYWRs0NO73PItbJuN06\n 2LZA==", "X-Gm-Message-State": "AOJu0YzUCxqYl2SRzHXIVAcPqHsdoDcwDHFtOu1u4ItZ84JOAFcfkitE\n 1xaDM5YI0hp25n/voyB4R5a6hQ==", "X-Google-Smtp-Source": "\n AGHT+IHn4wKAiOfOfPpJ96btA7O5kjWAiCXjuBwMWz61V9KKEyTA4jYKowovoVpbKAJXqsBb2Sa7gA==", "X-Received": "by 2002:a05:6e02:219c:b0:349:7cec:db76 with SMTP id\n j28-20020a056e02219c00b003497cecdb76mr14089105ila.31.1695757369179;\n Tue, 26 Sep 2023 12:42:49 -0700 (PDT)", "From": "Simon Glass <sjg@chromium.org>", "To": "devicetree@vger.kernel.org", "Cc": "Mark Rutland <mark.rutland@arm.com>, Rob Herring <robh@kernel.org>,\n Lean Sheng Tan <sheng.tan@9elements.com>,\n lkml <linux-kernel@vger.kernel.org>, Dhaval Sharma <dhaval@rivosinc.com>,\n Maximilian Brune <maximilian.brune@9elements.com>,\n Yunhui Cui <cuiyunhui@bytedance.com>, Guo Dong <guo.dong@intel.com>,\n Tom Rini <trini@konsulko.com>, ron minnich <rminnich@gmail.com>,\n Gua Guo <gua.guo@intel.com>, Chiu Chasel <chasel.chiu@intel.com>,\n linux-acpi@vger.kernel.org, U-Boot Mailing List <u-boot@lists.denx.de>,\n Ard Biesheuvel <ardb@kernel.org>, Simon Glass <sjg@chromium.org>", "Subject": "[PATCH v7 2/2] schemas: Add some common reserved-memory usages", "Date": "Tue, 26 Sep 2023 13:42:39 -0600", "Message-ID": "<20230926194242.2732127-2-sjg@chromium.org>", "X-Mailer": "git-send-email 2.42.0.515.g380fc7ccd1-goog", "In-Reply-To": "<20230926194242.2732127-1-sjg@chromium.org>", "References": "<20230926194242.2732127-1-sjg@chromium.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "It is common to split firmware into 'Platform Init', which does the\ninitial hardware setup and a \"Payload\" which selects the OS to be booted.\nThus an handover interface is required between these two pieces.\n\nWhere UEFI boot-time services are not available, but UEFI firmware is\npresent on either side of this interface, information about memory usage\nand attributes must be presented to the \"Payload\" in some form.\n\nThis aims to provide an small schema addition for the memory mapping\nneeded to keep these two pieces working together well.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v7:\n- Rename acpi-reclaim to acpi\n- Drop individual mention of when memory can be reclaimed\n- Rewrite the item descriptions\n- Add back the UEFI text (with trepidation)\n\nChanges in v6:\n- Drop mention of UEFI\n- Use compatible strings instead of node names\n\nChanges in v5:\n- Drop the memory-map node (should have done that in v4)\n- Tidy up schema a bit\n\nChanges in v4:\n- Make use of the reserved-memory node instead of creating a new one\n\nChanges in v3:\n- Reword commit message again\n- cc a lot more people, from the FFI patch\n- Split out the attributes into the /memory nodes\n\nChanges in v2:\n- Reword commit message\n\n .../reserved-memory/common-reserved.yaml | 71 +++++++++++++++++++\n 1 file changed, 71 insertions(+)\n create mode 100644 dtschema/schemas/reserved-memory/common-reserved.yaml", "diff": "diff --git a/dtschema/schemas/reserved-memory/common-reserved.yaml b/dtschema/schemas/reserved-memory/common-reserved.yaml\nnew file mode 100644\nindex 0000000..f7fbdfd\n--- /dev/null\n+++ b/dtschema/schemas/reserved-memory/common-reserved.yaml\n@@ -0,0 +1,71 @@\n+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/reserved-memory/common-reserved.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Common memory reservations\n+\n+description: |\n+ Specifies that the reserved memory region can be used for the purpose\n+ indicated by its compatible string.\n+\n+ Clients may reuse this reserved memory if they understand what it is for,\n+ subject to the notes below.\n+\n+maintainers:\n+ - Simon Glass <sjg@chromium.org>\n+\n+allOf:\n+ - $ref: reserved-memory.yaml\n+\n+properties:\n+ compatible:\n+ description: |\n+ This describes some common memory reservations, with the compatible\n+ string indicating what it is used for:\n+\n+ acpi: Advanced Configuration and Power Interface (ACPI) tables\n+ acpi-nvs: ACPI Non-Volatile-Sleeping Memory (NVS). This is reserved by\n+ the firmware for its use and is required to be saved and restored\n+ across an NVS sleep\n+ boot-code: Contains code used for booting which is not needed by the OS\n+ boot-code: Contains data used for booting which is not needed by the OS\n+ runtime-code: Contains code used for interacting with the system when\n+ running the OS\n+ runtime-data: Contains data used for interacting with the system when\n+ running the OS\n+\n+ enum:\n+ - acpi\n+ - acpi-nvs\n+ - boot-code\n+ - boot-data\n+ - runtime-code\n+ - runtime-data\n+\n+ reg:\n+ description: region of memory that is reserved for the purpose indicated\n+ by the compatible string.\n+\n+required:\n+ - reg\n+\n+unevaluatedProperties: false\n+\n+examples:\n+ - |\n+ reserved-memory {\n+ #address-cells = <1>;\n+ #size-cells = <1>;\n+\n+ reserved@12340000 {\n+ compatible = \"boot-code\";\n+ reg = <0x12340000 0x00800000>;\n+ };\n+\n+ reserved@43210000 {\n+ compatible = \"boot-data\";\n+ reg = <0x43210000 0x00800000>;\n+ };\n+ };\n", "prefixes": [ "v7", "2/2" ] }