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


Groups > linux.kernel > #1327540

Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support
Date 2016-02-05 10:00 +0100
Message-ID <qYKpc-6kL-11@gated-at.bofh.it> (permalink)
References <qYa2m-5r0-3@gated-at.bofh.it> <qYxLk-6hi-31@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On 04/02/16 19:26, Christoffer Dall wrote:
> On Wed, Feb 03, 2016 at 05:59:53PM +0000, Marc Zyngier wrote:
>> ARMv8.1 comes with the "Virtualization Host Extension" (VHE for
>> short), which enables simpler support of Type-2 hypervisors.
>>
>> This extension allows the kernel to directly run at EL2, and
>> significantly reduces the number of system registers shared between
>> host and guest, reducing the overhead of virtualization.
>>
>> In order to have the same kernel binary running on all versions of the
>> architecture, this series makes heavy use of runtime code patching.
>>
>> The first 22 patches massage the KVM code to deal with VHE and enable
>> Linux to run at EL2. The last patch catches an ugly case when VHE
>> capable CPUs are paired with some of their less capable siblings. This
>> should never happen, but hey...
>>
>> I have deliberately left out some of the more "advanced"
>> optimizations, as they are likely to distract the reviewer from the
>> core infrastructure, which is what I care about at the moment.
>>
>> Note: GDB is currently busted on VHE systems, as it checks for version
>>       6 on the debug architecture, while VHE is version 7. The
>>       binutils people are on the case.
>>
>> This has been tested on the FVP_Base_SLV-V8-A model, and based on
>> v4.5-rc2. I've put a branch out on:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/vhe
>>
> 
> You can have my reviewed-by on all patches that I didn't already review
> or ack explicitly.

Thanks for the review, much appreciated.

> Only exception is the debug stuff where I didn't manage to page in the
> context, so hopefully familiar with that code can have a look.

I think this will have to be Mr Deacon.

Thanks again,

	M.
-- 
Jazz is not dead. It just smells funny...

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


Thread

[PATCH v3 00/23] arm64: Virtualization Host Extension support Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
  [PATCH v3 14/23] arm64: KVM: VHE: Make __fpsimd_enabled VHE aware Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
  [PATCH v3 22/23] arm64: VHE: Add support for running Linux in EL2 mode Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
    Re: [PATCH v3 22/23] arm64: VHE: Add support for running Linux in  EL2 mode Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
    Re: [PATCH v3 22/23] arm64: VHE: Add support for running Linux in  EL2 mode Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 17:00 +0100
  [PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
    Re: [PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
    Re: [PATCH v3 19/23] arm64: KVM: Move most of the fault decoding to C Catalin Marinas <catalin.marinas@arm.com> - 2016-02-08 15:50 +0100
  [PATCH v3 13/23] arm64: KVM: VHE: Enable minimal sysreg save/restore Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
  [PATCH v3 16/23] arm64: KVM: VHE: Use unified sysreg accessors for timer Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:10 +0100
  [PATCH v3 01/23] arm/arm64: KVM: Add hook for C-based stage2 init Marc Zyngier <marc.zyngier@arm.com> - 2016-02-03 19:20 +0100
  Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support Christoffer Dall <christoffer.dall@linaro.org> - 2016-02-04 20:30 +0100
    Re: [PATCH v3 00/23] arm64: Virtualization Host Extension support Marc Zyngier <marc.zyngier@arm.com> - 2016-02-05 10:00 +0100

csiph-web