Re: [V9fs-developer] [PATCH] 9p: trans_fd, initialize recv fcall properly if not set

2015-09-05 Thread Dominique Martinet
Eric Van Hensbergen wrote on Sat, Sep 05, 2015: > On Thu, Sep 3, 2015 at 4:38 AM, Dominique Martinet > wrote: > > To be honest, I think it might be better to just bail out if we get in > > this switch (m->req->rc == NULL after p9_tag_lookup) and not try to > > allocate more, because if we get ther

Re: [PATCH 15/15] x86/headers: Remove

2015-09-05 Thread Ingo Molnar
* Mikko Rapeli wrote: > On Sat, Sep 05, 2015 at 01:59:43PM +0200, Ingo Molnar wrote: > > > > * Mikko Rapeli wrote: > > > > > > diff --git a/arch/x86/include/uapi/asm/sigcontext32.h > > > > b/arch/x86/include/uapi/asm/sigcontext32.h > > > > index a92b0f0dc09e..8b870175befa 100644 > > > > ---

RE: [PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-09-05 Thread Zhao Qiang
On Mon, 2015-09-2 at 8:34 +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 02, 2015 8:34 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b...@

Re: [PATCH net] net: bridge: check __vlan_vid_del for error

2015-09-05 Thread Jiri Pirko
Sun, Sep 06, 2015 at 03:27:57AM CEST, vivien.dide...@savoirfairelinux.com wrote: >Since __vlan_del can return an error code, change its inner function >__vlan_vid_del to return an eventual error from switchdev_port_obj_del. > >Signed-off-by: Vivien Didelot Acked-by: Jiri Pirko -- To unsubscribe

Re: [PATCH] net: bridge: remove unnecessary switchdev include

2015-09-05 Thread Jiri Pirko
Sun, Sep 06, 2015 at 03:49:41AM CEST, vivien.dide...@savoirfairelinux.com wrote: >Remove the unnecessary switchdev.h include from br_netlink.c. > >Signed-off-by: Vivien Didelot Acked-by: Jiri Pirko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

[PATCH v3 16/17] staging: sm750fb: ddk750_*i2c: remove multiple blank lines

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about multiple blank lines Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_swi2c.c | 1 - 2 files changed, 17 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/sta

[PATCH v3 13/17] staging: sm750fb: ddk750_hwi2c: reduce amount of CamelCase

2015-09-05 Thread Mike Rapoport
Rename camel case variables deviceAddress, pBuffer and totalBytes to addr, buf and total_bytes respectively in sm750_hw_i2c_{read,write}_data functions. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 36 +- 1 file changed, 18 insertions(

[PATCH v3 15/17] staging: sm750fb: ddk750_swi2c: further reduce CamelCase

2015-09-05 Thread Mike Rapoport
Rename remaining CamelCase variables Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 122 - drivers/staging/sm750fb/ddk750_swi2c.h | 20 +++--- 2 files changed, 71 insertions(+), 71 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH v3 17/17] staging: sm750fb: ddk750_*i2c: shorten lines to under 80 characters

2015-09-05 Thread Mike Rapoport
Fix some checkpatch warnings about long lines Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 19 ++- drivers/staging/sm750fb/ddk750_hwi2c.h | 3 ++- drivers/staging/sm750fb/ddk750_swi2c.c | 22 -- 3 files changed, 32 insertions(+),

[PATCH v3 12/17] staging: sm750fb: hw_i2c_{read,write}: rename CamelCase variables

2015-09-05 Thread Mike Rapoport
Rename longCamelCase variables deviceAddress and registerIndex to shorter addr and reg Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_hwi2c.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a

[PATCH v3 10/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static functions

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 116 - 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_sw

[PATCH v3 11/17] staging: sm750fb: ddk750_hw_i2c: rename busSpeedMode

2015-09-05 Thread Mike Rapoport
rename CamelCase parameter in sm750_hw_i2c_init() Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/stag

[PATCH v3 14/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static variables

2015-09-05 Thread Mike Rapoport
Rename static variables defining I2C GPIO pins and their control registers from CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 96 +- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH v3 08/17] staging: sm750fb: rename swI2CWriteReg to sm750_sw_i2c_write_reg

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/sta

[PATCH v3 06/17] staging: sm750fb: rename swI2CInit to sm750_sw_i2c_init

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 4 files changed, 4 insertio

[PATCH v3 09/17] staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}

2015-09-05 Thread Mike Rapoport
swI2C{SCL,SDA} are not used outside ddk750_swi2c, make them static Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_swi2c.h | 21 - 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/staging

[PATCH v3 07/17] staging: sm750fb: rename swI2CReadReg to sm750_sw_i2c_read_reg

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH v3 05/17] staging: sm750fb: ddk750_hwi2c: rename CamelCase static functions

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index e6d31db.

[PATCH v3 03/17] staging: sm750fb: rename hwI2CReadReg to sm750_hw_i2c_read_reg

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v3 04/17] staging: sm750fb: rename hwI2CWriteReg to sm750_hw_i2c_write_reg

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v3 01/17] staging: sm750fb: rename hwI2CInit to sm750_hw_i2c_init

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v3 02/17] staging: sm750fb: rename hwI2CClose to sm750_hw_i2c_close

2015-09-05 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750

[PATCH v3 00/17] staging: sm750fb: coding style fixes

2015-09-05 Thread Mike Rapoport
Hi, These patches are fixing coding style issues in ddk750_*i2c* files of the sm750fb driver v3 changes: * fix wrong variable rename in patch 12 (staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}) * fix changelong text in patch 9 (staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA})

[PATCH] perf test: Enforce LLVM test, add kbuild test

2015-09-05 Thread Wang Nan
This patch enforces existing LLVM test, makes it compile more than one BPF source file. The compiled results are stored, can be used for other testcases. Except the first testcase (named LLVM_TESTCASE_BASE), failures of other test cases are not considered as failure of the whole test. Adds a kbuil

[PATCH] perf test: Test BPF prologue

2015-09-05 Thread Wang Nan
This patch introduces a new BPF script to test BPF prologue. The new script probes at null_lseek, which is the function pointer when we try to lseek on '/dev/null'. null_lseek is chosen because it is a function pointer, so we don't need to consider inlining and LTP. By extracting file->f_mode, bp

Re: [PATCH v2] x86/asm/entry/64: Minor cleanup of conditional compilation

2015-09-05 Thread H. Peter Anvin
On 09/05/15 13:53, Nikolay Borisov wrote: The entry_SYSCALL_64_fastpath was checking the value of __SYSCALL_MASK, which in turn was being set in arch/x86/include/asm/unistd.h depending on whether CONFIG_X86_X32_ABI was set or not. This made the intention a bit cryptic. On the contrary: that ins

Re: [PATCH 23/31] perf tools: Introduce regs_query_register_offset() for x86

2015-09-05 Thread Wangnan (F)
On 2015/9/1 23:54, 平松雅巳 / HIRAMATU,MASAMI wrote: From: Arnaldo Carvalho de Melo [mailto:a...@redhat.com] Em Tue, Sep 01, 2015 at 11:47:41AM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: From: Wang Nan [mailto:wangn...@huawei.com] regs_query_register_offset() is a helper function which converts reg

[PATCH] perf tools: Sync setting of real bpf events with placeholder

2015-09-05 Thread Wang Nan
In this patch, when adding real events described in BPF objects, sync filter and tracking settings with previous dummy placeholder. After this patch, command like: # perf record --test-filter.o --exclude-perf ls work as we expect. After all settings are synced, we remove those placeholder from

Re: [RFC PATCH v1 2/4] irqchip: GICv3: set non-percpu irqs status with _IRQ_MOVE_PCNTXT

2015-09-05 Thread Jiang Liu
On 2015/9/6 12:23, Yang Yingliang wrote: > Use irq_settings_set_move_pcntxt() helper irqs status with > _IRQ_MOVE_PCNTXT. So that it can do set affinity when calling > irq_set_affinity_locked(). Hi Yingliang, We could only set _IRQ_MOVE_PCNTCT flag to enable migrating IRQ in process context

[PATCH] perf tools: Allow BPF placeholder dummy events to collect --filter options

