Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
To: Ezra Sitorus <ezra.sitorus@arm.com>
Cc: <gdb-patches@sourceware.org>,  <luis.machado.foss@gmail.com>,
	<guinevere@redhat.com>
Subject: Re: [PATCH v2 1/4] gdb/aarch64: record/replay support for LRCPC3
Date: Fri, 15 May 2026 20:03:23 -0300	[thread overview]
Message-ID: <87h5o8b7ic.fsf@linaro.org> (raw)
In-Reply-To: <agcHasDHas4tfXNd@D2G2X7XGD1> (Ezra Sitorus's message of "Fri, 15 May 2026 12:45:46 +0100")

Ezra Sitorus <ezra.sitorus@arm.com> writes:

> On Fri, May 15, 2026 at 12:50:30AM -0300, Thiago Jung Bauermann wrote:
>
>> By the way, is there something specific I need to do to get an FVP
>> supporting LRCPC3? I set up FVP with:
>> 
>> $ shrinkwrap build --overlay=arch/v9.6.yaml ns-edk2.yaml
>> 
> You need to enable the feature in an overlay file. So I have something like this:
>
> run:
>   rtvars:
>     ROOTFS:
>       value: /path/to/rootfs
>     CMDLINE:
>       value: loglevel=3 ip=dhcp kpti=off root=/dev/vda2 console=ttyAMA0
>     KERNEL:
>       value: path/to/Image
>   params:
>     -C bp.hostbridge.userNetworking: 1
>     -C bp.hostbridge.userNetPorts: 8022=22,8123=8123
>     -C bp.smsc_91c111.enabled: 1
>     -C bp.virtio_net.enabled: 0
>     -C cluster0.NUM_CORES: 1
>     -C cluster0.has_lrcpc3: 1
>     -C cluster0.has_rprfm: 1
>     -C pctl.CPU-affinities: 0.0.0.0
>
> which enables LRCPC3, RPRFM and some networking. Then I run like so:
> $ shrinkwrap run ns-edk2.yaml --overlay file.yaml.

Thanks! That worked but I had to make some adjustments:

1. Remove the pctl.CPU-affinities parameter. It was causing FVP to get
   really slow after the edk2 UEFI firmware loads.
2. Add the same cluster0 settings to cluster1, otherwise lrcpc3 and
   rprfm didn't actually get enabled. I think the CPU-affinities
   parameter was meant to disable cluster1, but for some reason it
   didn't work here.

> Also, you can do:
> $ shrinkwrap build --overlay=arch/v8.9.yaml ns-edk2.yaml 
>
> which should enable fewer features so it'll run slightly quicker.

Thanks, that's useful. Slightly quicker already helps.

> On another note, it seems like patch 2 and 3 are OK? Can these be pushed while
> I resend this one and wait for Guinevere for patch 4? 

Yes for patch 3, but regarding patches 1, 2 and 4 I'd like to see if
she's happy with how you addressed her suggestions.

-- 
Thiago

  reply	other threads:[~2026-05-15 23:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12 23:17 [PATCH v2 0/4] gdb/aarch64: record/replay support for AArch64 Ezra.Sitorus
2026-05-12 23:17 ` [PATCH v2 1/4] gdb/aarch64: record/replay support for LRCPC3 Ezra.Sitorus
2026-05-15  3:50   ` Thiago Jung Bauermann
2026-05-15 11:45     ` Ezra Sitorus
2026-05-15 23:03       ` Thiago Jung Bauermann [this message]
2026-05-26 14:30   ` Guinevere Larsen
2026-05-26 23:36     ` Ezra Sitorus
2026-05-27  0:05       ` Thiago Jung Bauermann
2026-05-12 23:17 ` [PATCH v2 2/4] gdb/aarch64: Test record/replay support for CSSC Ezra.Sitorus
2026-05-15  3:50   ` Thiago Jung Bauermann
2026-05-26 19:40     ` Guinevere Larsen
2026-05-26 16:40   ` Guinevere Larsen
2026-05-12 23:17 ` [PATCH v2 3/4] gdb/aarch64: record/replay support for RPRFM, PRFM (reg), PRFUM Ezra.Sitorus
2026-05-15  3:56   ` Thiago Jung Bauermann
2026-05-12 23:17 ` [PATCH v2 4/4] gdb/aarch64: record/replay support for LSE128 Ezra.Sitorus
2026-05-15  3:58   ` Thiago Jung Bauermann
2026-05-26 19:40   ` Guinevere Larsen
2026-05-15  3:59 ` [PATCH v2 0/4] gdb/aarch64: record/replay support for AArch64 Thiago Jung Bauermann

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=87h5o8b7ic.fsf@linaro.org \
    --to=thiago.bauermann@linaro.org \
    --cc=ezra.sitorus@arm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=guinevere@redhat.com \
    --cc=luis.machado.foss@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox