Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329134

Re: [PATCH v3 03/23] arm/arm64: Add new is_kernel_in_hyp_mode predicate

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 03/23] arm/arm64: Add new is_kernel_in_hyp_mode predicate
Date 2016-02-08 15:50 +0100
Message-ID <qZViA-6Ep-63@gated-at.bofh.it> (permalink)
References <qYa2m-5r0-3@gated-at.bofh.it> <qYa2n-5r0-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Feb 03, 2016 at 05:59:56PM +0000, Marc Zyngier wrote:
> With ARMv8.1 VHE extension, it will be possible to run the kernel
> at EL2 (aka HYP mode). In order for the kernel to easily find out
> where it is running, add a new predicate that returns whether or
> not the kernel is in HYP mode.
> 
> For completeness, the 32bit code also get such a predicate (always
> returning false) so that code common to both architecture (timers,
> KVM) can use it transparently.
> 
> Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3 03/23] arm/arm64: Add new is_kernel_in_hyp_mode predicate Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
  Re: [PATCH v3 03/23] arm/arm64: Add new is_kernel_in_hyp_mode  predicate Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 15:50 +0100

csiph-web