From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc_gonzalez@sigmadesigns.com (Marc Gonzalez) Date: Tue, 20 Oct 2015 12:54:14 +0200 Subject: [PATCH v3] arm-soc: Add support for Sigma Designs Tango4 In-Reply-To: <20151020100427.GV32532@n2100.arm.linux.org.uk> References: <560EFDB3.9010305@free.fr> <11113740.WL812ZaRcZ@wuerfel> <5612A473.8030405@sigmadesigns.com> <5613EF4C.30603@sigmadesigns.com> <561D2952.4060908@sigmadesigns.com> <5624CF62.6020001@sigmadesigns.com> <56260E56.10403@sigmadesigns.com> <20151020100427.GV32532@n2100.arm.linux.org.uk> Message-ID: <56261D56.8010204@sigmadesigns.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 20/10/2015 12:04, Russell King - ARM Linux wrote: > On Tue, Oct 20, 2015 at 11:50:14AM +0200, Marc Gonzalez wrote: >> My problem then, is that my current firmware does not set L310_AUX_CTRL_NS_LOCKDOWN >> and does not allow updating that bit. > > And if the bit isn't set, then l2c_unlock won't be called due to: > > static void l2c310_unlock(void __iomem *base, unsigned num_lock) > { > if (readl_relaxed(base + L2X0_AUX_CTRL) & L310_AUX_CTRL_NS_LOCKDOWN) > l2c_unlock(base, num_lock); > } Thanks Russell, that's one less problem on my plate. BTW, did you see my question about the CP15 FLOZ bit + prefetch bits? Regards.