[PATCH 0/3] freescale: Update logging style

2013-04-14 Thread Joe Perches
Convert various printk logging styles to current styles. Uncompiled, untested. Joe Perches (3): fec: Convert printks to netdev_level gianfar: Use netdev_level when possible ucc_geth: Convert ugeth_level to pr_level drivers/net/ethernet/freescale/fec_main.c | 26 +-

[PATCH 1/3] fec: Convert printks to netdev_level

2013-04-14 Thread Joe Perches
Use a more current logging message style. Convert the printks where a struct net_device is available to netdev_level. Convert the other printks to pr_level and add pr_fmt where appropriate. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/ethernet/freescale/fec_main.c| 26

[PATCH 2/3] gianfar: Use netdev_level when possible

2013-04-14 Thread Joe Perches
Use a more current logging style. Convert pr_level to netdev_level when a struct net_device is available. Add pr_fmt and neaten other formats too. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/ethernet/freescale/gianfar_ethtool.c | 24 +---

Re: [PATCH -V5 24/25] powerpc: Optimize hugepage invalidate

2013-04-14 Thread Aneesh Kumar K.V
David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:28:02AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Hugepage invalidate involves invalidating multiple hpte entries. Optimize the operation using H_BULK_REMOVE on lpar platforms. On

[PATCH 1/3] iommu: Move swap_pci_ref function to pci.h.

2013-04-14 Thread Varun Sethi
swap_pci_ref function is used by the IOMMU API code for swapping pci device pointers, while determining the iommu group for the device. Currently this function was being implemented for different IOMMU drivers. This patch moves the function to pci.h so that the implementation can be shared across

[PATCH 2/3 v12] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-04-14 Thread Varun Sethi
Added the following domain attributes for the FSL PAMU driver: 1. Added new iommu stash attribute, which allows setting of the LIODN specific stash id parameter through IOMMU API. 2. Added an attribute for enabling/disabling DMA to a particular memory window. 3. Added domain attribute to

Re: [PATCH 0/3] freescale: Update logging style

2013-04-14 Thread David Miller
From: Joe Perches j...@perches.com Date: Sat, 13 Apr 2013 22:03:16 -0700 Convert various printk logging styles to current styles. Uncompiled, untested. Joe Perches (3): fec: Convert printks to netdev_level gianfar: Use netdev_level when possible ucc_geth: Convert ugeth_level to

Re: [PATCH 03/17] powerpc/85xx: cache operations for Freescale SoCs based on BOOK3E

2013-04-14 Thread Zhao Chenhui
On Wed, Apr 03, 2013 at 09:09:11PM +0800, Zhao Chenhui wrote: These cache operations support Freescale SoCs based on BOOK3E. Move L1 cache operations to fsl_booke_cache.S in order to maintain easily. And, add cache operations for backside L2 cache and platform cache. The backside L2 cache

Re: [PATCH -V5 24/25] powerpc: Optimize hugepage invalidate

2013-04-14 Thread David Gibson
On Sun, Apr 14, 2013 at 03:32:12PM +0530, Aneesh Kumar K.V wrote: David Gibson d...@au1.ibm.com writes: On Thu, Apr 04, 2013 at 11:28:02AM +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Hugepage invalidate involves invalidating multiple hpte

[PATCH] powerpc: Fix audit crash due to save/restore PPR changes

2013-04-14 Thread Alistair Popple
The current mainline crashes when hitting userspace with the following: kernel BUG at /home/alistair/Source/linux-stable/kernel/auditsc.c:1769! cpu 0x1: Vector: 700 (Program Check) at [c00023883a60] pc: c01047a8: .__audit_syscall_entry+0x38/0x130 lr: c000ed64:

Re: [RFC PATCH v2 3/4] powerpc: Don't bolt the hpte in kernel_map_linear_page()

2013-04-14 Thread Paul Mackerras
On Fri, Apr 12, 2013 at 10:16:59AM +0800, Li Zhong wrote: It seems that in kernel_unmap_linear_page(), it only checks whether there is a map in the linear_map_hash_slots array, so seems we don't need bolt the hpte. I don't exactly understand your rationale here, but I don't think it's safe not

[PATCH] powerpc/perf: Power8 PMU support

2013-04-14 Thread Michael Ellerman
This patch adds preliminary support for the power8 PMU to perf. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- arch/powerpc/perf/Makefile |3 +- arch/powerpc/perf/power8-pmu.c | 454 2 files changed, 456 insertions(+), 1 deletion(-)

Re: [PATCHv3 1/2] ppc64: perform proper max_bus_speed detection

2013-04-14 Thread Michael Ellerman
On Thu, Apr 11, 2013 at 10:13:13AM -0300, Lucas Kannebley Tavares wrote: On pseries machines the detection for max_bus_speed should be done through an OpenFirmware property. This patch adds a function to perform this detection and a hook to perform dynamic adding of the function only for

Re: [PATCH] Enable CONFIG_DEVTMPFS_MOUNT to ensure /dev can be mounted correctly

2013-04-14 Thread Michael Ellerman
On Thu, Apr 11, 2013 at 09:56:30PM +0800, Zhenhua Luo wrote: When using recent udev, the /dev node mount requires CONFIG_DEVTMPFS_MOUNT is enabled in Kernel. Really? I know it makes life easier when you don't have an initramfs, but is it actually required now? cheers

[PATCH] powerpc: fix usage of setup_pci_atmu()

2013-04-14 Thread Michael Neuling
Linux next is currently failing to compile mpc85xx_defconfig with: arch/powerpc/sysdev/fsl_pci.c:944:2: error: too many arguments to function 'setup_pci_atmu' This is caused by (from Kumar's next branch): commit 34642bbb3d12121333efcf4ea7dfe66685e403a1 Author: Kumar Gala