Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1839923/?format=api
{ "id": 1839923, "url": "http://patchwork.ozlabs.org/api/patches/1839923/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20230926194242.2732127-1-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-1-sjg@chromium.org>", "list_archive_url": null, "date": "2023-09-26T19:42:38", "name": "[v7,1/2] schemas: memory: Add ECC properties", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "7b458cf24c5ac61fbb00943c3426dd4653527394", "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-1-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/1839923/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1839923/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=IU955moj;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=\"IU955moj\";\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 [85.214.62.61])\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 4Rw9Bk2bjZz1ypD\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 27 Sep 2023 05:42:54 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id D23AA86C71;\n\tTue, 26 Sep 2023 21:42:51 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id C1F2086C71; Tue, 26 Sep 2023 21:42:50 +0200 (CEST)", "from mail-il1-x12d.google.com (mail-il1-x12d.google.com\n [IPv6:2607:f8b0:4864:20::12d])\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 9BC5A86BE2\n for <u-boot@lists.denx.de>; Tue, 26 Sep 2023 21:42:48 +0200 (CEST)", "by mail-il1-x12d.google.com with SMTP id\n e9e14a558f8ab-34deefc2016so28183285ab.2\n for <u-boot@lists.denx.de>; Tue, 26 Sep 2023 12:42:48 -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.46\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 26 Sep 2023 12:42:47 -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=1695757367; x=1696362167; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=ylRB+o0Qkrun1yi4fSnYM174Q1wG3Ph+hurLuy8H7Hg=;\n b=IU955mojU+7y9DDIcv/iQJ9EKOnbJNcVIl7detI6o5KYxJ53sFALqKdDDI0eC+0KvU\n sO7xJibbCpYRoeIi41Un/dAnl+6LsT1U6MYEXyXnAhq9oFDHQtwLfoqTYC1y9FM0kL63\n cbkovJ8z1Sj/ROYwQ+bIq14Duzm+N2HAvWZ3g=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1695757367; x=1696362167;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=ylRB+o0Qkrun1yi4fSnYM174Q1wG3Ph+hurLuy8H7Hg=;\n b=C2T456YTGTlOBgqsri3Agon0lSs4lYTpdblYdzVSCDN+q5afHggN36VYYYVjIA1iQh\n 9XhWf8uydGl4VGgmJDzDCbXiZVeGlKQn6jojpZksH9dlv+O3q5cG/Nlolk3vrOPWBR0v\n IhrhyecOr9GecSxHURclCt92ROPekSCrf+EhhaKJWeR32WpDmCgRjOKXqTAinIct3Q+N\n G69ki6PqA1iqwaikGZB++RUJ6DeArJMp3N9g8W66JdPwsMbeLYpXOsqzd2qcr5ZZR8p7\n 1p6s/bJyMemTXD6yST7Uv5aV5DdJ00DvoMb59l62aBOGuGtN0YtLpWcPL8supTcAr8Ti\n /gFg==", "X-Gm-Message-State": "AOJu0YyCNUEFDTxUKFToDRscu+2QGllpcRQDJCIC5eVX/iqaFHxUztdS\n 1L/DPzXf8IxQf/6siCvJJeIT4g==", "X-Google-Smtp-Source": "\n AGHT+IFzCUeJ4+/f6cMQn/wpsFZyt5uO+MfysuCHFTtVfIOOSW4N6mcQ3ugSwBAMbKLYPMLI3Tso2g==", "X-Received": "by 2002:a05:6e02:1d0c:b0:351:50f1:1f98 with SMTP id\n i12-20020a056e021d0c00b0035150f11f98mr3806231ila.32.1695757367326;\n Tue, 26 Sep 2023 12:42:47 -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 1/2] schemas: memory: Add ECC properties", "Date": "Tue, 26 Sep 2023 13:42:38 -0600", "Message-ID": "<20230926194242.2732127-1-sjg@chromium.org>", "X-Mailer": "git-send-email 2.42.0.515.g380fc7ccd1-goog", "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": "Some memories provide ECC detection and/or correction. For software which\nwants to check memory, it is helpful to see which regions provide this\nfeature.\n\nAdd this as a property of the /memory nodes, since it presumably follows\nthe hardware-level memory system.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v7:\n- Drop unnecessary |\n- Add a blank line between properties\n\nChanges in v6:\n- Use a number of bits instead of a string property\n- Fix inidcates typo\n\nChanges in v5:\n- Redo to make this property specific to ECC\n- Provide properties both for detection and correction\n\nChanges in v3:\n- Add new patch to update the /memory nodes\n\n dtschema/schemas/memory.yaml | 13 +++++++++++++\n 1 file changed, 13 insertions(+)", "diff": "diff --git a/dtschema/schemas/memory.yaml b/dtschema/schemas/memory.yaml\nindex 1d74410..b3bf3c9 100644\n--- a/dtschema/schemas/memory.yaml\n+++ b/dtschema/schemas/memory.yaml\n@@ -35,6 +35,19 @@ patternProperties:\n For the purpose of identification, each NUMA node is associated with\n a unique token known as a node id.\n \n+ ecc-detection-bits:\n+ default: 0\n+ description: |\n+ If present, this indicates the number of bits of memory error which\n+ can be detected and reported by the Error-Correction Code (ECC) memory\n+ subsystem (typically 0, 1 or 2).\n+\n+ ecc-correction-bits:\n+ default: 0\n+ description: |\n+ If present, this indicates the number of bits of memory error which\n+ can be corrected by the Error-Correction Code (ECC) memory subsystem\n+ (typically 0, 1 or 2).\n \n required:\n - device_type\n", "prefixes": [ "v7", "1/2" ] }