Re: [PATCH V3 4/9] cpufreq: exynos: Use 'index' only to index into policy->freq_table

2016-06-06 Thread Krzysztof Kozlowski
On 06/03/2016 03:35 PM, Viresh Kumar wrote: > Later patches would make changes in cpufreq core, after which > policy->freq_table may be reordered by cpufreq core and it wouldn't be > safe anymore to use 'index' for any other local arrays. > > To prepare for that, use policy->freq_table[index].driv

Re: [PATCH] lightnvm: Make functions not used by ouside static

2016-06-06 Thread Matias Bjørling
On 06/03/2016 04:10 PM, Johannes Thumshirn wrote: Mark functions not used by ouside of thier implementing file as static. Signed-off-by: Johannes Thumshirn --- drivers/lightnvm/core.c | 2 +- drivers/lightnvm/sysblk.c | 8 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --

Re: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-06 Thread Peter Chen
On Mon, Jun 06, 2016 at 11:04:48AM +0800, Lu Baolu wrote: > Hi Peter, > > On 06/06/2016 09:25 AM, Peter Chen wrote: > > On Sun, Jun 05, 2016 at 02:55:56PM +0800, Lu Baolu wrote: > >> Hi Peter, > >> > >> On 06/04/2016 10:28 AM, Peter Chen wrote: > >>> On Sat, Jun 04, 2016 at 12:06:06AM +0800, Lu Ba

[Patch v3 3/5] fsl/qe: Make regs resouce_size_t

2016-06-06 Thread Zhao Qiang
Signed-off-by: Zhao Qiang --- Changes for v2: - modify subject Changes for v3: - na include/soc/fsl/qe/ucc_fast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/soc/fsl/qe/ucc_fast.h b/include/soc/fsl/qe/ucc_fast.h index b2633b7..e898895 100644 --- a/

Re: [PATCH 1/6] clk: Add missing clk_get_sys() stub

2016-06-06 Thread Daniel Lezcano
On 06/02/2016 11:41 PM, Daniel Lezcano wrote: When compiling with the COMPILE_TEST option set, the clps711x does not compile because of the clk_get_sys() noop stub missing. Signed-off-by: Daniel Lezcano Added missing Cc [Mike and Stephen] --- include/linux/clk.h | 4 1 file changed,

