Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-19 Thread Marc Zyngier
On 24/02/15 06:34, Pranavkumar Sawargaonkar wrote: Hi Rob, On Mon, Feb 23, 2015 at 10:09 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Feb 23, 2015 at 6:07 AM, Christoffer Dall christoffer.d...@linaro.org wrote: On Sat, Feb 21, 2015 at 03:56:17PM -0600, Rob Herring wrote: On Thu,

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-12 Thread Marc Zyngier
[adding RobH to the CC list, as he was commenting on the subject earlier] Hi Pranav, On 12/03/15 03:52, Pranavkumar Sawargaonkar wrote: Hi Marc, On Wed, Mar 11, 2015 at 11:47 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/03/15 17:57, Feng Kan wrote: On Wed, Mar 11, 2015 at 10:31 AM,

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Feng Kan
On Wed, Mar 11, 2015 at 7:53 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 27/01/15 07:03, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Marc Zyngier
On 27/01/15 07:03, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size alignment checking in vgic driver for VCPU Control and VCPU register.

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Feng Kan
On Wed, Mar 11, 2015 at 10:31 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/03/15 17:19, Feng Kan wrote: On Wed, Mar 11, 2015 at 7:53 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 27/01/15 07:03, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Marc Zyngier
On 11/03/15 17:19, Feng Kan wrote: On Wed, Mar 11, 2015 at 7:53 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 27/01/15 07:03, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Marc Zyngier
On 11/03/15 17:57, Feng Kan wrote: On Wed, Mar 11, 2015 at 10:31 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/03/15 17:19, Feng Kan wrote: On Wed, Mar 11, 2015 at 7:53 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 27/01/15 07:03, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-03-11 Thread Pranavkumar Sawargaonkar
Hi Marc, On Wed, Mar 11, 2015 at 11:47 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/03/15 17:57, Feng Kan wrote: On Wed, Mar 11, 2015 at 10:31 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 11/03/15 17:19, Feng Kan wrote: On Wed, Mar 11, 2015 at 7:53 AM, Marc Zyngier

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-26 Thread Pranavkumar Sawargaonkar
Hi Rob, On Tue, Feb 24, 2015 at 8:00 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Feb 24, 2015 at 12:34 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com wrote: Hi Rob, On Mon, Feb 23, 2015 at 10:09 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Feb 23, 2015 at 6:07 AM,

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-24 Thread Rob Herring
On Tue, Feb 24, 2015 at 12:34 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com wrote: Hi Rob, On Mon, Feb 23, 2015 at 10:09 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Feb 23, 2015 at 6:07 AM, Christoffer Dall christoffer.d...@linaro.org wrote: On Sat, Feb 21, 2015 at 03:56:17PM

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-23 Thread Jon Masters
Sorry about top post. Quick comment in reply to Seattle point below - yes, it does indeed support 64K and already has the right DTS. -- Computer Architect | Sent from my #ARM Powered Mobile Device On Feb 23, 2015 4:14 AM, Christoffer Dall christoffer.d...@linaro.org wrote: On Sat, Feb 21,

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-23 Thread Christoffer Dall
On Sat, Feb 21, 2015 at 03:56:17PM -0600, Rob Herring wrote: On Thu, Feb 19, 2015 at 1:03 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Feb 19, 2015 at 12:23:15PM -0600, Rob Herring wrote: On Tue, Jan 27, 2015 at 1:03 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-23 Thread Rob Herring
On Mon, Feb 23, 2015 at 6:07 AM, Christoffer Dall christoffer.d...@linaro.org wrote: On Sat, Feb 21, 2015 at 03:56:17PM -0600, Rob Herring wrote: On Thu, Feb 19, 2015 at 1:03 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Feb 19, 2015 at 12:23:15PM -0600, Rob Herring wrote:

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-23 Thread Pranavkumar Sawargaonkar
Hi Rob, On Mon, Feb 23, 2015 at 10:09 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Feb 23, 2015 at 6:07 AM, Christoffer Dall christoffer.d...@linaro.org wrote: On Sat, Feb 21, 2015 at 03:56:17PM -0600, Rob Herring wrote: On Thu, Feb 19, 2015 at 1:03 PM, Christoffer Dall

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-21 Thread Rob Herring
On Thu, Feb 19, 2015 at 1:03 PM, Christoffer Dall christoffer.d...@linaro.org wrote: On Thu, Feb 19, 2015 at 12:23:15PM -0600, Rob Herring wrote: On Tue, Jan 27, 2015 at 1:03 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com wrote: In APM X-Gene, GIC register space is 64K aligned while the

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-21 Thread Peter Maydell
On 22 February 2015 at 06:56, Rob Herring robherri...@gmail.com wrote: On Thu, Feb 19, 2015 at 1:03 PM, Christoffer Dall christoffer.d...@linaro.org wrote: It matters if you want to ensure that the 64K page you are assigning to a guest for the GIC virtual CPU interface contains only GIC

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-19 Thread Christoffer Dall
On Tue, Jan 27, 2015 at 12:33:26PM +0530, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size alignment checking in vgic driver for VCPU Control

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-19 Thread Rob Herring
On Tue, Jan 27, 2015 at 1:03 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size alignment checking in vgic driver for

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-19 Thread Christoffer Dall
On Thu, Feb 19, 2015 at 12:23:15PM -0600, Rob Herring wrote: On Tue, Jan 27, 2015 at 1:03 AM, Pranavkumar Sawargaonkar psawargaon...@apm.com wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-02-10 Thread Pranavkumar Sawargaonkar
Hi, On Tue, Jan 27, 2015 at 3:02 PM, Jon Masters j...@redhat.com wrote: On 01/27/2015 02:03 AM, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to

Re: [PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-01-27 Thread Jon Masters
On 01/27/2015 02:03 AM, Pranavkumar Sawargaonkar wrote: In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size alignment checking in vgic driver for VCPU Control and VCPU register.

[PATCH] arm64: dts: Fix GIC reg sizes for APM X-Gene

2015-01-26 Thread Pranavkumar Sawargaonkar
In APM X-Gene, GIC register space is 64K aligned while the sizes mentioned in the dt are 4K aligned. This breaks KVM when kernel is built with 64K page size due to size alignment checking in vgic driver for VCPU Control and VCPU register. This patch corrects the sizes to be inline with the