From: Marc Zyngier <marc.zyngier@arm.com> To: Christoffer Dall <christoffer.dall@linaro.org> Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Subject: [PATCH 03/15] arm64: Add ARM64_HYP_OFFSET_LOW capability Date: Tue, 7 Jun 2016 11:58:23 +0100 [thread overview] Message-ID: <1465297115-13091-4-git-send-email-marc.zyngier@arm.com> (raw) In-Reply-To: <1465297115-13091-1-git-send-email-marc.zyngier@arm.com> As we need to indicate to the rest of the kernel which region of the HYP VA space is safe to use, add a capability that will indicate that KVM should use the [VA_BITS-2:0] range. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> --- arch/arm64/include/asm/cpufeature.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 224efe7..d40edbb 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -36,8 +36,9 @@ #define ARM64_HAS_VIRT_HOST_EXTN 11 #define ARM64_WORKAROUND_CAVIUM_27456 12 #define ARM64_HAS_32BIT_EL0 13 +#define ARM64_HYP_OFFSET_LOW 14 -#define ARM64_NCAPS 14 +#define ARM64_NCAPS 15 #ifndef __ASSEMBLY__ -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/15] arm64: Add ARM64_HYP_OFFSET_LOW capability Date: Tue, 7 Jun 2016 11:58:23 +0100 [thread overview] Message-ID: <1465297115-13091-4-git-send-email-marc.zyngier@arm.com> (raw) In-Reply-To: <1465297115-13091-1-git-send-email-marc.zyngier@arm.com> As we need to indicate to the rest of the kernel which region of the HYP VA space is safe to use, add a capability that will indicate that KVM should use the [VA_BITS-2:0] range. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> --- arch/arm64/include/asm/cpufeature.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 224efe7..d40edbb 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -36,8 +36,9 @@ #define ARM64_HAS_VIRT_HOST_EXTN 11 #define ARM64_WORKAROUND_CAVIUM_27456 12 #define ARM64_HAS_32BIT_EL0 13 +#define ARM64_HYP_OFFSET_LOW 14 -#define ARM64_NCAPS 14 +#define ARM64_NCAPS 15 #ifndef __ASSEMBLY__ -- 2.1.4
next prev parent reply other threads:[~2016-06-07 10:58 UTC|newest] Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-06-07 10:58 [PATCH 00/15] arm/arm64: KVM: Merge boot and runtime page tables Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 01/15] arm64: KVM: Merged page tables documentation Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-27 13:28 ` Christoffer Dall 2016-06-27 13:28 ` Christoffer Dall 2016-06-27 14:06 ` Marc Zyngier 2016-06-27 14:06 ` Marc Zyngier 2016-06-28 11:46 ` Christoffer Dall 2016-06-28 11:46 ` Christoffer Dall 2016-06-29 9:05 ` Marc Zyngier 2016-06-29 9:05 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 02/15] arm64: KVM: Kill HYP_PAGE_OFFSET Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-27 13:47 ` Christoffer Dall 2016-06-27 13:47 ` Christoffer Dall 2016-06-27 14:20 ` Marc Zyngier 2016-06-27 14:20 ` Marc Zyngier 2016-06-28 12:03 ` Christoffer Dall 2016-06-28 12:03 ` Christoffer Dall 2016-06-07 10:58 ` Marc Zyngier [this message] 2016-06-07 10:58 ` [PATCH 03/15] arm64: Add ARM64_HYP_OFFSET_LOW capability Marc Zyngier 2016-06-07 10:58 ` [PATCH 04/15] arm64: KVM: Define HYP offset masks Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 05/15] arm64: KVM: Refactor kern_hyp_va/hyp_kern_va to deal with multiple offsets Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-28 12:42 ` Christoffer Dall 2016-06-28 12:42 ` Christoffer Dall 2016-06-30 9:22 ` Marc Zyngier 2016-06-30 9:22 ` Marc Zyngier 2016-06-30 10:16 ` Marc Zyngier 2016-06-30 10:16 ` Marc Zyngier 2016-06-30 10:26 ` Christoffer Dall 2016-06-30 10:26 ` Christoffer Dall 2016-06-30 10:42 ` Ard Biesheuvel 2016-06-30 10:42 ` Ard Biesheuvel 2016-06-30 11:02 ` Marc Zyngier 2016-06-30 11:02 ` Marc Zyngier 2016-06-30 11:10 ` Ard Biesheuvel 2016-06-30 11:10 ` Ard Biesheuvel 2016-06-30 11:57 ` Marc Zyngier 2016-06-30 11:57 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 06/15] arm/arm64: KVM: Export __hyp_text_start/end symbols Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 07/15] arm64: KVM: Runtime detection of lower HYP offset Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 08/15] arm/arm64: KVM: Always have merged page tables Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-28 21:43 ` Christoffer Dall 2016-06-28 21:43 ` Christoffer Dall 2016-06-30 12:27 ` Marc Zyngier 2016-06-30 12:27 ` Marc Zyngier 2016-06-30 13:28 ` Christoffer Dall 2016-06-30 13:28 ` Christoffer Dall 2016-06-07 10:58 ` [PATCH 09/15] arm64: KVM: Simplify HYP init/teardown Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-28 21:31 ` Christoffer Dall 2016-06-28 21:31 ` Christoffer Dall 2016-06-30 12:10 ` Marc Zyngier 2016-06-30 12:10 ` Marc Zyngier 2016-06-30 13:31 ` Christoffer Dall 2016-06-30 13:31 ` Christoffer Dall 2016-06-07 10:58 ` [PATCH 10/15] arm/arm64: KVM: Drop boot_pgd Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 11/15] arm/arm64: KVM: Kill free_boot_hyp_pgd Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 12/15] arm: KVM: Simplify HYP init Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-28 21:50 ` Christoffer Dall 2016-06-28 21:50 ` Christoffer Dall 2016-06-30 12:31 ` Marc Zyngier 2016-06-30 12:31 ` Marc Zyngier 2016-06-30 13:32 ` Christoffer Dall 2016-06-30 13:32 ` Christoffer Dall 2016-06-07 10:58 ` [PATCH 13/15] arm: KVM: Allow hyp teardown Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 14/15] arm/arm64: KVM: Prune unused #defines Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-07 10:58 ` [PATCH 15/15] arm/arm64: KVM: Check that IDMAP doesn't intersect with VA range Marc Zyngier 2016-06-07 10:58 ` Marc Zyngier 2016-06-28 22:01 ` Christoffer Dall 2016-06-28 22:01 ` Christoffer Dall 2016-06-30 12:51 ` Marc Zyngier 2016-06-30 12:51 ` Marc Zyngier 2016-06-30 13:27 ` Christoffer Dall 2016-06-30 13:27 ` Christoffer Dall 2016-06-27 13:29 ` [PATCH 00/15] arm/arm64: KVM: Merge boot and runtime page tables Christoffer Dall 2016-06-27 13:29 ` Christoffer Dall 2016-06-27 14:12 ` Marc Zyngier 2016-06-27 14:12 ` Marc Zyngier
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=1465297115-13091-4-git-send-email-marc.zyngier@arm.com \ --to=marc.zyngier@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 \ /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: linkBe 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.