Re: [PATCH 03/15] fbdev: aty128fb: replace PPC_OF with PPC

2015-03-11 Thread Tomi Valkeinen
On 11/03/15 06:38, Kevin Hao wrote: > On Tue, Mar 10, 2015 at 02:23:12PM +0200, Tomi Valkeinen wrote: >>> I just sent out a v2 [1] a few hours earlier with some minor updates. We >>> plan >>> to merge this patch series via the powerpc tree in 4.1 cycle if I can >>> collect >>> all the acks from t

Re: [PATCH SLOF] pci-properties: Remove redundant call to device-type

2015-03-11 Thread Benjamin Herrenschmidt
On Wed, 2015-03-11 at 08:50 +0100, Thomas Huth wrote: > > - Graphic cards should get the "display" device_type ... I guess > that's > missing now? At least the code for qemu-vga does it > - pci bus nodes (like bridges) should get the "pci" device_type > according to the Open Firmware PCI bin

Re: [PATCH SLOF] pci-properties: Remove redundant call to device-type

2015-03-11 Thread Nikunj A Dadhania
Thomas Huth writes: > On Wed, 11 Mar 2015 17:26:32 +1100 > Alexey Kardashevskiy wrote: > >> At the moment SLOF adds a "device_type" property automatically for >> every single PCI device based on its class even if there is no SLOF >> driver for such a device. OF1275 says that "device_type" is for

Re: [PATCH v5 25/29] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-03-11 Thread Alexey Kardashevskiy
On 03/10/2015 01:07 AM, Alexey Kardashevskiy wrote: This extends iommu_table_group_ops by a set of callbacks to support dynamic DMA windows management. query() returns IOMMU capabilities such as default DMA window address and supported number of DMA windows and TCE table levels. create_table()

[v2,00/11] Freescale DPAA FMan FLIB(s)

2015-03-11 Thread Igal . Liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v2,01/11] soc/fman: Add the FMan FLIB headers

2015-03-11 Thread Igal . Liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v2,02/11] soc/fman: Add the FMan FLIB

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/Kconfig |1 + drivers/soc/Makefile |1 + drivers/soc/fsl/Kconfig |1 + drivers/soc/fsl/Makefile |1 + drivers/soc/fsl/fman/Kconfig |7 + drivers/soc/fsl/fman/Makefile |5 + dr

[v2,03/11] soc/fman: Add the FMan port FLIB headers

2015-03-11 Thread Igal . Liberman
From: Madalin Bucur --- drivers/soc/fsl/fman/flib/fman_common.h | 73 drivers/soc/fsl/fman/flib/fsl_fman_port.h | 601 + drivers/soc/fsl/fman/flib/fsl_fman_sp.h | 132 +++ 3 files changed, 806 insertions(+) create mode 100644 drivers/soc/fsl/fman/fli

[v2,04/11] soc/fman: Add the FMan port FLIB

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig | 10 + drivers/soc/fsl/fman/Makefile |2 + drivers/soc/fsl/fman/port/Makefile|3 + drivers/soc/fsl/fman/port/fman_port.c | 1535 + 4 files changed, 1

[v2,06/11] soc/fman: Add the FMan MAC FLIB

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig |6 + drivers/soc/fsl/fman/Makefile |1 + drivers/soc/fsl/fman/mac/Makefile |5 + drivers/soc/fsl/fman/mac/fman_crc32.c | 116 drivers/soc/fsl

[v2,07/11] soc/fman: Add the FMan parser and KeyGen FLIB headers

2015-03-11 Thread Igal . Liberman
From: Madalin Bucur --- drivers/soc/fsl/fman/flib/fsl_fman_kg.h | 505 ++ drivers/soc/fsl/fman/flib/fsl_fman_prs.h | 106 +++ 2 files changed, 611 insertions(+) create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_kg.h create mode 100644 drivers/soc/fsl/fman

[v2,09/11] soc/fman: Add the FMan RTC FLIB header

