All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c
@ 2016-09-17 20:31 Jakub Jermar
  2016-09-17 20:37 ` [Qemu-devel] [Bug 1624726] " Jakub Jermar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jakub Jermar @ 2016-09-17 20:31 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

The following command line no longer works (i.e. the guest does not
boot) with QEMU 2.7.0:

    qemu-system-arm -M integratorcp -m 128M -kernel
HelenOS-0.6.0-arm32-integratorcp.boot

The HelenOS image can be downloaded here:

http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot

I did git bisect and came to this revision:

a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit
commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8
Author: xiaoqiang.zhao <zxq_yx_007@163.com>
Date:   Mon Mar 7 15:05:44 2016 +0800

    hw/arm: QOM'ify integratorcp.c
    
    * Drop the use of old SysBus init function and use instance_init
    * Remove the empty 'icp_pic_class_init' from Typeinfo
    
    Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
    Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
    Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

:040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c
b483e8579037fdae7d136b2f4ada3147bdde92f1 M      hw

Upon closer inspection, I discovered that for some reason s->memsz in
integratorcm_init() is zero. In the last good revision, this value was
128. As a temporary workaround, hardcoding it to this expected value
fixes the problem.

** Affects: helenos
     Importance: Undecided
         Status: New

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: arm helenos integratorcp

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

Title:
  Integrator/CP regression after QOM'ification of integratorcp.c

Status in HelenOS branches:
  New
Status in QEMU:
  New

Bug description:
  The following command line no longer works (i.e. the guest does not
  boot) with QEMU 2.7.0:

      qemu-system-arm -M integratorcp -m 128M -kernel
  HelenOS-0.6.0-arm32-integratorcp.boot

  The HelenOS image can be downloaded here:

  http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot

  I did git bisect and came to this revision:

  a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit
  commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8
  Author: xiaoqiang.zhao <zxq_yx_007@163.com>
  Date:   Mon Mar 7 15:05:44 2016 +0800

      hw/arm: QOM'ify integratorcp.c
      
      * Drop the use of old SysBus init function and use instance_init
      * Remove the empty 'icp_pic_class_init' from Typeinfo
      
      Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
      Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  :040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c
  b483e8579037fdae7d136b2f4ada3147bdde92f1 M      hw

  Upon closer inspection, I discovered that for some reason s->memsz in
  integratorcm_init() is zero. In the last good revision, this value was
  128. As a temporary workaround, hardcoding it to this expected value
  fixes the problem.

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

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

* [Qemu-devel] [Bug 1624726] Re: Integrator/CP regression after QOM'ification of integratorcp.c
  2016-09-17 20:31 [Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c Jakub Jermar
@ 2016-09-17 20:37 ` Jakub Jermar
  2016-09-19 18:30 ` Jakub Jermar
  2017-01-11  7:01 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Jakub Jermar @ 2016-09-17 20:37 UTC (permalink / raw)
  To: qemu-devel

** Bug watch added: Email to helenos-devel@lists #
   mailto:helenos-devel@lists.modry.cz

** Also affects: helenos via
   mailto:helenos-devel@lists.modry.cz
   Importance: Undecided
       Status: New

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

Title:
  Integrator/CP regression after QOM'ification of integratorcp.c

Status in HelenOS branches:
  New
Status in QEMU:
  New

Bug description:
  The following command line no longer works (i.e. the guest does not
  boot) with QEMU 2.7.0:

      qemu-system-arm -M integratorcp -m 128M -kernel
  HelenOS-0.6.0-arm32-integratorcp.boot

  The HelenOS image can be downloaded here:

  http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot

  I did git bisect and came to this revision:

  a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit
  commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8
  Author: xiaoqiang.zhao <zxq_yx_007@163.com>
  Date:   Mon Mar 7 15:05:44 2016 +0800

      hw/arm: QOM'ify integratorcp.c
      
      * Drop the use of old SysBus init function and use instance_init
      * Remove the empty 'icp_pic_class_init' from Typeinfo
      
      Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
      Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  :040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c
  b483e8579037fdae7d136b2f4ada3147bdde92f1 M      hw

  Upon closer inspection, I discovered that for some reason s->memsz in
  integratorcm_init() is zero. In the last good revision, this value was
  128. As a temporary workaround, hardcoding it to this expected value
  fixes the problem.

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

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

* [Qemu-devel] [Bug 1624726] Re: Integrator/CP regression after QOM'ification of integratorcp.c
  2016-09-17 20:31 [Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c Jakub Jermar
  2016-09-17 20:37 ` [Qemu-devel] [Bug 1624726] " Jakub Jermar
