From: BALATON Zoltan <balaton@eik.bme.hu>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: "Akihiko Odaki" <odaki@rsg.ci.i.u-tokyo.ac.jp>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Peter Xu" <peterx@redhat.com>,
qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
"Nicholas Piggin" <npiggin@gmail.com>,
"Harsh Prateek Bora" <harshpb@linux.ibm.com>
Subject: Re: [PATCH 2/4] hw/pci-host/articia: Map PCI memory windows in realize
Date: Thu, 30 Oct 2025 11:29:38 +0100 (CET) [thread overview]
Message-ID: <d7bbe400-f404-81c7-a2c9-c1109720ae8d@eik.bme.hu> (raw)
In-Reply-To: <2dc5e0d6-2b98-49d6-99ef-8969d58a02ed@ilande.co.uk>
[-- Attachment #1: Type: text/plain, Size: 4350 bytes --]
On Thu, 30 Oct 2025, Mark Cave-Ayland wrote:
> On 29/10/2025 13:25, BALATON Zoltan wrote:
>> On Wed, 29 Oct 2025, BALATON Zoltan wrote:
>>> On Wed, 29 Oct 2025, Akihiko Odaki wrote:
>>>> On 2025/10/29 6:28, BALATON Zoltan wrote:
>>>>> On Wed, 29 Oct 2025, Akihiko Odaki wrote:
>>>>>> On 2025/10/28 21:59, BALATON Zoltan wrote:
>>>>>>> On Tue, 28 Oct 2025, Philippe Mathieu-Daudé wrote:
>>>>>>>> On 27/10/25 20:47, BALATON Zoltan wrote:
>>>>>>>>> On Mon, 27 Oct 2025, Philippe Mathieu-Daudé wrote:
>>>>>>>>>> On 25/10/25 01:31, BALATON Zoltan wrote:
>>>>>>>>>>> These memory windows are a result of the address decoding in the
>>>>>>>>>>> Articia S north bridge so better model it there and not in board
>>>>>>>>>>> code.
>>>>>>>>>>>
>>>>>>>>>>> Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>>>>>>>>>>> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
>>>>>>>>>>> ---
>>>>>>>>>>> hw/pci-host/articia.c | 15 ++++++++++++++-
>>>>>>>>>>> hw/ppc/amigaone.c | 28 +++++-----------------------
>>>>>>>>>>> hw/ppc/pegasos2.c | 13 -------------
>>>>>>>>>>> 3 files changed, 19 insertions(+), 37 deletions(-)
>>>>>>>>>>
>> [...]
>>> It looks like we won't be able to come to an agreement before the freeze
>>> and I don't have time now to change this patch but don't want to miss the
>>> release with this series that finishes pegasos renaming because of this.
>>> So for this patch I'd say since this is already how it is now and it does
>>> not make it worse and this object is not user creatable anyway so cannot
>>> leak please take it as it is and we'll do a clean up later after we finish
>>> discussion.
>>
>> As for all of these files I'm the maintainer let me make an executive
>> decision here to keep this patch without Philippe's reviewed-by for now to
>> be able to move on with this series before the freeze. Fixing the
>> theoretical leak can be done on top and since that's a fix it can be done
>> during soft freeze that would give us more time. So Harsh please go ahead
>> and merge this series too if there are no other concerns. I'll then address
>> this later together with other similar issues elsewhere.
>
> I think the issue here is that several people have now raised concerns as to
> the way you are trying to use MemoryRegions (both here and in the raven
> series): simply put, if reviewers didn't see any problems with this approach,
> your series would already have review tags.
I got that and did not mean to ignore those comments forever.
> If you want to suggest a different approach to managing MemoryRegions, then I
> would suggest you send a proposal to the mailing list so it can be reviewed
> by the QOM and memory people (along with updated code style documentation so
That's what I plan to do but got no time right now.
> we can all use it). But with freeze coming up in a few days this is certainly
> out of scope for 10.2.
That's why I proposed to take this patch for now as it only moves existing
code to another place so it does not introduce a new problem that's not
already there. And the problem is theoretical as it does not cause a leak
in this case and nobody raised concerns so far and it was only noticed by
this patch making it clearer removing duplicated code. So I still think
this patch has merit, it helped to find a bug and would make code simpler
without making it worse so it could be taken for that. But I'm OK with
dropping it too, I'll include it again in the series with the other
proposed changes to fix the problem.
> For now I would suggest the easiest way to get review tags is to stick with
> the existing inline MemoryRegion approach for 10.2 to aid getting your
> patches merged: it's simply not fair to put time pressure on Harsh to merge
> patches in this way.
I'm not putting time pressure on Harsh, the coming freeze does and I don't
have time right now to change patches only later but I don't want to miss
a release again. I've already submitted these pegasos1 emulation series
for the previous release but due to missing maintainer it was missed then.
I think it's now resolved by dropping this patch and taking the rest of
the series which is fine with me. Thanks everybody for the reviews and
help. I'll prepare patches to resolve concerns when I'll have time again.
Regards,
BALATON Zoltan
next prev parent reply other threads:[~2025-10-30 10:30 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-24 23:31 [PATCH 0/4] Some more pegasos patches BALATON Zoltan
2025-10-24 23:31 ` [PATCH 1/4] hw/ppc/pegasos2: Add /chosen/stdin node with VOF BALATON Zoltan
2025-10-30 8:06 ` Harsh Prateek Bora
2025-10-24 23:31 ` [PATCH 2/4] hw/pci-host/articia: Map PCI memory windows in realize BALATON Zoltan
2025-10-27 19:35 ` Philippe Mathieu-Daudé
2025-10-27 19:47 ` BALATON Zoltan
2025-10-28 5:01 ` Philippe Mathieu-Daudé
2025-10-28 12:59 ` BALATON Zoltan
2025-10-28 16:33 ` Akihiko Odaki
2025-10-28 21:28 ` BALATON Zoltan
2025-10-29 4:23 ` Akihiko Odaki
2025-10-29 10:30 ` BALATON Zoltan
2025-10-29 13:25 ` BALATON Zoltan
2025-10-30 0:36 ` Mark Cave-Ayland
2025-10-30 10:29 ` BALATON Zoltan [this message]
2025-10-29 19:20 ` Peter Xu
2025-10-30 10:25 ` Paolo Bonzini
2025-10-30 10:38 ` BALATON Zoltan
2025-10-30 10:49 ` Paolo Bonzini
2025-10-30 11:01 ` BALATON Zoltan
2025-10-30 12:29 ` Paolo Bonzini
2025-10-30 12:45 ` BALATON Zoltan
2025-10-30 10:53 ` BALATON Zoltan
2025-10-28 23:57 ` BALATON Zoltan
2025-10-24 23:31 ` [PATCH 3/4] hw/ppc/pegasos2: Rename to pegasos BALATON Zoltan
2025-10-27 19:36 ` Philippe Mathieu-Daudé
2025-10-24 23:31 ` [PATCH 4/4] hw/ppc/pegasos: Update documentation for pegasos1 BALATON Zoltan
2025-10-27 19:37 ` Philippe Mathieu-Daudé
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=d7bbe400-f404-81c7-a2c9-c1109720ae8d@eik.bme.hu \
--to=balaton@eik.bme.hu \
--cc=harshpb@linux.ibm.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=npiggin@gmail.com \
--cc=odaki@rsg.ci.i.u-tokyo.ac.jp \
--cc=peterx@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/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).