Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-14 Thread Albert ARIBAUD
Hello Pavel, On Mon, 14 Dec 2015 08:48:16 +0100, Pavel Machek wrote: > Hi! > > > This patch has several effects: > > > > - it selects proper ARMv7 translation table level 1 bit definitions; > > - it provides proper ARMv7 definitions for WT/WB/WA; > > - it selects proper ARMv7 settings for TTBR0

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-14 Thread Marek Vasut
On Monday, December 14, 2015 at 08:48:16 AM, Pavel Machek wrote: > Hi! > > > This patch has several effects: > > > > - it selects proper ARMv7 translation table level 1 bit definitions; > > - it provides proper ARMv7 definitions for WT/WB/WA; > > - it selects proper ARMv7 settings for TTBR0. > >

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-13 Thread Pavel Machek
Hi! > This patch has several effects: > > - it selects proper ARMv7 translation table level 1 bit definitions; > - it provides proper ARMv7 definitions for WT/WB/WA; > - it selects proper ARMv7 settings for TTBR0. > > All these are correct as per the docs I have (although I may have missed > som

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-13 Thread Albert ARIBAUD
Hello Marek, On Thu, 10 Dec 2015 04:53:01 +0100, Marek Vasut wrote: > On Thursday, December 10, 2015 at 03:27:08 AM, Tom Rini wrote: > > On Wed, Dec 09, 2015 at 03:09:13PM +0100, Marek Vasut wrote: > > > On Wednesday, December 09, 2015 at 02:02:03 PM, Stefan Roese wrote: > > > > Hi All! > > > >

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-09 Thread Marek Vasut
On Thursday, December 10, 2015 at 03:27:08 AM, Tom Rini wrote: > On Wed, Dec 09, 2015 at 03:09:13PM +0100, Marek Vasut wrote: > > On Wednesday, December 09, 2015 at 02:02:03 PM, Stefan Roese wrote: > > > Hi All! > > > > > > On 09.12.2015 09:09, Albert ARIBAUD wrote: > > > > On Tue, 8 Dec 2015 14:

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-09 Thread Tom Rini
On Wed, Dec 09, 2015 at 03:09:13PM +0100, Marek Vasut wrote: > On Wednesday, December 09, 2015 at 02:02:03 PM, Stefan Roese wrote: > > Hi All! > > > > On 09.12.2015 09:09, Albert ARIBAUD wrote: > > > On Tue, 8 Dec 2015 14:43:42 +0100, Marek Vasut wrote: > > >> The arch/arm/lib/cache-cp15.c check

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-09 Thread Marek Vasut
On Wednesday, December 09, 2015 at 02:02:03 PM, Stefan Roese wrote: > Hi All! > > On 09.12.2015 09:09, Albert ARIBAUD wrote: > > On Tue, 8 Dec 2015 14:43:42 +0100, Marek Vasut wrote: > >> The arch/arm/lib/cache-cp15.c checks for CONFIG_ARMV7 and if this macro > >> is set, it configures TTBR0 reg

Re: [U-Boot] ARMv7 MMU shareability issue

2015-12-09 Thread Stefan Roese
Hi All! On 09.12.2015 09:09, Albert ARIBAUD wrote: On Tue, 8 Dec 2015 14:43:42 +0100, Marek Vasut wrote: The arch/arm/lib/cache-cp15.c checks for CONFIG_ARMV7 and if this macro is set, it configures TTBR0 register. This register must be configured for the cache on ARMv7 to operate correctly.