Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-19 Thread Jingoo Han
On 2015. 8. 20., at PM 1:29, Archit Taneja wrote: > > Hi, > >> On 08/19/2015 08:18 PM, Yakir Yang wrote: >> >> Hi all, >>The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >> share the same IP, so a lot of parts can be re-used. I split the common >> code into bridge

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-08-19 Thread Kishon Vijay Abraham I
Hi Mark Brown, On Wednesday 19 August 2015 11:41 PM, Mark Brown wrote: > On Tue, Aug 18, 2015 at 11:23:54AM +0530, Kishon Vijay Abraham I wrote: >> On Friday 14 August 2015 11:30 PM, Mark Brown wrote: >>> On Mon, Jul 27, 2015 at 04:54:09PM +0530, Kishon Vijay Abraham I wrote: > is moved as

Re: [PATCH v4 1/2] Documentation: dt: Add Xilinx zynqmp dma device tree binding documentation

2015-08-19 Thread Vinod Koul
On Thu, Aug 06, 2015 at 08:49:32AM +0530, Punnaiah Choudary Kalluri wrote: > Device-tree binding documentation for Xilinx zynqmp dma engine used in > Zynq UltraScale+ MPSoC. > > Signed-off-by: Punnaiah Choudary Kalluri > --- > Changes in v4: > - None > Changes in v3: > - None > Changes in v2: >

Re: [PATCH v2 2/3] mailbox: Hi6220: add mailbox driver

2015-08-19 Thread YiPing Xu
On 2015/8/20 10:53, Leo Yan wrote: Add driver for Hi6220 mailbox, the mailbox communicates with MCU; for sending data, it can support two methods for low level implementation: one is to use interrupt as acknowledge, another is automatic mode which without any acknowledge. These two methods have

Re: [PATCH v1 3/4] Crypto: Add support for APM X-Gene SoC CRC32C h/w accelerator driver

2015-08-19 Thread Vinod Koul
On Thu, Jul 30, 2015 at 05:41:07PM +0530, Rameshwar Prasad Sahu wrote: > + nents = sg_nents(req->src); > + sg_count = dma_map_sg(dev, req->src, nents, DMA_TO_DEVICE); > + if (!sg_count) { > + dev_err(dev, "Failed to map src sg"); > + return -ENOMEM; mapping

RE: [RESEND PATCH] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-19 Thread Appana Durga Kedareswara Rao
Hi Moritz Fischer, Thanks for reviewing the patch. > -Original Message- > From: Moritz Fischer [mailto:moritz.fisc...@ettus.com] > Sent: Thursday, August 20, 2015 3:21 AM > To: Appana Durga Kedareswara Rao > Cc: vinod.k...@intel.com; dan.j.willi...@intel.com; Michal Simek; Soren

Re: [PATCH v1 2/4] dmaengine: xgene-dma: Add support for CRC32C calculation via DMA engine

2015-08-19 Thread Vinod Koul
On Thu, Jul 30, 2015 at 05:41:06PM +0530, Rameshwar Prasad Sahu wrote: > + /* Invalidate unused source address field */ > + for (; i < 4; i++) > + xgene_dma_invalidate_buffer(xgene_dma_lookup_ext8(desc2, i)); > + > + /* Check whether requested buffer processed */ > + if

RE: [PATCH 3/8][v3]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-19 Thread Ramneek Mehresh
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Friday, August 14, 2015 12:17 AM > To: Mehresh Ramneek-B31383 > Cc: linux-kernel@vger.kernel.org; ba...@ti.com; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; Li Yang-Leo-R58472 > > Subject:

[lkp] [auxdisplay] 4edd70c133f: BUG: unable to handle kernel

2015-08-19 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 4edd70c133f3921c594883d8f9da31a7261f8b4f ("auxdisplay: ks0108: use new parport device model") +--+++ |

Re: 0be964be0 "module: Sanitize RCU usage and locking" breaks symbol_put_addr?

2015-08-19 Thread Rusty Russell
Peter Zijlstra writes: > On Wed, Aug 19, 2015 at 06:19:43AM +0930, Rusty Russell wrote: >> Indeed! That comment is wrong, and your fix is good. >> >> Care to S-O-B on it? > > Of course, here goes. Thanks! This is an ancient bug (2009) which your extra assertions caught. It's unlikely to have

[lkp] [x86/entry/64] fa58aafc448: 10.8% aim7.jobs-per-min

2015-08-19 Thread kernel test robot
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/entry commit fa58aafc44805ac425d17c6a8082513b5442ce9d ("x86/entry/64: When returning via SYSRET, POP regs instead of using MOV")

linux-next: manual merge of the tip tree with the s390 tree

2015-08-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/s390/lib/uaccess.c between commit: cabc4abe8e36 ("s390/uaccess: remove uaccess_primary kernel parameter") from the s390 tree and commit: ed79e946732e ("s390/uaccess, locking/static_keys: employ

Re: un4i-ss-cipher.c warning

2015-08-19 Thread Herbert Xu
On Wed, Aug 19, 2015 at 04:35:36PM +0200, Michal Suchanek wrote: > Hello, > > when building a kernel with sunxi crypto driver as merged into the > sinxi-wip branch I get a compiler warning. > > I am not sure this is the latest version of the driver. It does not > seem to be in mainline yet. The

Re: [PATCH v3 0/5] sync a se with its cfs_rq when att(det)aching it

2015-08-19 Thread Byungchul Park
On Thu, Aug 20, 2015 at 03:17:21AM +0200, Peter Zijlstra wrote: > > I did something like this on top.. please have a look at the XXX and > integrate. yes, i will do it. > > --- > > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -2664,8 +2664,8 @@ static inline u64

Re: [PATCH v3 4/5] sched: sync a se with its cfs_rq when switching sched class to fair class

2015-08-19 Thread Byungchul Park
On Wed, Aug 19, 2015 at 07:12:41PM +0200, Peter Zijlstra wrote: > On Wed, Aug 19, 2015 at 03:47:15PM +0900, byungchul.p...@lge.com wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 1be042a..3419f6c 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH v1 1/4] dmaengine: Add support for new feature CRC32C

2015-08-19 Thread Vinod Koul
On Thu, Jul 30, 2015 at 05:41:05PM +0530, Rameshwar Prasad Sahu wrote: > This patch adds support for new feature CRC32C calculation in > dmaengine framework. Looks okay can you please update Documentation also -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH v2 0/3] SysFS driver for QEMU fw_cfg device

2015-08-19 Thread Ard Biesheuvel
On 19 August 2015 at 22:49, Gabriel L. Somlo wrote: > Hi Ard, > > On Wed, Aug 19, 2015 at 11:42:02AM +0200, Ard Biesheuvel wrote: >> (missed some cc's) >> >> On 19 August 2015 at 11:38, Ard Biesheuvel wrote: >> > From: "Gabriel L. Somlo" >> >> Several different architectures supported by QEMU

Re: [PATCH char-misc-next 11/19] dma: Add support to program MIC x100 status descriptiors

2015-08-19 Thread Vinod Koul
On Mon, Jul 27, 2015 at 04:58:17PM -0700, Ashutosh Dixit wrote: > +/* Program a status descriptor with phys as address and value to be written > */ > +static int mic_dma_do_status_update(struct mic_dma_chan *ch, dma_addr_t phys, > + u64 value) > +{ > + int ret

Re: linux-next: build failure after merge of the net-next tree

2015-08-19 Thread David Miller
From: Stephen Rothwell Date: Thu, 20 Aug 2015 12:57:34 +1000 > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > net/ipv4/fib_semantics.c: In function 'fib_encap_match': > net/ipv4/fib_semantics.c:553:3: error: implicit declaration of

Re: [PATCH v8] dma: sun4i: Add support for the DMA engine on sun[457]i SoCs

2015-08-19 Thread Vinod Koul
On Sun, Jul 26, 2015 at 10:50:55PM +0200, Maxime Ripard wrote: > From: Emilio López > > This patch adds support for the DMA engine present on Allwinner A10, > A13, A10S and A20 SoCs. This engine has two kinds of channels: normal > and dedicated. The main difference is in the mode of operation; >

[v2 4/5] NET: nps_enet: TX done acknowledge.

2015-08-19 Thread Noam Camus
From: Noam Camus This is needed for when TX done interrupt is in "level mode". For example it is true for some simulators of this device. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[v2 5/5] NET: nps_enet: minor namespace cleanup

2015-08-19 Thread Noam Camus
From: Noam Camus We define buf_int_enable in the minimal namespace it is used. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ezchip/nps_enet.c

[v2 3/5] NET: nps_enet: drop control frames

2015-08-19 Thread Noam Camus
From: Noam Camus We set controller to drop control frames and not trying to pass them on. This is only needed for debug reasons. Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

[v2 2/5] NET: nps_enet: TX done race condition

2015-08-19 Thread Noam Camus
From: Noam Camus We need to set tx_skb pointer before send frame. If we receive interrupt before we set pointer we will try to free SKB with wrong pointer. Now we are sure that SKB pointer will never be NULL during handling TX done and check is removed. Signed-off-by: Noam Camus ---

[v2 0/5] *** nps_enet fixups ***

2015-08-19 Thread Noam Camus
From: Noam Camus Change v2 TX done is handled back with NAPI poll. Change v1 This patch set is a bunch of fixes to make nps_enet work correctly with all platforms, i.e. real device, emulation system, and simulation system. The main trigger for this patch set was that in our emulation system the

[v2 1/5] NET: nps_enet: replace use of cause register

2015-08-19 Thread Noam Camus
From: Noam Camus When interrupt is received we read directly from control register for RX/TX instead of reading cause register since this register fails to indicate TX done when TX interrupt is "edge mode". Signed-off-by: Noam Camus --- drivers/net/ethernet/ezchip/nps_enet.c |9 +

[PATCH] sched/idle/x86: add missing trace_cpu_idle to mwait_idle()

2015-08-19 Thread Jisheng Zhang
Commit b253149b843f ("sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve power savings and to improve performance") restores mwait_idle(), but the trace_cpu_idle related callings are missing, this causes powertop on my old desktop powered by Intel Core2 E6550 reports zero wakeups

Re: [PATCH v3 08/14] phy: Add driver for rockchip Display Port PHY

2015-08-19 Thread Kishon Vijay Abraham I
Hi, On Wednesday 19 August 2015 08:21 PM, Yakir Yang wrote: > Signed-off-by: Yakir Yang where's the commit message? > --- > Changes in v3: > - Take Heiko suggest, add rockchip dp phy driver, > collect the phy clocks and power control. > > Changes in v2: None > >

Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-19 Thread Archit Taneja
Hi, On 08/19/2015 08:18 PM, Yakir Yang wrote: Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause

[PATCH] perf probe: Try to use symbol table if searching debug info failed

2015-08-19 Thread Wang Nan
A problem can occure in statically linked perf when vmlinux can be found: # perf probe --add sys_epoll_pwait probe-definition(0): sys_epoll_pwait symbol:sys_epoll_pwait file:(null) line:0 offset:0 return:0 lazy:(null) 0 arguments Looking at the vmlinux_path (7 entries long) Using

Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver

2015-08-19 Thread Michael Ellerman
On Thu, 2015-08-20 at 11:40 +1000, Michael Ellerman wrote: > On Wed, 2015-08-19 at 23:53 +0200, Laurent Dufour wrote: > > On 04/08/2015 02:51, Michael Ellerman wrote: > > > On Fri, 2015-07-31 at 11:29 +0200, Laurent Dufour wrote: > > >> This patch fixes several endianness issues detected when

Re: [RFC 0/2] drm/dsi: DSI for devices with different control bus

2015-08-19 Thread Archit Taneja
Hi Thierry, Lucas, On 08/19/2015 08:32 PM, Thierry Reding wrote: On Wed, Aug 19, 2015 at 04:52:24PM +0200, Lucas Stach wrote: Am Mittwoch, den 19.08.2015, 16:34 +0200 schrieb Thierry Reding: On Wed, Aug 19, 2015 at 04:17:08PM +0200, Lucas Stach wrote: Hi Thierry, Archit, [...] Perhaps a

Re: [PATCH] sha: Enable cpuid check for Intel SHA extensions implementations

2015-08-19 Thread Borislav Petkov
On Wed, Aug 19, 2015 at 09:49:58AM -0700, Tim Chen wrote: > On Tue, 2015-08-18 at 18:46 +0200, Thomas Gleixner wrote: > > On Mon, 17 Aug 2015, Tim Chen wrote: > > > Signed-off-by: Chandramouli Narayanan > > > Signed-off-by: Tim Chen > > > > And now the question who authored this complex one

Re: [PATCH v2] dmaengine: fsl-edma: add PM suspend/resume support

2015-08-19 Thread Vinod Koul
On Mon, Aug 17, 2015 at 02:10:46PM -0500, Li Yang wrote: > >> Think of it from the end user perspective. Would you like your laptop (or > >> whatever) to refuse to suspend because of this condition? The user may well > >> expect that closing the lid on their laptop will reliably lead to it > >>

Re: [PATCH RESEND 0/2] mtd: nand: pxa3xx-nand: fixes

2015-08-19 Thread Brian Norris
On Wed, Aug 19, 2015 at 06:18:57PM -0300, Ezequiel Garcia wrote: > On 19 August 2015 at 15:30, Robert Jarzmik wrote: > > Hi Brian, > > > > As promised, here are the remaining fixes I have on pxa3xx-nand I'd like > > you to > > queue up. The other changes I have submitted are under review and not

Re: [PATCH v10 03/20] x86/stackvalidate: Compile-time stack validation

2015-08-19 Thread Josh Poimboeuf
On Wed, Aug 19, 2015 at 12:01:38PM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Sat, Aug 15, 2015 at 12:23:54AM -0700, Andrew Morton wrote: > > > On Thu, 13 Aug 2015 22:10:24 -0500 Josh Poimboeuf > > > wrote: > > > > > > > This adds a CONFIG_STACK_VALIDATION option which

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-19 Thread Mike Galbraith
On Wed, 2015-08-19 at 09:41 -0700, Tejun Heo wrote: > Most problems can be solved in different ways and I'm doubtful that > e.g. bouncing jobs to worker threads would be more expensive than > migrating the worker back and forth in a lot of cases. If migrating > threads around floats somebody's

Re: [PATCH v3 4/5] sched: sync a se with its cfs_rq when switching sched class to fair class

2015-08-19 Thread Yuyang Du
On Wed, Aug 19, 2015 at 07:12:41PM +0200, Peter Zijlstra wrote: > On Wed, Aug 19, 2015 at 03:47:15PM +0900, byungchul.p...@lge.com wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 1be042a..3419f6c 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH v3 2/5] KVM: add KVM_REQ_EXIT request for userspace exit

2015-08-19 Thread Wanpeng Li
On 8/14/15 6:08 PM, Radim Krčmář wrote: When userspace wants KVM to exit to userspace, it sends a signal. This has a disadvantage of requiring a change to the signal mask because the signal needs to be blocked in userspace to stay pending when sending to self. Using a request flag allows us to

Re: [PATCH v2] pinctrl: mediatek: Fix multiple registration issue.

2015-08-19 Thread Axel Lin
2015-08-20 11:38 GMT+08:00 Hongzhou Yang : > Since our common driver need support main chip and PMU > at the same time, that means it will register two > pinctrl device, and the pinctrl_desc structure should > be used two times. > > But pinctrl_desc use global static definition, then > the latest

[PATCH v2] pinctrl: mediatek: Fix multiple registration issue.

2015-08-19 Thread Hongzhou Yang
Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use global static definition, then the latest registered pinctrl device will overwrite the old one's,

Re: [PATCH V3] thermal: cpu_cooling: Add MAINTAINERS entry

2015-08-19 Thread Viresh Kumar
On 20-08-15, 05:01, Daniel Lezcano wrote: > On 08/20/2015 04:40 AM, Viresh Kumar wrote: > >None of the patches are reaching Viresh or Daniel directly as > >get_maintainers doesn't report us as maintainers. Looks like file header > >or history of commits isn't able to do that properly. > > > >Add a

Re: [PATCH 2/2] ubifs: Allow O_DIRECT

2015-08-19 Thread Dongsheng Yang
On 08/20/2015 04:35 AM, Richard Weinberger wrote: Currently UBIFS does not support direct IO, but some applications blindly use the O_DIRECT flag. Instead of failing upon open() we can do better and fall back to buffered IO. H, to be honest, I am not sure we have to do it as Dave

RE: [PATCH 3/3] mtd: spi-nor: sf: Add clear flag status register support

2015-08-19 Thread Hou Zhiqiang
Hello Jagan, > -Original Message- > From: Jagan Teki [mailto:jt...@openedev.com] > Sent: 2015年8月20日 1:49 > To: Hou Zhiqiang-B48286 > Cc: linux-...@lists.infradead.org; Hu Mingkai-B21284; Brian Norris; David > Woodhouse; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/3] mtd: spi-nor:

Re: [PATCH V3] thermal: cpu_cooling: Add MAINTAINERS entry

2015-08-19 Thread Daniel Lezcano
On 08/20/2015 04:40 AM, Viresh Kumar wrote: None of the patches are reaching Viresh or Daniel directly as get_maintainers doesn't report us as maintainers. Looks like file header or history of commits isn't able to do that properly. Add a separate entry for cpu_cooling driver in MAINTAINERS.

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

2015-08-19 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: net/ipv4/fib_semantics.c: In function 'fib_encap_match': net/ipv4/fib_semantics.c:553:3: error: implicit declaration of function 'lwtstate_free' [-Werror=implicit-function-declaration]

[PATCH v2 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-19 Thread Leo Yan
On Hi6220, below memory regions in DDR have specific purpose: 0x05e0, - 0x05ef,: For MCU firmware using at runtime; 0x0740,f000 - 0x0740,: For MCU firmware's section; 0x06df,f000 - 0x06df,: For mailbox message data. This patch reserves these memory regions and add device

[PATCH v2 2/3] mailbox: Hi6220: add mailbox driver

2015-08-19 Thread Leo Yan
Add driver for Hi6220 mailbox, the mailbox communicates with MCU; for sending data, it can support two methods for low level implementation: one is to use interrupt as acknowledge, another is automatic mode which without any acknowledge. These two methods have been supported in the driver. For

[PATCH v2 0/3] mailbox: hisilicon: add Hi6220 mailbox driver

2015-08-19 Thread Leo Yan
Hi6220 mailbox supports up to 32 channels. Each channel is unidirectional with a maximum message size of 8 words. I/O is performed using register access (there is no DMA) and the cell raises an interrupt when messages are received. This patch series is to implement Hi6220 mailbox driver. It

Re: [PATCH 1/2] ubifs: Remove dead xattr code

2015-08-19 Thread Dongsheng Yang
On 08/20/2015 04:35 AM, Richard Weinberger wrote: This is a partial revert of commit d7f0b70d30ffb9bbe6b8a3e1035cf0b79965ef53 ("UBIFS: Add security.* XATTR support for the UBIFS"). Hi Richard, What about a full reverting of this commit. In ubifs, we *can* support any namespace of xattr

[PATCH v2 1/3] dt-bindings: mailbox: Document Hi6220 mailbox driver

2015-08-19 Thread Leo Yan
Document the new compatible for Hisilicon Hi6220 mailbox driver. Signed-off-by: Leo Yan --- .../bindings/mailbox/hisilicon,hi6220-mailbox.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH V3] thermal: cpu_cooling: Add MAINTAINERS entry

