[PATCHi v2] ibmveth: Add function to enable live MAC address changes

2015-02-27 Thread Thomas Falcon
Add a function that will enable changing the MAC address of an ibmveth interface while it is still running. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- v2: If h_change_logical_lan_mac fails, dev-dev_addr will not be changed. drivers/net/ethernet/ibm/ibmveth.c | 25

[PATCH 2/3] powerpc/pseries: Little endian fixes for post mobility device tree update

2015-02-27 Thread Tyrel Datwyler
We currently use the device tree update code in the kernel after resuming from a suspend operation to re-sync the kernels view of the device tree with that of the hypervisor. The code as it stands is not endian safe as it relies on parsing buffers returned by RTAS calls that thusly contains data

[PATCH 0/3] powerpc/pseries: Fixes and cleanup of suspend/migration code

2015-02-27 Thread Tyrel Datwyler
This patchset simplifies the usage of rtas_ibm_suspend_me() by removing an extraneous function parameter, fixes device tree updating on little endian platforms, and adds a mechanism for informing drmgr that the kernel is cabable of performing the whole migration including device tree update

[PATCH 1/3] powerpc/pseries: Simplify check for suspendability during suspend/migration

2015-02-27 Thread Tyrel Datwyler
During suspend/migration operation we must wait for the VASI state reported by the hypervisor to become Suspending prior to making the ibm,suspend-me RTAS call. Calling routines to rtas_ibm_supend_me() pass a vasi_state variable that exposes the VASI state to the caller. This is unnecessary as the

[PATCH 3/3] powerpc/pseries: Expose post-migration in kernel device tree update to drmgr

2015-02-27 Thread Tyrel Datwyler
Traditionally after a migration operation drmgr has coordinated the device tree update with the kernel in userspace via the ugly /proc/ppc64/ofdt interface. This can be better done fully in the kernel where support already exists. Currently, drmgr makes a faux ibm,suspend-me RTAS call which we

Re: [PATCH] seccomp: switch to using asm-generic for seccomp.h

2015-02-27 Thread Stephen Rothwell
Hi Kees, On Fri, 27 Feb 2015 16:52:29 -0800 Kees Cook keesc...@chromium.org wrote: diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h index 52b156b341f5..66ca6a30bf5c 100644 --- a/arch/arm/include/asm/seccomp.h +++ b/arch/arm/include/asm/seccomp.h @@ -1,11 +1 @@

Re: [PATCH] seccomp: switch to using asm-generic for seccomp.h

2015-02-27 Thread Kees Cook
On Fri, Feb 27, 2015 at 5:36 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Kees, On Fri, 27 Feb 2015 16:52:29 -0800 Kees Cook keesc...@chromium.org wrote: diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h index 52b156b341f5..66ca6a30bf5c 100644 ---

Re: [PATCH] clk: ppc-corenet: Add support for the FMD clock

2015-02-27 Thread Kumar Gala
On Jan 20, 2015, at 6:03 AM, Igal.Liberman igal.liber...@freescale.com wrote: From: Igal Liberman igal.liber...@freescale.com Really should have some commit text Signed-off-by: Igal Liberman igal.liber...@freescale.com This patch is based on https://patchwork.ozlabs.org/patch/430966/

Re: [PATCH v2] powerpc: re-enable dynticks

2015-02-27 Thread Paul Clarke
It appears the discussion wrapped up on this, favorably. Is there anything else I need to do to get this merged? Regards, PC On 02/20/2015 11:18 PM, Paul E. McKenney wrote: On Fri, Feb 20, 2015 at 11:13:33AM -0600, Paul Clarke wrote: implement arch_irq_work_has_interrupt() for powerpc

Re: [PATCH 2/5] crypto: talitos: Remove MD5_BLOCK_SIZE

2015-02-27 Thread Horia Geantă
On 2/20/2015 6:21 PM, Martin Hicks wrote: This is properly defined in the md5 header file. --- Signed-off-by tag is missing. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-02-27 Thread Paolo Bonzini
On 27/02/2015 02:05, Scott Wood wrote: Obviously leaving it in a buggy state is not what we want -- but I lean towards a short term fix of putting depends on !PREEMPT_RT on the in-kernel MPIC emulation (which is itself just an optimization -- you can still use KVM without it). This way

[v5 2/2] powerpc/corenet: Enable muxing MDIO buses via FPGA

2015-02-27 Thread Emil Medve
From: Shruti Kanetkar kanetkar.shr...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com Signed-off-by: Shruti Kanetkar kanetkar.shr...@gmail.com Signed-off-by: Emil Medve emilian.me...@freescale.com --- v5: Remove 'Change-Id' v4:

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