2015-03-11 Thread Igal . Liberman
From: Madalin Bucur --- drivers/soc/fsl/fman/flib/fsl_fman_rtc.h | 414 ++ 1 file changed, 414 insertions(+) create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_rtc.h diff --git a/drivers/soc/fsl/fman/flib/fsl_fman_rtc.h b/drivers/soc/fsl/fman/flib/fsl_fman_rtc.

[v2,10/11] soc/fman: Add the FMan RTC FLIB

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig|6 + drivers/soc/fsl/fman/Makefile |1 + drivers/soc/fsl/fman/rtc/Makefile |3 + drivers/soc/fsl/fman/rtc/fman_rtc.c | 353 +++ 4 files changed, 363 ins

[v2,11/11] soc/fman: Add the FMan SP FLIB

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Makefile |1 + drivers/soc/fsl/fman/sp/Makefile |3 + drivers/soc/fsl/fman/sp/fman_sp.c | 203 + 3 files changed, 207 insertions(+) create mode 100644 drivers/soc/fsl/fma

[RFC,1/8] soc/fman: Add FMan MURAM support

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig|1 + drivers/soc/fsl/fman/Makefile |5 +- drivers/soc/fsl/fman/fm_muram.c | 174 +++ drivers/soc/fsl/fm

[RFC,4/8] soc/fman: Add FMan Parser and Keygen support

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/fm.c | 38 +++ drivers/soc/fsl/fman/fm.h |1 + drivers/soc/fsl/fman/fm_common.h | 32 +++ drivers/soc/fsl/fman/fm_drv.c | 89 ++- drivers/soc/fsl/fman/fm_drv.h |

Re: [PATCH SLOF] pci-properties: Remove redundant call to device-type

2015-03-11 Thread Alexey Kardashevskiy
On 03/11/2015 07:21 PM, Benjamin Herrenschmidt wrote: On Wed, 2015-03-11 at 08:50 +0100, Thomas Huth wrote: - Graphic cards should get the "display" device_type ... I guess that's missing now? At least the code for qemu-vga does it - pci bus nodes (like bridges) should get the "pci" devi

[RFC,6/8] soc/fman: Add FMan SP support

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/fm_sp_common.h | 112 + drivers/soc/fsl/fman/sp/Makefile|2 +- drivers/soc/fsl/fman/sp/fm_sp.c | 429 +++ 3 files changed, 542 insertions(+), 1 deletion(-) create mod

[RFC,8/8] soc/fman: Add FMan MAC driver

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig | 10 + drivers/soc/fsl/fman/inc/mac.h | 142 drivers/soc/fsl/fman/mac/Makefile |3 +- drivers/soc/fsl/fman/mac/mac-api.c | 671 drivers/soc/fsl/fma

Re: [PATCH v12 10/21] PCI: Consider additional PF's IOV BAR alignment in sizing and assigning

2015-03-11 Thread Wei Yang
On Tue, Mar 10, 2015 at 09:36:58PM -0500, Bjorn Helgaas wrote: >On Mon, Mar 02, 2015 at 03:32:47PM +0800, Wei Yang wrote: >> On Tue, Feb 24, 2015 at 02:41:52AM -0600, Bjorn Helgaas wrote: >> >On Tue, Feb 24, 2015 at 02:34:06AM -0600, Bjorn Helgaas wrote: >> >> From: Wei Yang >> >> >> >> When sizi

[v2,05/11] soc/fman: Add the FMan MAC FLIB headers

2015-03-11 Thread Igal . Liberman
From: Madalin Bucur --- drivers/soc/fsl/fman/flib/fsl_enet.h | 275 ++ drivers/soc/fsl/fman/flib/fsl_fman_dtsec.h | 1016 drivers/soc/fsl/fman/flib/fsl_fman_dtsec_mii_acc.h | 103 ++ drivers/soc/fsl/fman/flib/fsl_fman_memac.h | 494 ++

[v2,08/11] soc/fman: Add the FMan parser and KeyGen FLIB(s)

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/Kconfig|6 + drivers/soc/fsl/fman/Makefile |1 + drivers/soc/fsl/fman/pcd/Makefile |3 + drivers/soc/fsl/fman/pcd/fman_kg.c | 849 +++ drivers/soc/fsl/fman/pcd

