Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1965614/?format=api
{ "id": 1965614, "url": "http://patchwork.ozlabs.org/api/patches/1965614/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20240727071742.1735703-9-patrick.rudolph@9elements.com/", "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": "<20240727071742.1735703-9-patrick.rudolph@9elements.com>", "list_archive_url": null, "date": "2024-07-27T07:17:09", "name": "[08/17] acpi: acpi_table: Bump revisions", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "a15a8d94f63cf0805b1f3778a112fa694f9110f8", "submitter": { "id": 83069, "url": "http://patchwork.ozlabs.org/api/people/83069/?format=api", "name": "Patrick Rudolph", "email": "patrick.rudolph@9elements.com" }, "delegate": { "id": 3184, "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api", "username": "sjg", "first_name": "Simon", "last_name": "Glass", "email": "sjg@chromium.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20240727071742.1735703-9-patrick.rudolph@9elements.com/mbox/", "series": [ { "id": 416851, "url": "http://patchwork.ozlabs.org/api/series/416851/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=416851", "date": "2024-07-27T07:17:01", "name": "Implement ACPI on aarch64", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/416851/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1965614/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1965614/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 (2048-bit key;\n secure) header.d=9elements.com header.i=@9elements.com header.a=rsa-sha256\n header.s=google header.b=RR1/qN/7;\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=quarantine dis=none) header.from=9elements.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=9elements.com header.i=@9elements.com header.b=\"RR1/qN/7\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=9elements.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=patrick.rudolph@9elements.com" ], "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 4WWGJh1rN5z1yY3\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 27 Jul 2024 17:21:40 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 2258688718;\n\tSat, 27 Jul 2024 09:20:22 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 4B35588210; Sat, 27 Jul 2024 09:20:21 +0200 (CEST)", "from mail-lf1-x131.google.com (mail-lf1-x131.google.com\n [IPv6:2a00:1450:4864:20::131])\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 52532886A6\n for <u-boot@lists.denx.de>; Sat, 27 Jul 2024 09:20:19 +0200 (CEST)", "by mail-lf1-x131.google.com with SMTP id\n 2adb3069b0e04-52efbc57456so2222827e87.1\n for <u-boot@lists.denx.de>; Sat, 27 Jul 2024 00:20:19 -0700 (PDT)", "from fedora.sec.9e.network\n (ip-037-049-067-221.um09.pools.vodafone-ip.de. [37.49.67.221])\n by smtp.gmail.com with ESMTPSA id\n a640c23a62f3a-a7acab231f2sm253102866b.7.2024.07.27.00.20.17\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 27 Jul 2024 00:20:18 -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,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=9elements.com; s=google; t=1722064818; x=1722669618; 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=YjZv73GiUnPDjpL34Uqc2pCleiAzOUH+gfGUlHFsQV8=;\n b=RR1/qN/7ESckD8VCstvcP4oyF3OitM95yAAVOjeuTeRH5PYrPWiq0RLNyLrrqbnQcj\n I5UvSV04TYZ3vb2+ebZMh+Vgy0VezDaGLRWYKdM0bd+bt5x91GR3LCmRPENedM1S4wUi\n /6O6SMuwotqFUA8Nqv9jeqU8T2wtzF2zN17jf0F3EvmmsjyN25R8kbdghfJMJw53UWKW\n 4EdCwpBCZ49xXwr8tBN7OrJ/NnRSVstozElm3d3ackAZo4Obdqt7OfgYFi1nzVKrIozi\n //auDa6f6cgxSlggxRjS9RXFhPKte1qqlfiMbMhT3xU9iuMiOKXXXy7tDBXlSQ1AKHT4\n zieA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1722064818; x=1722669618;\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=YjZv73GiUnPDjpL34Uqc2pCleiAzOUH+gfGUlHFsQV8=;\n b=nN7V72z5iwgZVmwA5DCLJ62QvfKgt3CKEDhO8u5E/ugguonN76ndotTV/D2rOM9f36\n Up4ZaPZDyw9DTUZb+GB9zpe/P3jaQS1vDFXmW0PmrfKSrqKI4pDv9Ecg61dACqZbts5K\n 21msh4hUyWNn6lky2AlbveHGpXHJ9ccr/WMxS0fcQkXz1P+qXBova4U7k8EYPMIwkiAi\n T/15hf8S2NxC9rsNLO/IwXsbbNYqtIWWrMEaNYVkozhy/PoHNRF/OLTa3ldgHWHjIKUm\n OcuqxCmDRsI4GF6GkzN5RRdwj4yAzZltM0YTrJdnO4Vvw4/CSKDERf/0NN57EZ12CfOJ\n SFTQ==", "X-Gm-Message-State": "AOJu0YyAiLNrXRutwjlYyhIxSy2Wo09VxUG5io268AUmHtOl86goejTN\n oAeThDe78NuPID50Pp06A0O7WIdXMqJ8j0V7AEToOqqa5mA3kzzs2FOPTSM0KI6JP1h6zM4xACw\n Bzsg=", "X-Google-Smtp-Source": "\n AGHT+IFbe/FgcQtxlDYn3FNMznG0jcTJLikmcfO/WHqfDNeQtbNGObPbIujqEZX/3lxqn2/AGIT6Zg==", "X-Received": "by 2002:ac2:4da8:0:b0:52c:c9ce:be8d with SMTP id\n 2adb3069b0e04-5309b2ce922mr1084191e87.57.1722064818535;\n Sat, 27 Jul 2024 00:20:18 -0700 (PDT)", "From": "Patrick Rudolph <patrick.rudolph@9elements.com>", "To": "u-boot@lists.denx.de,\n\tSimon Glass <sjg@chromium.org>", "Cc": "mbrugger@suse.com, pbrobinson@gmail.com, trini@konsulko.com,\n bmeng.cn@gmail.com, Patrick Rudolph <patrick.rudolph@9elements.com>", "Subject": "[PATCH 08/17] acpi: acpi_table: Bump revisions", "Date": "Sat, 27 Jul 2024 09:17:09 +0200", "Message-ID": "<20240727071742.1735703-9-patrick.rudolph@9elements.com>", "X-Mailer": "git-send-email 2.45.2", "In-Reply-To": "<20240727071742.1735703-1-patrick.rudolph@9elements.com>", "References": "<20240727071742.1735703-1-patrick.rudolph@9elements.com>", "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": "The FADT structure found in U-Boot represents FADT revision 6 and the\nGICC and GICD structures defined in U-Boot are based on ACPI revision\n6.3.\n\nBump the table revision to fix FWTS failures seen on aarch64.\n\nSigned-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>\nCc: Simon Glass <sjg@chromium.org>\nCc: Bin Meng <bmeng.cn@gmail.com>\n---\n arch/x86/cpu/tangier/acpi.c | 2 --\n include/acpi/acpi_table.h | 3 ++-\n lib/acpi/acpi_table.c | 7 ++++---\n 3 files changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/arch/x86/cpu/tangier/acpi.c b/arch/x86/cpu/tangier/acpi.c\nindex 9e5e6c57aa..7b0bcfd956 100644\n--- a/arch/x86/cpu/tangier/acpi.c\n+++ b/arch/x86/cpu/tangier/acpi.c\n@@ -28,8 +28,6 @@ void acpi_fill_fadt(struct acpi_fadt *fadt)\n \t\tACPI_FADT_POWER_BUTTON | ACPI_FADT_SLEEP_BUTTON |\n \t\tACPI_FADT_SEALED_CASE | ACPI_FADT_HEADLESS |\n \t\tACPI_FADT_HW_REDUCED_ACPI;\n-\tfadt->header.revision = 6;\n-\tfadt->minor_revision = 2;\n }\n \n void *acpi_fill_madt(struct acpi_madt *madt, void *current)\ndiff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h\nindex 19771c133a..cbaac2fcb0 100644\n--- a/include/acpi/acpi_table.h\n+++ b/include/acpi/acpi_table.h\n@@ -290,7 +290,8 @@ struct __packed acpi_fadt {\n #define ACPI_MADT_REV_ACPI_3_0\t\t2\n #define ACPI_MADT_REV_ACPI_4_0\t\t3\n #define ACPI_MADT_REV_ACPI_5_0\t\t3\n-#define ACPI_MADT_REV_ACPI_6_0\t\t5\n+#define ACPI_MADT_REV_ACPI_6_2\t\t4\n+#define ACPI_MADT_REV_ACPI_6_3\t\t5\n \n #define ACPI_MCFG_REV_ACPI_3_0\t\t1\n \ndiff --git a/lib/acpi/acpi_table.c b/lib/acpi/acpi_table.c\nindex d94e454018..fd8e6e4986 100644\n--- a/lib/acpi/acpi_table.c\n+++ b/lib/acpi/acpi_table.c\n@@ -63,9 +63,9 @@ int acpi_get_table_revision(enum acpi_tables table)\n {\n \tswitch (table) {\n \tcase ACPITAB_FADT:\n-\t\treturn ACPI_FADT_REV_ACPI_3_0;\n+\t\treturn ACPI_FADT_REV_ACPI_6_0;\n \tcase ACPITAB_MADT:\n-\t\treturn ACPI_MADT_REV_ACPI_3_0;\n+\t\treturn ACPI_MADT_REV_ACPI_6_2;\n \tcase ACPITAB_MCFG:\n \t\treturn ACPI_MCFG_REV_ACPI_3_0;\n \tcase ACPITAB_TCPA:\n@@ -223,6 +223,7 @@ int acpi_write_fadt(struct acpi_ctx *ctx, const struct acpi_writer *entry)\n \tmemcpy(header->oem_table_id, OEM_TABLE_ID, 8);\n \tmemcpy(header->creator_id, ASLC_ID, 4);\n \theader->creator_revision = 1;\n+\tfadt->minor_revision = 2;\n \n \tfadt->x_firmware_ctrl = map_to_sysmem(ctx->facs);\n \tfadt->x_dsdt = map_to_sysmem(ctx->dsdt);\n@@ -258,7 +259,7 @@ int acpi_write_madt(struct acpi_ctx *ctx, const struct acpi_writer *entry)\n \t/* Fill out header fields */\n \tacpi_fill_header(header, \"APIC\");\n \theader->length = sizeof(struct acpi_madt);\n-\theader->revision = ACPI_MADT_REV_ACPI_3_0;\n+\theader->revision = acpi_get_table_revision(ACPITAB_MADT);\n \n \tcurrent = (void *)madt + sizeof(struct acpi_madt);\n \tcurrent = acpi_fill_madt(madt, current);\n", "prefixes": [ "08/17" ] }