lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5328B4C9.6020906@free-electrons.com>
Date:	Tue, 18 Mar 2014 22:04:09 +0100
From:	Gregory CLEMENT <gregory.clement@...e-electrons.com>
To:	Thomas Gleixner <tglx@...utronix.de>
CC:	Jason Cooper <jason@...edaemon.net>,
	LKML <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: [patch 5/5] irqchip: armanda: Sanitize set_irq_affinity()

On 18/03/2014 21:55, Thomas Gleixner wrote:
> On Tue, 18 Mar 2014, Gregory CLEMENT wrote:
>> On 07/03/2014 18:17, Thomas Gleixner wrote:
>>> It might be the readback of the routing register. I don't have the
>>> datasheet of this.
>>
>> Sorry for the delay, I was on vacation without the hardware to test it.
>>
>> Indeed it was the readback of the routing register. (Unfortunately the
>> datasheet was not yet publicly available :(  ). In your patch by replacing
>> the line:
>>
>> writel(mask, main_int_base + ARMADA_370_XP_INT_SOURCE_CTL(hwirq));
>>
>> by the following ones:
>>
>> reg = readl(main_int_base + ARMADA_370_XP_INT_SOURCE_CTL(hwirq));
>> reg = (reg & (~ARMADA_370_XP_INT_SOURCE_CPU_MASK)) | mask;
>> writel(reg, main_int_base + ARMADA_370_XP_INT_SOURCE_CTL(hwirq));
>>
>> with
>> #define ARMADA_370_XP_INT_SOURCE_CPU_MASK	0xF
>>
>> Then it worked.
>>
>> About masking with the online CPU in the original code, the purpose
>> was to allow sharing the SoC with an other OS by doing AMP. This feature
>> is part of the Marvell version of the kernel.
>> The idea was to bring this latter in the vanilla kernel, but I am not sure
>> that all the part needed for AMP are acceptable for mainline. So I can add
>> it back later when we will need it.
> 
> Right.
> 
> So are you ok with that patch (including your change) ? If you send me
> tested/acked-by i'll route it for 3.15

With the change I included you can add my

Acked-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>
Tested-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>


Thanks,

Gregory


> 
> Thanks,
> 
> 	tglx
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