Re: [PATCH v2 2/3] arm64: kvm: reuse existing cache type/info related macros

2017-02-23 Thread Christoffer Dall
On Mon, Jan 30, 2017 at 04:25:26PM +, Sudeep Holla wrote: > We already have various macros related to cache type and bitfields in > CLIDR system register. We can replace some of the hardcoded values > here using those existing macros. > > This patch reuses those existing cache type/info

Re: [PATCH v2 2/3] arm64: kvm: reuse existing cache type/info related macros

2017-02-01 Thread Marc Zyngier
On 30/01/17 16:25, Sudeep Holla wrote: > We already have various macros related to cache type and bitfields in > CLIDR system register. We can replace some of the hardcoded values > here using those existing macros. > > This patch reuses those existing cache type/info related macros and >

[PATCH v2 2/3] arm64: kvm: reuse existing cache type/info related macros

2017-01-30 Thread Sudeep Holla
We already have various macros related to cache type and bitfields in CLIDR system register. We can replace some of the hardcoded values here using those existing macros. This patch reuses those existing cache type/info related macros and replaces the hardcorded values. It also removes some of