Re: [PATCH 06/15] arm64: kvm: Move __smccc_workaround_1_smc to .rodata

2020-05-11 Thread Marc Zyngier
On Thu, 30 Apr 2020 15:48:22 +0100 David Brazdil wrote: > This snippet of assembly is used by cpu_errata.c to overwrite parts of KVM hyp > vector. It is never directly executed, so move it from .text to .rodata. > > Signed-off-by: David Brazdil > --- > arch/arm64/kvm/hyp/hyp-entry.S | 6 ++

Re: [PATCH 06/15] arm64: kvm: Move __smccc_workaround_1_smc to .rodata

2020-05-11 Thread Will Deacon
On Mon, May 11, 2020 at 11:04:59AM +0100, Marc Zyngier wrote: > On Thu, 30 Apr 2020 15:48:22 +0100 > David Brazdil wrote: > > > This snippet of assembly is used by cpu_errata.c to overwrite parts of KVM > > hyp > > vector. It is never directly executed, so move it from .text to .rodata. > > > >

Re: [PATCH v4 02/14] arm: add support for folded p4d page tables

2020-05-11 Thread Mike Rapoport
Hi Marek, On Mon, May 11, 2020 at 08:36:41AM +0200, Marek Szyprowski wrote: > Hi Mike, > > On 08.05.2020 19:42, Mike Rapoport wrote: > > On Fri, May 08, 2020 at 08:53:27AM +0200, Marek Szyprowski wrote: > >> On 07.05.2020 18:11, Mike Rapoport wrote: > >>> On Thu, May 07, 2020 at 02:16:56PM +0200,

Re: [PATCH 03/26] KVM: arm64: Factor out stage 2 page table data from struct kvm

2020-05-11 Thread Alexandru Elisei
Hi, On 4/22/20 1:00 PM, Marc Zyngier wrote: > From: Christoffer Dall > > As we are about to reuse our stage 2 page table manipulation code for > shadow stage 2 page tables in the context of nested virtualization, we > are going to manage multiple stage 2 page tables for a single VM. > > This requ

[PATCH V3] arm64/cpufeature: Validate hypervisor capabilities during CPU hotplug

2020-05-11 Thread Anshuman Khandual
This validates hypervisor capabilities like VMID width, IPA range for any hot plug CPU against system finalized values. KVM's view of the IPA space is used while allowing a given CPU to come up. While here, it factors out get_vmid_bits() for general use. Cc: Catalin Marinas Cc: Will Deacon Cc: M

[PATCH] arm64/cpufeature: Add ID_AA64MMFR0_PARANGE_MASK

2020-05-11 Thread Anshuman Khandual
This replaces multiple open encoding (0x7) with ID_AA64MMFR0_PARANGE_MASK thus cleaning the clutter. It modifies an existing ID_AA64MMFR0 helper and introduces a new one i.e id_aa64mmfr0_iparange() and id_aa64mmfr0_parange() respectively. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: