Re: [PATCH v4 10/40] KVM: arm64: Slightly improve debug save/restore functions

2018-02-24 Thread Marc Zyngier
On Sat, 24 Feb 2018 18:32:36 +, Christoffer Dall wrote: > > On Wed, Feb 21, 2018 at 05:52:41PM +, Marc Zyngier wrote: > > On 21/02/18 17:39, Andrew Jones wrote: > > > On Thu, Feb 15, 2018 at 10:03:02PM +0100, Christoffer Dall wrote: > > >> The debug save/restore functions can be improved b

Re: [PATCH v4 10/40] KVM: arm64: Slightly improve debug save/restore functions

2018-02-24 Thread Christoffer Dall
On Wed, Feb 21, 2018 at 05:52:41PM +, Marc Zyngier wrote: > On 21/02/18 17:39, Andrew Jones wrote: > > On Thu, Feb 15, 2018 at 10:03:02PM +0100, Christoffer Dall wrote: > >> The debug save/restore functions can be improved by using the has_vhe() > >> static key instead of the instruction altern

[PATCH v5] arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2018-02-24 Thread Shanker Donthineni
The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in CTR_EL0. The following two control bits DIC and IDC were defined for this purpose. No need to perform point of unification cache maintenance operations from software on s