Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
Noted, thanks. On Wed, Apr 2, 2014 at 5:16 PM, Joe Perches wrote: > On Wed, 2014-04-02 at 17:10 -0500, Joe Sylve wrote: >> Should it? The reference manual refers to the architecture as AArch64. >> >> On Wed, Apr 2, 2014 at 4:44 PM, Joe Perches wrote: >> > On

Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
t 05:00:38AM +0100, Joe Sylve wrote: >> > > Section D7.2.83 TCR_EL1, Translation Control Register (EL1) of the >> > > latest ARM Architecture Reference Manual, ARMv8, for ARMv8-A states >> > > that TCR_EL1 TG1 (bits [31:30]) should be set to 11 for a 64KB &

Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
TCR_TG0_64K | TCR_TG1_64K +#else +#define TCR_TG_FLAGS TCR_TG0_4K | TCR_TG1_4K +#endif On Wed, Apr 2, 2014 at 12:07 PM, Catalin Marinas wrote: > On Wed, Apr 02, 2014 at 01:38:44PM +0100, Catalin Marinas wrote: >> On Wed, Apr 02, 2014 at 05:00:38AM +0100, Joe Sylve wrote: >> &g

Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
TCR_TG0_64K | TCR_TG1_64K +#else +#define TCR_TG_FLAGS TCR_TG0_4K | TCR_TG1_4K +#endif On Wed, Apr 2, 2014 at 12:07 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Apr 02, 2014 at 01:38:44PM +0100, Catalin Marinas wrote: On Wed, Apr 02, 2014 at 05:00:38AM +0100, Joe Sylve wrote

Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
:38AM +0100, Joe Sylve wrote: Section D7.2.83 TCR_EL1, Translation Control Register (EL1) of the latest ARM Architecture Reference Manual, ARMv8, for ARMv8-A states that TCR_EL1 TG1 (bits [31:30]) should be set to 11 for a 64KB TTBR1_EL1 granule size. The mainline 3.14 kernel incorrectly

Re: [PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-02 Thread Joe Sylve
Noted, thanks. On Wed, Apr 2, 2014 at 5:16 PM, Joe Perches j...@perches.com wrote: On Wed, 2014-04-02 at 17:10 -0500, Joe Sylve wrote: Should it? The reference manual refers to the architecture as AArch64. On Wed, Apr 2, 2014 at 4:44 PM, Joe Perches j...@perches.com wrote: On Wed, 2014-04

[PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-01 Thread Joe Sylve
granule size). Signed-off-by: Joe Sylve --- --- a/arch/arm64/include/asm/pgtable-hwdef.h 2014-04-01 22:13:22.619868978 -0500 +++ b/arch/arm64/include/asm/pgtable-hwdef.h 2014-04-01 22:13:58.071869886 -0500 @@ -121,7 +121,7 @@ #define TCR_ORGN_MASK ((UL(3) << 10) | (UL(3) << 2

[PATCH 1/1] AArch64: TCR_TG1_64K incorrectly sets TCR_EL1 bits [31:30]

2014-04-01 Thread Joe Sylve
granule size). Signed-off-by: Joe Sylve joe.sy...@gmail.com --- --- a/arch/arm64/include/asm/pgtable-hwdef.h 2014-04-01 22:13:22.619868978 -0500 +++ b/arch/arm64/include/asm/pgtable-hwdef.h 2014-04-01 22:13:58.071869886 -0500 @@ -121,7 +121,7 @@ #define TCR_ORGN_MASK ((UL(3) 10) | (UL(3) 26