Re: [PATCH] misc: add CS2000 Fractional-N driver

2015-09-09 Thread Arnd Bergmann
On Thursday 10 September 2015 06:36:14 Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch adds CS2000 Fractional-N driver as clock provider. > It is useful if it supports runtime clock setting, but it supports > fixed clock rate at this point. > > Signed-off-by: Kuninori Morimoto

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-09 Thread Peter Chen
On Wed, Sep 09, 2015 at 01:21:50PM +0300, Roger Quadros wrote: > On 09/09/15 11:45, Peter Chen wrote: > > On Wed, Sep 09, 2015 at 12:33:20PM +0300, Roger Quadros wrote: > >> On 09/09/15 11:13, Peter Chen wrote: > >>> On Wed, Sep 09, 2015 at 12:08:10PM +0300, Roger Quadros wrote: > On 09/09/15

Re: incoming

2015-09-09 Thread Rasmus Villemoes
On Thu, Sep 10 2015, Linus Torvalds wrote: > The VERY FIRST conversion patch I looked at was buggy. That makes me > angry. The whole *AND*ONLY* point of this whole thing was to get rid > of bugs, and be a obviously safe interface, and then the first > conversion patch proves it wrong. > > Let me

Re: Re: [PATCH v2 1/5] perf probe: Split add_perf_probe_events()

2015-09-09 Thread Namhyung Kim
Hi Masami, On Thu, Sep 10, 2015 at 05:00:07AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > >From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >The del_perf_probe_events() uses strfilter, but I think it can be > >problematic if other instances or users are using similar events at

[PATCH v2] powerpc32: memcpy/memset: only use dcbz once cache is enabled

2015-09-09 Thread Christophe Leroy
memcpy() and memset() uses instruction dcbz to speed up copy by not wasting time loading cache line with data that will be overwritten. Some platform like mpc52xx do no have cache active at startup and can therefore not use memcpy(). Allthough no part of the code explicitly uses memcpy(), GCC makes

Re: [PATCH/RFC] mm: do not regard CMA pages as free on watermark check

2015-09-09 Thread Vlastimil Babka
[CC Joonsoo, Mel] On 09/09/2015 08:31 PM, Vitaly Wool wrote: > Hi Laura, > > On Wed, Sep 9, 2015 at 7:56 PM, Laura Abbott wrote: > >> (cc-ing linux-mm) >> On 09/09/2015 07:44 AM, Vitaly Wool wrote: >> >>> __zone_watermark_ok() does not corrrectly take high-order >>> CMA pageblocks into account:

Re: [PATCH 08/17] thermal: tegra: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -242,7 +242,7 @@ config ARMADA_THERMAL > > config TEGRA_SOCTHERM > tristate "Tegra SOCTHERM thermal management" > - depends on ARCH_TEGRA > + depends o

Re: [GIT PULL REQUEST] watchdog - v4.3-rc1 merge window

2015-09-09 Thread Stephen Rothwell
Hi Wim, On Thu, 10 Sep 2015 08:20:07 +0200 Wim Van Sebroeck wrote: > > > > Please pull from 'master' branch of > > > git://www.linux-watchdog.org/linux-watchdog.git > > > > I have not been able to fetch from that tree for the past couple of > > days. It connects and then hangs for some time a

[PATCH] misc: add CS2000 Fractional-N driver

2015-09-09 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds CS2000 Fractional-N driver as clock provider. It is useful if it supports runtime clock setting, but it supports fixed clock rate at this point. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/misc/cs2000-cp.txt | 20 ++ drivers/mis

Re: [PATCH 06/17] thermal: u8500: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -224,7 +224,7 @@ config DOVE_THERMAL > > config DB8500_THERMAL > bool "DB8500 thermal management" > - depends on ARCH_U8500 > + depends on ARCH_U8500 |

Re: [PATCH 13/17] thermal: int340x: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -317,7 +317,7 @@ config INTEL_QUARK_DTS_THERMAL > > config INT340X_THERMAL > tristate "ACPI INT340X thermal drivers" > - depends on X86 && ACPI > + dep