2015-08-19 Thread Viresh Kumar
None of the patches are reaching Viresh or Daniel directly as get_maintainers doesn't report us as maintainers. Looks like file header or history of commits isn't able to do that properly. Add a separate entry for cpu_cooling driver in MAINTAINERS. Acked-by: Eduardo Valentin Acked-by: Amit

RE: [PATCH 0/4] printk: Softlockup avoidance

2015-08-19 Thread KY Srinivasan
> -Original Message- > From: Jan Kara [mailto:j...@suse.com] > Sent: Wednesday, August 19, 2015 8:38 AM > To: Andrew Morton > Cc: LKML ; pmla...@suse.com; > rost...@goodmis.org; Gavin Hu ; KY Srinivasan > ; Jan Kara > Subject: [PATCH 0/4] printk: Softlockup avoidance > > From: Jan

RE: [PATCH] power: wm831x_power: Support USB charger current limit management

2015-08-19 Thread Peter Chen
> Integrate with the newly added USB charger interface to limit the current we > draw from the USB input based on the input device configuration identified by > the USB stack, allowing us to charge more quickly from high current inputs > without drawing more current than specified from others. >

Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support

2015-08-19 Thread Chen-Yu Tsai
On Thu, Aug 20, 2015 at 12:32 AM, Mark Brown wrote: > On Wed, Aug 19, 2015 at 12:20:01PM +0800, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This is my third attempt at adding support for Allwinner's Reduced >> Serial Bus (RSB), which is used to communicate with PMICs and other >> peripherals on

