From mboxrd@z Thu Jan 1 00:00:00 1970 From: jszhang@marvell.com (Jisheng Zhang) Date: Mon, 16 Mar 2015 11:04:48 +0800 Subject: [PATCH 04/10] ARM: zx: add initial L2CC initialization In-Reply-To: <20150316024831.GI20455@dragon> References: <1426333785-3952-1-git-send-email-jun.nie@linaro.org> <1426333785-3952-5-git-send-email-jun.nie@linaro.org> <2075202.63nIomtdeh@wuerfel> <20150316024831.GI20455@dragon> Message-ID: <20150316110448.087e2b5d@xhacker> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Shawn, On Sun, 15 Mar 2015 19:48:33 -0700 Shawn Guo wrote: > On Sat, Mar 14, 2015 at 10:22:39PM +0100, Arnd Bergmann wrote: > > On Saturday 14 March 2015 19:49:39 Jun Nie wrote: > > > Add an initial L2 Cache controller initialization. > > > > > > Signed-off-by: Jun Nie > > > > > > > This should not be needed at all, we expect all platforms > > to describe the l2 cache controller in DT to the degree > > that is required to have it probed automatically. > > > > Is there any special requirement about this platform that > > makes this impossible? > > The L2 device tree bindings do not cover PREFETCH_CTRL and POWER_CTRL > registers. I do not remember, but there might be some reason that these > registers are not defined by DT bindings, e.g. POWER_CTRL is not > available on all pl310 revisions? The key may be PREFETCH_CTRL can only be accessed in Secure World. So the community require firmware/bootloader to do the setting rather than rely on linux kernel. Thanks, Jisheng