Re: [PATCH 11/17] thermal: intel_soc_dts: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -294,7 +294,7 @@ config INTEL_SOC_DTS_IOSF_CORE > > config INTEL_SOC_DTS_THERMAL > tristate "Intel SoCs DTS thermal driver" > - depends on X86 > + depe

Re: [PATCH 12/17] thermal: intel_quark: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -307,7 +307,7 @@ config INTEL_SOC_DTS_THERMAL > > config INTEL_QUARK_DTS_THERMAL > tristate "Intel Quark DTS thermal driver" > - depends on X86_INTEL_QUARK >

Re: [PATCH 10/17] thermal: intel_soc_dts_iosf: allow compile test

2015-09-09 Thread Geert Uytterhoeven
On Thu, Sep 10, 2015 at 6:11 AM, Eduardo Valentin wrote: > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -284,7 +284,7 @@ config X86_PKG_TEMP_THERMAL > > config INTEL_SOC_DTS_IOSF_CORE > tristate > - depends on X86 > + depends on X86 || COMPILE_TEST drive

Re: [PATCH 00/17] thermal: add COMPILE_TEST (on drivers)

2015-09-09 Thread Geert Uytterhoeven
Hi Eduardo, On Thu, Sep 10, 2015 at 6:10 AM, Eduardo Valentin wrote: > This is a simple series to add the COMPILE_TEST on thermal drivers. > The idea is to help compiling and maintaining. Thanks, good idea! > Split into smaller patches so people can have their own voices on their > drivers. >

Re: [PATCH] infiniband:mlx4:Fix assumation that ib_get_cached_pkey runs successfully in build_mlx_header

2015-09-09 Thread Or Gerlitz
On 9/10/2015 2:04 AM, Nicholas Krause wrote: This fixes a incorrect assumation that ib_get_cached_pkey always runs successfully in the function build_mlx_header by checking if the calls to this particular function return the error code, -EINVAL in order to signal they failed to grap the public ke

Re: [GIT PULL REQUEST] watchdog - v4.3-rc1 merge window

2015-09-09 Thread Wim Van Sebroeck
Hi Stephen, > > > > Please pull from 'master' branch of > > git://www.linux-watchdog.org/linux-watchdog.git > > I have not been able to fetch from that tree for the past couple of > days. It connects and then hangs for some time and then I get: > > fatal: read error: Connection reset by pee

RE: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-09 Thread Yuantian Tang
> -Original Message- > From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun Heo > Sent: Wednesday, September 09, 2015 10:02 PM > To: Tang Yuantian-B29983 > Cc: hdego...@redhat.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; devicet...@vger.kernel.org > Subject: R

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

2015-09-09 Thread Archit Taneja
On 09/08/2015 03:57 PM, Andrzej Hajda wrote: On 09/07/2015 01:46 PM, Archit Taneja wrote: Thierry, On 08/21/2015 11:39 AM, Archit Taneja wrote: On 08/20/2015 05:18 PM, Thierry Reding wrote: On Thu, Aug 20, 2015 at 09:46:14AM +0530, Archit Taneja wrote: Hi Thierry, Lucas, On 08/19/2015

Re: Kernel 4.1.6 Panic due to slab corruption

2015-09-09 Thread Nikolay Borisov
On 09/09/2015 05:01 PM, Christoph Lameter wrote: > On Wed, 9 Sep 2015, Nikolay Borisov wrote: > >> [root@kernighan vm]# ./slabinfo -da kmalloc-32 >> Cannot write to dma-kmalloc-32/sanity >> [root@kernighan vm]# ./slabinfo -dF kmalloc-32 >> Cannot write to dma-kmalloc-32/sanity >> [root@kernighan

