[PATCH 105/115] ion: remove ion_heap_alloc_pages

2013-12-13 Thread John Stultz
From: Colin Cross Now that ion_vm_fault doesn't need a struct page with a nonzero refcount, there is no need allocate heap memory for cached pages using split_page. Remove the ion_heap_alloc_pages and ion_heap_free_pages helpers in favor of direct calls to alloc_pages and __free_pages, and remov

[PATCH 098/115] ion: Fix two small issues in system_heap allocation

2013-12-13 Thread John Stultz
In testing ion system heap allocations, I ran across two issues: 1) Not k*z*allocing the sg table. This can cause trouble if we end up trying call sg_alloc_table() with too many entries, then sg_alloc_table() internally fails and tries to free what it thinks is internal table structure, which caus

[PATCH 102/115] ion: free low memory from page pools first

2013-12-13 Thread John Stultz
From: Colin Cross When the shrinkers are called with GFP_HIGH free low memory first, it is more important to have free than high memory. Signed-off-by: Colin Cross Signed-off-by: John Stultz --- drivers/staging/android/ion/ion_page_pool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletio

[PATCH 100/115] ion: add alignment check to carveout heap

2013-12-13 Thread John Stultz
From: Colin Cross Signed-off-by: Colin Cross Signed-off-by: John Stultz --- drivers/staging/android/ion/ion_carveout_heap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/android/ion/ion_carveout_heap.c b/drivers/staging/android/ion/ion_carveout_heap.c index 1d53e91..b

[PATCH 101/115] ion: optimize ion_heap_buffer_zero

2013-12-13 Thread John Stultz
From: Colin Cross ion_heap_buffer_zero can spend a long time in unmap_kernel_range if it has to broadcast a tlb flush to every cpu for every page. Modify it to batch pages into a larger region to clear using a single mapping. This may cause the mapping size to change if the buffer size is not a

[PATCH 099/115] ion: drop dependency on ARM

2013-12-13 Thread John Stultz
From: Colin Cross Ion will compile and run on other platforms now, remove the dependency on ARM. Signed-off-by: Colin Cross Signed-off-by: John Stultz --- drivers/staging/android/ion/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/android/ion/Kconfig b/drivers/stag

[PATCH 096/115] ion: clean up ioctls

2013-12-13 Thread John Stultz
From: Colin Cross Convert the ion ioctls to use _IOW instead of _IOWR where appropriate, and factor out the copy_from_user and copy_to_user based on the _IOC_DIR bits. For the existing incorrect ioctls, add a function to wrap _IOC_DIR to return the corrected value. Signed-off-by: Colin Cross S

Re: [PATCH v2 2/4] pciehp: Use link change notifications for hot-plug and removal

2013-12-13 Thread Guenter Roeck
On Fri, Dec 13, 2013 at 05:58:08PM -0800, Yinghai Lu wrote: > On Fri, Dec 13, 2013 at 1:14 PM, Bjorn Helgaas wrote: > > On Fri, Dec 13, 2013 at 12:04 PM, Rajat Jain wrote: > > > >> Once again: the way I interpret this is: > >> * Always enable Link events. > >> * Disable presence events if attenti

[PATCH 2/3] usb: musb: add support for JZ4740 usb device controller

2013-12-13 Thread Apelete Seketeli
Add support for Ingenic JZ4740 USB Device Controller through a specific musb glue layer. The platform data already available in tree for that USB Device Controller was previously used by an out-of-tree USB gadget driver which was not relying on the musb driver and was written by Ingenic and the Qi

