RE: [RFT - PATCH v2 0/2] KVM/arm64: add fp/simd lazy switch support

2015-10-05 Thread Mario Smarduch
Will do, I'll get them over to you. -Original Message- From: Christoffer Dall [mailto:christoffer.d...@linaro.org] Sent: Monday, October 05, 2015 10:26 AM To: Mario Smarduch Cc: kvmarm@lists.cs.columbia.edu; marc.zyng...@arm.com; k...@vger.kernel.org;

RE: [RFC PATCH 5/6] vfio-pci: Create iommu mapping for msi interrupt

2015-10-05 Thread Bhushan Bharat
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, October 03, 2015 4:17 AM > To: Bhushan Bharat-R65777 > Cc: kvmarm@lists.cs.columbia.edu; k...@vger.kernel.org; > christoffer.d...@linaro.org;

RE: [RFC PATCH 3/6] vfio: Extend iommu-info to return MSIs automap state

2015-10-05 Thread Bhushan Bharat
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, October 03, 2015 4:16 AM > To: Bhushan Bharat-R65777 > Cc: kvmarm@lists.cs.columbia.edu; k...@vger.kernel.org; > christoffer.d...@linaro.org;

RE: [RFC PATCH 6/6] arm-smmu: Allow to set iommu mapping for MSI

2015-10-05 Thread Bhushan Bharat
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, October 03, 2015 4:17 AM > To: Bhushan Bharat-R65777 > Cc: kvmarm@lists.cs.columbia.edu; k...@vger.kernel.org; > christoffer.d...@linaro.org;

Re: [RFC PATCH v5 0/3] vfio: platform: return device properties for a platform device

2015-10-05 Thread Christoffer Dall
On Fri, Oct 02, 2015 at 11:53:07PM +0100, Peter Maydell wrote: > On 2 October 2015 at 21:28, Christoffer Dall > wrote: > > We discussed this for the purposes of ARM during SFO15 last week, and > > basically arrived at the conclusion that the resonable thing to do is

Re: [RFC PATCH v5 0/3] vfio: platform: return device properties for a platform device

2015-10-05 Thread Baptiste Reynal
In this patch series we want to wrap an already available kernel interface to expose a device property to userspace, in order to keep the code lighter on the userspace. We need those properties in VFIO as VFIO grants the possibility to develop userspace drivers. The sysfs doesn't seems to be

Re: [kvm-unit-tests PATCHv2] arm: Add PMU test

2015-10-05 Thread Wei Huang
On 10/02/2015 10:48 AM, Christopher Covington wrote: > Add test the ARM Performance Monitors Unit (PMU). The informational > fields from the control register are printed, but not checked, and > the number of cycles it takes to run a known-instruction-count loop > is printed, but not checked.

Re: [RFC PATCH 1/6] vfio: Add interface for add/del reserved iova region

2015-10-05 Thread Alex Williamson
On Mon, 2015-10-05 at 04:55 +, Bhushan Bharat wrote: > Hi Alex, > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, October 03, 2015 4:16 AM > > To: Bhushan Bharat-R65777 > > Cc:

Re: [RFC PATCH 3/6] vfio: Extend iommu-info to return MSIs automap state