[RFC,3/8] soc/fman: Add FMan Real Time Clock support

2015-03-11 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/soc/fsl/fman/fm_drv.c | 98 drivers/soc/fsl/fman/fm_drv.h |9 +- drivers/soc/fsl/fman/inc/fm_rtc_ext.h | 398 drivers/soc/fsl/fman/inc/fsl_fman_drv.h |3 + drivers/soc/fsl/fman/rt

[RFC,0/8] Freescale DPAA FMan

2015-03-11 Thread Igal . Liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

Re: [PATCH v5 25/29] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-03-11 Thread Benjamin Herrenschmidt
On Wed, 2015-03-11 at 19:54 +1100, Alexey Kardashevskiy wrote: > > +/* Page size flags for ibm,query-pe-dma-window */ > > +#define DDW_PGSIZE_4K 0x01 > > +#define DDW_PGSIZE_64K 0x02 > > +#define DDW_PGSIZE_16M 0x04 > > +#define DDW_PGSIZE_32M 0x08 > > +#define

Re: [PATCH SLOF] pci-properties: Remove redundant call to device-type

2015-03-11 Thread Thomas Huth
On Wed, 11 Mar 2015 17:26:32 +1100 Alexey Kardashevskiy wrote: > At the moment SLOF adds a "device_type" property automatically for > every single PCI device based on its class even if there is no SLOF > driver for such a device. OF1275 says that "device_type" is for > implemented interfaces only

Re: [PATCH SLOF] pci-properties: Remove redundant call to device-type

2015-03-11 Thread Thomas Huth
On Wed, 11 Mar 2015 19:21:02 +1100 Benjamin Herrenschmidt wrote: > On Wed, 2015-03-11 at 08:50 +0100, Thomas Huth wrote: > > > > - Graphic cards should get the "display" device_type ... I guess > > that's > > missing now? > > At least the code for qemu-vga does it Ah, right, I was only grep'

[RFC PATCH 0/7] powerpc/powernv: Nest Instrumentation support

2015-03-11 Thread Madhavan Srinivasan
This patchset enables Nest Instrumentation support on powerpc. POWER8 has per-chip Nest Intrumentation which provides various per-chip utilisation metrics like memory bandwidth, IO bandwidth and many other component metrics. Nest Instrumentation provides an interface (via PORE Engine) to configu

[RFC PATCH 1/7] powerpc/powernv: Data structure and macros definition

2015-03-11 Thread Madhavan Srinivasan
Patch adds the data structures and macros needed for nest pmu support. "type" structure will hold each nest unit and sub-unit information. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/uncore_pmu.h | 89 ++ 1 file changed, 89 insertions(+) cr

[RFC PATCH 2/7] powerpc/powernv: uncore foundation code

2015-03-11 Thread Madhavan Srinivasan
Patch adds the foundation code enable nest pmu. It defines various init routines and these are based on Intel's uncore framework. But it does differ since "box" structure abstraction is not implemented here. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/uncore_pmu.c | 104

[RFC PATCH 3/7] powerpc/powernv: uncore cpumask and CPU hotplug

2015-03-11 Thread Madhavan Srinivasan
Patch to add cpumask attribute for the Nest pmu to control per-chip counter values to be read by cpus. Also adds support of cpu hotplug. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/uncore_pmu.c | 152 + 1 file changed, 152 insertions(+) diff

[RFC PATCH 4/7]powerpc/powernv: Add OPAL support for Nest pmu

2015-03-11 Thread Madhavan Srinivasan
Nest Counters can be configured via PORE Engine and OPAL provides an interface call to it. PORE Engine also does the work of moving the counter data to memory. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/include/asm/opal.h| 3 +++ arch/powerpc/platforms/powernv/opal-wr

[RFC PATCH 5/7]powerpc/powernv: Add POWER8 specific nest pmu support

2015-03-11 Thread Madhavan Srinivasan
Patch enables POWER8 specific nest pmu support. It defines pmu functions in a generic way that it can be shared across different nest units. Event id is used, to identify the offset in memory to read from. And the offset information is saved in the per-chip data strucutres which are populated at

[RFC PATCH 6/7]powerpc/powernv: add support to parse dt for nest pmu

