Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-29 Thread Maciej W. Rozycki
On Thu, 28 Jan 2016, Leonid Yegoshin wrote: > In http://patchwork.linux-mips.org/patch/10505/ the very last mesg exchange > is: [...] > ... and that stops forever... Thanks for the reminder -- last June was very hectic, I travelled a lot and I lost the discussion from my radar. Apologies for

Re: [RFC PATCH v3 3/5] PCI: Add host bridge attribute to indicate filtering of MSIs is supported

2016-01-29 Thread Yongji Xie
On 2016/1/29 6:46, Alex Williamson wrote: On Fri, 2016-01-15 at 15:06 +0800, Yongji Xie wrote: MSI-X tables are not allowed to be mmapped in vfio-pci driver in case that user get to touch this directly. This will cause some performance issues when when PCI adapters have critical registers in

Re: [RFC PATCH v3 5/5] vfio-pci: Allow to mmap MSI-X table if host bridge supports filtering of MSIs

2016-01-29 Thread Yongji Xie
On 2016/1/29 6:46, Alex Williamson wrote: On Fri, 2016-01-15 at 15:06 +0800, Yongji Xie wrote: Current vfio-pci implementation disallows to mmap MSI-X table in case that user get to touch this directly. But we should allow to mmap these MSI-X tables if the PCI host bridge supports filtering

RE: [PATCH V4 1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2016-01-29 Thread Zhiqiang Hou
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: 2016年1月27日 22:24 > To: Zhiqiang Hou ; Zhiqiang Hou > ; linuxppc-dev@lists.ozlabs.org; > ga...@kernel.crashing.org; b...@kernel.crashing.org; pau...@samba.org; >

Re: [RFC PATCH v3 1/5] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-01-29 Thread Yongji Xie
On 2016/1/29 6:46, Alex Williamson wrote: On Fri, 2016-01-15 at 15:06 +0800, Yongji Xie wrote: When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio

[GIT PULL] Please pull powerpc/linux.git powerpc-4.5-2 tag

2016-01-29 Thread Michael Ellerman
Hi Linus, Please pull powerpc fixes for 4.5: The following changes since commit 9fa686068a32ddf256df03982b3e3967c18654a8: Merge tag 'dmaengine-fix-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma (2016-01-20 10:15:21 -0800) are available in the git repository at:

Re: [PATCH 1/2] powerpc/mm: Enable HugeTLB page migration

2016-01-29 Thread Anshuman Khandual
On 01/28/2016 08:14 PM, Aneesh Kumar K.V wrote: > Anshuman Khandual writes: > >> This enables HugeTLB page migration for PPC64_BOOK3S systems which implement >> HugeTLB page at the PMD level. It enables the kernel configuration option >>

[PATCH] powerpc/book3s_32: Fix build error with checkpoint restart

2016-01-29 Thread Aneesh Kumar K.V
In file included from mm/vmscan.c:54:0: include/linux/swapops.h: In function ‘pte_to_swp_entry’: include/linux/swapops.h:69:2: error: implicit declaration of function ‘pte_swp_soft_dirty’ [-Werror=implicit-function-declaration] if (pte_swp_soft_dirty(pte)) ^ include/linux/swapops.h:70:3:

[PATCH 1/2] powerpc/perf/hv-24x7: Fix usage with chip events

2016-01-29 Thread Sukadev Bhattiprolu
From 9b5848ce1834a4d82fc251022035d36d9e26b500 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Sat, 23 Jan 2016 03:58:12 -0500 Subject: [PATCH 1/2] powerpc/perf/hv-24x7: Fix usage with chip events. 24x7 counters can belong to different domains (core, chip,

[PATCH 2/2] powerpc/perf/hv-24x7: Display change in counter values

2016-01-29 Thread Sukadev Bhattiprolu
From a1aa992fb25fb8e98a5c5724376ae8cc91463de3 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Mon, 25 Jan 2016 23:05:36 -0500 Subject: [PATCH 2/2] powerpc/perf/hv-24x7: Display change in counter values For 24x7 counters, perf displays the raw value of the

Re: [RFC PATCH v3 1/5] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-01-29 Thread Alex Williamson
On Fri, 2016-01-29 at 18:37 +0800, Yongji Xie wrote: > On 2016/1/29 6:46, Alex Williamson wrote: > > On Fri, 2016-01-15 at 15:06 +0800, Yongji Xie wrote: > > > When vfio passthrough a PCI device of which MMIO BARs > > > are smaller than PAGE_SIZE, guest will not handle the > > > mmio accesses to

Re: [RFC PATCH v3 3/5] PCI: Add host bridge attribute to indicate filtering of MSIs is supported

2016-01-29 Thread Alex Williamson
- Original Message - > On 2016/1/29 6:46, Alex Williamson wrote: > > On Fri, 2016-01-15 at 15:06 +0800, Yongji Xie wrote: > >> MSI-X tables are not allowed to be mmapped in vfio-pci > >> driver in case that user get to touch this directly. > >> This will cause some performance issues

[PATCH 14/16] perf kvm/powerpc: Port perf kvm stat to powerpc

2016-01-29 Thread Arnaldo Carvalho de Melo
See http://www.infradead.org/rpr.html From: Hemant Kumar perf kvm can be used to analyze guest exit reasons. This support already exists in x86. Hence, porting it to powerpc. - To trace KVM events : perf kvm stat record If many guests are running, we can track

[PATCH 13/16] perf kvm/{x86,s390}: Remove const from kvm_events_tp

2016-01-29 Thread Arnaldo Carvalho de Melo
See http://www.infradead.org/rpr.html From: Hemant Kumar This patch removes the "const" qualifier from kvm_events_tp declaration to account for the fact that some architectures may need to update this variable dynamically. For instance, powerpc will need to update

[PATCH 12/16] perf kvm/{x86, s390}: Remove dependency on uapi/kvm_perf.h

2016-01-29 Thread Arnaldo Carvalho de Melo
From: Hemant Kumar Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic discovery of kvm events (if its needed). To do this, some extern variables have been introduced with which we can keep the generic functions generic. Signed-off-by: Hemant Kumar

[PATCH 15/16] perf kvm/powerpc: Add support for HCALL reasons

2016-01-29 Thread Arnaldo Carvalho de Melo
From: Hemant Kumar Powerpc provides hcall events that also provides insights into guest behaviour. Enhance perf kvm stat to record and analyze hcall events. - To trace hcall events : perf kvm stat record - To show the results : perf kvm stat report

[GIT PULL 00/16] perf/core improvements and fixes

2016-01-29 Thread Arnaldo Carvalho de Melo
See http://www.infradead.org/rpr.html Hi Ingo, This is on top of the previously submitted perf-core-for-mingo tag, please consider applying, - Arnaldo The following changes since commit 5ac76283b32b116c58e362e99542182ddcfc8262: perf cpumap: Auto initialize cpu__max_{node,cpu}