Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1379911
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2 |
| Date | 2016-04-15 17:20 +0200 |
| Message-ID | <rodHk-535-19@gated-at.bofh.it> (permalink) |
| References | <rnPvk-2fL-5@gated-at.bofh.it> <rnPvl-2fL-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 14, 2016 at 02:20:49PM +0100, Suzuki K Poulose wrote:
> TCR_EL1, TCR_EL2 and VTCR_EL2, all share some field positions
> (TG0, ORGN0, IRGN0 and SH0) and their corresponding value definitions.
>
> This patch makes the TCR_EL1 definitions reusable and uses them for TCR_EL2
> and VTCR_EL2 fields.
>
> This also fixes a bug where we assume TG0 in {V}TCR_EL2 is 1bit field.
>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> ---
> arch/arm64/include/asm/kvm_arm.h | 48 ++++++++++---------
> arch/arm64/include/asm/pgtable-hwdef.h | 80 +++++++++++++++++++++++++-------
> 2 files changed, 88 insertions(+), 40 deletions(-)
Acked-by: Will Deacon <will.deacon@arm.com>
Feel free to take this through the kvm-arm tree.
Will
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2 Suzuki K Poulose <suzuki.poulose@arm.com> - 2016-04-14 15:30 +0200 Re: [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2 Will Deacon <will.deacon@arm.com> - 2016-04-15 17:20 +0200
csiph-web