2015-03-11 Thread Madhavan Srinivasan
Nest counter unit informations are passed on as part of device-tree to kernel. Here is the Device-tree layout. DT root folder /: / | -uncore@ | -phb <--dt node for pcie host bridge (uncore pmu type) -... -mcs <--dt node for memory controller (uncore pmu type) | -mcs@0

[RFC PATCH 7/7]powerpc/powernv: enable nest pmu related file in Makefile

2015-03-11 Thread Madhavan Srinivasan
Patch to enable the nest pmu code files in Makefile. Signed-off-by: Madhavan Srinivasan --- arch/powerpc/perf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/perf/Makefile b/arch/powerpc/perf/Makefile index f9c083a..4b0bfd8 100644 --- a/arch/powerpc/perf

Re: [PATCH v12 15/21] powerpc/powernv: Reserve additional space for IOV BAR according to the number of total_pe

2015-03-11 Thread Bjorn Helgaas
On Wed, Mar 11, 2015 at 1:22 AM, Wei Yang wrote: > On Tue, Mar 10, 2015 at 09:51:25PM -0500, Bjorn Helgaas wrote: >>On Mon, Mar 02, 2015 at 03:41:32PM +0800, Wei Yang wrote: >>> On Tue, Feb 24, 2015 at 02:52:34AM -0600, Bjorn Helgaas wrote: >>> >On Tue, Feb 24, 2015 at 02:34:42AM -0600, Bjorn Helg

Re: [PATCH V13 15/21] powerpc/powernv: Reserve additional space for IOV BAR according to the number of total_pe

2015-03-11 Thread Bjorn Helgaas
On Wed, Mar 04, 2015 at 01:19:07PM +0800, Wei Yang wrote: > On PHB3, PF IOV BAR will be covered by M64 window to have better PE > isolation. The total_pe number is usually different from total_VFs, which > can lead to a conflict between MMIO space and the PE number. > > For example, if total_VFs

Re: [PATCH 0/2] crypto: talitos: Add AES-XTS mode

2015-03-11 Thread Horia Geantă
On 3/9/2015 5:08 PM, Martin Hicks wrote: > On Mon, Mar 9, 2015 at 6:16 AM, Horia Geantă > wrote: >> On 3/3/2015 7:44 PM, Martin Hicks wrote: >>> On Tue, Mar 3, 2015 at 10:44 AM, Horia Geantă >>> wrote: For talitos, there are two cases: 1. request data size is <= data unit / s

[PATCH 0/15] don't export static symbol

2015-03-11 Thread Julia Lawall
These patches remove EXPORT_SYMBOL or EXPORT_SYMBOL_GPL declarations on static functions. This was done using the following semantic patch: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f

[PATCH 2/15] powerpc: don't export static symbol

2015-03-11 Thread Julia Lawall
From: Julia Lawall The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Furthermore, the function is never used, so its defini

Re: [PATCH v3 0/8] switch to using asm-generic for seccomp.h

2015-03-11 Thread Kees Cook
On Wed, Mar 4, 2015 at 5:27 PM, Kees Cook wrote: > Most architectures don't need to do much special for the strict-mode > seccomp syscall entries. Remove the redundant headers and reduce the > others. > > Signed-off-by: Kees Cook Hi Andrew, Just a quick ping: are you able to pick up this series

[PATCH 1/1 linux-next] powerpc: use kbuild generic-y where possible

2015-03-11 Thread Fabian Frederick
Replace one line asm-generic include files declared in arch/powerpc/include/asm/ by generic-y declaration which creates arch/powerpc/include/generated/asm equivalent. Signed-off-by: Fabian Frederick --- arch/powerpc/include/asm/Kbuild | 4 +++- arch/powerpc/include/asm/div64.h| 1 - arch

[PATCH v2 0/5] arm64: update/clarify/relax Image and FDT placement rules

2015-03-11 Thread Ard Biesheuvel
This series came about after Mark Rutland brought up the fact that the current FDT placement logic used by the EFI stub is flawed. But actually, it turned out that the documentation for both the Image and FDT placement was incorrect as well, or confusing at the very least. So this series does two