[PATCH] drivers/base: fix typo

2015-08-19 Thread Junesung Lee
The word "filesystem" is being used without the space. Signed-off-by: Junesung Lee --- drivers/base/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 98504ec..9140666 100644 --- a/drivers/base/Kconfig +++

Re: [PATCH v4 3/5] gadget: Support for the usb charger framework

2015-08-19 Thread Baolin Wang
On 19 August 2015 at 20:56, Sergei Shtylyov wrote: > Hello. > > On 8/19/2015 12:13 PM, Baolin Wang wrote: > >> For supporting the usb charger, it adds the usb_charger_init() and >> usb_charger_exit() functions for usb charger initialization and exit. >> >> Introduce a callback 'get_charger_type'

Re: [PATCH] powerpc/hvsi: Fix endianness issues in the HVSI driver

2015-08-19 Thread Michael Ellerman
On Wed, 2015-08-19 at 23:53 +0200, Laurent Dufour wrote: > On 04/08/2015 02:51, Michael Ellerman wrote: > > On Fri, 2015-07-31 at 11:29 +0200, Laurent Dufour wrote: > >> This patch fixes several endianness issues detected when running the HVSI > >> driver in little endian mode. > >> > >> These

Re: [PATCH] mm: mmap: Simplify the failure return working flow

2015-08-19 Thread gchen gchen
On Tue, 18 Aug 2015 15:57:08 -0700 a...@linux-foundation.org wrote: On Wed, 19 Aug 2015 06:27:58 +0800 Chen Gang xili_gchen_5...@hotmail.com wrote: From: Chen Gang xili_gchen_5...@hotmail.com As sent, this patch is From:you@hotmail and Signed-off-by:you@gmail. This is peculiar. I'm assuming

Re: [PATCH] mm: mmap: Simplify the failure return working flow

2015-08-19 Thread gchen gchen
On Tue, 18 Aug 2015 15:57:08 -0700 a...@linux-foundation.org wrote: > > On Wed, 19 Aug 2015 06:27:58 +0800 Chen Gang > wrote: > >> From: Chen Gang > > As sent, this patch is From:you@hotmail and Signed-off-by:you@gmail. > > This is peculiar. I'm assuming that it should have been From:you@gmail

Re: [PATCH v4 5/5] power: wm831x_power: Support USB charger current limit management

2015-08-19 Thread Baolin Wang
On 20 August 2015 at 00:24, Mark Brown wrote: > On Wed, Aug 19, 2015 at 05:13:48PM +0800, Baolin Wang wrote: >> Integrate with the newly added USB charger interface to limit the current >> we draw from the USB input based on the input device configuration >> identified by the USB stack, allowing

Re: [PATCH v3 0/5] sync a se with its cfs_rq when att(det)aching it