2015-09-05 Thread Wang Nan
This patch improves collection and setting of filters, allows --filter be set to BPF placeholder events (which is a software dummy event). perf_evsel__is_dummy(), perf_evsel__is_bpf_placeholder() and perf_evsel__can_filter() are introduced for this. Test result: # perf record --event dummy --ex

Re: [RFC PATCH v1 4/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-05 Thread Jiang Liu
On 2015/9/6 12:23, Yang Yingliang wrote: > When cpu is disabled, all irqs will be migratged to another cpu. > In some cases, a new affinity is different, it needed to be coppied > to irq's affinity. But if the type of irq is LPI, it's affinity will > not be coppied because of irq_set_affinity's r

RE: [PATCH] ahci: added a new driver for supporting Freescale AHCI sata

2015-09-05 Thread Yuantian Tang
Hi, > -Original Message- > From: Hans de Goede [mailto:hdego...@redhat.com] > Sent: Wednesday, September 02, 2015 4:32 PM > To: Tang Yuantian-B29983 > Cc: t...@kernel.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] ahci: added a new driver for supportin

Re: [PATCH net-next] RDS: rds_conn_lookup() should factor in the struct net for a match

2015-09-05 Thread David Miller
From: Sowmini Varadhan Date: Thu, 3 Sep 2015 16:24:52 -0400 > > Only return a conn if the rds_conn_net(conn) matches the struct > net passed to rds_conn_lookup(). > > Fixes: 467fa15356ac ("RDS-TCP: Support multiple RDS-TCP listen endpoints, >one per netns.") > > Signed-off-by: Sowmini

Re: [PATCH] net: fec: normalize return value of pm_runtime_get_sync() in MDIO write

2015-09-05 Thread David Miller
From: "Maciej S. Szmigiero" Date: Thu, 03 Sep 2015 21:38:30 +0200 > If fec MDIO write method succeeds its return value comes from > call to pm_runtime_get_sync(). > But pm_runtime_get_sync() can also return 1. > > In case of Micrel KSZ9031 PHY this value will then > be returned along the call ch

Re: [PATCH] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel

2015-09-05 Thread Shawn Guo
On Thu, Aug 06, 2015 at 09:28:22PM +0530, Sanchayan Maity wrote: > Add iio_hwmon node to expose the temperature channel on Vybrid > as hardware monitor device using the iio_hwmon driver. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vfxxx.dtsi | 5 + > 1 file changed, 5 insert

Re: [PATCH] ARM: dts: vfxxx: Add iio_hwmon node for ADC temperature channel

2015-09-05 Thread Shawn Guo
On Thu, Aug 06, 2015 at 09:28:22PM +0530, Sanchayan Maity wrote: > Add iio_hwmon node to expose the temperature channel on Vybrid > as hardware monitor device using the iio_hwmon driver. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vfxxx.dtsi | 5 + > 1 file changed, 5 insert