[PATCH v2 1/5] of/fdt: split off FDT self reservation from memreserve processing

2015-03-11 Thread Ard Biesheuvel
This splits off the reservation of the memory occupied by the FDT binary itself from the processing of the memory reservations it contains. This is necessary because the physical address of the FDT, which is needed to perform the reservation, may not be known to the FDT driver core, i.e., it may be

[PATCH v2 2/5] arm64: use fixmap region for permanent FDT mapping

2015-03-11 Thread Ard Biesheuvel
Currently, the FDT blob needs to be in the same naturally aligned 512 MB region as the kernel, so that it can be mapped into the kernel virtual memory space very early on using a minimal set of statically allocated translation tables. Now that we have early fixmap support, we can relax this restri

[PATCH v2 3/5] arm64: Documentation: clarify Image placement in physical RAM

2015-03-11 Thread Ard Biesheuvel
The early init code maps the kernel image using statically allocated page tables. This means that we can only allow Image to be placed such that we can map its entire static footprint using a single table entry at all but the lowest level. So update the documentation to reflect that the Image shoul

[PATCH v2 5/5] arm64/efi: adapt to relaxed FDT placement requirements

2015-03-11 Thread Ard Biesheuvel
With the relaxed FDT placement requirements in place, we can change the allocation strategy used by the stub to put the FDT image higher up in memory. At the same time, reduce the minimal alignment to a power of 2 upper bound of the size: this way, we are still guaranteed not to cross a 2 MB bounda

Re: [RFC PATCH 4/7]powerpc/powernv: Add OPAL support for Nest pmu

2015-03-11 Thread Stewart Smith
Madhavan Srinivasan writes: > Nest Counters can be configured via PORE Engine and OPAL > provides an interface call to it. PORE Engine also does the > work of moving the counter data to memory. Do you have the associated skiboot patch that implements this firmware call? I haven't seen it on th

Re: [PATCH 3/4 RFC] fsl/msi: Add MSI bank allocation for kernel owned devices

2015-03-11 Thread Scott Wood
On Tue, 2015-03-03 at 10:47 +0530, Bharat Bhushan wrote: > With this patch a "context" can allocate a MSI bank and use the > allocated MSI-bank for the devices in that "context". > > kernel/host "context" is "NULL", So all devices owned by kernel > will share a MSI bank allocated with "context = N

Re: [PATCH 4/4 RFC] fsl/msi: Add interface to reserve/free msi bank

2015-03-11 Thread Scott Wood
On Tue, 2015-03-03 at 10:47 +0530, Bharat Bhushan wrote: > This patch allows a context (different from kernel context) > to reserve a MSI bank for itself. And then the devices in the > context will share the MSI bank. > > VFIO meta driver is one of typical user of these APIs. It will > reserve a M

Re: [PATCH V13 15/21] powerpc/powernv: Reserve additional space for IOV BAR according to the number of total_pe

2015-03-11 Thread Wei Yang
On Wed, Mar 11, 2015 at 08:55:07AM -0500, Bjorn Helgaas wrote: >On Wed, Mar 04, 2015 at 01:19:07PM +0800, Wei Yang wrote: >> On PHB3, PF IOV BAR will be covered by M64 window to have better PE >> isolation. The total_pe number is usually different from total_VFs, which >> can lead to a conflict be

Re: [PATCH v6 07/30] PCI: Pass PCI domain number combined with root bus number

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:04AM +0800, Yijing Wang wrote: > Now we could pass PCI domain combined with bus number > in u32 argu. Because in arm/arm64, PCI domain number > is assigned by pci_bus_assign_domain_nr(). So we leave > pci_scan_root_bus() and pci_create_root_bus() in arm/arm64 > unchang

Re: [PATCH 2/2] drivers/vfio: Support EEH error injection

2015-03-11 Thread David Gibson
On Wed, Mar 11, 2015 at 05:34:11PM +1100, Gavin Shan wrote: > The patch adds one more EEH sub-command (VFIO_EEH_PE_INJECT_ERR) > to inject the specified EEH error, which is represented by > (struct vfio_eeh_pe_err), to the indicated PE for testing purpose. > > Signed-off-by: Gavin Shan > --- > D