2015-10-05 Thread Alex Williamson
On Mon, 2015-10-05 at 06:00 +, Bhushan Bharat wrote: > > -1138,6 +1156,8 @@ > > > static long vfio_iommu_type1_ioctl(void *iommu_data, > > > } > > > } else if (cmd == VFIO_IOMMU_GET_INFO) { > > > struct vfio_iommu_type1_info info; > > > + struct

Re: [RFC PATCH 4/6] vfio: Add interface to iommu-map/unmap MSI pages

2015-10-05 Thread Alex Williamson
On Mon, 2015-10-05 at 06:27 +, Bhushan Bharat wrote: > > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, October 03, 2015 4:16 AM > > To: Bhushan Bharat-R65777 > > Cc:

Re: [RFC PATCH 5/6] vfio-pci: Create iommu mapping for msi interrupt

2015-10-05 Thread Alex Williamson
On Mon, 2015-10-05 at 07:20 +, Bhushan Bharat wrote: > > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, October 03, 2015 4:17 AM > > To: Bhushan Bharat-R65777 > > Cc:

Re: [RFC PATCH 6/6] arm-smmu: Allow to set iommu mapping for MSI

2015-10-05 Thread Alex Williamson
On Mon, 2015-10-05 at 08:33 +, Bhushan Bharat wrote: > > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Saturday, October 03, 2015 4:17 AM > > To: Bhushan Bharat-R65777 > > Cc:

[PATCH v2 1/2] add hooks for armv8 fp/simd lazy switch

2015-10-05 Thread Mario Smarduch
This patch adds hooks to support fp/simd lazy switch. A vcpu flag to track fp/simd state, and flag offset in vcpu structure. Signed-off-by: Mario Smarduch --- arch/arm64/include/asm/kvm_host.h | 3 +++ arch/arm64/kernel/asm-offsets.c | 1 + 2 files changed, 4

[PATCH v2 2/2] enable armv8 fp/simd lazy switch

2015-10-05 Thread Mario Smarduch
This patch enables arm64 lazy fp/simd switch. Removes the ARM constraint, and follows the same approach as armv7 version - found here. https://lists.cs.columbia.edu/pipermail/kvmarm/2015-September/016567.html To summarize - provided the guest accesses fp/simd unit we limit number of fp/simd

[PATCH v2 0/2] KVM/arm64: add fp/simd lazy switch support

2015-10-05 Thread Mario Smarduch
This patch series is a followup to the armv7 fp/simd lazy switch implementation, uses similar approach and depends on the series - https://lists.cs.columbia.edu/pipermail/kvmarm/2015-September/016567.html Patches are based on 4.3-rc2 commit 1f93e4a96c91093 Patches are based on earlier arm64

Re: [RFC PATCH v5 0/3] vfio: platform: return device properties for a platform device

2015-10-05 Thread Christoffer Dall
[cc'ing Mark R. and Shannon for their input on FDT and ACPI]. On Mon, Oct 05, 2015 at 11:07:35AM +0100, Peter Maydell wrote: > On 5 October 2015 at 10:37, Christoffer Dall > wrote: > > On Fri, Oct 02, 2015 at 11:53:07PM +0100, Peter Maydell wrote: > >> * I don't

Re: [PATCH 09/15] arm64: Add page size to the kernel image header

2015-10-05 Thread Suzuki K. Poulose
On 02/10/15 16:49, Catalin Marinas wrote: On Tue, Sep 15, 2015 at 04:41:18PM +0100, Suzuki K. Poulose wrote: From: Ard Biesheuvel This patch adds the page size to the arm64 kernel image header so that one can infer the PAGESIZE used by the kernel. This will be

Re: [RFC PATCH v5 0/3] vfio: platform: return device properties for a platform device

2015-10-05 Thread Mark Rutland
On Mon, Oct 05, 2015 at 12:32:00PM +0200, Christoffer Dall wrote: > [cc'ing Mark R. and Shannon for their input on FDT and ACPI]. > > On Mon, Oct 05, 2015 at 11:07:35AM +0100, Peter Maydell wrote: > > On 5 October 2015 at 10:37, Christoffer Dall > > wrote: > > > On

Re: [RFC PATCH v5 0/3] vfio: platform: return device properties for a platform device

2015-10-05 Thread Christoffer Dall
[why are you top-posting?] On Mon, Oct 05, 2015 at 11:42:38AM +0200, Baptiste Reynal wrote: > In this patch series we want to wrap an already available kernel > interface to expose a device property to userspace, which 'already available kernel interface' is that exactly? > in order to keep >

Re: [PATCH 09/15] arm64: Add page size to the kernel image header

2015-10-05 Thread Ard Biesheuvel
On 5 October 2015 at 14:02, Suzuki K. Poulose wrote: > On 02/10/15 16:49, Catalin Marinas wrote: >> >> On Tue, Sep 15, 2015 at 04:41:18PM +0100, Suzuki K. Poulose wrote: >>> >>> From: Ard Biesheuvel >>> >>> This patch adds the page size to the

[PATCH v2 17/22] arm64/kvm: Make use of the system wide safe values

2015-10-05 Thread Suzuki K. Poulose
Use the system wide safe value from the new API for safer decisions Cc: Marc Zyngier Cc: Christoffer Dall Cc: kvmarm@lists.cs.columbia.edu Signed-off-by: Suzuki K. Poulose --- arch/arm64/kvm/reset.c|2 +-

Re: [RFT - PATCH v2 0/2] KVM/arm64: add fp/simd lazy switch support

2015-10-05 Thread Christoffer Dall
On Mon, Oct 05, 2015 at 09:14:57AM -0700, Mario Smarduch wrote: > Hi Christoffer, >I just managed to boot qemu arm32 up on arm64 (last Fri - thanks for the > tip > - there were few other issue to clean up), so let me retest it again. Also I > noticed some refactoring would help both 32 and 64

Re: [RFT - PATCH v2 0/2] KVM/arm64: add fp/simd lazy switch support

2015-10-05 Thread Christoffer Dall
On Tue, Sep 22, 2015 at 04:34:01PM -0700, Mario Smarduch wrote: > This is a 2nd itteration for arm64, v1 patches were posted by mistake from an > older branch which included several bugs. Hopefully didn't waste too much of > anyones time. > > This patch series is a followup to the armv7 fp/simd

Re: [PATCH 09/15] arm64: Add page size to the kernel image header

2015-10-05 Thread Christoffer Dall
On Fri, Oct 02, 2015 at 05:50:38PM +0100, Marc Zyngier wrote: > On 02/10/15 17:31, Catalin Marinas wrote: > > On Fri, Oct 02, 2015 at 04:49:01PM +0100, Catalin Marinas wrote: > >> On Tue, Sep 15, 2015 at 04:41:18PM +0100, Suzuki K. Poulose wrote: > >>> From: Ard Biesheuvel