All of lore.kernel.org
 help / color / mirror / Atom feed
From: Drew Fustini <fustini@kernel.org>
To: Alistair Francis <Alistair.Francis@wdc.com>
Cc: "sunilvl@oss.qualcomm.com" <sunilvl@oss.qualcomm.com>,
	"anup.patel@oss.qualcomm.com" <anup.patel@oss.qualcomm.com>,
	"chao.liu@processmission.com" <chao.liu@processmission.com>,
	"shankar.c@oss.qualcomm.com" <shankar.c@oss.qualcomm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"daniel.barboza@oss.qualcomm.com"
	<daniel.barboza@oss.qualcomm.com>,
	"anisinha@redhat.com" <anisinha@redhat.com>,
	"qemu-riscv@nongnu.org" <qemu-riscv@nongnu.org>,
	"prajwal.n@oss.qualcomm.com" <prajwal.n@oss.qualcomm.com>,
	"imammedo@redhat.com" <imammedo@redhat.com>,
	"palmer@dabbelt.com" <palmer@dabbelt.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"liwei1518@gmail.com" <liwei1518@gmail.com>,
	"zhiwei_liu@linux.alibaba.com" <zhiwei_liu@linux.alibaba.com>
Subject: Re: [PATCH v2 0/4] RISC-V: ACPI: Add PPTT support
Date: Tue, 27 Oct 2026 01:22:27 -0700	[thread overview]
Message-ID: <auBfQwrhu8UJBaJi@thelio> (raw)
In-Reply-To: <95082036aaf5b0ed1bee69fc21fcbb18fd74d61f.camel@wdc.com>

On Mon, Oct 26, 2026 at 11:56:38PM +0000, Alistair Francis wrote:
> On Fri, 2026-10-23 at 17:28 +0530, Sunil V L wrote:
> > On Thu, Oct 22, 2026 at 10:23 AM Alistair Francis
> > <Alistair.Francis@wdc.com> wrote:
[..]
> > > Why not add a vendor cpu/soc specific one to a vendor board? That
> > > way
> > > it actually model hardware instead of just providing the guest some
> > > made up information.
> > > 
> > Thanks for the feedback!
> > 
> > Just to make sure I understand your suggestion correctly: should we
> > avoid
> > defining a hardcoded cache topology for the generic CPU on virt, and
> > generate
> > PPTT cache information only for CPU models that provide an
> > appropriate cache
> > hierarchy?
> 
> It was a question
> 
> Something to keep in mind is that I (and others on the list) don't know
> all of the context that you know about this extension. So the cover
> letter and commit messages should describe **why** we want this.
> 
> Remember, I'm (and other on the list) are not part of RVI. We don't
> have the insight that you have. I also don't know what Drew is working
> on (I see some patches today, but before then I didn't know).
> 
> So, when sending patches please try to explain why we want them.
> 
> The question was, what use/value is there in faking some cache layout
> that doesn't exist? There might be a good reason, but that should be
> justified and explained.
> 
> > 
> > I can certainly omit the cache information for the generic CPU. The
> > consequence
> > is that Drew's CBQRI series, which requires cache information, would
> > need a
> > suitable CPU model before it can be used with virt. Drew, please
> > share
> > your thoughts.
> 
> Drew works at a company making it's own CPU, I would argue he can just
> use that :)

I could add caches for the Ascalon core complex in Atlantis but the
topology is pretty simple with just private L1 and shared L2. The
tt-atlantis machine is also device tree only, so it would not produce a
PPTT or RQSC table. A generic cpu with L1, L2 and L3 caches like Sunil
defined is ideal for testing my Qemu RQSC series [1], since RQSC needs
to reference cache IDs from PPTT. My plan is to rebase my RQSC series
once PPTT support lands and send the new revision as a non-RFC series
since RQSC has been ratified.

Qemu is important for testing the RISC-V QoS support in Linux [2],
because I'm not aware of any hardware yet that supports all 4 features
of CBQRI: capacity allocation, capacity monitoring, bandwidth
allocation, and bandwidth monitoring. Ascalon only supports capacity
allocation, and I have not seen public details from other vendors about
which CBQRI features have been implemented.

Thanks,
Drew

[1] https://lore.kernel.org/all/20260202-riscv-rqsc-v1-0-dcf448a3ed73@kernel.org/
[2] https://lore.kernel.org/all/20260601-ssqosid-cbqri-rqsc-v7-0-v6-0-baf00f50028a@kernel.org/


      reply	other threads:[~2026-10-27  8:23 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
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 [this message]

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=auBfQwrhu8UJBaJi@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=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.