From: Drew Fustini <fustini@kernel.org>
To: Sunil V L <sunilvl@oss.qualcomm.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
Palmer Dabbelt <palmer@dabbelt.com>,
Alistair Francis <alistair.francis@wdc.com>,
Weiwei Li <liwei1518@gmail.com>,
Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>,
Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,
Chao Liu <chao.liu@processmission.com>,
"Michael S . Tsirkin" <mst@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Ani Sinha <anisinha@redhat.com>,
Anup Patel <anup.patel@oss.qualcomm.com>,
Prajwal N <prajwal.n@oss.qualcomm.com>,
Shankar C <shankar.c@oss.qualcomm.com>,
Sia Jee Heng <jeeheng.sia@starfivetech.com>
Subject: Re: [PATCH v2 2/4] hw/riscv/virt: Add ACPI PPTT table
Date: Sun, 29 Nov 2026 19:50:34 -0800 [thread overview]
Message-ID: <awzyiiVpRvw92PJt@thelio> (raw)
In-Reply-To: <20261015064957.4076464-3-sunilvl@oss.qualcomm.com>
On Thu, Oct 15, 2026 at 12:19:55PM +0530, Sunil V L wrote:
> Generate the Processor Properties Topology Table (PPTT) for the RISC-V
> virt machine.
>
> Describe the machine using separate L1 data and instruction caches plus
> unified L2 and L3 caches, and enable the corresponding cache and cluster
> SMP properties.
>
> Signed-off-by: Sunil V L <sunilvl@oss.qualcomm.com>
> Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
> ---
> hw/riscv/virt-acpi-build.c | 7 ++++++
> hw/riscv/virt.c | 51 ++++++++++++++++++++++++++++++++++++++
> include/hw/riscv/virt.h | 4 +++
> 3 files changed, 62 insertions(+)
[..]
> diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h
> index e516898f9ad9..1e498a4f5f6e 100644
> --- a/include/hw/riscv/virt.h
> +++ b/include/hw/riscv/virt.h
> @@ -121,10 +121,14 @@ enum {
> #define VIRT_PLIC_SIZE(__num_context) \
> (VIRT_PLIC_CONTEXT_BASE + (__num_context) * VIRT_PLIC_CONTEXT_STRIDE)
>
> +#define CPU_MAX_CACHES 16
> +
> bool virt_is_acpi_enabled(RISCVVirtState *s);
> bool virt_is_iommu_sys_enabled(RISCVVirtState *s);
> void virt_acpi_setup(RISCVVirtState *vms);
>
> +unsigned int virt_get_caches(CPUCoreCaches *caches);
> +
> /*
> * The virt machine physical address space used by some of the devices
> * namely ACLINT, PLIC, APLIC, and IMSIC depend on number of Sockets,
This hunk no longer applies on riscv-to-apply.next. Do you plan to post
a v3? My RQSC series [1] depends on this series.
Thanks,
Drew
[1] https://lore.kernel.org/qemu-devel/20261113-riscv-rqsc-v2-0-34d47fa4141e@kernel.org/
next prev parent reply other threads:[~2026-11-30 3:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 6:49 [PATCH v2 0/4] RISC-V: ACPI: Add PPTT support Sunil V L
2026-10-15 6:49 ` [PATCH v2 1/4] tests/qtest/bios-tables-test: Allow PPTT for RISC-V Sunil V L
2026-10-15 6:49 ` [PATCH v2 2/4] hw/riscv/virt: Add ACPI PPTT table Sunil V L
2026-10-15 16:56 ` Daniel Henrique Barboza
2026-11-30 3:50 ` Drew Fustini [this message]
2026-10-15 6:49 ` [PATCH v2 3/4] tests/qtest/bios-tables-test: Update riscv64 virt PPTT golden reference Sunil V L
2026-10-15 6:49 ` [PATCH v2 4/4] MAINTAINERS: Update Sunil's email id Sunil V L
2026-10-20 22:29 ` [PATCH v2 0/4] RISC-V: ACPI: Add PPTT support Drew Fustini
2026-10-21 0:39 ` Daniel Henrique Barboza
2026-10-21 1:14 ` Jinjie Ruan
2026-10-22 4:53 ` Alistair Francis
2026-10-23 11:58 ` Sunil V L
2026-10-24 21:32 ` Drew Fustini
2026-10-26 23:59 ` Alistair Francis
2026-10-26 23:56 ` Alistair Francis
2026-10-27 8:22 ` Drew Fustini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awzyiiVpRvw92PJt@thelio \
--to=fustini@kernel.org \
--cc=alistair.francis@wdc.com \
--cc=anisinha@redhat.com \
--cc=anup.patel@oss.qualcomm.com \
--cc=chao.liu@processmission.com \
--cc=daniel.barboza@oss.qualcomm.com \
--cc=imammedo@redhat.com \
--cc=jeeheng.sia@starfivetech.com \
--cc=liwei1518@gmail.com \
--cc=mst@redhat.com \
--cc=palmer@dabbelt.com \
--cc=prajwal.n@oss.qualcomm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=shankar.c@oss.qualcomm.com \
--cc=sunilvl@oss.qualcomm.com \
--cc=zhiwei_liu@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.