Re: [PATCH] mm: kill kmemcheck

2015-03-11 Thread Rusty Russell
Sasha Levin writes: > As discussed on LSF/MM, kill kmemcheck. Damn: I literally added CONFIG_KMEMCHECK support to virtio yesterday! Will try Kasan now. Thanks for the heads-up, Rusty. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https:/

[PATCH 11/22] powerpc/32: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/mm/pgtable_3

Re: [PATCH 2/2] drivers/vfio: Support EEH error injection

2015-03-11 Thread Gavin Shan
On Thu, Mar 12, 2015 at 11:57:21AM +1100, David Gibson wrote: >On Wed, Mar 11, 2015 at 05:34:11PM +1100, Gavin Shan wrote: >> The patch adds one more EEH sub-command (VFIO_EEH_PE_INJECT_ERR) >> to inject the specified EEH error, which is represented by >> (struct vfio_eeh_pe_err), to the indicated

[PATCH] powerpc: comvert relocs_check to a shell script using grep

2015-03-11 Thread Stephen Rothwell
This runs a bit faster and removes another use of perl from the kernel build. Signed-off-by: Stephen Rothwell --- arch/powerpc/Makefile| 4 +-- arch/powerpc/relocs_check.pl | 66 arch/powerpc/relocs_check.sh | 58 +

Re: [PATCH] mm: kill kmemcheck

2015-03-11 Thread Michael Ellerman
On Wed, 2015-03-11 at 07:43 -0400, Sasha Levin wrote: > As discussed on LSF/MM, kill kmemcheck. > > KASan is a replacement that is able to work without the limitation of > kmemcheck (single CPU, slow). KASan is already upstream. > > We are also not aware of any users of kmemcheck (or users who do

Re: [PATCH 2/2] drivers/vfio: Support EEH error injection

2015-03-11 Thread David Gibson
On Thu, Mar 12, 2015 at 02:16:42PM +1100, Gavin Shan wrote: > On Thu, Mar 12, 2015 at 11:57:21AM +1100, David Gibson wrote: > >On Wed, Mar 11, 2015 at 05:34:11PM +1100, Gavin Shan wrote: > >> The patch adds one more EEH sub-command (VFIO_EEH_PE_INJECT_ERR) > >> to inject the specified EEH error, wh

Re: [PATCH 2/2] drivers/vfio: Support EEH error injection

2015-03-11 Thread Gavin Shan
On Thu, Mar 12, 2015 at 03:21:29PM +1100, David Gibson wrote: >On Thu, Mar 12, 2015 at 02:16:42PM +1100, Gavin Shan wrote: >> On Thu, Mar 12, 2015 at 11:57:21AM +1100, David Gibson wrote: >> >On Wed, Mar 11, 2015 at 05:34:11PM +1100, Gavin Shan wrote: >> >> The patch adds one more EEH sub-command (

Re: [PATCH] powerpc: comvert relocs_check to a shell script using grep

2015-03-11 Thread Michael Ellerman
On Thu, 2015-03-12 at 15:10 +1100, Stephen Rothwell wrote: > This runs a bit faster and removes another use of perl from > the kernel build. > > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/Makefile| 4 +-- > arch/powerpc/relocs_check.pl | 66 > -

[PATCH] powerpc/powernv: Remove powernv RTAS support

2015-03-11 Thread Michael Ellerman
The powernv code has some conditional support for running on bare metal machines that have no OPAL firmware, but provide RTAS. No released machines ever supported that, and even in the lab it was just a transitional hack in the days when OPAL was still being developed. So remove the code. Signed

Re: [PATCH] spi: fsl-spi: use of_iomap() to map parameter ram on CPM1

2015-03-11 Thread leroy christophe
Le 06/03/2015 12:44, Mark Brown a écrit : On Wed, Mar 04, 2015 at 09:00:39AM +0100, leroy christophe wrote: Le 03/03/2015 19:44, Mark Brown a écrit : Why are we using of_iomap() rather than a generic I/O mapping function here? because all drivers for powerpc seems to be using of_iomap(), as o