@ 2016-09-19 18:30 ` Jakub Jermar
  2017-01-11  7:01 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Jakub Jermar @ 2016-09-19 18:30 UTC (permalink / raw)
  To: qemu-devel

Turns out integratorcm_init() depends on the memsz property being
already set, but that unfortunately is not the case as setting of memsz
depends on integratorcm_init() having completed:

    dev = qdev_create(NULL, TYPE_INTEGRATOR_CM);            <= calls integratorcm_init(), needs memsz
    qdev_prop_set_uint32(dev, "memsz", ram_size >> 20);     <= memsz set here, needs dev

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

Title:
  Integrator/CP regression after QOM'ification of integratorcp.c

Status in HelenOS branches:
  New
Status in QEMU:
  New

Bug description:
  The following command line no longer works (i.e. the guest does not
  boot) with QEMU 2.7.0:

      qemu-system-arm -M integratorcp -m 128M -kernel
  HelenOS-0.6.0-arm32-integratorcp.boot

  The HelenOS image can be downloaded here:

  http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot

  I did git bisect and came to this revision:

  a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit
  commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8
  Author: xiaoqiang.zhao <zxq_yx_007@163.com>
  Date:   Mon Mar 7 15:05:44 2016 +0800

      hw/arm: QOM'ify integratorcp.c
      
      * Drop the use of old SysBus init function and use instance_init
      * Remove the empty 'icp_pic_class_init' from Typeinfo
      
      Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
      Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  :040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c
  b483e8579037fdae7d136b2f4ada3147bdde92f1 M      hw

  Upon closer inspection, I discovered that for some reason s->memsz in
  integratorcm_init() is zero. In the last good revision, this value was
  128. As a temporary workaround, hardcoding it to this expected value
  fixes the problem.

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

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

* [Qemu-devel] [Bug 1624726] Re: Integrator/CP regression after QOM'ification of integratorcp.c
  2016-09-17 20:31 [Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c Jakub Jermar
  2016-09-17 20:37 ` [Qemu-devel] [Bug 1624726] " Jakub Jermar
  2016-09-19 18:30 ` Jakub Jermar
@ 2017-01-11  7:01 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2017-01-11  7:01 UTC (permalink / raw)
  To: qemu-devel

Patch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=e9d9ee234f852026d58
... and been released with QEMU version 2.8

** Changed in: qemu
       Status: New => 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/1624726

Title:
  Integrator/CP regression after QOM'ification of integratorcp.c

Status in HelenOS branches:
  New
Status in QEMU:
  Fix Released

Bug description:
  The following command line no longer works (i.e. the guest does not
  boot) with QEMU 2.7.0:

      qemu-system-arm -M integratorcp -m 128M -kernel
  HelenOS-0.6.0-arm32-integratorcp.boot

  The HelenOS image can be downloaded here:

  http://www.helenos.org/releases/HelenOS-0.6.0-arm32-integratorcp.boot

  I did git bisect and came to this revision:

  a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8 is the first bad commit
  commit a1f42e0c9abc1028a8bb8686dbb3749fcd2d18e8
  Author: xiaoqiang.zhao <zxq_yx_007@163.com>
  Date:   Mon Mar 7 15:05:44 2016 +0800

      hw/arm: QOM'ify integratorcp.c
      
      * Drop the use of old SysBus init function and use instance_init
      * Remove the empty 'icp_pic_class_init' from Typeinfo
      
      Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
      Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

  :040000 040000 b73418ea3fb69ed72438776e78786456fe4c414c
  b483e8579037fdae7d136b2f4ada3147bdde92f1 M      hw

  Upon closer inspection, I discovered that for some reason s->memsz in
  integratorcm_init() is zero. In the last good revision, this value was
  128. As a temporary workaround, hardcoding it to this expected value
  fixes the problem.

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

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

end of thread, other threads:[~2017-01-11  7:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-17 20:31 [Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c Jakub Jermar
2016-09-17 20:37 ` [Qemu-devel] [Bug 1624726] " Jakub Jermar
2016-09-19 18:30 ` Jakub Jermar
2017-01-11  7:01 ` Thomas Huth

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.