Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-18 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: > Certain GIC implementation, namely those found on earlier, single > cluster, Exynos SoCs, have registers mapped without per-CPU banking, > which means that the driver needs to use different offset for each CPU. > > Currently the

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-18 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped without per-CPU banking, which means that the driver needs to use different offset for each CPU. Currently the driver

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
On 17.07.2014 17:51, Jason Cooper wrote: > On Thu, Jul 17, 2014 at 05:40:50PM +0200, Tomasz Figa wrote: >> Hi Jason, >> >> On 17.07.2014 17:32, Jason Cooper wrote: >>> On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier,

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:40:50PM +0200, Tomasz Figa wrote: > Hi Jason, > > On 17.07.2014 17:32, Jason Cooper wrote: > > On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: > >> Certain GIC implementation, namely those found on earlier, single > >> cluster, Exynos SoCs, have registers

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
Hi Jason, On 17.07.2014 17:32, Jason Cooper wrote: > On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: >> Certain GIC implementation, namely those found on earlier, single >> cluster, Exynos SoCs, have registers mapped without per-CPU banking, >> which means that the driver needs to

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: > Certain GIC implementation, namely those found on earlier, single > cluster, Exynos SoCs, have registers mapped without per-CPU banking, > which means that the driver needs to use different offset for each CPU. > > Currently the

[PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped without per-CPU banking, which means that the driver needs to use different offset for each CPU. Currently the driver calculates the offset by multiplying value returned by

[PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped without per-CPU banking, which means that the driver needs to use different offset for each CPU. Currently the driver calculates the offset by multiplying value returned by

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped without per-CPU banking, which means that the driver needs to use different offset for each CPU. Currently the driver

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
Hi Jason, On 17.07.2014 17:32, Jason Cooper wrote: On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped without per-CPU banking, which means that the driver needs to use

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Jason Cooper
On Thu, Jul 17, 2014 at 05:40:50PM +0200, Tomasz Figa wrote: Hi Jason, On 17.07.2014 17:32, Jason Cooper wrote: On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier, single cluster, Exynos SoCs, have registers mapped

Re: [PATCH] irqchip: gic: Fix core ID calculation when topology is read from DT

2014-07-17 Thread Tomasz Figa
On 17.07.2014 17:51, Jason Cooper wrote: On Thu, Jul 17, 2014 at 05:40:50PM +0200, Tomasz Figa wrote: Hi Jason, On 17.07.2014 17:32, Jason Cooper wrote: On Thu, Jul 17, 2014 at 05:23:44PM +0200, Tomasz Figa wrote: Certain GIC implementation, namely those found on earlier, single cluster,