Re: [PATCH 01/11] arm64: docs: describe ELF hwcaps

2017-07-21 Thread Dave Martin
On Wed, Jul 19, 2017 at 05:01:22PM +0100, Mark Rutland wrote: > We don't document our ELF hwcaps, leaving developers to interpret them > according to hearsay, guesswork, or (in exceptional cases) inspection of > the current kernel code. > > This is less than optimal, and it would be far better if

Re: [PATCH 00/11] ARMv8.3 pointer authentication userspace support

2017-07-21 Thread Dave Martin
On Wed, Jul 19, 2017 at 05:01:21PM +0100, Mark Rutland wrote: > This series adds support for the ARMv8.3 pointer authentication extension. > > Since RFC [1]: > * Make the KVM context switch (semi-lazy) > * Rebase to v4.13-rc1 > * Improve pointer authentication documentation > * Add hwcap documenta

Re: [PATCH v2 0/4] kvm: arm/arm64: vgic: APRn uaccess support.

2017-07-21 Thread Christoffer Dall
Hi Wanghaibin, On Mon, Jul 17, 2017 at 06:23:28PM +0800, wanghaibin wrote: > v2: Split the patch again to make it easier for review > some fixes were proposed by Marc > > v1: the problem describe: > https://lists.cs.columbia.edu/pipermail/kvmarm/2017-July/026295.html please also include the

Re: [PATCH v2 8/8] KVM: arm/arm64: register DEOI irq bypass consumer on ARM/ARM64

2017-07-21 Thread Christoffer Dall
On Thu, Jun 15, 2017 at 02:52:40PM +0200, Eric Auger wrote: > This patch selects IRQ_BYPASS_MANAGER and HAVE_KVM_IRQ_BYPASS > configs for ARM/ARM64. > > kvm_arch_has_irq_bypass() now is implemented and returns true. > As a consequence the irq bypass consumer will be registered for > ARM/ARM64 with

Re: [PATCH v2 6/8] KVM: arm/arm64: vgic: Implement forwarding setting

2017-07-21 Thread Christoffer Dall
On Thu, Jun 15, 2017 at 02:52:38PM +0200, Eric Auger wrote: > Implements kvm_vgic_[set|unset]_forwarding. > > Handle low-level VGIC programming and consistent irqchip > programming. > > Signed-off-by: Eric Auger > > --- > > v1 -> v2: > - change the parameter names used in the declaration > - u

Re: [PATCH v2 5/8] KVM: arm/arm64: vgic: Handle mapped level sensitive SPIs

2017-07-21 Thread Christoffer Dall
On Fri, Jul 07, 2017 at 09:41:42AM +0200, Auger Eric wrote: > Hi Marc, > > On 04/07/2017 14:15, Marc Zyngier wrote: > > Hi Eric, > > > > On 15/06/17 13:52, Eric Auger wrote: > >> Currently, the line level of unmapped level sensitive SPIs is > >> toggled down by the maintenance IRQ handler/resampl

Re: [PATCH v2 5/8] KVM: arm/arm64: vgic: Handle mapped level sensitive SPIs

2017-07-21 Thread Christoffer Dall
On Thu, Jun 15, 2017 at 02:52:37PM +0200, Eric Auger wrote: > Currently, the line level of unmapped level sensitive SPIs is > toggled down by the maintenance IRQ handler/resamplefd mechanism. > > As mapped SPI completion is not trapped, we cannot rely on this > mechanism and the line level needs t

Re: [PATCH v2 4/8] KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq

2017-07-21 Thread Christoffer Dall
On Thu, Jun 15, 2017 at 02:52:36PM +0200, Eric Auger wrote: > We want to reuse the core of the map/unmap functions for IRQ > forwarding. Let's move the computation of the hwirq in > kvm_vgic_map_phys_irq and pass the linux IRQ as parameter. > the host_irq is added to struct vgic_irq. > > We introd