2015-08-19 Thread Peter Zijlstra
I did something like this on top.. please have a look at the XXX and integrate. --- --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -2664,8 +2664,8 @@ static inline u64 cfs_rq_clock_task(stru /* Group cfs_rq's load_avg is used for task_h_load and update_cfs_share */ static inline int

Re: provide more common DMA API functions V2

2015-08-19 Thread Michael Ellerman
On Thu, 2015-08-20 at 09:52 +1000, Stephen Rothwell wrote: > Hi Andrew (sorry, I can't tell who made the incorrect statement below > that I am replying to), > > On Wed, 19 Aug 2015 14:36:56 -0700 Andrew Morton > wrote: > > > > On Wed, 19 Aug 2015 10:08:14 +0200 Christoph Hellwig wrote: > > >

Re: [PATCH] x86_64/efi: Mapping Boot and Runtime EFI memory regions to different starting virtual address

2015-08-19 Thread joeyli
On Wed, Aug 19, 2015 at 05:31:45PM +0100, Matt Fleming wrote: > On Thu, 30 Jul, at 10:16:01PM, joeyli wrote: > > > > Thanks for your explanation. > > > > For my issue, I will check if rewriting the VA of runtime services can fix > > issue. > > If not, then I think need find a way to sync the

Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-19 Thread Yakir Yang
Hi Dave, On 08/19/2015 06:54 PM, Dave Airlie wrote: On 20 August 2015 at 00:48, Yakir Yang wrote: Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288

linux-next: manual merge of the tile tree with the microblaze tree

2015-08-19 Thread Stephen Rothwell
Hi Chris, Today's linux-next merge of the tile tree got a conflict in: include/uapi/linux/elf-em.h between commit: bb88ba0946dd ("elf-em.h: move EM_MICROBLAZE to the common header") from the microblaze tree and commit: a0ddef81f4ae ("tile: enable full SECCOMP support") from the tile

Re: [PATCH 1/2] dmaengine: pl330: do not emit loop for 1 byte transfer.

2015-08-19 Thread Vinod Koul
On Thu, Aug 20, 2015 at 08:58:49AM +0900, Krzysztof Kozłowski wrote: > 2015-08-20 1:42 GMT+09:00 Vinod Koul : > > > > On Thu, Jul 23, 2015 at 06:04:49PM +0200, Michal Suchanek wrote: > > > When there is only one burst required do not emit loop instructions to > > > loop exactly once. Emit just the

Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory"

2015-08-19 Thread Dan Williams
On Tue, Aug 18, 2015 at 12:06 PM, Jerome Glisse wrote: > On Tue, Aug 18, 2015 at 10:23:38AM -0700, Dan Williams wrote: > Thought maybe you don't need a new ZONE_DEV and all you need is valid > struct page for this device memory, and you don't want this page to be > useable by the general memory

Exporting obscene amounts of data in rtnl_link_ops->fill_info()

2015-08-19 Thread Jason A. Donenfeld
Hi guys, I have a new link driver that registers a rtnl_link_ops. For many things, the rtnl interfaces are perfectly suited: I can use netlink in userspace to check out packet counts, adjust interface parameters, and all sorts of things. There is even the "fill_info" function exporting

Re: [Xen-devel] [PATCH v3 00/20] xen/arm64: Add support for 64KB page

2015-08-19 Thread Julien Grall
Hi, Ping? I'm missing some reviews on block and netfront code. We'd like to see this series going in Linux 4.3. Some distributions plans to use this version for aarch64 support. If we miss it, we won't have any Xen guests support, even it's minimal, for Linux using 64KB page granularity.

DEBUG_LOCKS_WARN_ON(in_interrupt()) triggering in socket code

2015-08-19 Thread Jason A. Donenfeld
Hi folks, In setting up a socket, there are two functions I make use of that in turn wind up calling static_key_slow_inc: setup_udp_tunnel_sock and sk_set_memalloc. These both make use of static_key_slow_inc because they selectively enable certain important code paths. This is all fine, except

Re: [PATCH] xen/tmem: Pass page instead of pfn to xen_tmem_get_page()

2015-08-19 Thread Julien Grall
Hi, On 19/08/2015 06:25, Murilo Opsfelder Araujo wrote: The commit 091208a676dfdabb2b8fe86ee155c6fc80081b69 "xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn" left behind a call to xen_tmem_get_page() receiving pfn instead of page. This change also fixes the following build warning:

Re: [PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-19 Thread Matt Porter
On Sat, Aug 08, 2015 at 12:39:40PM +0100, Jonathan Cameron wrote: > On 06/08/15 18:38, Matt Porter wrote: > > On Mon, Aug 03, 2015 at 11:26:12PM +0200, Peter Meerwald wrote: > >> On Mon, 3 Aug 2015, Matt Porter wrote: > > > > ... > > > >>> +static int max6675_read(struct max6675_state *st, int

[GIT] Networking

2015-08-19 Thread David Miller
1) Out of bounds array access in 802.11 minstrel code, from Adrien Schildknecht. 2) Don't use skb_get() in IGMP/MLD code paths, as this makes pskb_may_pull() BUG. From Linus Luessing. 3) Fix off by one in ipv4 route dumping code, from Andy Whitcroft. 4) Fix deadlock in

RE: [Intel-wired-lan] [Patch V3 5/9] i40e: Use numa_mem_id() to better support memoryless node

2015-08-19 Thread David Rientjes
On Wed, 19 Aug 2015, Patil, Kiran wrote: > Acked-by: Kiran Patil Where's the call to preempt_disable() to prevent kernels with preemption from making numa_node_id() invalid during this iteration? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: 4.2-rc7: mutex-related crash on boot (radeon?)

2015-08-19 Thread Dave Airlie
On 19 August 2015 at 00:28, Meelis Roos wrote: > Hi, I tried 4.2-rc7 and todays 4.2-rc7+git on a P4 PC with Intel 850 > chipset and old Radeon graphics. The machine crashes during boot and > starts spamming dmesg as fast as it scrolls. Netconsole caught the > dmesg. 4.1.0 worked fine. > > The

Re: [PATCH] regulator: Add lockdep asserts to help detecting locking misuse

2015-08-19 Thread Krzysztof Kozlowski
On 19.08.2015 22:08, Geert Uytterhoeven wrote: > Hi Krzysztof, > > On Wed, Jun 10, 2015 at 8:23 AM, Krzysztof Kozlowski > wrote: >> Add lockdep_assert_held_once() to functions explicitly mentioning that >> rdev or regulator_list mutex must be held. Using WARN_ONCE shouldn't >> pollute the dmesg

Re: [Patch V3 3/9] sgi-xp: Replace cpu_to_node() with cpu_to_mem() to support memoryless node

2015-08-19 Thread David Rientjes
On Wed, 19 Aug 2015, Jiang Liu wrote: > > Why not simply fix build_zonelists_node() so that the __GFP_THISNODE > > zonelists are set up to reference the zones of cpu_to_mem() for memoryless > > nodes? > > > > It seems much better than checking and maintaining every __GFP_THISNODE > > user to

Re: [Patch V3 2/9] kernel/profile.c: Replace cpu_to_mem() with cpu_to_node()

2015-08-19 Thread David Rientjes
On Wed, 19 Aug 2015, Jiang Liu wrote: > On 2015/8/18 8:31, David Rientjes wrote: > > On Mon, 17 Aug 2015, Jiang Liu wrote: > > > >> Function profile_cpu_callback() allocates memory without specifying > >> __GFP_THISNODE flag, so replace cpu_to_mem() with cpu_to_node() > >> because cpu_to_mem()

Re: [PATCH 1/2] dmaengine: pl330: do not emit loop for 1 byte transfer.

2015-08-19 Thread Krzysztof Kozłowski
2015-08-20 1:42 GMT+09:00 Vinod Koul : > > On Thu, Jul 23, 2015 at 06:04:49PM +0200, Michal Suchanek wrote: > > When there is only one burst required do not emit loop instructions to > > loop exactly once. Emit just the body of the loop. > > Applied, thanks Where is the patch? I can't find it on

Re: [PATCH v3 0/14] Add Analogix Core Display Port Driver

2015-08-19 Thread Dave Airlie
On 20 August 2015 at 00:48, Yakir Yang wrote: > > Hi all, >The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller > share the same IP, so a lot of parts can be re-used. I split the common > code into bridge directory, then rk3288 and exynos only need to keep > some platform

Re: provide more common DMA API functions V2

2015-08-19 Thread Stephen Rothwell
Hi Andrew (sorry, I can't tell who made the incorrect statement below that I am replying to), On Wed, 19 Aug 2015 14:36:56 -0700 Andrew Morton wrote: > > On Wed, 19 Aug 2015 10:08:14 +0200 Christoph Hellwig wrote: > > > On Tue, Aug 18, 2015 at 09:51:07AM +0200, Ingo Molnar wrote: > > > I.e.

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-19 Thread Andrew Morton
On Wed, 19 Aug 2015 04:18:26 -0400 Changsheng Liu wrote: > From: Changsheng Liu > > When memory hot added, the function should_add_memory_movable > always return 0,because the movable zone is empty, > so the memory that hot added will add to normal zone even if > we want to remove the memory.

Re: [PATCH v1 4/4] perf script: enable printing of branch stack

2015-08-19 Thread Andi Kleen
> > Also it would be good to resolve the addresses to symbol + offset > > But then, that becomes harder to post-process or even read with long > C++ signatures. Ok. Maybe make it optional? For many usages resolved addresses will be much more useful than raw. Normall call stacks also do that.

[PATCH] staging: android: fix typo

2015-08-19 Thread Junesung Lee
Fix typo. Signed-off-by: Junesung Lee --- drivers/staging/android/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 24d657b..0a9a7b3 100644 --- a/drivers/staging/android/Kconfig +++

Re: Ping Re: [PATCH 0/8] math-emu: Update kernel math-emu code from current glibc soft-fp

2015-08-19 Thread Michael Ellerman
On Wed, 2015-08-19 at 14:39 +, Joseph Myers wrote: > I'd like to ping this patch series, not having seen any comments on it. > > [PATCH 0/8] math-emu: Update kernel math-emu code from current glibc soft-fp > https://lkml.org/lkml/2015/7/2/394 > > [PATCH 1/8] math-emu: Move math-emu to

Re: __sb_start_write() && force_trylock hack

2015-08-19 Thread Dave Chinner
On Wed, Aug 19, 2015 at 05:00:26PM +0200, Oleg Nesterov wrote: > On 08/19, Dave Chinner wrote: > > > > On Tue, Aug 18, 2015 at 04:49:00PM +0200, Oleg Nesterov wrote: > > > Jan, Dave, perhaps you can take a look... > > > > > > On 08/14, Oleg Nesterov wrote: > > > > > > > > Plus another patch which

[tip:irq/urgent] irqchip/crossbar: Restore set_wake functionality

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: 8200fe4347870d4ad6475048bcdf3e7c106c5268 Gitweb: http://git.kernel.org/tip/8200fe4347870d4ad6475048bcdf3e7c106c5268 Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:30 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:26 +0200 irqchip/crossbar:

[tip:irq/urgent] ARM: OMAP: wakeupgen: Restore the irq_set_type() mechanism

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: 63059a272398ef5dc1bd7065a036e8b6e82d1af7 Gitweb: http://git.kernel.org/tip/63059a272398ef5dc1bd7065a036e8b6e82d1af7 Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:28 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:25 +0200 ARM: OMAP:

[tip:irq/urgent] irqchip/crossbar: Restore the mask on suspend behaviour

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: 4fd8f47e7e5b64a74b60f23c2e08ba8234d659d1 Gitweb: http://git.kernel.org/tip/4fd8f47e7e5b64a74b60f23c2e08ba8234d659d1 Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:29 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:25 +0200 irqchip/crossbar:

[tip:irq/urgent] irqchip/crossbar: Restore the irq_set_type() mechanism

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: e269ec42328783e51be08c191aa935dba56141fc Gitweb: http://git.kernel.org/tip/e269ec42328783e51be08c191aa935dba56141fc Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:27 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:25 +0200 irqchip/crossbar:

[tip:irq/urgent] genirq: Don' t return ENOSYS in irq_chip_retrigger_hierarchy

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: 6d4affea7d5aa5ca5ff4c3e5fbf3ee16801cc527 Gitweb: http://git.kernel.org/tip/6d4affea7d5aa5ca5ff4c3e5fbf3ee16801cc527 Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:25 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:25 +0200 genirq: Don't

[tip:irq/urgent] genirq: Introduce irq_chip_set_type_parent() helper

2015-08-19 Thread tip-bot for Grygorii Strashko
Commit-ID: b7560de198222994374c1340a389f12d5efb244a Gitweb: http://git.kernel.org/tip/b7560de198222994374c1340a389f12d5efb244a Author: Grygorii Strashko AuthorDate: Fri, 14 Aug 2015 15:20:26 +0300 Committer: Thomas Gleixner CommitDate: Thu, 20 Aug 2015 00:25:25 +0200 genirq: Introduce

Re: Next round: revised futex(2) man page for review

2015-08-19 Thread Thomas Gleixner
On Sat, 8 Aug 2015, Michael Kerrisk (man-pages) wrote: > >>FUTEX_CMP_REQUEUE (since Linux 2.6.7) > >> This operation first checks whether the location uaddr > >> still contains the value val3. If not, the operation > >> fails with the

Re: cxl: Add alternate MMIO error handling

2015-08-19 Thread Michael Ellerman
On Thu, 2015-23-07 at 06:43:56 UTC, Ian Munsie wrote: > From: Ian Munsie > > userspace programs using cxl currently have to use two strategies for > dealing with MMIO errors simultaneously. They have to check every read > for a return of all Fs in case the adapter has gone away and the kernel >

Re: [06/31] arch/powerpc/pseries: use kmemdup rather than duplicating its implementation

2015-08-19 Thread Michael Ellerman
On Fri, 2015-07-08 at 07:59:12 UTC, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda > Reviewed-by: Nathan Fontenot

Re: [RESEND] powerpc/numa: initialize distance lookup table from drconf path

2015-08-19 Thread Michael Ellerman
On Thu, 2015-02-07 at 05:39:01 UTC, Nikunj A Dadhania wrote: > In some situations, a NUMA guest that supports > ibm,dynamic-memory-reconfiguration node will end up having flat NUMA > distances between nodes. This is because of two problems in the > current code. > > 1) Different representations

Re: [05/31] arch/powerpc/nvram: use kmemdup rather than duplicating its implementation

2015-08-19 Thread Michael Ellerman
On Fri, 2015-07-08 at 07:59:11 UTC, Andrzej Hajda wrote: > The patch was generated using fixed coccinelle semantic patch > scripts/coccinelle/api/memdup.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 > > Signed-off-by: Andrzej Hajda > Reviewed-by: Nathan Fontenot

Re: [PATCH] bluetooth:Make the function sco_conn_del have a return type of void

2015-08-19 Thread Marcel Holtmann
Hi Nicholas, > This makes the function sco_conn_del have a return type of void now > due to this function always running successfully and thus never > needing to signal its caller when a non recoverable internal failure > occurs by returning a error code to its respective caller. > >

Re: [PATCH v2] nd_blk: add support for "read flush" DSM flag

2015-08-19 Thread Dan Williams
On Wed, Aug 19, 2015 at 3:48 PM, Ross Zwisler wrote: > Add support for the "read flush" _DSM flag, as outlined in the DSM spec: > > http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf > > This flag tells the ND BLK driver that it needs to flush the cache lines > associated with the aperture

  1   2   3   4   5   6   7   8   9   10   >