Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-08 Thread Igor Mammedov
On Fri, 29 Mar 2019 16:48:40 +0800 Like Xu wrote: > Signed-off-by: Like Xu > --- > hw/arm/fsl-imx6.c | 5 + > hw/arm/fsl-imx6ul.c| 5 + > hw/arm/fsl-imx7.c | 5 + > hw/arm/highbank.c | 1 + > hw/arm/mcimx6ul-evk.c | 1 + > hw/arm/mcimx7d-sabre.c | 3 +++ >

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-01 Thread Peter Maydell
On Tue, 2 Apr 2019 at 12:20, Like Xu wrote: > > On 2019/4/2 12:45, Peter Maydell wrote: > > My suggestion would be that we use qdev_get_machine(). I think > > it would be nice to make the remaining dozen or so uses of > > the global current_machine outside vl.c use qdev_get_machine() > > instead,

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-01 Thread Like Xu
On 2019/4/2 12:45, Peter Maydell wrote: On Tue, 2 Apr 2019 at 09:46, Like Xu wrote: On 2019/4/2 7:38, Eduardo Habkost wrote: On Mon, Apr 01, 2019 at 10:56:30AM +0800, Like Xu wrote: On 2019/3/29 17:27, Alex Bennée wrote: [...] @@ -1713,6 +1717,9 @@ static void cortex_a9_initfn(Object

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-01 Thread Peter Maydell
On Tue, 2 Apr 2019 at 09:46, Like Xu wrote: > > On 2019/4/2 7:38, Eduardo Habkost wrote: > > On Mon, Apr 01, 2019 at 10:56:30AM +0800, Like Xu wrote: > >> On 2019/3/29 17:27, Alex Bennée wrote: > > [...] > @@ -1713,6 +1717,9 @@ static void cortex_a9_initfn(Object *obj) > #ifndef

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-01 Thread Like Xu
On 2019/4/2 7:38, Eduardo Habkost wrote: On Mon, Apr 01, 2019 at 10:56:30AM +0800, Like Xu wrote: On 2019/3/29 17:27, Alex Bennée wrote: [...] @@ -1713,6 +1717,9 @@ static void cortex_a9_initfn(Object *obj) #ifndef CONFIG_USER_ONLY static uint64_t a15_l2ctlr_read(CPUARMState *env, const

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-04-01 Thread Eduardo Habkost
On Mon, Apr 01, 2019 at 10:56:30AM +0800, Like Xu wrote: > On 2019/3/29 17:27, Alex Bennée wrote: [...] > > > @@ -1713,6 +1717,9 @@ static void cortex_a9_initfn(Object *obj) > > > #ifndef CONFIG_USER_ONLY > > > static uint64_t a15_l2ctlr_read(CPUARMState *env, const ARMCPRegInfo > > > *ri) >

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-03-31 Thread Like Xu
On 2019/3/29 17:27, Alex Bennée wrote: Like Xu writes: Signed-off-by: Like Xu --- hw/arm/fsl-imx6.c | 5 + hw/arm/fsl-imx6ul.c| 5 + hw/arm/fsl-imx7.c | 5 + hw/arm/highbank.c | 1 + hw/arm/mcimx6ul-evk.c | 1 + hw/arm/mcimx7d-sabre.c | 3 +++

Re: [Qemu-devel] [PATCH 4/9] cpu/topology: add ARM support for smp machine properties

2019-03-29 Thread Alex Bennée
Like Xu writes: > Signed-off-by: Like Xu > --- > hw/arm/fsl-imx6.c | 5 + > hw/arm/fsl-imx6ul.c| 5 + > hw/arm/fsl-imx7.c | 5 + > hw/arm/highbank.c | 1 + > hw/arm/mcimx6ul-evk.c | 1 + > hw/arm/mcimx7d-sabre.c | 3 +++ > hw/arm/raspi.c | 2 ++ >