[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFLszThWr0zbnVB4wgNYFCK9Quxqa_MsHOcDOTixnMbn7Ly9tg@mail.gmail.com>
Date: Thu, 19 Sep 2024 16:11:48 +0200
From: Simon Glass <sjg@...omium.org>
To: Patrick Rudolph <patrick.rudolph@...ements.com>
Cc: u-boot@...ts.denx.de, linux-kernel@...r.kernel.org,
Tom Rini <trini@...sulko.com>
Subject: Re: [PATCH v4 18/35] drivers/cpu: Add generic armv8 cpu driver
On Wed, 18 Sept 2024 at 17:22, Patrick Rudolph
<patrick.rudolph@...ements.com> wrote:
>
> Add a generic driver that binds to armv8 CPU nodes. The generic driver allows
> - to enumerate CPUs present in a system, even when no other driver binds it
> - generates ACPI SSDT code for each CPU
> - Fill the ACPI MADT table (implemented in a follow up patch)
>
> The newly introduced code could also be reused on other CPU drivers that are
> compatible with armv8.
>
> TEST: Booted on QEMU sbsa and verify the driver binds to CPU nodes.
> Confirmed with FWTS that all ACPI processor devices are present.
>
> Signed-off-by: Patrick Rudolph <patrick.rudolph@...ements.com>
> Cc: Tom Rini <trini@...sulko.com>
> Cc: Simon Glass <sjg@...omium.org>
> ---
> Changelog v4:
> - Export armv8_cpu_fill_ssdt to use it in other CPU drivers
>
> ---
> drivers/cpu/Kconfig | 6 ++++
> drivers/cpu/Makefile | 2 ++
> drivers/cpu/armv8_cpu.c | 73 +++++++++++++++++++++++++++++++++++++++++
> drivers/cpu/armv8_cpu.h | 21 ++++++++++++
> 4 files changed, 102 insertions(+)
> create mode 100644 drivers/cpu/armv8_cpu.c
> create mode 100644 drivers/cpu/armv8_cpu.h
Reviewed-by: Simon Glass <sjg@...omium.org>
Powered by blists - more mailing lists