Cover Letter Detail
Show a cover letter.
GET /api/covers/1965606/?format=api
{ "id": 1965606, "url": "http://patchwork.ozlabs.org/api/covers/1965606/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/cover/20240727071742.1735703-1-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-1-patrick.rudolph@9elements.com>", "list_archive_url": null, "date": "2024-07-27T07:17:01", "name": "[00/17] Implement ACPI on aarch64", "submitter": { "id": 83069, "url": "http://patchwork.ozlabs.org/api/people/83069/?format=api", "name": "Patrick Rudolph", "email": "patrick.rudolph@9elements.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/cover/20240727071742.1735703-1-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/covers/1965606/comments/", "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=Rz0eOq/D;\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=\"Rz0eOq/D\";\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) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4WWGH867FRz1yY3\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 27 Jul 2024 17:20:20 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 675BD885BF;\n\tSat, 27 Jul 2024 09:20:09 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 2F22B885AE; Sat, 27 Jul 2024 09:20:08 +0200 (CEST)", "from mail-ej1-x634.google.com (mail-ej1-x634.google.com\n [IPv6:2a00:1450:4864:20::634])\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 8677187873\n for <u-boot@lists.denx.de>; Sat, 27 Jul 2024 09:20:05 +0200 (CEST)", "by mail-ej1-x634.google.com with SMTP id\n a640c23a62f3a-a7ab5fc975dso213301366b.1\n for <u-boot@lists.denx.de>; Sat, 27 Jul 2024 00:20:05 -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.03\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 27 Jul 2024 00:20:04 -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=1722064805; x=1722669605; 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=oxTfNvNrC2wpm8iY+Eoky8sx1Gqn0NuOugQl9GSPbkY=;\n b=Rz0eOq/D/h1mbHKzhCgL1oOMnwKvTC8GpOPto9ALG26xSQHnIVbWk5MFx1yZTa7cdw\n sh01A5Td1VnLcaYWFuksyxTorVAn2riCG9AjzJ7C2ilpNyaA3u4GpTSw/9xOAzmNpxQn\n qcKsg/Cwzj/lnskfj/zJg7UqyZuh8ylsJyb1K0b2McgfRyBeW5QwR9w8xbHZzP7otUPt\n kse4isZbD6MK3Gs+1TE6dtxqFhpA8PPWY+mraYXZf2FeQWz89xJk4Ub+IBPAQ8oQIJH7\n CNzlrHrZwY9qusgV09Cze8EdmB7ydKgSHiABzkkfnxZAxFY0zAEvnGzbsFcrUKw5LYcF\n v4HQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1722064805; x=1722669605;\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=oxTfNvNrC2wpm8iY+Eoky8sx1Gqn0NuOugQl9GSPbkY=;\n b=J4xUHTjodsi4QO8CnLWDdnOu2srQdrWNu72dGrUPBuyRHMJSTXioAhgCM6si5Amkki\n uRcHwqwzeEG1+mEyQB/kp59SxkIgo9/fn7BDXF4jfNEUvsJitWmQwWsCLrRvjmL2vGD2\n gaq2XqaPfJ8/GfoG+kygKkoqq6QhdCGK5nIKMGuVt5QTT5bHUns1wsYo26CY/fybcP/r\n BUFfQ6o/PdCZp1V2xH2RmjGt4eGQiq6+clfcWqaXcMSd3V7RIwMWoRr1TCr3rAO4CcUt\n fV4OqvOJnlyXK+JBCHIFHd4wk3Iy3dqYupdo89R42WCnjADgxXTUZZAO516YMy5mgImf\n R53w==", "X-Gm-Message-State": "AOJu0YyOiLJShZ5JXT2qrO3WYAm8xQFPElY8wQw4qH1jHu47gb8c9vbs\n QkbNzLA8Xw3pLDMOn3IAEpVM7Rz+bc97yVIJBC9ahM3PGCjO43wGNnxaMQjDoAVxOiW6fL2edQT\n 5ohA=", "X-Google-Smtp-Source": "\n AGHT+IFztjhRKxzvp29ojqd+fd2F528HJ++Lfkn6xXYOTDC8XcsJ0lxtZQyUaho8raqhtCWtA9X6ZQ==", "X-Received": "by 2002:a17:906:d551:b0:a7a:b070:92c0 with SMTP id\n a640c23a62f3a-a7d4006dcffmr125639866b.23.1722064804749;\n Sat, 27 Jul 2024 00:20:04 -0700 (PDT)", "From": "Patrick Rudolph <patrick.rudolph@9elements.com>", "To": "u-boot@lists.denx.de", "Cc": "mbrugger@suse.com, pbrobinson@gmail.com, trini@konsulko.com,\n sjg@chromium.org, bmeng.cn@gmail.com,\n Patrick Rudolph <patrick.rudolph@9elements.com>", "Subject": "[PATCH 00/17] Implement ACPI on aarch64", "Date": "Sat, 27 Jul 2024 09:17:01 +0200", "Message-ID": "<20240727071742.1735703-1-patrick.rudolph@9elements.com>", "X-Mailer": "git-send-email 2.45.2", "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": "Based on the existing work done by Simon Glass this series adds\nsupport for booting aarch64 devices using ACPI only. As target the\nRaspberry Pi4 was used, which is broadly available and allows easy\ntesting of the proposed solution.\n\nThe series is split into ACPI cleanups and code movements, adding\nArm specific ACPI tables and finally SoC and mainboard related\nchanges to boot a Linux on the RPi4. Currently only the mandatory\nACPI tables are supported, allowing to boot into Linux without errors.\n\nThe changes were tested on real hardware as well on QEMU v9.0:\n\nqemu-system-aarch64 -machine raspi4b -kernel u-boot.bin -cpu cortex-a72 \\\n-smp 4 -m 2G -drive file=raspbian.img,format=raw,index=0 \\\n-dtb bcm2711-rpi-4-b.dtb -nographic\n\nPlease note that the current implementation still requires a DTB to be\nprovided to U-Boot and that the DTB is used within U-Boot to load drivers,\nto disable/enable certain hardware blocks in ACPI. The DTB is not passed\nto the OS when using the bootefi cmd.\n\nTested against FWTS V24.03.00.\n\nKnown issues:\n- The QEMU support is currently limited as it doesn't emulate PCI, USB or\n ethernet devices!\n- The SMP bringup doesn't work on real hardware, but works in QEMU.\n- PCI isn't working on real hardware since the pcie_brcmstb Linux kernel\n module doesn't support ACPI yet.\n\nMaximilian Brune (3):\n acpi: x86: Move SPCR and DBG2 into common code\n acpi: x86: Write FADT in common code\n serial: serial_pl01x: Implement .getinfo() for PL01\n\nPatrick Rudolph (12):\n acpi: x86: Move MADT to common code\n acpi: Fix typo\n acpi: Add define for GTDT\n arm: acpi: Add generic ACPI methods\n acpi: acpi_table: Bump revisions\n acpi: Add ACPITAB for PPTT and GTDT\n arm: mach-bcm283x: Map the ARM local MMIO as well\n arm: bcm283x: Write ACPI tables\n arm: cpu: Add ACPI parking protocol support\n arm: mach-bcm283x: Add ARMV8_MULTIENTRY support\n arm: mach-bcm283x: Enable ARMV8_MULTIENTRY\n configs: Add RPI4 ACPI defconfig\n\nSimon Glass (2):\n arm: mach-bcm283x: Bring in some header files from tianocore\n board: raspberrypi: Add ASL files from tianocore\n\n arch/arm/cpu/armv8/Makefile | 1 +\n arch/arm/cpu/armv8/parking_protocol_v8.S | 102 +++++\n arch/arm/cpu/armv8/start.S | 4 +\n arch/arm/include/asm/acpi_table.h | 70 ++++\n arch/arm/lib/Makefile | 1 +\n arch/arm/lib/acpi_table.c | 131 ++++++\n arch/arm/mach-bcm283x/Kconfig | 4 +\n arch/arm/mach-bcm283x/Makefile | 4 +\n arch/arm/mach-bcm283x/bcm2711_acpi.c | 172 ++++++++\n .../mach-bcm283x/include/mach/acpi/bcm2711.h | 152 +++++++\n .../mach-bcm283x/include/mach/acpi/bcm2836.h | 127 ++++++\n .../include/mach/acpi/bcm2836_gpio.h | 19 +\n .../include/mach/acpi/bcm2836_gpu.h | 47 +++\n .../include/mach/acpi/bcm2836_pwm.h | 33 ++\n .../include/mach/acpi/bcm2836_sdhost.h | 18 +\n .../include/mach/acpi/bcm2836_sdio.h | 21 +\n arch/arm/mach-bcm283x/init.c | 79 +++-\n arch/sandbox/lib/Makefile | 9 +-\n arch/sandbox/lib/acpi_table.c | 7 +\n arch/x86/cpu/apollolake/acpi.c | 20 +-\n arch/x86/cpu/baytrail/acpi.c | 17 +-\n arch/x86/cpu/intel_common/acpi.c | 20 +-\n arch/x86/cpu/quark/acpi.c | 19 +-\n arch/x86/cpu/tangier/acpi.c | 31 +-\n arch/x86/include/asm/acpi_table.h | 26 +-\n arch/x86/lib/acpi_table.c | 243 +-----------\n board/raspberrypi/rpi/.gitignore | 3 +\n board/raspberrypi/rpi/Makefile | 2 +\n board/raspberrypi/rpi/acpitables.h | 91 +++++\n board/raspberrypi/rpi/dsdt.asl | 290 ++++++++++++++\n board/raspberrypi/rpi/emmc.asl | 136 +++++++\n board/raspberrypi/rpi/gpudevs.asl | 372 ++++++++++++++++++\n board/raspberrypi/rpi/pci.asl | 177 +++++++++\n board/raspberrypi/rpi/pep.asl | 90 +++++\n board/raspberrypi/rpi/rhpx.asl | 195 +++++++++\n board/raspberrypi/rpi/rpi.c | 182 +++++++++\n board/raspberrypi/rpi/sdhc.asl | 111 ++++++\n board/raspberrypi/rpi/uart.asl | 208 ++++++++++\n boot/bootflow.c | 8 +-\n configs/rpi_4_acpi_defconfig | 79 ++++\n drivers/pci/pcie_brcmstb.c | 101 +----\n drivers/serial/serial_pl01x.c | 24 ++\n include/acpi/acpi_table.h | 107 +++--\n include/serial.h | 1 +\n lib/Kconfig | 15 +\n lib/acpi/acpi_table.c | 317 ++++++++++++++-\n 46 files changed, 3414 insertions(+), 472 deletions(-)\n create mode 100644 arch/arm/cpu/armv8/parking_protocol_v8.S\n create mode 100644 arch/arm/lib/acpi_table.c\n create mode 100644 arch/arm/mach-bcm283x/bcm2711_acpi.c\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2711.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_gpio.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_gpu.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_pwm.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_sdhost.h\n create mode 100644 arch/arm/mach-bcm283x/include/mach/acpi/bcm2836_sdio.h\n create mode 100644 arch/sandbox/lib/acpi_table.c\n create mode 100644 board/raspberrypi/rpi/.gitignore\n create mode 100644 board/raspberrypi/rpi/acpitables.h\n create mode 100644 board/raspberrypi/rpi/dsdt.asl\n create mode 100644 board/raspberrypi/rpi/emmc.asl\n create mode 100644 board/raspberrypi/rpi/gpudevs.asl\n create mode 100644 board/raspberrypi/rpi/pci.asl\n create mode 100644 board/raspberrypi/rpi/pep.asl\n create mode 100644 board/raspberrypi/rpi/rhpx.asl\n create mode 100644 board/raspberrypi/rpi/sdhc.asl\n create mode 100644 board/raspberrypi/rpi/uart.asl\n create mode 100644 configs/rpi_4_acpi_defconfig" }