Re: [PATCH 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

2013-05-20 Thread Huang Shijie
于 2013年05月21日 13:49, Shawn Guo 写道: specific pin setup for ecspi1, something like pinctrl_ecspi1_sabreauto. ok. thanks Huang Shijie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 2/6] ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 04:48:58PM +0800, Huang Shijie wrote: > In the imx6q-sabreauto and imx6dl-sabreauto boards, > the pin MX6Q{DL}_PAD_EIM_D19 is used as a GPIO for SPI NOR, but > it is used as a data pin for the WEIM NOR. > > In order to fix the conflict, this patch removes the pin from the

[PATCH] PowerPC: kernel: need return the related error code when failure occurs.

2013-05-20 Thread Chen Gang
When error occurs, need return the related error code to let upper caller know about it. ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() in 'arch/powerpc/platforms/powermac/nvram.c'). And when '*ppos >= size', need return -ESPIPE (Illegal seek) The original related

Re: [PATCH 1/6] drivers: bus: add a new driver for WEIM

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 04:48:57PM +0800, Huang Shijie wrote: > The WEIM(Wireless External Interface Module) works like a bus. > You can attach many different devices on it, such as NOR, onenand. > > In the case of i.MX6q-sabreauto, the NOR is connected to WEIM. > > This patch also adds the

Re: [PATCH 3/3] perf, x86, lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL

2013-05-20 Thread Michael Neuling
Peter Zijlstra wrote: > On Thu, May 16, 2013 at 05:36:11PM +0200, Stephane Eranian wrote: > > On Thu, May 16, 2013 at 1:16 PM, Peter Zijlstra > > wrote: > > > On Thu, May 16, 2013 at 08:15:17PM +1000, Michael Neuling wrote: > > >> Peter, > > >> > > >> BTW PowerPC also has the ability to filter

Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-20 Thread anish singh
On Mon, May 20, 2013 at 9:31 PM, Frederic Weisbecker wrote: > When the watchdog code is boot-disabled by the user, for example > through the 'nmi_watchdog=0' boot option, the setup() callback of > the watchdog kthread requests to park the task, and that until the > user later re-enables the

Re: [PATCH V4 3/3] pwm: pxa: add device tree support