[RESEND PATCH 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-09 Thread Chen Feng
Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig| 5 +++ drivers/reset/hisilicon/Makefile

[RESEND PATCH 2/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-09-09 Thread Chen Feng
Add DT bindings documentation for hi6220 SoC reset controller. Signed-off-by: Chen Feng --- .../bindings/reset/hisilicon,hi6220-reset.txt | 97 ++ arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +- 2 files changed, 98 insertions(+), 1 deletion(-) create mode 10

[RESEND PATCH 1/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-09 Thread Chen Feng
Add reset controller for hi6220 hikey-board. Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..09bb9d1 100644 ---

Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel

2015-09-09 Thread Petr Cvek
Dne 9.9.2015 v 08:25 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Dne 8.9.2015 v 22:24 Petr Cvek napsal(a): >>> >>> Did you defined resources somewhere? Actual resources are in >>> "pxa_ir_resources" variable at: > I have them in patch [1], which is exactly the patch you have made yourself.

[PATCH 2/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-09-09 Thread Chen Feng
Add DT bindings documentation for hi6220 SoC reset controller. Signed-off-by: Chen Feng --- .../bindings/reset/hisilicon,hi6220-reset.txt | 97 ++ arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +- 2 files changed, 98 insertions(+), 1 deletion(-) create mode 10

[PATCH 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-09 Thread Chen Feng
Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig| 5 +++ drivers/reset/hisilicon/Makefile

[PATCH 1/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-09-09 Thread Chen Feng
Add reset controller for hi6220 hikey-board. Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..09bb9d1 100644 ---

[PATCH] hw_random: octeon-rng: Use devm_hwrng_register

2015-09-09 Thread Vaishali Thakkar
Use resource managed function devm_hwrng_register instead of hwrng_register to make the error-path simpler. Also, remove octeon_rng_remove as it is now redundant. Signed-off-by: Vaishali Thakkar --- drivers/char/hw_random/octeon-rng.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletio

Re: [GIT PULL REQUEST] watchdog - v4.3-rc1 merge window

2015-09-09 Thread Wim Van Sebroeck
Hi Stephen, Linus, > On Wed, Sep 9, 2015 at 2:40 PM, Stephen Rothwell > wrote: > > > > I have not been able to fetch from that tree for the past couple of > > days. It connects and then hangs for some time > > .. yup, that's what I got just when trying to pull. I just restarted the git-daemon

Re: [PATCH 2/6] Staging: iio: cdc: ad7152.c: Prefer using the BIT macro

2015-09-09 Thread Julia Lawall
On Thu, 10 Sep 2015, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro > as it's extensively used by other function in this driver. Don't use BIT in the mixed cases. julia > > This was done with coccinelle: > @@ int g; @@ > > -(1 << g) > +BIT(g) > > Signed-o

Re: [PATCH 4/6] Staging: iio: cdc: ad7746.c: Prefer using the BIT macro

2015-09-09 Thread Julia Lawall
On Thu, 10 Sep 2015, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro > as it's extensively used by other function in this driver. > > This was done with coccinelle: > @@ int g; @@ > > -(1 << g) > +BIT(g) > > Signed-off-by: Shraddha Barke > --- > drivers/sta

Re: [PATCH 5/6] Staging: iio: impedance-analyzer: Prefer using the BIT macro

2015-09-09 Thread Julia Lawall
On Thu, 10 Sep 2015, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro > as it's extensively used by other function in this driver. > > This was done with coccinelle: > @@ int g; @@ > > -(1 << g) > +BIT(g) This doesn't look like a good idea here, since there is

Re: [PATCH 2/3] lib/kobject_uevent.c: add uevent forwarding function

2015-09-09 Thread Greg KH
On Thu, Sep 10, 2015 at 08:43:28AM +0300, Amir Goldstein wrote: > I fully agree with you that running unmodified distro inside a > container is not a justified > cause for kernel changes. Great, end of discussion :) > However, I would like to highlight the point that udev is not the only > consum

Re: [PATCH v2] zram: introduce comp algorithm fallback functionality

2015-09-09 Thread Minchan Kim
On Thu, Sep 10, 2015 at 02:33:19PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (09/10/15 14:03), Minchan Kim wrote: > [..] > > > > I guess most of scripts have checked result of his doing so if we > > removes it, it will break them. > > to be honest, we never documented or required any of th

Re: [PATCH 2/3] lib/kobject_uevent.c: add uevent forwarding function

2015-09-09 Thread Amir Goldstein
On Wed, Sep 9, 2015 at 11:11 PM, Greg KH wrote: > > On Wed, Sep 09, 2015 at 03:24:12PM -0400, Michael J Coss wrote: > > On 9/8/2015 11:55 PM, Greg KH wrote: > > > On Tue, Sep 08, 2015 at 10:10:29PM -0400, Michael J. Coss wrote: > > >> Adds capability to allow userspace programs to forward a given

Re: [PATCH] staging: ion: fix corruption of ion_import_dma_buf

2015-09-09 Thread Colin Cross
On Wed, Sep 9, 2015 at 10:19 AM, Laura Abbott wrote: > (adding Colin and John) > > > On 09/09/2015 12:41 AM, Shawn Lin wrote: >> >> we found this issue but still exit in lastest kernel. Simply >> keep ion_handle_create under mutex_lock to avoid this race. >> >> WARNING: CPU: 2 PID: 2648 at drivers

Re: [PATCH 4/5] Staging: rtl8192u: r8192U_core.c: Replace "#include " with "#include "

2015-09-09 Thread Sudip Mukherjee
On Thu, Sep 10, 2015 at 10:44:17AM +0530, Shraddha Barke wrote: > Oops! Should I send a version 2 of the series dropping this patch? Not required. I hope Greg will see these 3 mails and will not try to apply this patch. But just to be safe reply to the patch asking Greg not to apply that particular

Re: [PATCH v2] zram: introduce comp algorithm fallback functionality

2015-09-09 Thread Sergey Senozhatsky
Hello, On (09/10/15 14:03), Minchan Kim wrote: [..] > > I guess most of scripts have checked result of his doing so if we > removes it, it will break them. to be honest, we never documented or required any of those. the only source of information for the user space -- zram.txt documentation -- si

Re: [COMMERCIAL] Re: [PATCH 0/3] kobject: support namespace aware udev

2015-09-09 Thread Greg KH
On Wed, Sep 09, 2015 at 04:55:22PM -0400, Michael J Coss wrote: > On 9/9/2015 4:28 PM, Greg KH wrote: > > On Wed, Sep 09, 2015 at 04:16:49PM -0400, Michael J Coss wrote: > >> On 9/9/2015 4:09 PM, Greg KH wrote: > >>> On Wed, Sep 09, 2015 at 03:05:29PM -0400, Michael J Coss wrote: > On 9/8/2015

Re: [PATCH 4/5] Staging: rtl8192u: r8192U_core.c: Replace "#include " with "#include "

2015-09-09 Thread Sudip Mukherjee
On Thu, Sep 10, 2015 at 09:03:00AM +0530, Shraddha Barke wrote: > Fix checkpatch.pl warning "Use #include > instead of " > > Signed-off-by: Shraddha Barke > --- This has already been done by: f05937c591aa ("staging: rtl8192u: r8192U_core: include linux/uaccess.h instead of asm/uaccess.h") rega

Re: [PATCH] ipv6: fix ifnullfree.cocci warnings

2015-09-09 Thread roopa
On 9/9/15, 3:57 PM, kbuild test robot wrote: net/ipv6/route.c:2946:3-8: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. NULL check before s

Re: [PATCH v2] zram: introduce comp algorithm fallback functionality

2015-09-09 Thread Minchan Kim
On Tue, Sep 08, 2015 at 07:42:56PM +0100, Luis Henriques wrote: > When the user supplies an unsupported compression algorithm, keep the > previously selected one (knowingly supported) or the default one (if the > compression algorithm hasn't been changed yet). > > Note that previously this operati

[GIT PULL] arch/microblaze changes for 4.3-rc1

2015-09-09 Thread Michal Simek
Hi Linus, please pull this one patch to your tree. I have rebased the branch because there was a conflict with "tile: enable full SECCOMP support" (sha1: a0ddef81f4ac3326f6b6a255d8ea13b41908). Thanks, Michal The following changes since commit b8889c4fc6ba03e289cec6a4d692f6f080a55e53: Mer

RE: Re: [PATCH v2 1/5] perf probe: Split add_perf_probe_events()

2015-09-09 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > >On Sun, Sep 06, 2015 at 03:47:37PM +0800, Wangnan (F) wrote: >> Hi Namhyung, > >Hi, > >> >> Thanks for this patchset. >> >> Could you plase have a look at patch 5/27 and 6/27 in my newest pull >> request? >> These 2 patche

[PATCHv3 1/1] ti-soc-thermal: implement omap3 support

2015-09-09 Thread Eduardo Valentin
From: Pavel Machek This adds support for OMAP3 chips to ti-soc-thermal. As requested by TI people, it is marked unreliable and warning is printed. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Pavel Machek Signed-off-b

Re: [PATCH 3/3] staging: fbtft: use pr_fmt

2015-09-09 Thread Sudip Mukherjee
On Wed, Sep 09, 2015 at 11:20:08PM +0200, Noralf Trønnes wrote: > > Den 09.09.2015 20:35, skrev Greg Kroah-Hartman: > >On Sat, Sep 05, 2015 at 07:13:45PM +0530, Sudip Mukherjee wrote: > >>Instead of defining DRVNAME and using it in all calls to pr_* family of > >>macros lets start using pr_fmt. >

Re: [PATCH] ether: add IEEE 1722 ethertype - TSN

2015-09-09 Thread David Miller
From: Henrik Austad Date: Wed, 9 Sep 2015 11:26:32 +0200 > IEEE 1722 describes AVB (later renamed to TSN - Time Sensitive > Networking), a protocol, encapsualtion and synchronization to utilize > standard networks for audio/video (and later other time-sensitive) > streams. > > This standard use

Re: [PATCH 01/10] perf,x86: Fix event/group validation

2015-09-09 Thread Sasha Levin
Ping? On 08/21/2015 04:31 PM, Sasha Levin wrote: > On 05/21/2015 07:17 AM, Peter Zijlstra wrote: >> --- a/arch/x86/kernel/cpu/perf_event_intel.c >> +++ b/arch/x86/kernel/cpu/perf_event_intel.c >> @@ -2106,7 +2106,7 @@ static struct event_constraint * >> intel_get_event_constraints(struct cpu_hw_e

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

2015-09-09 Thread Sudip Mukherjee
On Wed, Sep 09, 2015 at 01:07:04PM -0700, Greg Kroah-Hartman wrote: > On Wed, Sep 09, 2015 at 11:03:20PM +0300, Mike Rapoport wrote: > > On Wed, Sep 09, 2015 at 11:41:20AM -0700, Greg Kroah-Hartman wrote: > > > On Sun, Sep 06, 2015 at 09:17:56AM +0300, Mike Rapoport wrote: > > > > Fix the checkpatc

Re: Incorrect key code parsing in dell-wmi.c since 5ea2559

2015-09-09 Thread Darren Hart
On Sat, Jul 04, 2015 at 07:06:48PM +0200, Pali Rohár wrote: > Hello, > > I found another problem in dell-wmi.c code which is still partially in > mainline kernel since commit 5ea2559726b786283236835dc2905c23b36ac91c: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5e

[PATCH v2 5/7] x86, acpi, cpu-hotplug: Introduce apicid_to_cpuid[] array to store persistent cpuid <-> apicid mapping.

2015-09-09 Thread Tang Chen
From: Gu Zheng This patch finishes step2 mentioned in previous patch 4. In this patch, we introduce a new static array named apicid_to_cpuid[], which is large enough to store info for all possible cpus. And then, we modify the cpuid calculation. In generic_processor_info(), it simply finds the

[PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation.

2015-09-09 Thread Tang Chen
From: Gu Zheng In the current kernel, all possible cpus are mapped to the best near online node if they reside in a memory-less node in init_cpu_to_node(). init_cpu_to_node() { .. for_each_possible_cpu(cpu) { .. if (!node_online(node))

[PATCH v2 2/7] x86, numa: Introduce a node to node array to map a node to its best online node.

2015-09-09 Thread Tang Chen
The whole patch-set aims at solving this problem: [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroy

[PATCH v2 4/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time.

2015-09-09 Thread Tang Chen
From: Gu Zheng [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed, which means, cpuid <-> nodeid

[PATCH v2 1/7] x86, numa: Move definition of find_near_online_node() forward.

2015-09-09 Thread Tang Chen
Will call this function earlier in next coming patches. So simply move its definition forward. And also, add comments for it. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 47 +-- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/arch

[PATCH v2 6/7] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-09-09 Thread Tang Chen
From: Gu Zheng This patch finishes step3 mentioned in previous patch 4. There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid (logical cpu id) <-> nodeid 1. pxm (proximi

[PATCH v2 7/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting.

2015-09-09 Thread Tang Chen
From: Gu Zheng This patch finishes step4 mentioned in previous patch 4. There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid (logical cpu id) <-> nodeid 1. pxm (proximi

[PATCH v2 0/7] Make cpuid <-> nodeid mapping persistent.

2015-09-09 Thread Tang Chen
The whole patch-set aims at solving this problem: [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroy

Re: [PATCH 6/6] Staging: iio: resolver: Prefer using the BIT macro

2015-09-09 Thread Joe Perches
On Thu, 2015-09-10 at 09:43 +0530, Shraddha Barke wrote: > This patch replaces bit shifting on 1 with the BIT(x) macro > as it's extensively used by other function in this driver. [] > diff --git a/drivers/staging/iio/resolver/ad2s1210.c > b/drivers/staging/iio/resolver/ad2s1210.c [] > @@ -149,7 +

Re: [PATCH 02/17] thermal: spear: allow compile test

2015-09-09 Thread Viresh Kumar
On Thu, Sep 10, 2015 at 9:40 AM, Eduardo Valentin wrote: > Adding COMPILE_TEST flag to spear driver to facilitate > maintenance. > > Cc: Zhang Rui > Cc: linux...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Eduardo Valentin > --- > drivers/thermal/Kconfig | 2 +- > 1 file

[no subject]

2015-09-09 Thread jerryfunds22
We Give Out Loans For 3% Interest Rate And We Offer Loans From $5,000 To $50,000,000.00, Are You Looking To Buy A House Car Or Company Or Start Up A Truck Company or Buy A Truck Or Personal Loans, Email Us At j.funds2000...@inbox.lv With Amount Needed And Phone Number. -- To unsubscribe from th

Re: [RFC PATCH] clocksource: exynos_mct: use container_of() instead of this_cpu_ptr()

2015-09-09 Thread Krzysztof Kozlowski
On 04.09.2015 08:49, Alexey Klimov wrote: > Since evt structure is embedded in per-CPU mevt structure it's > definitely faster to use container_of() to get access to mevt > if we have evt (for example as incoming function argument) instead > of more expensive approach with this_cpu_ptr(&percpu_mct_

[PATCH 1/1] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly

2015-09-09 Thread Eduardo Valentin
Move the dependencies to menu, so we avoid showing it wrongly. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig| 1 + drivers/thermal/ti-soc-thermal/Kconfig | 2

[PATCH 01/17] thermal: hisi: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to hisi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig

[PATCH 04/17] thermal: kirkwood: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to kirkwood driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kcon

[PATCH 03/17] thermal: rockchip: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to rockchip driver to facilitate maintenance. Cc: Zhang Rui Cc: Heiko Stuebner Cc: linux...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-rockc...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/ther

[PATCH 05/17] thermal: dove: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to dove driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig

[PATCH 07/17] thermal: armada: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to armada driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfi

[PATCH 09/17] thermal: powerclamp: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to powerclamp driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kc

[PATCH 10/17] thermal: intel_soc_dts_iosf: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to intel_soc_dts_iosf driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/th

[PATCH 06/17] thermal: u8500: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to u8500 driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/Kco

[PATCH 3/6] Staging: iio: meter: Prefer using the BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/meter/ade7753.c | 8 drivers/staging/iio/mete

[PATCH 4/6] Staging: iio: cdc: ad7746.c: Prefer using the BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/cdc/ad7746.c | 42

[PATCH 1/6] Staging: iio: addac: adt7316.c : Prefer using BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/addac/adt7316.c | 14 +++--- 1 file changed, 7 inse

[PATCH 5/6] Staging: iio: impedance-analyzer: Prefer using the BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/impedance-analyzer/ad5933.c | 22 +++--- 1

[PATCH 2/6] Staging: iio: cdc: ad7152.c: Prefer using the BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/cdc/ad7152.c | 20 ++-- 1 file changed, 10

[PATCH 6/6] Staging: iio: resolver: Prefer using the BIT macro

2015-09-09 Thread Shraddha Barke
This patch replaces bit shifting on 1 with the BIT(x) macro as it's extensively used by other function in this driver. This was done with coccinelle: @@ int g; @@ -(1 << g) +BIT(g) Signed-off-by: Shraddha Barke --- drivers/staging/iio/resolver/ad2s1210.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 11/17] thermal: intel_soc_dts: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to intel_soc_dts driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal

[PATCH 13/17] thermal: int340x: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to int340x driver to facilitate maintenance. Cc: Zhang Rui Cc: Srinivas Pandruvada Cc: Jacob Pan Cc: "lan,Tianyu" Cc: Ilkka Koskinen Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 f

[PATCH 12/17] thermal: intel_quark: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to intel_quark driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/K

[PATCH 14/17] thermal: exynos: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to exynos driver to facilitate maintenance. Cc: Lukasz Majewski Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 inser

[PATCH 17/17] thermal: ti-soc: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to ti-soc driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/ti-soc-thermal/Kconfig | 8 1 file changed, 4 insertions(+

[PATCH 15/17] thermal: st: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to st driver to facilitate maintenance. Cc: Zhang Rui Cc: Nicolas Boichat Cc: Mark Brown Cc: Fabian Frederick Cc: Wolfram Sang Cc: Lee Jones Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig |

[PATCH 08/17] thermal: tegra: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to tegra driver to facilitate maintenance. Cc: Zhang Rui Cc: Stephen Warren Cc: Thierry Reding Cc: Alexandre Courbot Cc: linux...@vger.kernel.org Cc: linux-te...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kcon

[PATCH 16/17] thermal: qcom_spmi: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to qcom_spmi driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kco

[PATCH 02/17] thermal: spear: allow compile test

2015-09-09 Thread Eduardo Valentin
Adding COMPILE_TEST flag to spear driver to facilitate maintenance. Cc: Zhang Rui Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig

[PATCH 00/17] thermal: add COMPILE_TEST (on drivers)

2015-09-09 Thread Eduardo Valentin
Hello all, This is a simple series to add the COMPILE_TEST on thermal drivers. The idea is to help compiling and maintaining. Split into smaller patches so people can have their own voices on their drivers. Let me know if this is a problem. BR, Eduardo Valentin (17): thermal: hisi: allow com

[PATCH] igb: don't unmap hw_addr if its NULL

2015-09-09 Thread Jarod Wilson
I've got a startech thunderbolt dock someone loaned me, which among other things, has the following device in it: 08:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) This hotplugs just fine (kernel 4.2.0 plus a patch or two here): [ 863.020315] igb: Intel(R)

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-09 Thread Yuyang Du
On Tue, Sep 08, 2015 at 01:50:38PM +0100, Dietmar Eggemann wrote: > > It's both a unit and a SCALE/SHIFT problem, SCHED_LOAD_SHIFT and > > SCHED_CAPACITY_SHIFT are defined separately so we must be sure to > > scale the value in the right range. In the case of cpu_usage which > > returns sa->util_av

linux-next: Tree for Sep 10

2015-09-09 Thread Stephen Rothwell
Hi all, Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150909: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The kvm tree still had its build failure for which I reverted a commit. Non-merge

Re: [PATCH] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-09 Thread joeyli
Hi, On Wed, Sep 09, 2015 at 12:21:23PM +0100, Matt Fleming wrote: > On Wed, 09 Sep, at 08:33:07AM, joeyli wrote: > > > > Yes, the machine on my hand has EFI_PROPERTIES_TABLE enabled, and it doesn't > > boot without your patch. > > Awesome. Could you test the following patch instead? > > --- Ye

Re: [PATCH] x86: wmi: Remove private %pUL implementation

2015-09-09 Thread Darren Hart
On Thu, Sep 10, 2015 at 12:08:45AM +0200, Rasmus Villemoes wrote: > The work performed by wmi_gtoa is equivalent to simply sprintf(out, > "%pUL", in), so one could replace its body by this. However, most > users feed the result directly as a %s argument to some other function > which also understan

[PATCH 3/5] Staging: rtl8192u: ieee80211: ieee80211_module.c: Replace "#include " with "#include "

2015-09-09 Thread Shraddha Barke
Fix checkpatch.pl warning "Use #include instead of " Signed-off-by: Shraddha Barke --- drivers/staging/rtl8192u/ieee80211/ieee80211_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_module.c b/drivers/staging/rtl8192u/ieee

[PATCH 2/5] Staging: rtl8192u: ieee80211: ieee80211_softmac.c: Replace "#include " with "#include "

2015-09-09 Thread Shraddha Barke
Fix checkpatch.pl warning "Use #include instead of " Signed-off-by: Shraddha Barke --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ie

[PATCH 5/5] Staging: wilc1000: Replace "#include " with "#include "

2015-09-09 Thread Shraddha Barke
Fix checkpatch.pl warning "Use #include instead of " Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/linux_wlan_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan_spi.c b/drivers/staging/wilc1000/linux_wlan_spi.c index 23666

[PATCH 4/5] Staging: rtl8192u: r8192U_core.c: Replace "#include " with "#include "

2015-09-09 Thread Shraddha Barke
Fix checkpatch.pl warning "Use #include instead of " Signed-off-by: Shraddha Barke --- drivers/staging/rtl8192u/r8192U_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 577d3a4..cfb07

[PATCH 1/5] Staging: rtl8192u: ieee80211: Replace "#include " with "#include "

2015-09-09 Thread Shraddha Barke
Fix checkpatch.pl warning "Use #include instead of " Signed-off-by: Shraddha Barke --- drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8192u/ieee80211/ie

Re: [PATCH v2] r8169: Fix sleeping function called during get_stats64

2015-09-09 Thread David Miller
From: Corinna Vinschen Date: Wed, 9 Sep 2015 23:16:40 +0200 > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=104031 > Fixes: 6e85d5ad36a26debc23a9a865c029cbe242b2dc8 > > Based on the discussion starting at > http://www.spinics.net/lists/netdev/msg342193.html > > Tested locally on RTL816

RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-09 Thread Roman Bacik
> -Original Message- > From: Roman Bacik > Sent: September-09-15 7:36 PM > To: 'John Youn'; Scott Branden; Greg Kroah-Hartman; linux- > u...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; bcm-kernel-feedback-list > Subject: RE: [PATCH v2 1/1] usb: dwc2: gadget: parity fix in isochronou

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-09 Thread Yuyang Du
On Tue, Sep 08, 2015 at 02:52:05PM +0200, Peter Zijlstra wrote: > > +#if (SCHED_LOAD_SHIFT - SCHED_LOAD_RESOLUTION) != 10 || SCHED_CAPACITY_SHIFT > != 10 > +#error "load tracking assumes 2^10 as unit" > +#endif > + Sorry for late response. I might already missed somthing. But I got a bit lost

  1   2   3   4   5   6   7   8   >