All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will.deacon@arm.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org,
	marc.zyngier@arm.com, christoffer.dall@linaro.org,
	mark.rutland@arm.com, catalin.marinas@arm.com,
	linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu
Subject: Re: [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2
Date: Fri, 15 Apr 2016 16:15:41 +0100	[thread overview]
Message-ID: <20160415151541.GO22906@arm.com> (raw)
In-Reply-To: <1460640065-27658-2-git-send-email-suzuki.poulose@arm.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will.deacon@arm.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: kvm@vger.kernel.org, marc.zyngier@arm.com,
	catalin.marinas@arm.com, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.cs.columbia.edu
Subject: Re: [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2
Date: Fri, 15 Apr 2016 16:15:41 +0100	[thread overview]
Message-ID: <20160415151541.GO22906@arm.com> (raw)
In-Reply-To: <1460640065-27658-2-git-send-email-suzuki.poulose@arm.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2
Date: Fri, 15 Apr 2016 16:15:41 +0100	[thread overview]
Message-ID: <20160415151541.GO22906@arm.com> (raw)
In-Reply-To: <1460640065-27658-2-git-send-email-suzuki.poulose@arm.com>

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

  parent reply	other threads:[~2016-04-15 15:15 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14 13:20 [PATCH v2 00/17] kvm-arm: Add stage2 page table walker Suzuki K Poulose
2016-04-14 13:20 ` Suzuki K Poulose
2016-04-14 13:20 ` Suzuki K Poulose
2016-04-14 13:20 ` [PATCH v2 01/17] arm64: Reuse TCR field definitions for EL1 and EL2 Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:11   ` Marc Zyngier
2016-04-14 14:11     ` Marc Zyngier
2016-04-14 14:11     ` Marc Zyngier
2016-04-15 15:15   ` Will Deacon [this message]
2016-04-15 15:15     ` Will Deacon
2016-04-15 15:15     ` Will Deacon
2016-04-14 13:20 ` [PATCH v2 02/17] arm64: Cleanup VTCR_EL2 and VTTBR field values Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:12   ` Marc Zyngier
2016-04-14 14:12     ` Marc Zyngier
2016-04-14 14:12     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 03/17] kvm arm: Move fake PGD handling to arch specific files Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20 ` [PATCH v2 04/17] arm64: Introduce pmd_thp_or_huge Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:14   ` Marc Zyngier
2016-04-14 14:14     ` Marc Zyngier
2016-04-14 14:14     ` Marc Zyngier
2016-04-15 15:17   ` Will Deacon
2016-04-15 15:17     ` Will Deacon
2016-04-15 15:17     ` Will Deacon
2016-04-14 13:20 ` [PATCH v2 05/17] kvm-arm: Replace kvm_pmd_huge with pmd_thp_or_huge Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:15   ` Marc Zyngier
2016-04-14 14:15     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 06/17] kvm-arm: Remove kvm_pud_huge() Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:16   ` Marc Zyngier
2016-04-14 14:16     ` Marc Zyngier
2016-04-14 14:16     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 07/17] kvm-arm: arm32: Introduce stage2 page table helpers Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:22   ` Marc Zyngier
2016-04-14 14:22     ` Marc Zyngier
2016-04-14 14:22     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 08/17] kvm-arm: arm: Introduce hyp page table empty checks Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:23   ` Marc Zyngier
2016-04-14 14:23     ` Marc Zyngier
2016-04-14 14:23     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 09/17] kvm-arm: arm64: Introduce stage2 page table helpers Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:31   ` Marc Zyngier
2016-04-14 14:31     ` Marc Zyngier
2016-04-14 14:31     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 10/17] kvm-arm: arm64: Introduce hyp page table empty checks Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 14:45   ` Marc Zyngier
2016-04-14 14:45     ` Marc Zyngier
2016-04-14 14:45     ` Marc Zyngier
2016-04-14 13:20 ` [PATCH v2 11/17] kvm-arm: Use explicit stage2 helper routines Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:20   ` Suzuki K Poulose
2016-04-14 13:21 ` [PATCH v2 12/17] kvm-arm: Add explicit hyp page table modifiers Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 15:06   ` Christoffer Dall
2016-04-14 15:06     ` Christoffer Dall
2016-04-14 15:06     ` Christoffer Dall
2016-04-14 13:21 ` [PATCH v2 13/17] kvm-arm: Add stage2 " Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21 ` [PATCH v2 14/17] kvm-arm: Cleanup kvm_* wrappers Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21 ` [PATCH v2 15/17] kvm: arm64: Get rid of fake page table levels Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 15:08   ` Christoffer Dall
2016-04-14 15:08     ` Christoffer Dall
2016-04-14 15:08     ` Christoffer Dall
2016-04-14 13:21 ` [PATCH v2 16/17] kvm-arm: Cleanup stage2 pgd handling Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21 ` [PATCH v2 17/17] arm64: kvm: Add support for 16K pages Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:21   ` Suzuki K Poulose
2016-04-14 13:29 ` [PATCH v2 00/17] kvm-arm: Add stage2 page table walker Suzuki K Poulose
2016-04-14 13:29   ` Suzuki K Poulose
2016-04-14 13:29   ` Suzuki K Poulose
2016-04-14 16:03   ` Christoffer Dall
2016-04-14 16:03     ` Christoffer Dall
2016-04-14 16:03     ` Christoffer Dall
2016-04-14 16:10     ` Marc Zyngier
2016-04-14 16:10       ` Marc Zyngier
2016-04-14 16:10       ` Marc Zyngier
2016-04-14 16:11     ` Suzuki K Poulose
2016-04-14 16:11       ` Suzuki K Poulose
2016-04-14 16:11       ` Suzuki K Poulose
2016-04-14 16:41       ` Christoffer Dall
2016-04-14 16:41         ` Christoffer Dall
2016-04-14 16:41         ` Christoffer Dall
2016-04-14 16:51         ` Suzuki K Poulose
2016-04-14 16:51           ` Suzuki K Poulose
2016-04-14 16:51           ` Suzuki K Poulose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160415151541.GO22906@arm.com \
    --to=will.deacon@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=christoffer.dall@linaro.org \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=suzuki.poulose@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.