[RFC PATCH v1 4/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-05 Thread Yang Yingliang
When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied because of irq_set_affinity's return value. Fix it by using irq_do_set_affinity.

[RFC PATCH v1 2/4] irqchip: GICv3: set non-percpu irqs status with _IRQ_MOVE_PCNTXT

2015-09-05 Thread Yang Yingliang
Use irq_settings_set_move_pcntxt() helper irqs status with _IRQ_MOVE_PCNTXT. So that it can do set affinity when calling irq_set_affinity_locked(). Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Russell King - ARM Linux Cc: Hanjun Guo Signed-off-by:

[RFC PATCH v1 3/4] genirq: rename config GENERIC_PENDING_IRQ to GENERIC_IRQ_MIGRATION

2015-09-05 Thread Yang Yingliang
Make the config name more general for moving other migration interrupts code into kernel/irq/migration.c Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Russell King - ARM Linux Cc: Hanjun Guo Signed-off-by: Yang Yingliang --- arch/arc/Kconfig

[RFC PATCH v1 0/4] arm/arm64: fix a migrating irq bug when hotplug cpu

2015-09-05 Thread Yang Yingliang
Hi All, There is a bug: When cpu is disabled, all irqs will be migratged to another cpu. In some cases, a new affinity is different, it needed to be coppied to irq's affinity. But if the type of irq is LPI, it's affinity will not be coppied because of irq_set_affinity's return value. As Marc a

[RFC PATCH v1 1/4] genirq: Introduce irq_settings_set_move_pcntxt() helper

2015-09-05 Thread Yang Yingliang
It's expected to use the helper when interrupt can be moved in process. Cc: Jiang Liu Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Mark Rutland Cc: Will Deacon Cc: Russell King - ARM Linux Cc: Hanjun Guo Signed-off-by: Yang Yingliang --- include/linux/irq.h | 1 + kernel/irq/irqdesc.c | 1

Re: [PATCH v4 11/16] drm: bridge: analogix/dp: add platform device type support

2015-09-05 Thread Yakir Yang
Hi Krzysztof, 在 09/04/2015 08:36 AM, Krzysztof Kozlowski 写道: On 01.09.2015 15:07, Yakir Yang wrote: Empty commit message. Please explain here why you want to add platform device type support. Actually the title is confusing. You are not adding support for platform device types but rather addin

Re: [PATCH v2 4/4] sched/numa: Convert sched_numa_balancing to a static_branch

2015-09-05 Thread Wanpeng Li
Hi Srikar, On 8/12/15 12:24 AM, Srikar Dronamraju wrote: Variable sched_numa_balancing toggles numa_balancing feature. Hence moving from a simple read mostly variable to a more apt static_branch. Suggested-by: Peter Zijlstra Signed-off-by: Srikar Dronamraju This commit breaks Peter's queue:

Re: [PATCH] arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro

2015-09-05 Thread yalin wang
ok i will send a V2 patch for this change. > On Sep 2, 2015, at 18:24, Will Deacon wrote: > > On Sun, Aug 30, 2015 at 07:19:59AM +0100, yalin wang wrote: >> This patch add kc_offset_to_vaddr() and kc_vaddr_to_offset(), >> the default version doesn't work on arm64, because arm64 kernel address >>

[PATCH V2] arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro

2015-09-05 Thread yalin wang
This patch add kc_offset_to_vaddr() and kc_vaddr_to_offset(), the default version doesn't work on arm64, because arm64 kernel address is below the PAGE_OFFSET, like module address and vmemmap address are all below PAGE_OFFSET address. Signed-off-by: yalin wang --- arch/arm64/include/asm/memory.h

Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-05 Thread Peter Chen
On Wed, Sep 02, 2015 at 09:43:38AM -0500, Felipe Balbi wrote: > Hi, > > > + > > +static irqreturn_t dwc3_otg_irq(int irq, void *_dwc) > > +{ > > + struct dwc3 *dwc = _dwc; > > + irqreturn_t ret = IRQ_NONE; > > + u32 reg; > > + > > + spin_lock(&dwc->lock); > > this seems unnecessary, we're

Re: [PATCH] 9p: trans_fd, initialize recv fcall properly if not set

2015-09-05 Thread Eric Van Hensbergen
On Thu, Sep 3, 2015 at 4:38 AM, Dominique Martinet wrote: > That code really should never be called (rc is allocated in > tag_alloc), but if it had been it couldn't have worked... > > Signed-off-by: Dominique Martinet > --- > net/9p/trans_fd.c | 3 +++ > 1 file changed, 3 insertions(+) > > To be

Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-05 Thread Peter Chen
On Wed, Sep 02, 2015 at 05:24:16PM +0300, Roger Quadros wrote: > Register with the USB OTG core. Since we don't support > OTG yet we just work as a dual-role device even > if device tree says "otg". > > + > +static int dwc3_drd_init(struct dwc3 *dwc) > +{ > + int ret, id, vbus; > + struct

RE: [PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-05 Thread Zhao Qiang
On Wed, 2015-09-02 at 10:18AM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, September 02, 2015 10:18 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061;

Re: [PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-05 Thread Caesar Wang
Kevin, Thanks for having a look into it. 在 2015年09月03日 02:28, Kevin Hilman 写道: Caesar Wang writes: This driver is found on RK3288 SoCs. In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK328

[git pull] vfs pile 1

2015-09-05 Thread Al Viro
In this one: d_move fixes (Eric), UFS fixes (me; locking is mostly sane now, a bunch of bugs in error handling ought to be fixed), switch of sb_writers to percpu rwsem (Oleg), superblock scalability (Josef and Dave), swapon(2) race fix (Hugh). Please, pull from the usual place - git://git.

Re: [PATCH 2/2] arm64: dts: add dts files for Hisilicon Hip05-D02 Development Board

2015-09-05 Thread Ding Tianhong
On 2015/9/5 17:28, Marc Zyngier wrote: > On Sat, 5 Sep 2015 10:58:59 +0800 > Ding Tianhong wrote: > >> Add initial dtsi file to support Hisilicon Hip05-D02 Board with >> support of CPUs in four clusters and each cluster has quard Cortex-A57. >> >> Also add dts file to support Hip05-D02 developmen

Re: [PATCH] MIPS: UAPI: Fix unrecognized opcode WSBH/DSBH/DSHD when using MIPS16.

2015-09-05 Thread Yousong Zhou
Hi, Maciej, first of all, thank you for your time on this, appreciate it. Comments inline On 5 September 2015 at 22:25, Maciej W. Rozycki wrote: > On Sat, 5 Sep 2015, Yousong Zhou wrote: > >> > This can't be true. The compiler does not intepret the contents of an >> > inline asm and therefore

Re: [PATCH 0/2] arm64: Support Hisilicon Hip05-D02 board

2015-09-05 Thread Ding Tianhong
On 2015/9/5 17:18, Marc Zyngier wrote: > On Sat, 5 Sep 2015 10:58:57 +0800 > Ding Tianhong wrote: > >> Hip05-D02 Development Board is based on Cortex-A57, this patchset >> contains initial support for Hip05-D02 Soc and Board. Initial support >> is minimal and includes just the arch configuration,

[GIT PULL] 9p changes for 4.3 merge window (part-1)

2015-09-05 Thread Eric Van Hensbergen
The following changes since commit eb63b34bdfbdd70a734c2a90d89117c5c6c605c2: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2015-08-23 07:23:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git tags/

[PATCHv2] staging: rtl8192u: r8192U_core: fix use ether_addr_copy() over memcpy() code style issue

2015-09-05 Thread Raphaël Beamonte
Prefer ether_addr_copy() over memcpy() if the Ethernet addresses are __aligned(2) The values used are stored as dev_addr in net_device (declared in include/linux/netdevice.h) and sa_data in sockaddr (declared in include/linux/socket.h). Both these elements are u16 aligned as shown by using pahole

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-05 Thread Yakir Yang
Hi Thierry, 在 09/03/2015 04:38 PM, Thierry Reding 写道: On Wed, Sep 02, 2015 at 06:02:25PM +0800, Yakir Yang wrote: 在 2015/9/2 16:34, Thierry Reding 写道: [...] At the very least your code must compile when applied against a recent upstream tree. I would also expect you to make sure the code work

Re: [PATCH v4 05/16] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & colorimetry

2015-09-05 Thread Yakir Yang
Hi Krzysztof, 在 09/03/2015 04:04 PM, Krzysztof Kozlowski 写道: On 01.09.2015 14:55, Yakir Yang wrote: Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code, same to color space and color depth can be pars

TAKE NOTE

2015-09-05 Thread oficefi...@ono.com
As you are not a nationality of my country; i have a business proposal for you, and it will be for the mutual benefit of the both of us. -- 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 http:

[PATCH] net: bridge: remove unnecessary switchdev include

2015-09-05 Thread Vivien Didelot
Remove the unnecessary switchdev.h include from br_netlink.c. Signed-off-by: Vivien Didelot --- net/bridge/br_netlink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index af5e187..ea748c9 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridg

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

Re: [PATCH v4 01/16] drm: exynos/dp: fix code style

2015-09-05 Thread Yakir Yang
Hi Joe, 在 09/03/2015 01:57 PM, Joe Perches 写道: On Thu, 2015-09-03 at 13:33 +0800, Yakir Yang wrote: [] diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c [] @@ -155,24 +156,22 @@ static int exynos_dp_read_edid(struct exynos_dp_device *dp) } exynos_dp_read_byte_from

[PATCH net] net: bridge: check __vlan_vid_del for error

2015-09-05 Thread Vivien Didelot
Since __vlan_del can return an error code, change its inner function __vlan_vid_del to return an eventual error from switchdev_port_obj_del. Signed-off-by: Vivien Didelot --- net/bridge/br_vlan.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/net/bridge/br

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

[PATCH v4 09/10] snd: dmaengine-pcm: add snd_dmaengine_pcm_get_quirks interface

2015-09-05 Thread Shawn Lin
Add snd_dmaengine_pcm_get_quirks for I2S devices to query dma controller's quirks if they need it to make special workaround due to broken dma controller design Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None sound/soc/soc-generic-dm

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

[PATCH v4 05/10] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3xxx platform

2015-09-05 Thread Shawn Lin
Pl330 integrated in rk3xxx platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson --- Changes in v4: - remove rockchip,i2s-broken-burst-len and rockchip,spi-broken-burs

[PATCH v4 07/10] DMA: pl330: implement dmaengine_get_quirks hook

2015-09-05 Thread Shawn Lin
By adding this function, slave device can query quirks from pl330 if they need special settings for dmaengine. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None drivers/dma/pl330.c | 9 + 1 file changed, 9 insertions(+) diff -

[PATCH v4 10/10] ASoC: rockchip_i2s: modify DMA max burst to 1

2015-09-05 Thread Shawn Lin
From: Yiwei Cai Test with command - arecord -D hw:0,0 /tmp/a.wav, there are the error dump: dma-pl330 ffb2.dma-controller: fill_queue:2251 Bad Desc(7) This error is happening when no a multiple of burst size * burst length are coming in. The root cause is pl330 dma controller on Rockchips' p

[PATCH v4 06/10] dmaengine: add API for getting dma controller's quirk

2015-09-05 Thread Shawn Lin
Add dmaengine_get_quirks API for peripheral devices to query quirks if they need it to make special workaround due to broken dma controller design. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None include/linux/dmaengine.h | 9 +++

[PATCH v4 08/10] spi: rockchip: modify DMA max burst to 1

2015-09-05 Thread Shawn Lin
From: Addy Ke Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to flush the req of non-aligned or non-multiple of what we need. That will cause an unrecoverable dma bus error. The saftest way is to set dma max burst to 1. Signed-off-by: Addy ke F

[PATCH v4 04/10] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3288 platform

2015-09-05 Thread Shawn Lin
From: Addy Ke Pl330 integrated in rk3288 platform doesn't support DMAFLUSHP function. So we add arm,pl330-broken-no-flushp quirk for it. Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Olof Johansson cc: Sonny Rao Reviewed-by: Doug Anderson Reviewed-by: Sonny Rao -

[PATCH v4 02/10] Documentation: arm-pl330: add description of arm,pl330-broken-no-flushp

2015-09-05 Thread Shawn Lin
Signed-off-by: Shawn Lin Reviewed-by: Doug Anderson Reviewed-by: Sonny Rao --- Changes in v4: None Changes in v3: - add Reviewed-by: Sonny Rao Changes in v2: - add Reviewed-by: Doug Anderson Changes in v1: - rename broken-no-flushp to "arm,pl330-broken-no-flushp" suggested by Krzysztof.

[PATCH v4 03/10] DMA: pl330: add quirk for broken no flushp

2015-09-05 Thread Shawn Lin
From: Addy Ke This patch add "arm,pl330-broken-no-flushp" quirk to avoid execute DMAFLUSHP if Soc doesn't support it. Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Doug Anderson cc: Heiko Stuebner cc: Olof Johansson Reviewed-by: Sonny Rao --- Changes in v4: None Changes in v3: - ad

[PATCH v4 01/10] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-09-05 Thread Shawn Lin
From: Boojin Kim This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Reviewed-by: Sonny Rao --- Changes in v4: None Changes in v3:

[PATCH v4 0/10] Fix broken DMAFLUSHP on Rockchips platform

2015-09-05 Thread Shawn Lin
The purpose of the DMAFLUSHP instruction: - Tell the peripheral to clear its status and control registers. - Send a message to the peripheral to resend its level status. There are 3 timings described in PL330 Technical Reference Manual: - Timing 1: Burst request, can work well without DMAFLUSHP.

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

Re: [GIT PULL REQUEST] md updates for 4.3

2015-09-05 Thread Linus Torvalds
On Sat, Sep 5, 2015 at 2:37 AM, Neil Brown wrote: > > Please pull these updates. I've already merged with the 'block' tree > to resolve a few simple conflicts. So for the future, I actually prefer to see and handle the conflicts myself. I really just prefer knowing what's going on, and merge co

Re: [PATCH] arm:irqchip: IRQCHIP_DECLARE macro is now accessible

2015-09-05 Thread Shawn Guo
On Fri, Sep 04, 2015 at 04:54:21PM -0400, Joel Porquet wrote: > On Monday, July 13, 2015 11:20:35 PM Shawn Guo wrote: > > On Tue, Jul 07, 2015 at 04:02:53PM -0400, Joel Porquet wrote: > > > The IRQCHIP_DECLARE macro migrated to 'include/linux/irqchip.h', making it > > > globally accessible. > > >

Re: [PATCHv2 18/19] staging: rtl8192u: r8192U_core: fix use ether_addr_copy() over memcpy() code style issue

2015-09-05 Thread Greg Kroah-Hartman
On Sat, Sep 05, 2015 at 06:16:16PM -0400, Raphaël Beamonte wrote: > 2015-09-03 13:00 GMT-04:00 Greg Kroah-Hartman : > > You need to prove that they are aligned before I can take this patch :( > > Right! > > I looked at those structs using pahole. The structs used are > net_device from include/lin

Re: [PATCH] net: wan: sbni: fix device usage count

2015-09-05 Thread David Miller
From: Sudip Mukherjee Date: Thu, 3 Sep 2015 11:30:30 +0530 > dev_get_by_name() will increment the usage count if the matching device > is found. But we were not decrementing the count if we have got the > device and the device is non-active. > > Signed-off-by: Sudip Mukherjee Applied, thanks.

Re: [GIT PULL] nfsd changes for 4.3

2015-09-05 Thread Linus Torvalds
On Fri, Sep 4, 2015 at 1:09 PM, J. Bruce Fields wrote: > > (Also, that's my first attempt at a pull request for a signed tag. Let > me know if I screwed anything up.) Looks fine here. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree"

2015-09-05 Thread Alexey Klimov
On Sun, Sep 6, 2015 at 3:06 AM, Mark Brown wrote: > On Sun, Sep 06, 2015 at 01:47:21AM +0300, Alexey Klimov wrote: > >> During review of new SPI drivers I tried to understand connection >> between comment "calling spi_master_put() and kfree() to prevent a >> memory leak" for spi_alloc_master() in

Applied "regulator: pbias: program pbias register offset in pbias driver" to the regulator tree

2015-09-05 Thread Mark Brown
The patch regulator: pbias: program pbias register offset in pbias driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the n

Re: [PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree"

2015-09-05 Thread Mark Brown
On Sun, Sep 06, 2015 at 01:47:21AM +0300, Alexey Klimov wrote: > During review of new SPI drivers I tried to understand connection > between comment "calling spi_master_put() and kfree() to prevent a > memory leak" for spi_alloc_master() in spi.c and why no driver calls > kfree() on error path. Lo

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

Re: [PATCH RESEND 1/1] Revert "spi/doc: spi_master_put must be followed up by kfree"

2015-09-05 Thread Mark Brown
On Sun, Sep 06, 2015 at 01:46:54AM +0300, Alexey Klimov wrote: > From: Guenter Roeck > > Actually, spi_master_put() after spi_alloc_master() must _not_ be followed Please use subject lines matching the style for the subsystem and please don't put noise like RESEND in the subject line, especially

Re: [PATCH 02/18] staging: iio: hmc5843: Export missing SPI module alias information

2015-09-05 Thread Javier Martinez Canillas
Hello Jonathan, On 09/05/2015 06:31 PM, Jonathan Cameron wrote: > On 01/09/15 00:09, Javier Martinez Canillas wrote: >> Hello Jonathan, >> >> On 08/22/2015 07:59 PM, Jonathan Cameron wrote: >>> On 20/08/15 08:07, Javier Martinez Canillas wrote: The SPI core always reports the MODALIAS uevent

Re: [RFC v1 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-05 Thread Matt Ranostay
On Sat, Sep 5, 2015 at 1:11 AM, Peter Meerwald wrote: > >> >> Add support for VZ89X sensors VOC and CO2 reporting channels in >> >> ppm/ppb units. >> > >> > comments below >> > link to datasheet? >> >> I will post the links when I am not at the Oregon coast. Have no laptop >> atm... >> >> > >> >>

[PATCH RESEND 0/1] Revert "spi/doc: spi_master_put must be followed up by kfree"

2015-09-05 Thread Alexey Klimov
Hi all, During review of new SPI drivers I tried to understand connection between comment "calling spi_master_put() and kfree() to prevent a memory leak" for spi_alloc_master() in spi.c and why no driver calls kfree() on error path. Looks like Uwe added this comment and later I found patch from Gu

[PATCH RESEND 1/1] Revert "spi/doc: spi_master_put must be followed up by kfree"

2015-09-05 Thread Alexey Klimov
From: Guenter Roeck Actually, spi_master_put() after spi_alloc_master() must _not_ be followed by kfree(). The memory is already freed with the call to spi_master_put() through spi_master_class, which registers a release function. Calling both spi_master_put() and kfree() results in often nasty (

Re: [RFC v1 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-05 Thread Matt Ranostay
On Sat, Sep 5, 2015 at 9:14 AM, Jonathan Cameron wrote: > On 05/09/15 06:53, Matt Ranostay wrote: >> Add support for VZ89X sensors VOC and CO2 reporting channels in >> ppm/ppb units. >> >> Signed-off-by: Matt Ranostay > Few points inline. I'm either rather too sleepy or you don't actually > stor

Re: [PATCH] ARM: fix alignement of __bug_table section entries

2015-09-05 Thread Robert Jarzmik
Russell King - ARM Linux writes: >> Moreover, this is consistent with the fact that this commit is in linux-next >> but >> not in v4.1 : >> a5e090acbf54 ("ARM: software-based priviledged-no-access support") >> >> So the issue is around this SW_DOMAIN_PAN, at least on PXA. > > Is it only PXA

Re: [PATCHv2 18/19] staging: rtl8192u: r8192U_core: fix use ether_addr_copy() over memcpy() code style issue

2015-09-05 Thread Raphaël Beamonte
2015-09-03 13:00 GMT-04:00 Greg Kroah-Hartman : > You need to prove that they are aligned before I can take this patch :( Right! I looked at those structs using pahole. The structs used are net_device from include/linux/netdevice.h and sockaddr from include/linux/socket.h, in which we use the ele

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

[PATCH] usb: gadget: amd5536udc: fix error handling in udc_pci_probe()

2015-09-05 Thread Alexey Khoroshilov
If a failure happens early in udc_pci_probe(), error handling code just kfree(dev) and returns. The patch adds proper resource deallocations in udc_pci_probe() itself, since udc_pci_remove() is not suitabe to be called so early in initialization process. By the way, iounmap(dev->regs) is replaced

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

usually 3000 customers/Where 100,000+ customers worldwide?

2015-09-05 Thread iSayor
Hi   Are you still develop foreign customers with alibaba, exhibition?  You out of!!!   Are you looking other channel beside exhibition/B2B when you feel difficult to find foreign customers?   Industry hundreds of thousands of customers worldwide, usually we can only contact three thousand, d

[PATCH v2] x86/asm/entry/64: Minor cleanup of conditional compilation

2015-09-05 Thread Nikolay Borisov
The entry_SYSCALL_64_fastpath was checking the value of __SYSCALL_MASK, which in turn was being set in arch/x86/include/asm/unistd.h depending on whether CONFIG_X86_X32_ABI was set or not. This made the intention a bit cryptic. Juggle the code around so that the conditional compilation depends on

Re: [PATCH] task_work: remove fifo ordering guarantee

2015-09-05 Thread Linus Torvalds
On Fri, Sep 4, 2015 at 10:42 PM, Al Viro wrote: > > OK, having found the beginning of the thread, I understand what is being > attempted, but... why the hell bother with FIFO in the first place? AFAICS, > task_work_add() uses in VFS (final fput() and final mntput() alike) > do not care about the

  1   2   3   4   >