2013-05-20 Thread Chao Xie
hi, Thierry Eric has acked all the patches. So can you help to merge them? Thanks. On Mon, May 13, 2013 at 2:20 PM, Eric Miao wrote: > On Mon, May 13, 2013 at 1:04 PM, Chao Xie wrote: + const struct of_device_id *of_id = + of_match_device(pxa_pwm_of_match,

[PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-20 Thread Wang YanQing
Impact: 1:convert all remain take_over_console to do_take_over_console 2:update take_over_console to do_take_over_console in comment Commit dc9641895abb ("vt: delete unneeded functions register_con_driver|take_over_console") delete take_over_console, but forget to convert remain

Re: [PATCH] virtio-net: Reporting traffic queue distribution statistics through ethtool

2013-05-20 Thread Jason Wang
On 05/21/2013 09:26 AM, Narasimhan, Sriram wrote: > > -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Monday, May 20, 2013 2:59 AM > To: Narasimhan, Sriram > Cc: ru...@rustcorp.com.au; virtualizat...@lists.linux-foundation.org; > k...@vger.kernel.org;

Re: [PATCH v4 3/5] clk: add support for clock reparent on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Add core support to allow clock implementations to select the best parent clock when rounding a rate, e.g. the one which can provide the closest clock rate to that requested. This is by way of adding a new clock op, determine_rate(), which is like

linux-next: Tree for May 21

2013-05-20 Thread Stephen Rothwell
Hi all, Changes since 20130520: The rr-fixes tree lost its build failure. The crypto tree gained a build failure so I used the version from next-20130520. The drm-intel tree gained a conflict against Linus' tree. The tty tree gained a build failure so I used the version from next-20130520

Re: [PATCH v6 0/9] Generic PHY Framework

2013-05-20 Thread Kishon Vijay Abraham I
Hi, On Monday 29 April 2013 03:33 PM, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use

Re: [PATCH v4 5/5] clk: clk-mux: implement remuxing on set_rate

2013-05-20 Thread Saravana Kannan
On 05/20/2013 06:28 AM, James Hogan wrote: Implement clk-mux remuxing if the CLK_SET_RATE_NO_REPARENT flag isn't set. This implements determine_rate for clk-mux to propagate to each parent and to choose the best one (like clk-divider this chooses the parent which provides the fastest rate <= the

Re: [PATCH 02/19] drivers/usb/host: add missing platform_driver owner

2013-05-20 Thread Viresh Kumar
On Tue, May 21, 2013 at 8:12 AM, Libo Chen wrote: > set the owner of platform_driver, to ensure that the > caller of driver holds a module refernece > > Signed-off-by: Libo Chen > --- > drivers/usb/host/ehci-spear.c |1 + Acked-by: Viresh Kumar -- To unsubscribe from this list: send the

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/powerpc/net/bpf_jit_comp.c between commit ed900ffb73e3 ("ppc: bpf_jit: can call module_free() from any context") from the net-next tree and commit "bpf: add comments explaining the schedule_work() operation" from the akpm

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm/net/bpf_jit_32.c between commit aafc787e41fd ("arm: bpf_jit: can call module_free() from any context") from the net-next tree and commit "bpf: add comments explaining the schedule_work() operation" from the akpm tree.

linux-next: manual merge of the akpm tree with the net-next tree

2013-05-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm/net/bpf_jit_32.c between commit aafc787e41fd ("arm: bpf_jit: can call module_free() from any context") from the net-next tree and commit "ARM: net: bpf_jit: make code generation less dependent on struct sk_filter"

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-20 Thread Chen Gang
On 05/20/2013 05:56 PM, Will Deacon wrote: > On Mon, May 20, 2013 at 08:15:04AM +0100, Marc Zyngier wrote: >> On Mon, 20 May 2013 14:48:05 +0800, Chen Gang >> wrote: >>> Need 'EXPORT_SYMBOL_GPL(read_current_timer)' if build with allmodconfig. >>> >>> The related error: >>> ERROR:

[PATCH 2/3] f2fs: add f2fs_readonly()

2013-05-20 Thread Jaegeuk Kim
Introduce a simple macro function for readability. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 5 + fs/f2fs/file.c | 2 +- fs/f2fs/super.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 9182b27..6594ce1 100644 ---

[PATCH 3/3] f2fs: fix wrong condition check

2013-05-20 Thread Jaegeuk Kim
While an orphan inode has zero link_count, f2fs_gc is able to select the inode for foreground gc. - f2fs_gc - do_garbage_collect - gc_data_segment : f2fs_iget is failed : get_valid_blocks() != 0, so that retry --> here we got the infinite loop. This patch resolved this issue.

[PATCH 1/3] f2fs: avoid RECLAIM_FS-ON-W: deadlock

2013-05-20 Thread Jaegeuk Kim
This patch tries to avoid the following deadlock condition of which the reclaim path can trigger f2fs_balance_fs again. = [ INFO: inconsistent lock state ] - inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. kswapd0/41

[ANNOUNCE] ktap 0.1 released

2013-05-20 Thread zhangwei(Jovi)
Dear, I'm pleased to announce that ktap release v0.1, this is the first official release of ktap project, it is expected that this release is not fully functional or very stable and we welcome bug reports and fixes for the issues. = what's ktap? A New Scripting Dynamic Tracing Tool For

Re: [PATCH] drm/exynos: exynos_hdmi: Pass correct pointer to free_irq()

2013-05-20 Thread 김승우
Good point, On 2013년 05월 21일 02:32, Lars-Peter Clausen wrote: > free_irq() expects the same pointer that was passed to request_threaded_irq(), > otherwise the IRQ is not freed. > > The issue was found using the following coccinelle script: > > > @r1@ > type T; > T devid; > @@ >

[PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-20 Thread Stephen Rothwell
Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), it has been basically impossible to build a kernel with CONFIG_HOTPLUG turned off. Remove all the remaining references to it. Cc: linux-a...@vger.kernel.org Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Cc: Doug

Re: [PATCHv12 2/4] zbud: add to mm/

2013-05-20 Thread Bob Liu
On 05/21/2013 12:26 AM, Seth Jennings wrote: > zbud is an special purpose allocator for storing compressed pages. It is > designed to store up to two compressed pages per physical page. While this > design limits storage density, it has simple and deterministic reclaim > properties that make it

Re: [PATCH 3/3] Thermal:core: Handle trips focused on current trip point only.

2013-05-20 Thread jonghwa3 . lee
On 2013년 05월 21일 01:00, Zhang, Rui wrote: > > >> -Original Message- >> From: Jonghwa Lee [mailto:jonghwa3@samsung.com] >> Sent: Saturday, May 18, 2013 5:51 PM >> To: linux...@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org; Zhang, Rui; Eduardo Valentin; Amit >> Dinel Kachhap;

Re: [PATCH v6 3/7] KVM: MMU: fast invalidate all pages

2013-05-20 Thread Xiao Guangrong
On 05/21/2013 04:40 AM, Marcelo Tosatti wrote: > On Mon, May 20, 2013 at 11:15:45PM +0300, Gleb Natapov wrote: >> On Mon, May 20, 2013 at 04:46:24PM -0300, Marcelo Tosatti wrote: >>> On Fri, May 17, 2013 at 05:12:58AM +0800, Xiao Guangrong wrote: The current kvm_mmu_zap_all is really slow -

Re: [PATCH 0/5 v2] VFIO PPC64: add VFIO support on POWERPC64

2013-05-20 Thread Alexey Kardashevskiy
Oops, wrong subject (cut-n-paste) :) There are 3 patches, not 5. On 05/21/2013 01:33 PM, Alexey Kardashevskiy wrote: > The series adds support for VFIO on POWERPC in user space (such as QEMU). > The in-kernel real mode IOMMU support is added by another series posted > separately. > > As the

Re: [PATCHv12 3/4] zswap: add to mm/

2013-05-20 Thread Bob Liu
On 05/21/2013 12:26 AM, Seth Jennings wrote: > zswap is a thin backend for frontswap that takes pages that are in the process > of being swapped out and attempts to compress them and store them in a > RAM-based memory pool. This can result in a significant I/O reduction on the > swap device and,

[PATCH 2/3] powerpc/vfio: Implement IOMMU driver for VFIO

2013-05-20 Thread Alexey Kardashevskiy
VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent part includes IOMMU initialization and handling. This implements an IOMMU driver for VFIO which does

[PATCH 3/3] powerpc/vfio: Enable on pSeries platform

2013-05-20 Thread Alexey Kardashevskiy
The enables VFIO on the pSeries platform, enabling user space programs to access PCI devices directly. Signed-off-by: Alexey Kardashevskiy Cc: David Gibson Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/pseries/iommu.c |4 drivers/iommu/Kconfig |2 +-

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

2013-05-20 Thread Alexey Kardashevskiy
This initializes IOMMU groups based on the IOMMU configuration discovered during the PCI scan on POWERNV (POWER non virtualized) platform. The IOMMU groups are to be used later by the VFIO driver, which is used for PCI pass through. It also implements an API for mapping/unmapping pages for guest

[PATCH 0/5 v2] VFIO PPC64: add VFIO support on POWERPC64

2013-05-20 Thread Alexey Kardashevskiy
The series adds support for VFIO on POWERPC in user space (such as QEMU). The in-kernel real mode IOMMU support is added by another series posted separately. As the first and main aim of this series is the POWERNV platform support, the "Enable on POWERNV platform" patch goes first and introduces

Re: [PATCH v2] ext4: Avoid unnecessarily writing back dirty pages before hole punching

2013-05-20 Thread Zheng Liu
On Mon, May 20, 2013 at 05:04:35PM +0800, Li Wang wrote: > For hole punching, currently ext4 will synchronously write back the > dirty pages fit into the hole, since the data on the disk responding > to those pages are to be deleted, it is benefical to directly release > those pages, no matter

Re: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-20 Thread Gustavo Padovan
Hi Shuan, * Shuah Khan [2013-05-21 01:02:58 +]: > Add missing reset_resume dev_pm_ops. Missing reset_resume results in the > following message after power management device test. This change sets > reset_resume to btusb_resume(). > > [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for

linux-next: build failure after merge of the tty tree

2013-05-20 Thread Stephen Rothwell
l just add the driver to I have used the version of the tty tree from next-20130520 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpah3KZtcnNW.pgp Description: PGP signature

[PATCH v2] sched: wake-affine throttle

2013-05-20 Thread Michael Wang
Log since v1: Add cc list. Add more comments. Tested on tip 3.10.0-rc1. wake-affine stuff is always trying to pull wakee close to waker, by theory, this will benefit us if waker's cpu cached hot data for wakee, or the extreme ping-pong case, and testing show it could

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-20 Thread Chen Gang
On 05/20/2013 05:10 PM, Will Deacon wrote: > Hi Chen, > > On Mon, May 20, 2013 at 06:42:46AM +0100, Chen Gang wrote: >> >> Add the extern variable 'screen_info' according to arm32 has done. >> >> The related error: >> drivers/video/console/vgacon.c:1305: undefined reference to `screen_info' >>

[PATCH 4/4] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This adds special support for huge pages (16MB). The reference counting cannot be easily done for such pages in real mode (when MMU is off) so we added a list of huge pages. It is populated in virtual mode and get_page is called just once per a huge page. Real mode handlers check if the

[PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests without passing them to QEMU, which should save time on switching to QEMU and back. Both real and virtual modes are supported - whenever the kernel fails to handle TCE request, it passes it to the virtual

[PATCH 2/4] powerpc: Prepare to support kernel handling of IOMMU map/unmap

2013-05-20 Thread Alexey Kardashevskiy
The current VFIO-on-POWER implementation supports only user mode driven mapping, i.e. QEMU is sending requests to map/unmap pages. However this approach is really slow, so we want to move that to KVM. Since H_PUT_TCE can be extremely performance sensitive (especially with network adapters where

[PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-05-20 Thread Alexey Kardashevskiy
This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as virtio devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call which saves time on transition to/from real mode. This adds a

[PATCH 0/4 v2] KVM: PPC: IOMMU in-kernel handling

2013-05-20 Thread Alexey Kardashevskiy
This accelerates IOMMU operations in real and virtual mode in the host kernel for the KVM guest. The first patch with multitce support is useful for emulated devices as is. The other patches are designed for VFIO although this series does not contain any VFIO related code as the connection

[PATCH 10/19] drivers/net/ethernet/freescale: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/freescale/xgmac_mdio.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c

[PATCH 06/19] drivers/usb/phy: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/phy/phy-rcar-usb.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/phy/phy-rcar-usb.c b/drivers/usb/phy/phy-rcar-usb.c

[PATCH 09/19] drivers/net/ethernet: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/dnet.c |3 ++- drivers/net/ethernet/korina.c |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git

[PATCH 02/19] drivers/usb/host: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/host/ehci-atmel.c |1 + drivers/usb/host/ehci-msm.c |1 + drivers/usb/host/ehci-mv.c |1 + drivers/usb/host/ehci-mxc.c |1 +

[PATCH 19/19] drivers/net/ethernet/renesas: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/renesas/sh_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/renesas/sh_eth.c

[PATCH 01/19] drivers/usb/musb: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/musb/am35x.c|1 + drivers/usb/musb/blackfin.c |1 + drivers/usb/musb/da8xx.c|1 + drivers/usb/musb/davinci.c |1 +

[PATCH 08/19] drivers/net/ethernet/amd: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/amd/am79c961a.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/amd/am79c961a.c

[PATCH -next] staging: btmtk_usb: remove unused including

2013-05-20 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- drivers/staging/btmtk_usb/btmtk_usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/btmtk_usb/btmtk_usb.c b/drivers/staging/btmtk_usb/btmtk_usb.c index 6b01f61..5d0a952 100644 ---

[PATCH 00/19] driver:usb: add missing platform_driver owner

2013-05-20 Thread Libo Chen
I find a lot of mistakes using struct platform_driver without owner. So I pick up some of them including usb and net modules Libo Chen (19): drivers/usb/musb: add missing platform_driver owner drivers/usb/host: add missing platform_driver owner drivers/usb/chipidea: add missing

[PATCH 18/19] drivers/net/ethernet/marvell: add missing platform_driver owne

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/marvell/mvneta.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c

[PATCH 15/19] drivers/net/irda: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/irda/bfin_sir.c |1 + drivers/net/irda/sh_irda.c|1 + drivers/net/irda/sh_sir.c |1 + drivers/net/irda/smsc-ircc2.c |1 + 4 files

[PATCH 12/19] drivers/net/ethernet/xscale: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/xscale/ixp4xx_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c

[PATCH 03/19] drivers/usb/chipidea: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/chipidea/ci13xxx_msm.c |2 +- drivers/usb/chipidea/core.c|1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 17/19] drivers/net/ethernet/nxp: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/nxp/lpc_eth.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/nxp/lpc_eth.c

[PATCH 13/19] drivers/net/ethernet/calxeda: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/calxeda/xgmac.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/calxeda/xgmac.c

[PATCH 14/19] drivers/net/wireless/brcm80211/brcmfmac: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- .../net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[PATCH 07/19] drivers/usb/gadget: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/gadget/r8a66597-udc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/gadget/r8a66597-udc.c

[PATCH 16/19] drivers/net/wan: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/wan/ixp4xx_hss.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c index

[PATCH 04/19] drivers/usb/dwc3: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/dwc3/core.c|1 + drivers/usb/dwc3/dwc3-exynos.c |1 + drivers/usb/dwc3/dwc3-omap.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-)

[PATCH 11/19] drivers/net/ethernet/natsemi: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/net/ethernet/natsemi/xtsonic.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/natsemi/xtsonic.c

[PATCH 05/19] drivers/ust/renesas_usbhs: add missing platform_driver owner

2013-05-20 Thread Libo Chen
set the owner of platform_driver, to ensure that the caller of driver holds a module refernece Signed-off-by: Libo Chen --- drivers/usb/renesas_usbhs/common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c

Re: [PATCH 3/3] imx-drm: parallel-display: Let device core handle pinctrl

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 10:55:51AM -0300, Fabio Estevam wrote: > Since commit ab78029 (drivers/pinctrl: grab default handles from device core) > we can rely on device core for handling pinctrl, so remove > devm_pinctrl_get_select_default() from the driver. > > Signed-off-by: Fabio Estevam

Re: [PATCH 2/3] imx-drm: imx-tve: Let device core handle pinctrl

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 10:55:50AM -0300, Fabio Estevam wrote: > Since commit ab78029 (drivers/pinctrl: grab default handles from device core) > we can rely on device core for handling pinctrl, so remove > devm_pinctrl_get_select_default() from the driver. > > Signed-off-by: Fabio Estevam

Re: [PATCH 1/3] imx-drm: imx-tve: Check the return value of 'regulator_enable()'

2013-05-20 Thread Shawn Guo
On Mon, May 20, 2013 at 10:55:49AM -0300, Fabio Estevam wrote: > Check the return value of 'regulator_enable()' to fix the following build > error: > s/error/warning It may be helpful to mention that the warning shows up since commit c8801a8 (regulator: core: Mark all get and enable calls as

Re: NOHZ: WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule, round 2

2013-05-20 Thread Michael Wang
On 05/21/2013 10:20 AM, Michael Wang wrote: [snip] > > If hotplug could not happen but still get an offline cpu from > policy->cpus, than we could say it's wrong, otherwise we proved nothing... like this: diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c

[RFC PATCH] net/wireless/mwifiex/pcie: Convert to dev_pm_ops from legacy pm ops

2013-05-20 Thread Shuah Khan
Convert the driver to use dev_pm_ops for power management and remove Legacy PM handling. This change re-uses existing suspend and resume interfaces for dev_pm_ops. Signed-off-by: Shuah Khan Cc: Shuah Khan Suggested-by: rafael.j.wyso...@intel.com --- Rafael, This is the first driver patch to

Re: [WiP]: aio support for migrating pages (Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable())

2013-05-20 Thread Benjamin LaHaise
On Tue, May 21, 2013 at 10:07:52AM +0800, Tang Chen wrote: > I'm not saying using two callbacks before and after migration is better. > I don't want to use address_space_operations is because there is no such > member > for anonymous pages. That depends on the nature of the pinning. For

Re: [RFC PATCH v1 0/5] BTRFS hot relocation support

2013-05-20 Thread Duncan
zwu.kernel posted on Mon, 20 May 2013 23:11:22 +0800 as excerpted: > The patchset is trying to introduce hot relocation support > for BTRFS. In hybrid storage environment, when the data in rotating disk > get hot, it can be relocated to nonrotating disk by BTRFS hot relocation > support

Re: NOHZ: WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule, round 2

2013-05-20 Thread Michael Wang
On 05/20/2013 09:23 PM, Borislav Petkov wrote: > On Mon, May 20, 2013 at 05:24:05PM +0800, Michael Wang wrote: diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index 443442d..449be88 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++

Re: [WiP]: aio support for migrating pages (Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable())

2013-05-20 Thread Tang Chen
Hi Benjamin, Sorry for the late. Please see below. On 05/17/2013 10:37 PM, Benjamin LaHaise wrote: On Fri, May 17, 2013 at 11:28:52AM +0800, Tang Chen wrote: Hi Benjamin, Thank you very much for your idea. :) I have no objection to your idea, but seeing from your patch, this only works for

Re: [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-05-20 Thread Stephen Warren
On 05/20/2013 07:39 PM, Jongsung Kim wrote: > Jongsung Kim : >> Stephen Warren : All r1p5 have 32-byte FIFO depth and it's not configurable. From the PL011 TRM: r1p4-r1p5 Contains the following differences in functionality: * The receive and transmit

Linux 3.6.11.4

2013-05-20 Thread Steven Rostedt
I'm announcing the release of the 3.6.11.4 kernel. The updated 3.6.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git v3.6-stable The patch can be downloaded at:

linux-next: manual merge of the drm-intel tree with Linus' tree

2013-05-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_dp.c between commit 657445fe8660 ("Revert "drm/i915: revert eDP bpp clamping code changes"") from Linus' tree and commits c6bb353815c3 ("drm/i915: move dp clock computations to

Re: [PATCH] include/linux/posix_acl.h: need 'return NULL' when BUG(), if neither CONFIG_BUG nor HAVE_ARCH_BUG is defined.

2013-05-20 Thread Chen Gang
On 05/21/2013 12:31 AM, Russell King - ARM Linux wrote: > On Mon, May 20, 2013 at 07:40:24AM -0700, Eric W. Biederman wrote: >> Seriously? The correct fix it would seem is to give a useful default BUG >> definition. Say *NULL. > > Absolutely. > > The real question is... how is this happening.

linux-next: build failure after merge of the crypto tree

2013-05-20 Thread Stephen Rothwell
tree from next-20130520 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpVEH4d5rxeL.pgp Description: PGP signature

RE: [PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-05-20 Thread Jongsung Kim
Jongsung Kim : > Stephen Warren : >>> All r1p5 have 32-byte FIFO depth and it's not configurable. From the >>> PL011 >>> TRM: >>> >>> r1p4-r1p5 Contains the following differences in functionality: >>> * The receive and transmit FIFOs are increased to a depth of 32. >>>

[PATCH] MAINTAINERS: Add Backlight subsystem co-maintainer

2013-05-20 Thread Jingoo Han
Adding myself as co-maintainer for the backlight subsystem. Signed-off-by: Jingoo Han --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index b1fceb0..e24f305 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1600,6 +1600,7 @@ F:

Re: [PATCH 2/3] Thermal: core: Modify temp_crit_show() to use proper callback function.

2013-05-20 Thread jonghwa3 . lee
On 2013년 05월 21일 00:57, Zhang, Rui wrote: > > >> -Original Message- >> From: Jonghwa Lee [mailto:jonghwa3@samsung.com] >> Sent: Saturday, May 18, 2013 5:51 PM >> To: linux...@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org; Zhang, Rui; Eduardo Valentin; Amit >> Dinel Kachhap;

RE: [PATCH] virtio-net: Reporting traffic queue distribution statistics through ethtool

2013-05-20 Thread Narasimhan, Sriram
-Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Monday, May 20, 2013 2:59 AM To: Narasimhan, Sriram Cc: ru...@rustcorp.com.au; virtualizat...@lists.linux-foundation.org; k...@vger.kernel.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jason Wang

lockdep spew from tty

2013-05-20 Thread Benjamin Herrenschmidt
Hi Greg ! Caught that on a console today running some 3.10-almost-rc2 (based on ec50f2a97a4a7098a81b40030e0bfe28bdc43740). Right now I don't have the bandwidth to investigate but I though you might be interested :-) I'll take another peek if it happens again.

Re: [RFC PATCH 02/02] swapon: add "cluster-discard" support

2013-05-20 Thread KOSAKI Motohiro
> +.B "\-c, \-\-cluster\-discard" > +Swapping will discard clusters of swap pages in between freeing them > +and re-writing to them, if the swap device supports that. This option > +also implies the > +.I \-d, \-\-discard > +swapon flag. I'm not sure this is good idea. Why can't we make these

[PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-20 Thread Shuah Khan
Add missing reset_resume dev_pm_ops. Missing reset_resume results in the following message after power management device test. This change sets reset_resume to btusb_resume(). [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for driver btusb? [ 2506.936137] btusb 1-1.5:1.1: no reset_resume for

[PATCH] ARM: smp: Drop RCU_NONIDLE usage in cpu_die()

2013-05-20 Thread Stephen Boyd
Before f7b861b (arm: Use generic idle loop, 2013-03-21) ARM would kill the CPU within the rcu idle section. Now that the rcu_idle_enter()/exit() pair have been pushed lower down in the idle loop this is no longer true and so using RCU_NONIDLE here is no longer necessary and also harmful because

Re: [RFC PATCH 01/02] swap: discard while swapping only if SWAP_FLAG_DISCARD_CLUSTER

2013-05-20 Thread KOSAKI Motohiro
(5/20/13 8:04 PM), Rafael Aquini wrote: > Intruduce a new flag to make page-cluster fine-grained discards while swapping > conditional, as they can be considered detrimental to some setups. However, > keep allowing batched discards at sys_swapon() time, when enabled by the > system administrator.

[PATCH] ARM: dts: msm: Fix bad register addresses

2013-05-20 Thread Stephen Boyd
Some bad copy/paste got in as well as too many zeroes. Fix everything up so that the registers after the @ sign are consistent with the first reg property. Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/msm8660-surf.dts | 4 ++-- arch/arm/boot/dts/msm8960-cdp.dts | 2 +- 2 files changed, 3

Re: [PATCH 0/9] Convert all to the caller hold lock version

2013-05-20 Thread Wang YanQing
On Mon, May 20, 2013 at 12:27:37PM -0700, Greg KH wrote: > Can you also send a patch fixing up the documentation to use the new > functions as well? > Yes, I will do it. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 5/5] perf: net_dropmonitor: Remove progress indicator

2013-05-20 Thread Ben Hutchings
We can read /proc/kallsyms in a fraction of a second, so why waste a further fraction of a second showing progress? Signed-off-by: Ben Hutchings --- tools/perf/scripts/python/net_dropmonitor.py | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git

[PATCH 4/5] perf: net_dropmonitor: Use bisection in symbol lookup

2013-05-20 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- tools/perf/scripts/python/net_dropmonitor.py | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/tools/perf/scripts/python/net_dropmonitor.py b/tools/perf/scripts/python/net_dropmonitor.py index 6acdc82e..32fcee0 100755

[PATCH 3/5] perf: net_dropmonitor: Do not assume ordering of dictionaries

2013-05-20 Thread Ben Hutchings
The sort order of dictionaries in Python is undocumented. Use tuples instead, which are documented to be lexically ordered. Signed-off-by: Ben Hutchings --- tools/perf/scripts/python/net_dropmonitor.py |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 2/5] perf: net_dropmonitor: Fix symbol-relative addresses

2013-05-20 Thread Ben Hutchings
The comparison between traced and symbol addresses is backwards: if the traced address doesn't exactly match a symbol (which we don't expect it to), we'll show the next symbol and the offset to it, whereas we should show the previous symbol and the offset from it. Cc: sta...@vger.kernel.org

[PATCH 1/5] perf: net_dropmonitor: Fix trace parameter order

2013-05-20 Thread Ben Hutchings
This works much better if we don't treat protocol numbers as addresses. Cc: sta...@vger.kernel.org Signed-off-by: Ben Hutchings --- tools/perf/scripts/python/net_dropmonitor.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/net_dropmonitor.py

[PATCH 0/5] perf: net_dropmonitor: Make it work and make it fast

2013-05-20 Thread Ben Hutchings
Somewhat surprisingly, the net_dropmonitor reporting script doesn't work at all. This series fixes it and then makes it slightly more efficient. Ben. Ben Hutchings (5): perf: net_dropmonitor: Fix trace parameter order perf: net_dropmonitor: Fix symbol-relative addresses perf:

Re: Linux doesn't create /proc/vmcore

2013-05-20 Thread Atsushi Kumagai
Hello matt, > CONFIG_PROC_VMCORE=y Is it specified for the capture kernel ? By any chance, did you run kdump-config on the system kernel, not on the capture kernel ? > DESCRIPTION > kdump-config manages the kdump feature of the Linux kernel. When a > kdump enabled kernel

Re: Bye bye Mr tmem guy

2013-05-20 Thread Bob Liu
Hi Dan, On 05/20/2013 11:51 PM, Dan Magenheimer wrote: > Hi Linux kernel folks and Xen folks -- > > Effective July 5, I will be resigning from Oracle and "retiring" > for a minimum of 12-18 months and probably/hopefully much longer. > Between now and July 5, I will be tying up loose ends related

Re: linux-next: question about the pwm tree

2013-05-20 Thread Stephen Rothwell
Hi Thierry, On Mon, 20 May 2013 09:57:48 +0200 Thierry Reding wrote: > > On Monday 20 May 2013, Stephen Rothwell wrote: > > > > I noticed that you changed the email address for the maintainer of the > > pwm tree in the MAINTAINERS file. should I use this new address as your > > contact for

[RFC PATCH 02/02] swapon: add "cluster-discard" support

2013-05-20 Thread Rafael Aquini
Introduce a new swapon flag/option to support more flexible swap discard setup. The --cluster-discard swapon(8) option can be used by a system admin to flag sys_swapon() to perform page-cluster fine-grained discards. This patch also changes the behaviour of swapon(8) --discard option, that now

[RFC PATCH 00/02] swap: allowing a more flexible DISCARD policy

2013-05-20 Thread Rafael Aquini
Howdy folks, While working on a backport for the following changes: 3399446 swap: discard while swapping only if SWAP_FLAG_DISCARD 052b198 swap: don't do discard if no discard option added We found ourselves around an interesting discussion on how limiting the behavior with regard to

  1   2   3   4   5   6   7   8   9   10   >