qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1 for-2.3] fulong2e bugfix
@ 2015-04-17  9:46 Leon Alrae
  2015-04-17  9:46 ` [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine Leon Alrae
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Alrae @ 2015-04-17  9:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell

Hi,

The machine was broken for a long time (since v1.1), it would be great
to have it working again in v2.3.

Thanks,
Leon

Cc: Peter Maydell <peter.maydell@linaro.org>

The following changes since commit b8df9208f357d2b36e1b19634aea973618dc7ba8:

  Update version for v2.3.0-rc3 release (2015-04-13 17:35:44 +0100)

are available in the git repository at:

  git://github.com/lalrae/qemu.git tags/mips-20150417

for you to fetch changes up to 04327c41952c75fb4485933b9f51d9f2edea23a9:

  mips: fix broken fulong2e machine (2015-04-17 09:40:00 +0100)

----------------------------------------------------------------
MIPS patches 2015-04-17

Changes:
* fix broken fulong2e

----------------------------------------------------------------
Leon Alrae (1):
      mips: fix broken fulong2e machine

 hw/pci-host/bonito.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine
  2015-04-17  9:46 [Qemu-devel] [PULL 0/1 for-2.3] fulong2e bugfix Leon Alrae
@ 2015-04-17  9:46 ` Leon Alrae
  2015-04-17 10:42   ` Peter Maydell
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Alrae @ 2015-04-17  9:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, qemu-stable

After commit 5312bd8 the bonito_readl() and bonito_writel() have been
accessing incorrect addresses. Consequently QEMU is crashing when trying
to boot Linux kernel on fulong2e machine.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
---
 hw/pci-host/bonito.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c
index 8bdd569..8134d0b 100644
--- a/hw/pci-host/bonito.c
+++ b/hw/pci-host/bonito.c
@@ -233,7 +233,7 @@ static void bonito_writel(void *opaque, hwaddr addr,
     uint32_t saddr;
     int reset = 0;
 
-    saddr = (addr - BONITO_REGBASE) >> 2;
+    saddr = addr >> 2;
 
     DPRINTF("bonito_writel "TARGET_FMT_plx" val %x saddr %x\n", addr, val, saddr);
     switch (saddr) {
@@ -295,7 +295,7 @@ static uint64_t bonito_readl(void *opaque, hwaddr addr,
     PCIBonitoState *s = opaque;
     uint32_t saddr;
 
-    saddr = (addr - BONITO_REGBASE) >> 2;
+    saddr = addr >> 2;
 
     DPRINTF("bonito_readl "TARGET_FMT_plx"\n", addr);
     switch (saddr) {

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine
  2015-04-17  9:46 ` [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine Leon Alrae
@ 2015-04-17 10:42   ` Peter Maydell
  2015-04-17 10:49     ` Leon Alrae
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2015-04-17 10:42 UTC (permalink / raw)
  To: Leon Alrae; +Cc: Paolo Bonzini, QEMU Developers, qemu-stable

On 17 April 2015 at 10:46, Leon Alrae <leon.alrae@imgtec.com> wrote:
> After commit 5312bd8 the bonito_readl() and bonito_writel() have been
> accessing incorrect addresses. Consequently QEMU is crashing when trying
> to boot Linux kernel on fulong2e machine.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>

This is Paolo's patch, right? (it has his signoff). It
should have him as the author as well, but you seem to have
lost that...

thanks
-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine
  2015-04-17 10:42   ` Peter Maydell
@ 2015-04-17 10:49     ` Leon Alrae
  2015-04-17 10:58       ` Peter Maydell
  0 siblings, 1 reply; 6+ messages in thread
From: Leon Alrae @ 2015-04-17 10:49 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Paolo Bonzini, QEMU Developers, qemu-stable

On 17/04/2015 11:42, Peter Maydell wrote:
> On 17 April 2015 at 10:46, Leon Alrae <leon.alrae@imgtec.com> wrote:
>> After commit 5312bd8 the bonito_readl() and bonito_writel() have been
>> accessing incorrect addresses. Consequently QEMU is crashing when trying
>> to boot Linux kernel on fulong2e machine.
>>
>> Cc: qemu-stable@nongnu.org
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
> 
> This is Paolo's patch, right? (it has his signoff). It
> should have him as the author as well, but you seem to have
> lost that...

Well, I asked Paolo if he wanted to send the patch, but he suggested to
send the pull request by myself and just put his Signed-off-by line.

Leon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine
  2015-04-17 10:49     ` Leon Alrae
@ 2015-04-17 10:58       ` Peter Maydell
  2015-04-17 11:07         ` Leon Alrae
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2015-04-17 10:58 UTC (permalink / raw)
  To: Leon Alrae; +Cc: Paolo Bonzini, QEMU Developers, qemu-stable

On 17 April 2015 at 11:49, Leon Alrae <leon.alrae@imgtec.com> wrote:
> On 17/04/2015 11:42, Peter Maydell wrote:
>> On 17 April 2015 at 10:46, Leon Alrae <leon.alrae@imgtec.com> wrote:
>>> After commit 5312bd8 the bonito_readl() and bonito_writel() have been
>>> accessing incorrect addresses. Consequently QEMU is crashing when trying
>>> to boot Linux kernel on fulong2e machine.
>>>
>>> Cc: qemu-stable@nongnu.org
>>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>>> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
>>
>> This is Paolo's patch, right? (it has his signoff). It
>> should have him as the author as well, but you seem to have
>> lost that...
>
> Well, I asked Paolo if he wanted to send the patch, but he suggested to
> send the pull request by myself and just put his Signed-off-by line.

It's fine for you to send the patch, but you need to send it with
a From line in the commit message from him, not you.

-- PMM

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine
  2015-04-17 10:58       ` Peter Maydell
@ 2015-04-17 11:07         ` Leon Alrae
  0 siblings, 0 replies; 6+ messages in thread
From: Leon Alrae @ 2015-04-17 11:07 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Paolo Bonzini, QEMU Developers, qemu-stable

On 17/04/2015 11:58, Peter Maydell wrote:
> On 17 April 2015 at 11:49, Leon Alrae <leon.alrae@imgtec.com> wrote:
>> On 17/04/2015 11:42, Peter Maydell wrote:
>>> On 17 April 2015 at 10:46, Leon Alrae <leon.alrae@imgtec.com> wrote:
>>>> After commit 5312bd8 the bonito_readl() and bonito_writel() have been
>>>> accessing incorrect addresses. Consequently QEMU is crashing when trying
>>>> to boot Linux kernel on fulong2e machine.
>>>>
>>>> Cc: qemu-stable@nongnu.org
>>>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>>>> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
>>>
>>> This is Paolo's patch, right? (it has his signoff). It
>>> should have him as the author as well, but you seem to have
>>> lost that...
>>
>> Well, I asked Paolo if he wanted to send the patch, but he suggested to
>> send the pull request by myself and just put his Signed-off-by line.
> 
> It's fine for you to send the patch, but you need to send it with
> a From line in the commit message from him, not you.

OK, I'll correct it. I'm hoping Paolo is happy with the commit message
as I presume he will be blamed if there are any typos there :)

Leon

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-17 11:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17  9:46 [Qemu-devel] [PULL 0/1 for-2.3] fulong2e bugfix Leon Alrae
2015-04-17  9:46 ` [Qemu-devel] [PULL 1/1] mips: fix broken fulong2e machine Leon Alrae
2015-04-17 10:42   ` Peter Maydell
2015-04-17 10:49     ` Leon Alrae
2015-04-17 10:58       ` Peter Maydell
2015-04-17 11:07         ` Leon Alrae

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).