Re: [PATCH v10 0/8] kvm: arm64: Support PUD hugepage at stage 2

2018-12-18 Thread Christoffer Dall
On Tue, Dec 11, 2018 at 05:10:33PM +, Suzuki K Poulose wrote: > This series is an update to the PUD hugepage support previously posted > at [0]. This patchset adds support for PUD hugepages at stage 2 a > feature that is useful on cores that have support for large sized TLB > mappings (e.g., 1G

Re: [PATCH v8 2/5] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

2018-12-18 Thread Christoffer Dall
On Wed, Dec 12, 2018 at 10:29:30AM +, Andrew Murray wrote: > The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is > a typedef to kvm_cpu_context and is used to store host cpu context. The > kvm_cpu_context structure is also used elsewhere to hold vcpu context. > In order t

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Christoffer Dall
On Wed, Dec 12, 2018 at 10:29:32AM +, Andrew Murray wrote: > Add support for the :G and :H attributes in perf by handling the > exclude_host/exclude_guest event attributes. > > We notify KVM of counters that we wish to be enabled or disabled on > guest entry/exit and thus defer from starting o

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Andrew Murray
On Tue, Dec 18, 2018 at 01:02:26PM +0100, Christoffer Dall wrote: > On Wed, Dec 12, 2018 at 10:29:32AM +, Andrew Murray wrote: > > Add support for the :G and :H attributes in perf by handling the > > exclude_host/exclude_guest event attributes. > > > > We notify KVM of counters that we wish to

Re: [PATCH v2 1/2] KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST

2018-12-18 Thread Marc Zyngier
On 12/12/2018 20:17, Dave Martin wrote: > Since commit d26c25a9d19b ("arm64: KVM: Tighten guest core register > access from userspace"), KVM_{GET,SET}_ONE_REG rejects register IDs > that do not correspond to a single underlying architectural register. > > KVM_GET_REG_LIST was not changed to match

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Christoffer Dall
On Tue, Dec 18, 2018 at 01:25:32PM +, Andrew Murray wrote: > On Tue, Dec 18, 2018 at 01:02:26PM +0100, Christoffer Dall wrote: > > On Wed, Dec 12, 2018 at 10:29:32AM +, Andrew Murray wrote: > > > Add support for the :G and :H attributes in perf by handling the > > > exclude_host/exclude_gue

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Andrew Murray
On Tue, Dec 18, 2018 at 03:38:33PM +0100, Christoffer Dall wrote: > On Tue, Dec 18, 2018 at 01:25:32PM +, Andrew Murray wrote: > > On Tue, Dec 18, 2018 at 01:02:26PM +0100, Christoffer Dall wrote: > > > On Wed, Dec 12, 2018 at 10:29:32AM +, Andrew Murray wrote: > > > > Add support for the :

Re: [PATCH v2 1/2] KVM: arm64: Filter out invalid core register IDs in KVM_GET_REG_LIST

2018-12-18 Thread Peter Maydell
On Tue, 18 Dec 2018 at 14:00, Marc Zyngier wrote: > > On 12/12/2018 20:17, Dave Martin wrote: > > Since commit d26c25a9d19b ("arm64: KVM: Tighten guest core register > > access from userspace"), KVM_{GET,SET}_ONE_REG rejects register IDs > > that do not correspond to a single underlying architectu

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Christoffer Dall
On Tue, Dec 18, 2018 at 04:27:05PM +, Andrew Murray wrote: > On Tue, Dec 18, 2018 at 03:38:33PM +0100, Christoffer Dall wrote: > > On Tue, Dec 18, 2018 at 01:25:32PM +, Andrew Murray wrote: > > > On Tue, Dec 18, 2018 at 01:02:26PM +0100, Christoffer Dall wrote: > > > > On Wed, Dec 12, 2018

Re: [PATCH v8 4/5] arm64: arm_pmu: Add support for exclude_host/exclude_guest attributes

2018-12-18 Thread Andrew Jones
On Tue, Dec 18, 2018 at 07:51:21PM +0100, Christoffer Dall wrote: > On Tue, Dec 18, 2018 at 04:27:05PM +, Andrew Murray wrote: > > On Tue, Dec 18, 2018 at 03:38:33PM +0100, Christoffer Dall wrote: > > > On Tue, Dec 18, 2018 at 01:25:32PM +, Andrew Murray wrote: > > > > On Tue, Dec 18, 2018

[kvmarm:queue 26/31] arch/arm/kvm/../../../virt/kvm/arm/mmu.c:1636:20: error: 'S2_PMD_MASK' undeclared; did you mean 'PMD_MASK'?

2018-12-18 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git queue head: 0c4011a2150b6d177cdd06c887615594a4693179 commit: 3c780d1840b62d9b5f2abffad6cc1373033ed6ea [26/31] KVM: arm/arm64: Fix unintended stage 2 PMD mappings config: arm-axm55xx_defconfig (attached as .config) compiler