Re: [PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-06 Thread Gerd Hoffmann
On Fr, 2016-06-03 at 11:17 -0500, Rob Herring wrote: > On Fri, Jun 3, 2016 at 5:39 AM, Gerd Hoffmann wrote: > > Hi, > > > >> I tried > >> > >> subdir-y += ../../../arm64/boot/dts/broadcom > > > > Hmm, works for me too now, probably had a typo somewhere. > > What directory does the dtb end up in

Re: [PATCH] userspace API definitions for auto-focus coil

2016-06-06 Thread Pavel Machek
Hi! > On 5.06.2016 22:07, Pavel Machek wrote: > >Add userspace API definitions. > > > >Signed-off-by: Pavel Machek > > > >diff --git a/include/uapi/linux/v4l2-controls.h > >b/include/uapi/linux/v4l2-controls.h > >index b6a357a..23011cc 100644 > >--- a/include/uapi/linux/v4l2-controls.h > >+++ b

Re: [PATCH v4 01/18] remoteproc: st_xp70_rproc: add a xp70 slimcore rproc driver

2016-06-06 Thread Peter Griffin
Hi Bjorn, Thanks for reviewing. On Wed, 25 May 2016, Bjorn Andersson wrote: > On Wed 25 May 09:06 PDT 2016, Peter Griffin wrote: > > > XP70 slim core is used as a basis for many IPs in the STi > > chipsets such as fdma, display, and demux. To avoid > > duplicating the elf loading code in each d

Re: [PATCH] IB/core: remove dead code

2016-06-06 Thread Leon Romanovsky
On Sun, Jun 05, 2016 at 09:45:52PM +0100, Sudip Mukherjee wrote: > prot_sg_cnt has been assigned with the value of ret which we have > already checked to be non-zero so prot_sg_cnt can never be zero at this > point of the code and hence the else part can never execute. > > Signed-off-by: Sudip Muk

Re: [PATCH 1/2] drm/dsi: Implement set tear scanline

2016-06-06 Thread Jani Nikula
On Thu, 02 Jun 2016, Vinay Simha BN wrote: > Provide a small convenience wrapper that transmits > ia set_tear_scanline command as suggested by > Thierry Reding. > > Also includes small build fixes from Sumit Semwal. > > Cc: Archit Taneja > Cc: John Stultz > Cc: Thierry Reding > Cc: Sumit Semwal

Re: [PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-06 Thread Arnd Bergmann
On Monday, June 6, 2016 9:20:12 AM CEST Gerd Hoffmann wrote: > On Fr, 2016-06-03 at 11:17 -0500, Rob Herring wrote: > > On Fri, Jun 3, 2016 at 5:39 AM, Gerd Hoffmann wrote: > > > Hi, > > > > > >> I tried > > >> > > >> subdir-y += ../../../arm64/boot/dts/broadcom > > > > > > Hmm, works for me too

RE: [RFC PATCH 1/3] pci, acpi: Match PCI config space accessors against platfrom specific ECAM quirks.

2016-06-06 Thread Gabriele Paoloni
Hi Jeffrey > -Original Message- > From: Jeffrey Hugo [mailto:jh...@codeaurora.org] > Sent: 03 June 2016 18:00 > To: Gabriele Paoloni; Christopher Covington; Tomasz Nowicki; > helg...@kernel.org; a...@arndb.de; will.dea...@arm.com; > catalin.mari...@arm.com; raf...@kernel.org; hanjun@li

RE: [BUG] Possible silent data corruption in filesystems/page cache

2016-06-06 Thread Barczak, Mariusz
Hi, Let me elaborate problem in detail. For buffered IO data are copied into memory pages. For this case, the write IO is not submitted (generally). In the background opportunistic cleaning of dirty pages takes place and IO is generated to the device. An IO error is observed on this path and appl

Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as active

2016-06-06 Thread Julian Anastasov
Hello, On Fri, 3 Jun 2016, Michal Kubecek wrote: > Some users observed that "least connection" distribution algorithm doesn't > handle well bursts of TCP connections from reconnecting clients after > a node or network failure. > > This is because the algorithm counts active connection a

[PATCH 1/3] driver-core: Implement device_match_always()

2016-06-06 Thread Thierry Reding
From: Thierry Reding This is a helper function that can be used in iterators, such as bus_find_device(), and will always match. This is useful to implement a custom iterator interface on top of bus_find_device() or to check if any devices have been registered at all. Signed-off-by: Thierry Redin

[PATCH 2/3] PCI: Use device_match_always()

2016-06-06 Thread Thierry Reding
From: Thierry Reding There is now a common implementation for a match function that will always match, so the PCI-specific implementation can be removed. Signed-off-by: Thierry Reding --- drivers/pci/probe.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pci/

[PATCH 3/3] scsi: Use device_match_always()

2016-06-06 Thread Thierry Reding
From: Thierry Reding There is now a common implementation for a match function that will always match, so the SCSI-specific implementation can be removed. Signed-off-by: Thierry Reding --- drivers/scsi/scsi_proc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/driver

Re: [PATCH v10 2/7] usb: mux: add generic code for dual role port mux

2016-06-06 Thread Lu Baolu
Hi Peter, On 06/06/2016 03:02 PM, Peter Chen wrote: > >> But this code is better co-work with OTG/Dual-role framework, we'd > >> better have only interface that the user can know which role for the > >> current port. > >> OTG/Dual-role framework and portmux framework are not ov

Re: [PATCH 2/2] drm/dsi: Implement dcs backlight brightness

2016-06-06 Thread Jani Nikula
On Thu, 02 Jun 2016, Vinay Simha BN wrote: > Provide a small convenience wrapper that set/get the > backlight brightness control and creates the backlight > device for the panel interface To be pedantic, we should downplay "backlight" in the DSI DCS brightness control... there need not be a backl

4.7-rc1/s390: WARNING: CPU: 5 PID: 1 at kernel/events/core.c:8485 perf_pmu_register+0x420/0x428

2016-06-06 Thread Christian Borntraeger
Peter, Hendrik, commit 26657848502b ("perf/core: Verify we have a single perf_hw_context PMU") seems to trigger the newly created warning on a z196. [2.202363] [ cut here ] [2.202372] WARNING: CPU: 5 PID: 1 at kernel/events/core.c:8485 perf_pmu_register+0x420/0

[PATCH 2/2] ARM: BCM5301X: Fix NAND ECC parameters for D-Link DIR-885L

2016-06-06 Thread Rafał Miłecki
This device uses BCH-1 instead of BCH-8. This fixes ECC errors and makes NAND usable with brcmnand. Signed-off-by: Rafał Miłecki --- As suggested recently, the new file uses BSD-compatible license. I was considering BSD [23]-clause license and Hauke said he likes ISC which is even simpler, so I p

[PATCH 1/2] ARM: BCM5301X: Specify NAND chip select and ECC in separated files

2016-06-06 Thread Rafał Miłecki
Using separated file with common chip select parameters will allow us adding other ECC setups without code duplication. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x-nand-cs0-bch8.dtsi | 16 +--- arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi | 18 ++ 2 f

RE: [PATCH 2/2] aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-06-06 Thread Po Liu
Hi Bjorn, I confirm we met same problem with KeyStone base on DesignWare design. Best regards, Liu Po > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Saturday, June 04, 2016 11:49 AM > To: Murali Karicheri > Cc: Po Liu; linux-...@vger.kernel.org; linux

Re: [PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-06 Thread Gerd Hoffmann
Hi, > > With the 2/7 patch at the start of this subthread the dtb ends up in > > arch/arm64/boot/dts/broadcom for both arm and arm64 builds. > > > > make "dtbs_install" places it in /boot/dtbs/$version/ for arm builds and > > in /boot/dtbs/$version/broadcom/ for arm64 builds. > > Ok, let's sta

Re: [PATCH v2 1/3] watchdog: Add Meson GXBB Watchdog Driver

2016-06-06 Thread Neil Armstrong
Hi Guenter, On 06/04/2016 07:57 PM, Guenter Roeck wrote: > On 06/03/2016 01:36 AM, Neil Armstrong wrote: [...] >> +++ b/drivers/watchdog/meson_gxbb_wdt.c >> @@ -0,0 +1,268 @@ >> +/* >> + * This file is provided under a dual BSD/GPLv2 license. When using or >> + * redistributing this file, you may

[GIT PULL] AVR32 update for 4.7

2016-06-06 Thread Hans-Christian Noren Egtvedt
Hello Linus, please pull git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32.git for-linus to receive the following AVR32 update for 4.7 Hans-Christian Noren Egtvedt (2): avr32: wire up preadv2 and pwritev2 syscalls avr32: fixup code style in unistd.h and syscall_table

Re: [PATCH] hwmon: (fam15h_power) Disable preemption when reading registers

2016-06-06 Thread Huang Rui
On Sat, Jun 04, 2016 at 07:55:08AM -0700, Guenter Roeck wrote: > On 06/03/2016 11:29 AM, Borislav Petkov wrote: > >On Fri, Jun 03, 2016 at 11:18:36AM -0700, Guenter Roeck wrote: > >>I like this version. Applied, though it would be nice to get a > >>Tested-by: or Acked-by: from someone at AMD. I'll

Re: [RFC PATCH 1/3] pci, acpi: Match PCI config space accessors against platfrom specific ECAM quirks.

2016-06-06 Thread Hanjun Guo
On 2016/6/6 15:27, Gabriele Paoloni wrote: Hi Jeffrey On 6/3/2016 9:32 AM, Gabriele Paoloni wrote: Hi Cov Hi Tomasz, Thanks for your work on this. On 06/02/2016 04:41 AM, Tomasz Nowicki wrote: Some platforms may not be fully compliant with generic set of PCI config accessors. For these c

Re: [PATCH] iwlwifi: Remove unused array 'iwlagn_loose_lookup'

2016-06-06 Thread Luca Coelho
On Fri, 2016-06-03 at 14:39 -0700, Guenter Roeck wrote: > gcc-6 reports the following error if -Werror=unused-const-variable > is enabled. > > drivers/net/wireless/intel/iwlwifi/dvm/lib.c:210:21: error: > 'iwlagn_loose_lookup' defined but not used > > Signed-off-by: Guenter Roeck > --- Th

[PATCH] scsi:stex.c Support Pegasus 3 product

2016-06-06 Thread Charles Chiou
From: Charles Pegasus series is a RAID support product by using Thunderbolt technology. The newest product, Pegasus 3 is support Thunderbolt 3 technology with another chip. 1.Change driver version. 2.Add Pegasus 3 VID, DID and define it's device address. 3.Pegasus 3 use msi interrupt, so ste

Re: [RFC PATCH v2] sched: reflect sched_entity movement into task_group's utilization

2016-06-06 Thread Yuyang Du
On Wed, Jun 01, 2016 at 02:54:07PM +0200, Peter Zijlstra wrote: > On Tue, May 24, 2016 at 10:57:32AM +0200, Vincent Guittot wrote: > > Ensure that the changes of the utilization of a sched_entity will be > > reflected in the task_group hierarchy. > > > > This patch tries another way than the flat

Build regressions/improvements in v4.7-rc2

2016-06-06 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.7-rc2[1] compared to v4.6[2]. Summarized: - build errors: +12/-7 - build warnings: +1192/-863 JFYI, when comparing v4.7-rc2[1] to v4.7-rc1[3], the summaries are: - build errors: +11/-16 - build warnings: +329/-619 No

[PATCH 2/2] drm/rockchip: vop: correct the source size of uv scale factor setting

2016-06-06 Thread Yakir Yang
From: Mark Yao When the input color format is YUV, we need to do some external scale for CBCR. Like, * In YUV420 data format: cbcr_xscale = dst_w / src_w * 2; cbcr_yscale = dst_h / src_h * 2; * In YUV422 data format: cbcr_xscale = dst_w / src_w * 2; cbcr_yscale = dst_h / src

[PATCH 1/2] drm/rockchip: vop: add uv_vir register field for RK3036 VOP

2016-06-06 Thread Yakir Yang
The WIN0 of RK3036 VOP could support YUV data format, but driver forget to add the uv_vir register field for it. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gp

Re: [PATCH v2 2/5] of/numa: fix a memory@ node can only contains one memory block

2016-06-06 Thread Hanjun Guo
Hi Leizhen, On 2016/6/6 9:24, Leizhen (ThunderTown) wrote: On 2016/6/3 17:45, Will Deacon wrote: On Thu, Jun 02, 2016 at 09:36:40AM +0800, Leizhen (ThunderTown) wrote: On 2016/6/2 4:13, Rob Herring wrote: I believe you still need this and not the one above. You only need it within the loop

Re: [PATCH 1/4] inotify: Add infrastructure to account inotify limits per-namespace

2016-06-06 Thread Cyrill Gorcunov
On Wed, Jun 01, 2016 at 10:52:57AM +0300, Nikolay Borisov wrote: > This patch adds the necessary members to user_struct. The idea behind > the solution is really simple - user the userns pointers as keys into > a hash table which holds the inotify instances/watches counts. This > allows to account

[PATCH 0/2] xen-pciback: correct and clean up BAR handling

2016-06-06 Thread Jan Beulich
1: return proper values during BAR sizing 2: clean up read_dev_bar() Signed-off-by: Jan Beulich Side note: I had always assumed Konrad is the maintainer of pciback, but according to ./MAINTAINERS he isn't: drivers/pci/*xen*, while using wild cards, doesn't match drivers/xen/xen-pciback/*. Is tha

Re: [PATCH V2 1/3] arm: dts: imx6qdl: add clocks property for ocotp node

2016-06-06 Thread Shawn Guo
On Thu, Apr 21, 2016 at 01:26:15AM +0800, Peng Fan wrote: > Add clocks property for ocotp node. > > Signed-off-by: Peng Fan > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Rob Herring Applied both dts patches, thanks.

Re: [PATCH 1/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI

2016-06-06 Thread Paolo Bonzini
On 05/06/2016 05:28, Wanpeng Li wrote: >> > No, I don't think so, the existing req_immediate_exit case is only after >> > a VMLAUNCH/VMRESUME vmexit, in which case we already have a >> > >> > if (vmx->nested.nested_run_pending) >> > kvm_make_request(KVM_REQ_EVENT, vcpu); >

[PATCH 1/2] xen-pciback: return proper values during BAR sizing

2016-06-06 Thread Jan Beulich
Reads following writes with all address bits set to 1 should return all changeable address bits as one, not the BAR size (nor, as was the case for the upper half of 64-bit BARs, the high half of the region's end address). Presumably this didn't cause any problems so far because consumers use the va

Re: [PATCH net-next 1/3] arm64: bpf: implement bpf_tail_call() helper

2016-06-06 Thread Daniel Borkmann
On 06/06/2016 06:56 AM, Z Lim wrote: [...] How about the attached patch? Fixes compilation error on build !CONFIG_BPF_SYSCALL. Also, should this patch be sent to net or net-next (along with this series)? Looks good, feel free to add: Acked-by: Daniel Borkmann I think net-next along with you

[PATCH 2/2] xen-pciback: clean up read_dev_bar()

2016-06-06 Thread Jan Beulich
- drop unused function parameter - simplify determination of 64-bit memory resource - use const and unsigned Signed-off-by: Jan Beulich --- drivers/xen/xen-pciback/conf_space_header.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) --- 4.7-rc2-xen-pciback-BAR.orig/

Re: [PATCH v2 3/6] lpfc: Use pci_(request|release)_mem_regions

2016-06-06 Thread Johannes Thumshirn
On Thu, Jun 02, 2016 at 07:57:43AM -0400, Dick Kennedy wrote: > Thanks Johannes, it looks good. Hi Dick, Can I use this as an Acked-by in the next submission? Thanks, Johannes > > On Thu, Jun 2, 2016 at 3:30 AM, Johannes Thumshirn > wrote: > > > Now that we do have pci_request_mem_re

Re: [PATCH v2 1/6] PCI: Add helpers to request/release memory and I/O regions

2016-06-06 Thread Johannes Thumshirn
On Sun, Jun 05, 2016 at 07:32:13AM +0800, kbuild test robot wrote: > Hi, > > [auto build test ERROR on jkirsher-next-queue/dev-queue] > [also build test ERROR on v4.7-rc1 next-20160603] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url

Re: [RFC PATCH 10/10] mm, oom: hide mm which is shared with kthread or global init

2016-06-06 Thread Michal Hocko
On Sat 04-06-16 00:16:32, Tetsuo Handa wrote: > Michal Hocko wrote: > > The only case where the oom_reaper is not triggered for the oom victim > > is when it shares the memory with a kernel thread (aka use_mm) or with > > the global init. After "mm, oom: skip vforked tasks from being selected" > >

[PATCH v4 0/5] sched/fair: Fix attach and detach sched avgs for task group change or sched class change

2016-06-06 Thread Yuyang Du
Hi Peter, It seems the problem is worse, the attach twice issue can happen not only as Vincent raised when task moves between groups, but also when switching to fair class. In addition, for newly forked task, the detach and attach also have problems. Thanks a lot to Vincent. This new version main

[PATCH v4 5/5] sched/fair: Add inline to detach_entity_load_evg()

2016-06-06 Thread Yuyang Du
detach_entity_load_evg() is only called by detach_task_cfs_rq(), so explicitly add inline attribute to it. Signed-off-by: Yuyang Du --- kernel/sched/fair.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a5a7149..1b6adfc

[PATCH v4 1/5] sched/fair: Clean up attach_entity_load_avg()

2016-06-06 Thread Yuyang Du
attach_entity_load_avg() is called (indirectly) from: - switched_to_fair(): switch between classes to fair - task_move_group_fair(): move between task groups - enqueue_entity_load_avg(): enqueue entity Only in switched_to_fair() is it possible that the task's last_update_time is not 0 and ther

[PATCH v4 4/5] sched/fair: Move load and util avgs from wake_up_new_task() to sched_fork()

2016-06-06 Thread Yuyang Du
Move new task initialization to sched_fork(). For initial non-fair class task, the first switched_to_fair() will do the attach correctly. Suggested-by: Peter Zijlstra Signed-off-by: Yuyang Du --- kernel/sched/core.c |5 +++-- kernel/sched/fair.c | 14 +- kernel/sched/sched.h

[PATCH v4 2/5] sched/fair: Fix attaching task sched avgs twice when switching to fair or changing task group

2016-06-06 Thread Yuyang Du
Vincent reported that the first task to a new task group's cfs_rq will be attached in attach_task_cfs_rq() and once more when it is enqueued (see https://lkml.org/lkml/2016/5/25/388). Actually, it is worse. The sched avgs can be sometimes attached twice not only when we change task groups but also

[PATCH v4 3/5] sched/fair: Skip detach sched avgs for new task when changing task groups

2016-06-06 Thread Yuyang Du
Newly forked task has not been enqueued, so should not be removed from cfs_rq in task_move_group_fair(). To do so, we need to pass the fork information all the way from sched_move_task() to task_move_group_fair(). Signed-off-by: Yuyang Du --- kernel/sched/auto_group.c |2 +- kernel/sched/cor

Re: [PATCH] usb: usbip: fix null pointer dereference

2016-06-06 Thread Krzysztof Opasiak
On 06/05/2016 07:54 PM, Sudip Mukherjee wrote: > On Friday 03 June 2016 09:29 AM, Krzysztof Opasiak wrote: >> >> >> On 06/02/2016 03:22 PM, Sudip Mukherjee wrote: >>> We have been dereferencing udc before checking it. Lets use it after it >>> has been checked. >>> >> >> To be honest I have mixed

Re: 4.7-rc1/s390: WARNING: CPU: 5 PID: 1 at kernel/events/core.c:8485 perf_pmu_register+0x420/0x428

2016-06-06 Thread Peter Zijlstra
On Mon, Jun 06, 2016 at 09:37:41AM +0200, Christian Borntraeger wrote: > Peter, Hendrik, > > commit 26657848502b ("perf/core: Verify we have a single perf_hw_context > PMU") seems to > trigger the newly created warning on a z196. > > > [2.202363] [ cut here ] > [

[PATCH][V2] net: fec: fix spelling mistakes and add missing newline

2016-06-06 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes and add missing newline in pr_err messages Signed-off-by: Colin Ian King --- drivers/net/ethernet/freescale/fec_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/

Re: [RESEND PATCH v2 2/6] PCI: Set PCI_BUS_FLAGS_MSI_REMAP if MSI controller enables IRQ remapping

2016-06-06 Thread Yongji Xie
On 2016/6/6 4:10, kbuild test robot wrote: Hi, [auto build test ERROR on vfio/next] [also build test ERROR on v4.7-rc1 next-20160603] [cannot apply to pci/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-

Re: [PATCH v2 3/2] lib/uuid.c: Silence an unchecked return value warning

2016-06-06 Thread Andy Shevchenko
On Sun, 2016-06-05 at 15:25 -0400, George Spelvin wrote: > From andriy.shevche...@linux.intel.com Sun Jun 05 14:19:48 2016 > X-ExtLoop1: 1 > X-IronPort-AV: E=Sophos;i="5.26,421,1459839600";  >    d="scan'208";a="995605979" > Subject: Re: [PATCH v2 3/2] lib/uuid.c: Silence an unchecked return > valu

Re: [RESEND PATCH v2 2/6] PCI: Set PCI_BUS_FLAGS_MSI_REMAP if MSI controller enables IRQ remapping

2016-06-06 Thread Yongji Xie
On 2016/6/6 5:11, kbuild test robot wrote: Hi, [auto build test ERROR on vfio/next] [also build test ERROR on v4.7-rc1 next-20160603] [cannot apply to pci/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-

Re: [PATCH V4 9/9] irqchip/gic: Add platform driver for non-root GICs that require RPM

2016-06-06 Thread Jon Hunter
On 04/06/16 11:10, Marc Zyngier wrote: > On Thu, 12 May 2016 16:19:32 +0100 > Jon Hunter wrote: > >> Add a platform driver to support non-root GICs that require runtime >> power-management. Currently, only non-root GICs are supported because >> the functions, smp_cross_call() and set_handle_irq(

Re: [PATCH 1/2] KVM: x86: avoid simultaneous queueing of both IRQ and SMI

2016-06-06 Thread Wanpeng Li
2016-06-06 16:10 GMT+08:00 Paolo Bonzini : > > > On 05/06/2016 05:28, Wanpeng Li wrote: >>> > No, I don't think so, the existing req_immediate_exit case is only after >>> > a VMLAUNCH/VMRESUME vmexit, in which case we already have a >>> > >>> > if (vmx->nested.nested_run_pending) >>> >

Re: [PATCH RESEND] cpufreq: p4-clockmod: Replace bool_int_array[NR_CPUS] with bitmap

2016-06-06 Thread Peter Zijlstra
On Sun, Jun 05, 2016 at 06:57:33PM +0200, Denys Vlasenko wrote: > Straigntforward conversion from > int has_N44_O17_errata[NR_CPUS] > to > DECLARE_BITMAP(has_N44_O17_errata, NR_CPUS) > > Saves about 2 kbytes in bss for NR_CPUS=512. Using cpumask_var_t would save even more bytes. Or makin

Re: [PATCH V4 7/9] irqchip/gic: Prepare for adding platform driver

2016-06-06 Thread Jon Hunter
On 04/06/16 11:06, Marc Zyngier wrote: > On Thu, 12 May 2016 16:19:30 +0100 > Jon Hunter wrote: > >> To support GICs that require runtime power management, it is necessary >> to add a platform driver, so that the probing of the chip can be >> deferred if resources, such as a power-domain, is not

[PATCH 03/22] coresight: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/hwtracing/coresight/of_coresight.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/hwtracing/coresight/of_coresight.c b/d

[PATCH 10/22] usb: phy: am335x-control: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding This driver uses bus_find_device() to go through every platform device and match using the driver and device tree node. It's more efficient to use driver_find_device() to iterate over all devices associated with a particular driver, in which case the matching is reduced to th

[PATCH 17/22] drm/msm: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/msm/msm_drv.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_

[PATCH 06/22] nvmem: core: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the subsystem-specific one. Signed-off-by: Thierry Reding --- drivers/nvmem/core.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 965911d9b36a..c4062fb3

[PATCH 09/22] of: mdio: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the MDIO-private variant. Signed-off-by: Thierry Reding --- drivers/of/of_mdio.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index e051e1b57609..5d7d95900

[PATCH 15/22] drm/hisilicon: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv

[PATCH 19/22] drm/sti: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/sti/sti_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c i

[PATCH 13/22] drm/armada: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/armada/armada_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/ar

[PATCH 07/22] of/platform: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the OF-private variant. Signed-off-by: Thierry Reding --- drivers/of/platform.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 16e8daffac06..61d00cce929

[PATCH 22/22] iommu/mediatek: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation instead of the driver-private variant. Signed-off-by: Thierry Reding --- drivers/iommu/mtk_iommu.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c index c036df1c

[PATCH 21/22] drm/tilcdc: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation instead of the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/tilcdc/tilcdc_external.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_external.c b/drivers/g

[PATCH 20/22] drm/sun4i: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation instead of the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/sun4i/sun4i_drv.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/s

[PATCH 18/22] drm/rockchip: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c

[PATCH 16/22] drm/mediatek: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/

[PATCH 14/22] drm/etnaviv: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/g

[PATCH 12/22] drm/hdlcd: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the driver-private variant. Signed-off-by: Thierry Reding --- drivers/gpu/drm/arm/hdlcd_drv.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/arm/hdlcd_drv.c b/drivers/gpu/drm/arm/hdlcd_d

Re: [PATCH 0/10 -v3] Handle oom bypass more gracefully

2016-06-06 Thread Michal Hocko
On Sat 04-06-16 00:17:29, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Fri 03-06-16 21:00:31, Tetsuo Handa wrote: > > > Michal Hocko wrote: > > > > Patch 8 is new in this version and it addresses an issue pointed out > > > > by 0-day OOM report where an oom victim was reaped several times. > >

Re: [PATCH V4 1/5] irqchip/gicv3-its: Introduce two helper functions for accessing BASERn

2016-06-06 Thread Marc Zyngier
Hi Shanker, On 06/06/16 06:40, Shanker Donthineni wrote: > This patch adds the two handy helper functions for reading and writing > ITS BASERn register. > > Signed-off-by: Shanker Donthineni > --- > drivers/irqchip/irq-gic-v3-its.c | 32 +--- > 1 file changed, 25 ins

[PATCH 11/22] usb: phy: isp1301: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding This driver uses bus_find_device() to go through every platform device and match using the driver and device tree node. It's more efficient to use driver_find_device() to iterate over all devices associated with a particular driver, in which case the matching is reduced to th

[PATCH 08/22] spi: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the SPI-private variant. Signed-off-by: Thierry Reding --- drivers/spi/spi.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 77e6e45951f4..df0d800b19f0 100644 --

Re: [PATCH 0/10 -v3] Handle oom bypass more gracefully

2016-06-06 Thread Michal Hocko
On Sat 04-06-16 19:57:14, Tetsuo Handa wrote: > Michal Hocko wrote: > > On Fri 03-06-16 14:20:30, Michal Hocko wrote: > > [...] > > > Do no take me wrong but I would rather make sure that the current pile > > > is reviewed and no unintentional side effects are introduced than open > > > yet another

Re: [linux-next: Tree for Jun 1] __khugepaged_exit rwsem_down_write_failed lockup

2016-06-06 Thread Michal Hocko
On Sat 04-06-16 16:51:14, Sergey Senozhatsky wrote: > Hello, > > On (06/03/16 15:49), Michal Hocko wrote: > > __khugepaged_exit is called during the final __mmput and it employs a > > complex synchronization dances to make sure it doesn't race with the > > khugepaged which might be scanning this m

[PATCH 04/22] i2c: core: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the I2C-private variant. Signed-off-by: Thierry Reding --- drivers/i2c/i2c-core.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index af11b658984d..f0c7

[PATCH 05/22] net: cpsw-phy-sel: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding This driver uses bus_find_device() to go through every platform device and match using the driver and device tree node. It's more efficient to use driver_find_device() to iterate over all devices associated with a particular driver, in which case the matching is reduced to th

[PATCH 02/22] amba: tegra-ahb: Use of_device_match()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Use the common implementation rather than the open-coded variant. Signed-off-by: Thierry Reding --- drivers/amba/tegra-ahb.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index b0b688c481

[PATCH 01/22] of: Implement of_match_device()

2016-06-06 Thread Thierry Reding
From: Thierry Reding Many drivers open-code a variant of this function to look up the device representing a given device tree node. Provide a common implementation that can be reused by all drivers to avoid duplication. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_mipi_dsi.c | 5 -

Re: [PATCH] i2c_hid: enable i2c-hid devices to suspend/resume asynchronously

2016-06-06 Thread Jiri Kosina
On Thu, 19 May 2016, Fu, Zhonghui wrote: > i2c-hid devices' suspend/resume are usually time-consuming process. > For example, the touch controller(i2c-ATML1000:00) on ASUS T100 tablet > takes about 160ms for suspending and 120ms for resuming. This patch > enables i2c-hid devices to suspend/resume

[PATCH 00/22] of: Introduce of_match_device()

2016-06-06 Thread Thierry Reding
From: Thierry Reding This series of patches introduces a common implementation of a function that can be used in iterators (such as the bus_for_each_dev() or the driver_for_each_device() functions) and that compare's a device's device tree node with the passed in data. Numerous drivers and subsys

Re: [RFC PATCH 2/3] sched/fair: Sync se with root cfs_rq

2016-06-06 Thread Dietmar Eggemann
On 06/06/16 03:59, Leo Yan wrote: > On Wed, Jun 01, 2016 at 08:39:21PM +0100, Dietmar Eggemann wrote: [...] >> @@ -2995,8 +2997,16 @@ static void attach_entity_load_avg(struct cfs_rq >> *cfs_rq, struct sched_entity *s >> if (!entity_is_task(se)) >> return; >> >> -rq_of(

[PATCH 3/2] xen-pciback: drop rom_init()

2016-06-06 Thread Jan Beulich
It's identical to bar_init() now. Signed-off-by: Jan Beulich --- I'm sorry for this 3/2 - I only now noticed that this additional simplification is now possible. --- drivers/xen/xen-pciback/conf_space_header.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) --- 4.7-rc2-xe

Re: [PATCH] usb: usbip: fix null pointer dereference

2016-06-06 Thread Sudip Mukherjee
On Mon, Jun 06, 2016 at 10:20:37AM +0200, Krzysztof Opasiak wrote: > > > On 06/05/2016 07:54 PM, Sudip Mukherjee wrote: > > > > Yes, I should have seen earlier that the only caller has already > > dereferenced udc. So maybe the following will be appropriate in this > > situation. > > > > Your

[RESEND PATCH 10/14] eeprom: at24: support reading the serial number

2016-06-06 Thread Bartosz Golaszewski
The at24cs series EEPROM chips have an additional read-only memory area containing a factory pre-programmed serial number. In order to access it, one has to perform a dummy write before reading the serial number bytes. Add a function that allows to access the serial number and assign it to at24->r

[RESEND PATCH 14/14] eeprom: at24: add at24mac chips to the list of supported devices

2016-06-06 Thread Bartosz Golaszewski
Now with the infrastructure for reading the factory-programmed mac address in place, add the two available chips from the at24mac family: at24mac402 and at24mac602 to the device ID list. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24.c | 4 1 file changed, 4 insertions(+)

[RESEND PATCH 13/14] eeprom: at24: add support for at24mac series

2016-06-06 Thread Bartosz Golaszewski
Add a new read function to the at24 driver allowing to retrieve the factory-programmed mac address embedded in chips from the at24mac family. These chips can be instantiated similarily to the at24cs family, except that there's no way of having access to both the serial number and the mac address a

[RESEND PATCH 11/14] eeprom: at24: add the at24cs series to the list of supported devices

2016-06-06 Thread Bartosz Golaszewski
The infrastructure for reading of the factory-programmed serial number for at24cs EEPROM series is now in place. Add the chips that are actually equipped with the serial number memory area to the list of supported devices. The chips from the at24cs family have two memory areas - a regular read-wri

Re: [PATCH] IB/core: remove dead code

2016-06-06 Thread Sudip Mukherjee
On Mon, Jun 06, 2016 at 10:22:43AM +0300, Leon Romanovsky wrote: > On Sun, Jun 05, 2016 at 09:45:52PM +0100, Sudip Mukherjee wrote: > > prot_sg_cnt has been assigned with the value of ret which we have > > already checked to be non-zero so prot_sg_cnt can never be zero at this > > point of the code

[RESEND PATCH 12/14] eeprom: at24: platform_data: add at24mac series flag

2016-06-06 Thread Bartosz Golaszewski
As part of supporting the at24mac series add a new flag to the at24 platform data. When set, it indicates that this chip exposes the factory-programmed EUI-48 or EUI-64 address. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/at24.h | 1 + 1 file changed, 1 insertion(+) diff

[RESEND PATCH 05/14] eeprom: at24: hide the read/write loop behind a macro

2016-06-06 Thread Bartosz Golaszewski
Before splitting the read/write routines into smaller, more specialized functions, unduplicate some code in advance. Use a 'for' loop instead of 'do while' when waiting for the previous write to complete and hide it behind a macro. Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at24

Re: [patch] mm/memcontrol.c::mem_cgroup_migrate() - replace another local_irq_disable() w. local_lock_irq()

2016-06-06 Thread Sebastian Andrzej Siewior
On 06/05/2016 08:11 AM, Mike Galbraith wrote: > v4.6 grew a local_irq_disable() in mm/memcontrol.c::mem_cgroup_migrate(). > Convert it to use the existing local lock (event_lock) like the others. > > Signed-off-by: Mike Galbraith Applied. Sebastian

<    1   2   3   4   5   6   7   8   9   10   >