Subject: [PATCH 3/5] arm: mvebu: Added IPI support via doorbells

From: [email-masked] (Gregory CLEMENT)
Date: Mon, 22 Oct 2012 21:07:34 +0200

On 10/22/2012 07:30 PM, Andrew Lunn wrote:
> On Mon, Oct 22, 2012 at 07:02:45PM +0200, Gregory CLEMENT wrote:
>> From: Yehuda Yitschak <[email-masked]>
>>
>> Signed-off-by: Yehuda Yitschak <[email-masked]>
>> Signed-off-by: Gregory CLEMENT <[email-masked]>
>> ---
>>  arch/arm/boot/dts/armada-xp.dtsi        |    2 +-
>>  arch/arm/mach-mvebu/armada-370-xp.h     |   10 ++++
>>  arch/arm/mach-mvebu/irq-armada-370-xp.c |   92 +++++++++++++++++++++++++++++--
>>  3 files changed, 97 insertions(+), 7 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
>> index f521ed8..531619f 100644
>> --- a/arch/arm/boot/dts/armada-xp.dtsi
>> +++ b/arch/arm/boot/dts/armada-xp.dtsi
>> @@ -24,7 +24,7 @@
>>  
>>  	mpic: interrupt-controller at d0020000 {
>>  	      reg = <0xd0020a00 0x1d0>,
>> -		    <0xd0021870 0x58>;
>> +		    <0xd0021070 0x58>;
>>  	};
> 
> Hi Gregory
> 
> Is this a bug fix needed for 3.7?
> 
>    Andrew
> 
I don't think so.
We extended the reg map to be able to use registers only used for SMP.
When we didn't have SMP support the mapping was correct, and now by
introducing SMP we extend it.

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com