qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: "Luc Michel" <luc.michel@greensocs.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Thomas Huth" <thuth@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Alistair Francis" <alistair@alistair23.me>,
	"Mark Burton" <mark.burton@greensocs.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Sai Pavan Boddu" <saipava@xilinx.com>,
	"Edgar Iglesias" <edgari@xilinx.com>,
	qemu-arm <qemu-arm@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2 15/15] arm/xlnx-zynqmp: put APUs and RPUs in separate GDB groups
Date: Fri, 5 Oct 2018 15:50:01 +0200	[thread overview]
Message-ID: <e4724ba3-4dbc-7b79-b520-96b69be1a73c@redhat.com> (raw)
In-Reply-To: <20181004215352.GW5738@habkost.net>

On 04/10/2018 23:53, Eduardo Habkost wrote:
> On Thu, Oct 04, 2018 at 09:01:09PM +0100, Peter Maydell wrote:
>> On 4 October 2018 at 20:52, Eduardo Habkost <ehabkost@redhat.com> wrote:
>>> Changing the object hierarchy based on GDB groups doesn't seem
>>> right, but I don't think it would be a big deal if we have the
>>> board code explicitly telling the GDB code how to group the CPUs.
>>>
>>> If you really want to do it implicitly, would it work if you
>>> simply group the CPUs based on object_get_canonical_path()?
>>>
>>> If a more explicit GDB grouping API is acceptable, what about
>>> just adding a INTERFACE_GDB_GROUP interface name to (existing)
>>> container objects that we expect to become GDB groups?
>>>
>>> I'm not sure which way is better. I'm a bit worried that making
>>> things too implicit could easily break (e.g. if somebody changes
>>> the CPU QOM hierarchy in the future for unrelated reasons).
>>
>> I don't want things implicit. I just don't want the explicitness
>> to be "this is all about GDB", because it isn't. I want us
>> to explicitly say "these 4 CPUs are in one cluster" (or
>> whatever term we use), because that affects more than merely GDB.
> 
> We already have a way to say "these 4 CPUs are in one cluster",
> don't we?  That's the QOM hierarchy.
> 
> My question is if "the CPUs are in one cluster" should implicitly
> mean "the CPUs are in one GDB group".
> 

What about having the container implement INTERFACE_CPU_CLUSTER?

Or even cleaner, add a TYPE_CPU_CLUSTER which is just a container for
TYPE_CPU[*]?

  reply	other threads:[~2018-10-05 13:50 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-01 11:56 [Qemu-devel] [PATCH v2 00/15] gdbstub: support for the multiprocess extension Luc Michel
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 01/15] gdbstub: introduce GDB processes Luc Michel
2018-10-01 16:15   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 02/15] gdbstub: add multiprocess support to '?' packets Luc Michel
2018-10-01 15:20   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 03/15] gdbstub: add multiprocess support to 'H' and 'T' packets Luc Michel
2018-10-01 17:07   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 04/15] gdbstub: add multiprocess support to vCont packets Luc Michel
2018-10-01 17:00   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 05/15] gdbstub: add multiprocess support to 'sC' packets Luc Michel
2018-10-04 17:33   ` Alistair Francis
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 06/15] gdbstub: add multiprocess support to (f|s)ThreadInfo and ThreadExtraInfo Luc Michel
2018-10-01 17:15   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 07/15] gdbstub: add multiprocess support to Xfer:features:read: Luc Michel
2018-10-01 16:28   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 08/15] gdbstub: add multiprocess support to gdb_vm_state_change() Luc Michel
2018-10-01 16:30   ` Philippe Mathieu-Daudé
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 09/15] gdbstub: add multiprocess support to 'D' packets Luc Michel
2018-10-01 11:56 ` [Qemu-devel] [PATCH v2 10/15] gdbstub: add support for extended mode packet Luc Michel
2018-10-01 16:39   ` Philippe Mathieu-Daudé
2018-10-02  9:26     ` Luc Michel
2018-10-01 11:57 ` [Qemu-devel] [PATCH v2 11/15] gdbstub: add support for vAttach packets Luc Michel
2018-10-01 16:45   ` Philippe Mathieu-Daudé
2018-10-01 11:57 ` [Qemu-devel] [PATCH v2 12/15] gdbstub: processes initialization on new peer connection Luc Michel
2018-10-04 17:42   ` Alistair Francis
2018-10-01 11:57 ` [Qemu-devel] [PATCH v2 13/15] gdbstub: gdb_set_stop_cpu: ignore request when process is not attached Luc Michel
2018-10-01 11:57 ` [Qemu-devel] [PATCH v2 14/15] gdbstub: add multiprocess extension support Luc Michel
2018-10-01 16:35   ` Philippe Mathieu-Daudé
2018-10-01 11:57 ` [Qemu-devel] [PATCH v2 15/15] arm/xlnx-zynqmp: put APUs and RPUs in separate GDB groups Luc Michel
2018-10-02 11:33   ` Philippe Mathieu-Daudé
2018-10-02 11:58     ` Peter Maydell
2018-10-03 11:44       ` Luc Michel
2018-10-04 16:07         ` Philippe Mathieu-Daudé
2018-10-04 19:52           ` Eduardo Habkost
2018-10-04 20:01             ` Peter Maydell
2018-10-04 21:53               ` Eduardo Habkost
2018-10-05 13:50                 ` Philippe Mathieu-Daudé [this message]
2018-10-05 18:49                   ` Eduardo Habkost
2018-10-17 17:02                     ` Luc Michel

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=e4724ba3-4dbc-7b79-b520-96b69be1a73c@redhat.com \
    --to=philmd@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alistair@alistair23.me \
    --cc=edgari@xilinx.com \
    --cc=ehabkost@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=luc.michel@greensocs.com \
    --cc=mark.burton@greensocs.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=saipava@xilinx.com \
    --cc=thuth@redhat.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;
as well as URLs for NNTP newsgroup(s).