All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels
       [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
@ 2013-02-02 13:57 ` Peter Maydell
  2013-02-02 15:02 ` Peter Maydell
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2013-02-02 13:57 UTC (permalink / raw)
  To: qemu-devel

OpenBSD appears to be trying to access cp14 crn=0 crm=1 opc1=0 opc2=0. Implementing this as a no-op allows the image to boot.
I'm trying to track down what this is supposed to be -- it doesn't seem to be listed in the PXA27x docs.

(Previously we were lax about decoding and tended to print warnings and
no-op on accesses to nonexistent coprocessor registers; part of the
cleanup in the patches which introduced this regression was that we now
actually UNDEF in the guest on bad accesses, which is what hardware does
for unimplemented regs. This does mean that some cases of "we need to
implement this" that were previously slipping under the radar now need
to be explicitly catered for.)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1110531

Title:
  regression booting pxa kernels

Status in QEMU:
  New

Bug description:
  Somewhere between qemu 1.1.2 and 1.2.0 OpenBSD zaurus kernels and
  ramdisk images stopped booting properly and instead end up in the
  kernel debugger.  This behaviour is still present in the latest git
  and appears to have been introduced in:

  commit e2f8a44d0d425a22cca5855702f534536f5e8c90
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Wed Jun 20 11:57:07 2012 +0000

      hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

      Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
      new arm_cp_reginfo scheme.

      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  To duplicate this behaviour:

  http://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/bsd.rd
  $ qemu-system-arm -M spitz -serial stdio -kernel bsd.rd -portrait

  should boot to an install prompt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1110531/+subscriptions

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

* [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels
       [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
  2013-02-02 13:57 ` [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels Peter Maydell
@ 2013-02-02 15:02 ` Peter Maydell
  2013-02-02 15:28 ` Peter Maydell
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2013-02-02 15:02 UTC (permalink / raw)
  To: qemu-devel

Ah, found the problem -- it looks like I accidentally transposed the
crm/crn values for all the perf registers in commit dc2a9045c, in the
process of converting from switch statements to the table
representation, and my test Linux image obviously doesn't prod these
registers. I'll send out a patch...

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1110531

Title:
  regression booting pxa kernels

Status in QEMU:
  New

Bug description:
  Somewhere between qemu 1.1.2 and 1.2.0 OpenBSD zaurus kernels and
  ramdisk images stopped booting properly and instead end up in the
  kernel debugger.  This behaviour is still present in the latest git
  and appears to have been introduced in:

  commit e2f8a44d0d425a22cca5855702f534536f5e8c90
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Wed Jun 20 11:57:07 2012 +0000

      hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

      Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
      new arm_cp_reginfo scheme.

      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  To duplicate this behaviour:

  http://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/bsd.rd
  $ qemu-system-arm -M spitz -serial stdio -kernel bsd.rd -portrait

  should boot to an install prompt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1110531/+subscriptions

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

* [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels
       [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
  2013-02-02 13:57 ` [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels Peter Maydell
  2013-02-02 15:02 ` Peter Maydell
@ 2013-02-02 15:28 ` Peter Maydell
  2013-02-02 15:46 ` Brad Smith
  2013-05-20 17:32 ` Aurelien Jarno
  4 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2013-02-02 15:28 UTC (permalink / raw)
  To: qemu-devel

Fixed by this patch http://patchwork.ozlabs.org/patch/217673/ which
hopefully will make it into 1.4.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1110531

Title:
  regression booting pxa kernels

Status in QEMU:
  New

Bug description:
  Somewhere between qemu 1.1.2 and 1.2.0 OpenBSD zaurus kernels and
  ramdisk images stopped booting properly and instead end up in the
  kernel debugger.  This behaviour is still present in the latest git
  and appears to have been introduced in:

  commit e2f8a44d0d425a22cca5855702f534536f5e8c90
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Wed Jun 20 11:57:07 2012 +0000

      hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

      Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
      new arm_cp_reginfo scheme.

      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  To duplicate this behaviour:

  http://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/bsd.rd
  $ qemu-system-arm -M spitz -serial stdio -kernel bsd.rd -portrait

  should boot to an install prompt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1110531/+subscriptions

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

* [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels
       [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
                   ` (2 preceding siblings ...)
  2013-02-02 15:28 ` Peter Maydell
@ 2013-02-02 15:46 ` Brad Smith
  2013-05-20 17:32 ` Aurelien Jarno
  4 siblings, 0 replies; 5+ messages in thread
From: Brad Smith @ 2013-02-02 15:46 UTC (permalink / raw)
  To: qemu-devel

Thank you Peter for the quick response to this bug report.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1110531

Title:
  regression booting pxa kernels

Status in QEMU:
  New

Bug description:
  Somewhere between qemu 1.1.2 and 1.2.0 OpenBSD zaurus kernels and
  ramdisk images stopped booting properly and instead end up in the
  kernel debugger.  This behaviour is still present in the latest git
  and appears to have been introduced in:

  commit e2f8a44d0d425a22cca5855702f534536f5e8c90
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Wed Jun 20 11:57:07 2012 +0000

      hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

      Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
      new arm_cp_reginfo scheme.

      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  To duplicate this behaviour:

  http://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/bsd.rd
  $ qemu-system-arm -M spitz -serial stdio -kernel bsd.rd -portrait

  should boot to an install prompt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1110531/+subscriptions

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

* [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels
       [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
                   ` (3 preceding siblings ...)
  2013-02-02 15:46 ` Brad Smith
@ 2013-05-20 17:32 ` Aurelien Jarno
  4 siblings, 0 replies; 5+ messages in thread
From: Aurelien Jarno @ 2013-05-20 17:32 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1110531

Title:
  regression booting pxa kernels

Status in QEMU:
  Fix Released

Bug description:
  Somewhere between qemu 1.1.2 and 1.2.0 OpenBSD zaurus kernels and
  ramdisk images stopped booting properly and instead end up in the
  kernel debugger.  This behaviour is still present in the latest git
  and appears to have been introduced in:

  commit e2f8a44d0d425a22cca5855702f534536f5e8c90
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   Wed Jun 20 11:57:07 2012 +0000

      hw/pxa2xx.c: Convert CLKCFG and PWRMODE cp14 regs

      Convert the PXA2xx CLKCFG and PWRMODE cp14 registers to the
      new arm_cp_reginfo scheme.

      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  To duplicate this behaviour:

  http://ftp.openbsd.org/pub/OpenBSD/5.2/zaurus/bsd.rd
  $ qemu-system-arm -M spitz -serial stdio -kernel bsd.rd -portrait

  should boot to an install prompt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1110531/+subscriptions

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

end of thread, other threads:[~2013-05-20 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20130130160710.1785.43097.malonedeb@soybean.canonical.com>
2013-02-02 13:57 ` [Qemu-devel] [Bug 1110531] Re: regression booting pxa kernels Peter Maydell
2013-02-02 15:02 ` Peter Maydell
2013-02-02 15:28 ` Peter Maydell
2013-02-02 15:46 ` Brad Smith
2013-05-20 17:32 ` Aurelien Jarno

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.