2015-02-27 Thread Horia Geantă
On 2/20/2015 7:00 PM, Martin Hicks wrote: The newer talitos hardware has support for AES in XTS mode. Signed-off-by: Martin Hicks m...@bork.org --- checkpatch complains about formatting, please check. drivers/crypto/talitos.c | 33 +

[v7 1/2] powerpc/mpc85xx: Add FSL QorIQ DPAA BMan support to device tree(s)

2015-02-27 Thread Emil Medve
From: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Signed-off-by: Poonam Aggrwal

[v5 1/2] powerpc/corenet: Enable muxing MDIO buses via GPIO

2015-02-27 Thread Emil Medve
From: Andy Fleming aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com Signed-off-by: Shruti Kanetkar kanetkar.shr...@gmail.com Signed-off-by: Emil Medve emilian.me...@freescale.com --- v5: Remove 'Change-Id' v4: Add

[v7 2/2] powerpc/mpc85xx: Add FSL QorIQ DPAA QMan support to device tree(s)

2015-02-27 Thread Emil Medve
From: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Signed-off-by: Poonam Aggrwal

Re: [PATCH v4 0/3] powerpc: Enable seccomp filter support

2015-02-27 Thread Benjamin Herrenschmidt
On Fri, 2015-02-27 at 09:28 +0200, Purcareata Bogdan wrote: Ping? What is the ping for ? Ben. On 18.02.2015 10:16, Bogdan Purcareata wrote: Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC architectures, and enable this support. Testing has been pursued using

[PATCH v1 2/2] perf/kvm: perf-kvm-stat to report syscalls

2015-02-27 Thread Hemant Kumar
Some of the kvm_hv exits are due to hcalls. So, this patch adds necessary support to display the number of hcalls grouped according to their type (H_IPI, H_CONFER, etc) with perf kvm stat report --event=syscall. The patch defines the reasons in kvm_trace_symbol_hcall. It adds

[PATCH v1 0/2] perf/kvm: perf-kvm-stat on powerpc

2015-02-27 Thread Hemant Kumar
perf kvm stat record/report which can be used to analyze KVM related statistics isn't enabled on powerpc. This patchset enables perf kvm stat on powerpc. The first patch enables perf kvm stat record and report to report kvm exits. record enables recording of the tracepoints:

[PATCH v1 1/2] perf/kvm: Enable perf-kvm-stat record/report on powerpc

2015-02-27 Thread Hemant Kumar
From: Srikar Dronamraju sri...@linux.vnet.ibm.com perf kvm stat record/report isn't supported on powerpc. This patch enables perf to record kvm events (kvm_hv:kvm_guest_entry and exit) and to display the stats related to the events. When perf kvm stat record -a is invoked, the kvm_hv related

[PATCH] powerpc: Fix trivial typo in comment

2015-02-27 Thread Yannick Guerrini
Change 'Kenrel' to 'Kernel' Signed-off-by: Yannick Guerrini yguerr...@tomshardware.fr --- arch/powerpc/include/asm/smu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h index 6e909f3..37d2da6 100644 ---

[PATCH] seccomp: switch to using asm-generic for seccomp.h

2015-02-27 Thread Kees Cook
Most architectures don't need to do anything special for the strict seccomp syscall entries. Remove the redundant headers and reduce the others. Signed-off-by: Kees Cook keesc...@chromium.org --- arch/arm/include/asm/seccomp.h | 12 +--- arch/microblaze/include/asm/seccomp.h |

Re: [v2,1/3] crypto: ppc/sha256 - assembler

2015-02-27 Thread Herbert Xu
On Fri, Jan 30, 2015 at 03:39:23PM +0100, Markus Stockhausen wrote: This is the assembler code for SHA256 implementation with the SIMD SPE instruction set. Although being only a 32 bit architecture GPRs are extended to 64 bit presenting two 32 bit values. With the enhanced instruction set we

[PATCH] ppc: mm: free memory after creating kmem cache

2015-02-27 Thread yanjiang.jin
From: Yanjiang Jin yanjiang@windriver.com kmem_cache_create()-kmem_cache_create_memcg()-kstrdup() allocates new space and copy name's content, so it is safe to free name memory after calling kmem_cache_create(). Else kmemleak would report the below warning: unreferenced object

Re: [PATCH] ibmveth: Add function to enable live MAC address changes

2015-02-27 Thread David Miller
From: Thomas Falcon tlfal...@linux.vnet.ibm.com Date: Wed, 25 Feb 2015 18:34:24 -0600 Add a function that will enable changing the MAC address of an ibmveth interface while it is still running. Signed-off-by: Thomas Falcon tlfal...@linux.vnet.ibm.com --- drivers/net/ethernet/ibm/ibmveth.c