All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-trivial] [PATCH] memory: Replace open-coded memory_region_is_romd
Date: Tue, 07 May 2013 16:35:07 +0200	[thread overview]
Message-ID: <5189111B.1090308@redhat.com> (raw)
In-Reply-To: <51890D04.7030102@siemens.com>

Il 07/05/2013 16:17, Jan Kiszka ha scritto:
> On 2013-05-06 18:26, Paolo Bonzini wrote:
>> Il 06/05/2013 18:07, Jan Kiszka ha scritto:
>>> Improves readability.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>> ---
>>>  translate-all.c |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/translate-all.c b/translate-all.c
>>> index da93608..0d84b0d 100644
>>> --- a/translate-all.c
>>> +++ b/translate-all.c
>>> @@ -1359,7 +1359,7 @@ void tb_invalidate_phys_addr(hwaddr addr)
>>>      section = phys_page_find(address_space_memory.dispatch,
>>>                               addr >> TARGET_PAGE_BITS);
>>>      if (!(memory_region_is_ram(section->mr)
>>> -          || (section->mr->rom_device && section->mr->readable))) {
>>> +          || memory_region_is_romd(section->mr))) {
>>>          return;
>>>      }
>>>      ram_addr = (memory_region_get_ram_addr(section->mr) & TARGET_PAGE_MASK)
>>>
>>
>> Not trivial enough for qemu-trivial, let's open a memory branch for 1.6.
> 
> Great, thanks.
> 
>>
>> Any volunteers for co-maintaining it? :)
> 
> Raising my hand, but not without remarking that I have some bandwidth
> issue ATM. But I will try my best.

Ok, the model we've been using for migration is that there is a pool of
people that send pull requests without being official maintainers---the
contract with Anthony is simply that patches are well reviewed.

For now I've repurposed my iommu branch as the WIP 1.6 memory branch;
It can still be rebased, but the changes should be small at this point.
 I will pass the ball after sending the first 1.6 pull request.

Paolo



WARNING: multiple messages have this Message-ID (diff)
From: Paolo Bonzini <pbonzini@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-trivial <qemu-trivial@nongnu.org>,
	qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] memory: Replace open-coded memory_region_is_romd
Date: Tue, 07 May 2013 16:35:07 +0200	[thread overview]
Message-ID: <5189111B.1090308@redhat.com> (raw)
In-Reply-To: <51890D04.7030102@siemens.com>

Il 07/05/2013 16:17, Jan Kiszka ha scritto:
> On 2013-05-06 18:26, Paolo Bonzini wrote:
>> Il 06/05/2013 18:07, Jan Kiszka ha scritto:
>>> Improves readability.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>> ---
>>>  translate-all.c |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/translate-all.c b/translate-all.c
>>> index da93608..0d84b0d 100644
>>> --- a/translate-all.c
>>> +++ b/translate-all.c
>>> @@ -1359,7 +1359,7 @@ void tb_invalidate_phys_addr(hwaddr addr)
>>>      section = phys_page_find(address_space_memory.dispatch,
>>>                               addr >> TARGET_PAGE_BITS);
>>>      if (!(memory_region_is_ram(section->mr)
>>> -          || (section->mr->rom_device && section->mr->readable))) {
>>> +          || memory_region_is_romd(section->mr))) {
>>>          return;
>>>      }
>>>      ram_addr = (memory_region_get_ram_addr(section->mr) & TARGET_PAGE_MASK)
>>>
>>
>> Not trivial enough for qemu-trivial, let's open a memory branch for 1.6.
> 
> Great, thanks.
> 
>>
>> Any volunteers for co-maintaining it? :)
> 
> Raising my hand, but not without remarking that I have some bandwidth
> issue ATM. But I will try my best.

Ok, the model we've been using for migration is that there is a pool of
people that send pull requests without being official maintainers---the
contract with Anthony is simply that patches are well reviewed.

For now I've repurposed my iommu branch as the WIP 1.6 memory branch;
It can still be rebased, but the changes should be small at this point.
 I will pass the ball after sending the first 1.6 pull request.

Paolo

  reply	other threads:[~2013-05-07 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06 16:07 [Qemu-trivial] [PATCH] memory: Replace open-coded memory_region_is_romd Jan Kiszka
2013-05-06 16:07 ` [Qemu-devel] " Jan Kiszka
2013-05-06 16:26 ` [Qemu-trivial] " Paolo Bonzini
2013-05-06 16:26   ` [Qemu-devel] " Paolo Bonzini
2013-05-06 16:42   ` [Qemu-trivial] " Peter Maydell
2013-05-06 16:42     ` Peter Maydell
2013-05-07 14:17   ` [Qemu-trivial] " Jan Kiszka
2013-05-07 14:17     ` [Qemu-devel] " Jan Kiszka
2013-05-07 14:35     ` Paolo Bonzini [this message]
2013-05-07 14:35       ` Paolo Bonzini

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=5189111B.1090308@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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 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.