Re: [edk2] [PATCH v2 05/10] ArmPkg/ArmLib: retrieve cache line length from CTR not CCSIDR

2015-11-06 Thread Leif Lindholm
On Fri, Nov 06, 2015 at 03:03:53PM +0100, Ard Biesheuvel wrote: > The stride used by the cache maintenance by MVA instructions should > be retrieved from CTR_EL0.DminLine and CTR_EL0.IminLine, whose values > reflect the actual geometry of the caches. Using CCSIDR for this purpose > violates the

Re: [edk2] [PATCH v2 05/10] ArmPkg/ArmLib: retrieve cache line length from CTR not CCSIDR

2015-11-06 Thread Ard Biesheuvel
On 6 November 2015 at 17:02, Leif Lindholm wrote: > On Fri, Nov 06, 2015 at 03:03:53PM +0100, Ard Biesheuvel wrote: >> The stride used by the cache maintenance by MVA instructions should >> be retrieved from CTR_EL0.DminLine and CTR_EL0.IminLine, whose values >> reflect

Re: [edk2] [PATCH v2 05/10] ArmPkg/ArmLib: retrieve cache line length from CTR not CCSIDR

2015-11-06 Thread Ard Biesheuvel
On 6 November 2015 at 17:13, Ard Biesheuvel wrote: > On 6 November 2015 at 17:02, Leif Lindholm wrote: >> On Fri, Nov 06, 2015 at 03:03:53PM +0100, Ard Biesheuvel wrote: >>> The stride used by the cache maintenance by MVA instructions should

Re: [edk2] [PATCH v2 05/10] ArmPkg/ArmLib: retrieve cache line length from CTR not CCSIDR

2015-11-06 Thread Leif Lindholm
On Fri, Nov 06, 2015 at 05:13:44PM +0100, Ard Biesheuvel wrote: > On 6 November 2015 at 17:02, Leif Lindholm wrote: > > On Fri, Nov 06, 2015 at 03:03:53PM +0100, Ard Biesheuvel wrote: > >> The stride used by the cache maintenance by MVA instructions should > >> be

Re: [edk2] [PATCH v2 05/10] ArmPkg/ArmLib: retrieve cache line length from CTR not CCSIDR

2015-11-06 Thread Ard Biesheuvel
On 6 November 2015 at 17:33, Leif Lindholm wrote: > On Fri, Nov 06, 2015 at 05:13:44PM +0100, Ard Biesheuvel wrote: >> On 6 November 2015 at 17:02, Leif Lindholm wrote: >> > On Fri, Nov 06, 2015 at 03:03:53PM +0100, Ard Biesheuvel wrote: >> >>