[PATCH 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-13 Thread Apelete Seketeli
JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL register in silicon. During ethernet-over-usb transactions, on reset, musb driver tries to read from DEVCTL and consequently sets device as host (A-Device) instead of peripheral (B-Device), which makes it a composite devic

[PATCH 0/3] Add USB support for Ingenic JZ4740

2013-12-13 Thread Apelete Seketeli
Hello, Following the fix I submitted a few weeks ago, here is a set of patches that add USB support for the Ingenic JZ4740 MIPS SoC. The JZ4740 is found in the Ben NanoNote handheld computer which is built by the Qi-Hardware community. Even though Ben NanoNote is already supported in the kernel,

[PATCH 1/3] mips: qi_lb60: add defconfig for Ben NanoNote

2013-12-13 Thread Apelete Seketeli
Add defconfig for the Ben NanoNote handheld computer which is built around QI_LB60 board and Ingenic JZ4740 MIPS SoC. Signed-off-by: Apelete Seketeli --- arch/mips/configs/qi_lb60_defconfig | 188 +++ 1 file changed, 188 insertions(+) create mode 100644 arch/mip

Re: [PATCH v4 1/2] ARM: mach-moxart: add MOXA ART SoC platform files

2013-12-13 Thread Arnd Bergmann
On Friday 13 December 2013, Guenter Roeck wrote: > On Fri, Dec 13, 2013 at 06:23:44PM +0100, Jonas Jensen wrote: > > On 13 December 2013 17:17, Arnd Bergmann wrote: > > > I've been out of the loop a bit here. I initially suggested having the > > > restart > > > handler be part of the watchdog dri

Re: [PATCH 094/115] ion: fix printk warnings

2013-12-13 Thread Joe Perches
On Fri, 2013-12-13 at 19:26 -0800, John Stultz wrote: > From: Colin Cross > > Use %z for size_t and %pa for dma_addr_t to avoid warnings in printks. dma_addr_t is not a phys_addr_t and should _not_ be emitted with %pa. Until %pad is in -next, use %lx, (unsigned long long)dma_addr_t. > Signed-o

[PATCH -next] ARM: pxa: fix return value check in em_x270_sensor_init()

2013-12-13 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function regulator_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- arch/arm/mach-pxa/em-x270.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [PATCH 7/10] ACPI / hotplug: Move container-specific code out of the core

2013-12-13 Thread Rafael J. Wysocki
On Friday, December 13, 2013 02:17:32 PM Yasuaki Ishimatsu wrote: > (2013/12/13 13:56), Rafael J. Wysocki wrote: > > On Friday, December 13, 2013 11:56:32 AM Yasuaki Ishimatsu wrote: > >> Hi Rafael, > > > > Hi, > > > >> Please share your more detailed idea. I started to implement the following > >>

RE: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-13 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, December 14, 2013 2:33 AM > To: Alexey Kardashevskiy > Cc: linuxppc-...@lists.ozlabs.org; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; Alex Williamson; Paul Mackerras; David Gibson; Sethi > Varun-B16395; Bhushan Bh

RE: [PATCH v11] PPC: POWERNV: move iommu_add_device earlier

2013-12-13 Thread bharat.bhus...@freescale.com
> -Original Message- > From: Alexey Kardashevskiy [mailto:a...@ozlabs.ru] > Sent: Thursday, December 12, 2013 1:24 PM > To: linuxppc-...@lists.ozlabs.org > Cc: Alexey Kardashevskiy; Benjamin Herrenschmidt; Bhushan Bharat-R65777; Alex > Graf; linux-kernel@vger.kernel.org > Subject: [PATCH

Re: [GIT PULL] MTD fixes for 3.13-rc

2013-12-13 Thread Brian Norris
On Fri, Dec 13, 2013 at 11:37:36AM -0800, Linus Torvalds wrote: > I do note that your pgp key still has very few signatures, and none of > them in my normal key ring. Any possibility that you might expand on > your signatures a bit? I'll see what I can do. dwmw2 offered to sign, but we're not exac

[PATCH v2 1/1] ARM: dts: Add missing clocks for exynos4412 dwmmc node

2013-12-13 Thread Alex Ling
This patch adds "biu" and "ciu" clocks for exynos4412 dwmmc node. Without this patch, dwmmc host driver will skip enabling the two clocks and it will break dwmmc host function on exynos4412. Tested on FriendlyARM TINY4412 board. Signed-off-by: Alex Ling --- Changes for v2: - Fix patch descript

Re: [PATCH] ARM: dts: add board dts file for EXYNOS4412 based TINY4412 board

2013-12-13 Thread Alex Ling
Hi, Kukjin, Could you please review this patch? Thanks! Regards, Alex On Fri, Nov 15, 2013 at 9:13 PM, kasim ling wrote: > The board compatible string will be documented after the coresponding > documentation is specified. > > > Regards, > Alex > > On Fri, Nov 15, 2013 at 9:09 PM, Alex Ling wr

Re: [RFC PATCH 0/3] Change how we determine when to hand out THPs

2013-12-13 Thread Andrew Morton
On Thu, 12 Dec 2013 12:00:37 -0600 Alex Thorlton wrote: > This patch changes the way we decide whether or not to give out THPs to > processes when they fault in pages. Please cc Andrea on this. > The way things are right now, > touching one byte in a 2M chunk where no pages have been faulted i

Re: [PATCH 0/2] MTD maintenance updates

2013-12-13 Thread Brian Norris
On Thu, Dec 05, 2013 at 10:34:48AM +0200, Artem Bityutskiy wrote: > On Wed, 2013-12-04 at 15:28 -0800, Brian Norris wrote: > > BTW, I'd like to get David's "ack" for these patches, and it'd be nice > > to hear > > from Artem too, since he has previously been an unofficial maintainer > > (and is > >

[PATCH] clocksource: sh_cmt: Add clk_prepare/unprepare support

2013-12-13 Thread Simon Horman
From: Laurent Pinchart Prepare the clock at probe time, as there is no other appropriate place in the driver where we're allowed to sleep. Cc: Daniel Lezcano Cc: linux-kernel@vger.kernel.org Signed-off-by: Laurent Pinchart Signed-off-by: Simon Horman --- drivers/clocksource/sh_cmt.c | 20 +++

RE: bnx2x_sriov.c: Missing switch/case breaks?

2013-12-13 Thread Yuval Mintz
> Hi Ariel. > > I wrote a little checkpatch script to look for missing > switch/case breaks. > > http://www.kernelhub.org/?msg=379933&p=2 > > There are _many_ instances of case blocks in sriov.c > that could be missing breaks as they use fall-throughs. > > It would be good if these are actually

Re: bnx2x_sriov.c: Missing switch/case breaks?

2013-12-13 Thread Joe Perches
On Sat, 2013-12-14 at 06:16 +, Yuval Mintz wrote: > > Hi Ariel. > > > > I wrote a little checkpatch script to look for missing > > switch/case breaks. > > > > http://www.kernelhub.org/?msg=379933&p=2 > > > > There are _many_ instances of case blocks in sriov.c > > that could be missing break

[PATCH] drivers: clk: Fix build break introduced in 3e1e4a5f

2013-12-13 Thread Rashika Kheria
This patch fixes the build break introduced by 3e1e4a5f. The mentioned commit id makes the changes in file "include/linux/mfd/samsung/core.h" by changing the members of structure sec_pmic_dev. The patch replaces "regmap" with "regmap_pmic" because structure sec_pmic_dev no more contains any member

<    2   3   4   5   6   7