[patch V4 12/31] lib: bch: use parity32

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- lib/bch.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/bch.c b/lib/bch.c index bc89dfe4..6c6e8d4 100644 --- a/lib/bch.c +++ b/lib/bch.c @@ -278,18 +278,6

Re: [PATCH 6/6] pinctrl: tegra: Add driver to configure voltage and power state of io pads

2016-05-11 Thread Linus Walleij
On Mon, May 2, 2016 at 2:17 PM, Laxman Dewangan wrote: > NVIDIA Tegra210 supports the IO pads which can operate at 1.8V > or 3.3V I/O voltage levels. Also the IO pads can be configured > for power down state if it is not used. SW needs to configure the > voltage level of IO

[patch V4 09/31] bitops: Add x86-specific parity functions

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use alternatives, lifted from arch_hweight Signed-off-by: Zhaoxiu Zeng --- arch/x86/include/asm/arch_hweight.h | 5 ++ arch/x86/include/asm/arch_parity.h | 117

Fwd: [PATCH v4 02/18] nbd: fix checkpatch trailing space warning.

2016-05-11 Thread Pranay Srivastava
Greg, Resending as I missed the cc list earlier. On Wed, May 11, 2016 at 2:03 PM, Greg KH wrote: > On Wed, May 11, 2016 at 11:18:30AM +0300, Pranay Kr. Srivastava wrote: >> Signed-off-by: Pranay Kr. Srivastava >> --- >> drivers/block/nbd.c | 2 +-

Re: [PATCH] arm64: cpuinfo: Missing NULL terminator in compat_hwcap_str

2016-05-11 Thread Julien Grall
Hi Mark, On 10/05/2016 15:54, Mark Rutland wrote: On Tue, May 10, 2016 at 03:40:31PM +0100, Julien Grall wrote: The loop that browses the array compat_hwcap_str will stop when a NULL is encountered, however NULL is missing at the end of array. This will result to overrun until one NULL is

Re: [PATCH 04/12] MIPS: Use enums to make asm/pgtable-bits.h readable

2016-05-11 Thread Ralf Baechle
On Fri, Apr 15, 2016 at 09:29:06PM +0100, James Hogan wrote: > Having had to work my way through some of this file to manually walk > page tables only this week, I really do think this is an excellent > cleanup (if nothing else, look at that diffstat :-D ). I agree. Lots of history in this

Re: [RFC PATCH 0/2] net: threadable napi poll loop

2016-05-11 Thread Paolo Abeni
Hi Eric, On Tue, 2016-05-10 at 15:51 -0700, Eric Dumazet wrote: > On Wed, 2016-05-11 at 00:32 +0200, Hannes Frederic Sowa wrote: > > > Not only did we want to present this solely as a bugfix but also as as > > performance enhancements in case of virtio (as you can see in the cover > > letter).

Re: [PATCH 4.5 00/88] 4.5.4-stable review

2016-05-11 Thread Kevin Hilman
Greg Kroah-Hartman writes: > On Mon, May 09, 2016 at 12:49:49AM -0700, kernelci.org bot wrote: >> stable-queue boot: 269 boots: 6 failed, 247 passed with 16 offline >> (v4.5.3-88-gdb49c07fbfff) >> >> Full Boot Summary: >>

Re: [patch V4 09/31] bitops: Add x86-specific parity functions

2016-05-11 Thread Borislav Petkov
On Wed, May 11, 2016 at 11:31:39AM +0200, Peter Zijlstra wrote: > How many bytes does that end up being? Should we make it a call? Those should call __arch_hweight* anyway - no need for the duplication at all. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard,

[GIT PULL] irqchip updates for 4.7

2016-05-11 Thread Marc Zyngier
Hi Thomas, This is the pull request for the irqchip updates targeting 4.7: A couple of new drivers, quite a few cleanups two bug fixes and a workaround for a Broadcom erratum. Jon's PM support has uncovered another bug nest, so I'm holding it until this is properly solved. A word of warning:

Re: [PATCH] x86: use compat version for preadv2 and pwritev2

2016-05-11 Thread Thomas Gleixner
On Wed, 11 May 2016, Dmitry V. Levin wrote: > Similar to preadv and pwritev, preadv2 and pwritev2 need compat entries > in the 32-bit syscall table. So this is 2016 and we added a syscalls which require compat support. What's wrong here? Thanks, tglx

[PATCH v5 03/11] thermal: tegra: add hw-throttle for Tegra132

2016-05-11 Thread Wei Ni
Tegra132 use CCROC throttle registers to configure pulse skiper, set these registers to enable throttle function for Tegra132. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c| 234 +--- drivers/thermal/tegra/tegra132-soctherm.c

[Patch]cpuidle: Save current cpu as local once instead of calling smp_processor_id() in loop

2016-05-11 Thread Gaurav Jindal (Gaurav Jindal)
Hi Currently, smp_processor_id() is used to fetch the current cpu in cpu_idle_loop. Everytime the idle thread runs, it fetches the current cpu using smp_processor_id(). For idle thread which is per cpu, current cpu is constant and cannot change at runtime. So moving the smp_processor_id() before

[PATCH v5 00/11] Add HW throttle for Tegra soctherm

2016-05-11 Thread Wei Ni
This series add following functions for Tegra soctherm: 1. add HW throttle function. 2. enable soctherm node for Tegra124, Tegra132, Tegra210, and set "critical", "hot" trips for them. Main changes from v4: 1. drop the "nvidia" prefix from the node name, per Rob's comments. Main changes from v3:

[PATCH v5 02/11] thermal: tegra: add hw-throttle function

2016-05-11 Thread Wei Ni
Tegra soctherm support HW throttle, when the soctherm snesors' temperature is above the throttle trip point, it will trigger pulse skiper to tune clocks accroding to the throttle depth. Add this function for Tegra124 and Tegra210. Since Tegra132 use different registers to configure pulse skiper,

Lenovo A740 gave up waiting for root device with kernels >= 4.3

2016-05-11 Thread Kevin Brubeck Unhammer
[1.] One line summary of the problem: Lenovo A740 does not boot with kernel >= 4.3, "gave up waiting for root device" [2.] Full description of the problem/report: I have a Lenovo A740 (running Xubuntu 16.04) which, with kernel versions >= 4.3, gives this on trying to boot: Begin: Waiting for

Re: [PATCH] kvm-pr: manage illegal instructions

2016-05-11 Thread Alexander Graf
On 03/15/2016 09:18 PM, Laurent Vivier wrote: While writing some instruction tests for kvm-unit-tests for powerpc, I've found that illegal instructions are not managed correctly with kvm-pr, while it is fine with kvm-hv. When an illegal instruction (like ".long 0") is processed by kvm-pr, the

[PATCH] Fix bss mapping for the interpreter in binfmt_elf

2016-05-11 Thread Hector Marco-Gisbert
While working on a new ASLR for userspace we detected an error in the interpret loader. The size of the bss section for some interpreters is not correctly calculated resulting in unnecessary calls to vm_brk() with enormous size values. The bug appears when loading some interpreters with a small

Re: [PATCH -v2] x86/hweight: Get rid of the special calling convention

2016-05-11 Thread Brian Gerst
On Wed, May 11, 2016 at 12:11 AM, Borislav Petkov wrote: > On Tue, May 10, 2016 at 03:30:48PM -0700, H. Peter Anvin wrote: >> I didn't mean inline assembly. > > How does that matter? > > The problem is having as less insn bytes as possible and the minimal > size we can do is issuing

Re: [PATCH] mm-kasan-initial-memory-quarantine-implementation-v8-fix

2016-05-11 Thread Andrey Ryabinin
On 05/11/2016 01:18 PM, Alexander Potapenko wrote: > On Tue, May 10, 2016 at 3:38 PM, Andrey Ryabinin > wrote: >> * Fix comment styles, > yDid you remove the comments from include/linux/kasan.h because they > were put inconsistently, or was there any other reason? We

Re: [PATCH 4/4] gpio: zevio: make it explicitly non-modular

2016-05-11 Thread Linus Walleij
On Tue, May 10, 2016 at 1:59 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/gpio/Kconfig:config GPIO_ZEVIO > drivers/gpio/Kconfig: bool "LSI ZEVIO SoC memory mapped GPIOs" > > ...meaning that it currently is

[PATCH 12/18] clk: samsung: exynos5440: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5440.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5440.c

[PATCH 15/18] clk: samsung: exynos5433: Move PLL rates data to init section

2016-05-11 Thread Krzysztof Kozlowski
The arrays with initialization data of PLLs can be moved to initconst section because they are referenced only from other initconst-level symbols. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5433.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-05-11 Thread Sebastian Andrzej Siewior
On 05/11/2016 12:19 PM, Ville Syrjälä wrote: > Hi, Hi, > I have a Lenovo Ideapad S10-3t machine here (Atom N450, 1 core, 2 HT) > which fails to resume from S3 on 4.6-rc releases. I bisected it down to > > commit 1cf4f629d9d246519a1e76c021806f2a51ddba4d > Author: Thomas Gleixner

Re: [PATCH v9 2/2] gpio: move clps711x, moxart, ts4800 and gpio-ge into gpio-mmio

2016-05-11 Thread Andy Shevchenko
On Wed, May 11, 2016 at 12:34 PM, Christian Lamparter wrote: > This patch integrates the GPIO drivers for the following > boards, SoCs, etc. into gpio-mmio: > - CLPS711X SoCs > - MOXA ART SoC > - TS-4800 FPGA DIO blocks and compatibles > - GPIO controllers found on

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-05-11 Thread Ville Syrjälä
On Wed, May 11, 2016 at 02:24:51PM +0200, Sebastian Andrzej Siewior wrote: > On 05/11/2016 02:21 PM, Ville Syrjälä wrote: > > Yeah can't get anything from the machine at that point. netconsole > > didn't help either, and no serial on this machine. And IIRC I've > > tried ramoops on this thing in

[patch V4 25/31] input: use parity8 in sa1111ps2

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/serio/saps2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/saps2.c

Re: [Question] Missing data after DMA read transfer - mm issue with transparent huge page?

2016-05-11 Thread Nicolas Morey Chaisemartin
Le 05/10/2016 à 03:34 PM, Jerome Glisse a écrit : > On Tue, May 10, 2016 at 01:15:02PM +0200, Nicolas Morey Chaisemartin wrote: >> Le 05/10/2016 à 12:01 PM, Jerome Glisse a écrit : >>> On Tue, May 10, 2016 at 09:04:36AM +0200, Nicolas Morey Chaisemartin wrote: Le 05/03/2016 à 12:11 PM,

[patch V4 22/31] mtd: use parity16 in sm_ftl

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/mtd/sm_ftl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c index b096f8b..345ff1a 100644 --- a/drivers/mtd/sm_ftl.c

[patch V4 21/31] crypto: use parity functions in qat_hal

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/crypto/qat/qat_common/qat_hal.c | 32 ++-- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/drivers/crypto/qat/qat_common/qat_hal.c

[patch V4 27/31] serial: use parity32 in max3100

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/max3100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/max3100.c

[patch V4 10/31] sunrpc: use parity8

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- net/sunrpc/auth_gss/gss_krb5_keys.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/sunrpc/auth_gss/gss_krb5_keys.c b/net/sunrpc/auth_gss/gss_krb5_keys.c index

Re: [PATCH v2 0/2] Additional iProc GPIO support

2016-05-11 Thread Linus Walleij
On Mon, May 2, 2016 at 10:51 PM, Ray Jui wrote: > Add support to the iProc GPIO driver for v2 and v3 revisions of the iProc GPIO > controllers. The v2 revision is used on NSP with drive strength pinconf > feature disabled and the v3 revision is used on Stingray with all

[PATCH] thermal: check validity get_trip_hyst function pointer in bang-bang governor

2016-05-11 Thread Michele Di Giorgio
Bang-bang thermal governor uses trip point hysteresis to make decisions. Hysteresis is a required property in the device tree for trip points, but it is an optional thermal zone device operation. Hence, we need to check whether the function pointer is valid or not. If it is not available, we

Re: [PATCH V7 07/11] pci, acpi: Handle ACPI companion assignment.

2016-05-11 Thread Lorenzo Pieralisi
On Tue, May 10, 2016 at 08:37:00PM +0200, Rafael J. Wysocki wrote: > On Tue, May 10, 2016 at 5:19 PM, Tomasz Nowicki wrote: > > This patch provides a way to set the ACPI companion in PCI code. > > We define acpi_pci_set_companion() to set the ACPI companion pointer and > > call

[PATCH v5 08/11] arm64: tegra: set hot trips for Tegra132

2016-05-11 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 41 +--- 1 file changed, 32 insertions(+),

Re: [PATCH 4/8] regulator: tps65218: Remove all the compatibles

2016-05-11 Thread Mark Brown
On Wed, May 11, 2016 at 11:18:07AM +0530, Keerthy wrote: > Remove all the individual compatibles for all the regulators > and introduce id_table and update the driver accordingly > to parse device tree nodes using the regulator framework. Acked-by: Mark Brown signature.asc

[PATCH v5 05/11] arm: tegra: set hot trips for Tegra124

2016-05-11 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra124.dtsi | 39 ++- 1 file changed, 30 insertions(+), 9

Re: [PATCH] workqueue: fix rebind bound workers warning

2016-05-11 Thread Wanpeng Li
2016-05-11 18:03 GMT+08:00 Thomas Gleixner : > On Wed, 11 May 2016, Wanpeng Li wrote: >> Do you think the current version patch is the right fix/workaround for >> the existing mess? > > You might need something stateful related to the hotplug crap, as that > DOWN_FAILED/ONLINE

[PATCH v5 07/11] arm64: tegra: set critical trips for Tegra132

2016-05-11 Thread Wei Ni
Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones on Tegra132, these trips can trigger shut down or reset. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 60 1 file changed, 60 insertions(+)

[PATCH v5 11/11] arm64: tegra: set hot trips for Tegra210

2016-05-11 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 41 +--- 1 file changed, 32 insertions(+),

Re: [PATCH 1/4] perf config: Introduce default_config_item for all default config key-value pairs

2016-05-11 Thread Taeung Song
Hi, Arnaldo On 05/11/2016 12:05 AM, Arnaldo Carvalho de Melo wrote: Em Tue, May 10, 2016 at 08:49:16PM +0900, Taeung Song escreveu: Hi, Arnaldo, Namhyung and jirka :) On 05/10/2016 02:17 AM, Arnaldo Carvalho de Melo wrote: Em Mon, May 09, 2016 at 08:41:46PM +0900, Taeung Song escreveu: We

[PATCH] x86_64: Disabling read-implies-exec when the stack is executable

2016-05-11 Thread Hector Marco-Gisbert
The READ_IMPLIES_EXEC personality was removed in 2005 for 64-bit processes, (commit a3cc2546a54361b86b73557df5b85c4fc3fc27c3 form history.git). But it's still possible to have all readable areas with EXEC permissions by setting the stack as executable in 64-bit ELF executables (also in 32-bit).

[PATCH 14/18] clk: samsung: exynos5433: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5433.c | 240 +-- 1 file changed, 120 insertions(+), 120 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5433.c

[PATCH 09/18] clk: samsung: exynos5260: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5260.c | 114 +-- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5260.c

[PATCH 06/18] clk: samsung: exynos4415: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos4415.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4415.c

[PATCH 1/2] sched: use tsk_cpus_allowed() instead of accessing ->cpus_allowed

2016-05-11 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner Use the future-safe accessor for struct task_struct's. Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior --- kernel/sched/cpudeadline.c | 4 ++-- kernel/sched/cpupri.c | 4 ++--

[PATCH 2/2] sched: provide a tsk_nr_cpus_allowed() helper

2016-05-11 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner tsk_nr_cpus_allowed() is an accessor for task->nr_cpus_allowed which allows us to change the representation of ->nr_cpus_allowed if required. Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior

Re: [PATCH] usb: gadget: f_fs: report error if excess data received

2016-05-11 Thread Michal Nazarewicz
On Wed, May 11 2016, Felipe Balbi wrote: > Also, returning -EOVERFLOW is not exactly correct here, because you'd > violate POSIX specification of read(), right ? Maybe we could piggyback on: EINVAL fd was created via a call to timerfd_create(2) and the wrong size buffer was

Re: [PATCH v3 23/27] dt-bindings: clock: Add I2C, HSI2C and RTC clock IDs to Exynos5410

2016-05-11 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/10/2016 04:09 PM, Krzysztof Kozlowski wrote: > Add IDs for I2C, USI (HSI2C) and RTC clocks to Exynos5410. Use the same > number as for Exynos5420 just in case in future these drivers were > merged. > > Signed-off-by: Krzysztof Kozlowski > ---

Re: [PATCH v3 24/27] clk: samsung: exynos5410: Add I2C, HSI2C and RTC clocks

2016-05-11 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/10/2016 04:09 PM, Krzysztof Kozlowski wrote: > Add clocks for I2C, USI (HSI2C) and RTC to the Exynos5410 clock driver. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Javier Martinez Canillas Best regards, -- Javier

Re: [RFC 01/13] mm, compaction: don't isolate PageWriteback pages in MIGRATE_SYNC_LIGHT mode

2016-05-11 Thread Michal Hocko
On Tue 10-05-16 09:35:51, Vlastimil Babka wrote: > From: Hugh Dickins > > At present MIGRATE_SYNC_LIGHT is allowing __isolate_lru_page() to > isolate a PageWriteback page, which __unmap_and_move() then rejects > with -EBUSY: of course the writeback might complete in between,

[patch V4 07/31] bitops: Add powerpc-specific parity functions

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use runtime patching for ppc64, lifted from hweight_64 Signed-off-by: Zhaoxiu Zeng --- arch/powerpc/include/asm/bitops.h | 11 +++ arch/powerpc/lib/Makefile | 2 +- arch/powerpc/lib/parity_64.S | 143

Re: [patch V4 09/31] bitops: Add x86-specific parity functions

2016-05-11 Thread Peter Zijlstra
On Wed, May 11, 2016 at 05:16:38PM +0800, zengzhao...@163.com wrote: > +static inline unsigned int __arch_parity4(unsigned int w) > +{ > + unsigned int res = 0; > + > + asm("test $0xf, %1; setpo %b0" > + : "+q" (res) > + : "r" (w) > + : "cc"); > + > +

[PATCH RESEND 2/2] regulator: mt6397: Add buck change mode regulator interface for mt6397

2016-05-11 Thread Henry Chen
BUCKs of mt6397 have auto mode and pwm mode. User can use regulator interfaces to control modes. Signed-off-by: Henry Chen --- .../bindings/regulator/mt6397-regulator.txt| 22 + drivers/regulator/mt6397-regulator.c | 95 +++---

[PATCH RESEND 1/2] regulator: Add support for parsing operation mode

2016-05-11 Thread Henry Chen
Some regulators support their operating mode to be changed by consumers for module specific purpose. This patch adds support to parse those properties and fill the regulator constraints so the regulator core can call the regualtor_set_mode to change the modes. Signed-off-by: Henry Chen

Re: Brightness control irrespective of blink state.

2016-05-11 Thread Jacek Anaszewski
On 05/10/2016 06:55 PM, Tony Makkiel wrote: On 10/05/16 14:26, Jacek Anaszewski wrote: On 05/10/2016 11:36 AM, Tony Makkiel wrote: On 09/05/16 15:45, Jacek Anaszewski wrote: Hi Tony, On 05/09/2016 03:27 PM, Tony Makkiel wrote: Hi Jacek, Thank you for getting back. I updated my

Re: [PATCH 03/11] locking, rwsem: introduce basis for down_write_killable

2016-05-11 Thread Peter Zijlstra
On Wed, May 11, 2016 at 11:31:27AM +0200, Michal Hocko wrote: > Care to cook up a full patch? compile tested only, if someone could please test it? I'll go write a Changelog if it turns out to actually work ;-) --- kernel/locking/rwsem-xadd.c | 21 +++-- 1 file changed, 15

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-11 Thread Arnd Bergmann
On Wednesday 11 May 2016 11:04:38 Yury Norov wrote: > On Wed, May 11, 2016 at 10:04:16AM +0800, Zhangjian (Bamvor) wrote: > [...] > > > >>Ok, I will test the ltp syscall test. > > >>With this changes, the issue I mentioned should be fixed. But we still > > >>use mmap2 syscall for ILP32

Re: [PATCH v8 7/8] i2c: rk3x: add i2c support for rk3399 soc

2016-05-11 Thread Caesar Wang
在 2016年05月11日 03:31, David Wu 写道: - new method to caculate i2c timings for rk3399: There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the

Re: [PATCH 6/6] pinctrl: mt8173: set GPIO16 to usb iddig mode

2016-05-11 Thread Linus Walleij
On Tue, May 10, 2016 at 10:23 AM, Chunfeng Yun wrote: > the default mode of GPIO16 pin is gpio, when set EINT16 to > IRQ_TYPE_LEVEL_HIGH, no interrupt is triggered, it can be > fixed when set its default mode as usb iddig. > > Signed-off-by: Chunfeng Yun

Re: [RFC][PATCH 4/7] sched: Replace sd_busy/nr_busy_cpus with sched_domain_shared

2016-05-11 Thread Matt Fleming
On Mon, 09 May, at 12:48:11PM, Peter Zijlstra wrote: > Move the nr_busy_cpus thing from its hacky sd->parent->groups->sgc > location into the much more natural sched_domain_shared location. > > Signed-off-by: Peter Zijlstra (Intel) > --- > include/linux/sched.h|1 +

[PATCH 05/18] clk: samsung: exynos4: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos4.c | 56 +++ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c

[PATCH 07/18] clk: samsung: exynos4415: Move PLL rates data to init section

2016-05-11 Thread Krzysztof Kozlowski
The arrays with initialization data of PLLs can be moved to initconst section because they are referenced only from other initconst-level symbols. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos4415.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 03/18] clk: samsung: exynos3250: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos3250.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos3250.c

Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-05-11 Thread Ralf Baechle
I was wondering if we should simply probe for the availability of the GCC option and not use it, if using an older GCC, then change the help text for the option accordingly. This approach would allow make randconfig or similar to work as expected with older compilers. Ralf

[PATCH 08/18] clk: samsung: exynos5250: Constify all clock initializers

2016-05-11 Thread Krzysztof Kozlowski
All of initialization data can be made const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos5250.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos5250.c

[PATCH 01/18] clk: samsung: Constify clock init data with clock arrays

2016-05-11 Thread Krzysztof Kozlowski
samsung_cmu_register_one() can accept pointer to const initialization data: struct samsung_cmu_info. The members of the latter can also be pointers to const data. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk.c | 2 +- drivers/clk/samsung/clk.h | 16

Re: [PATCH] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-05-11 Thread Matt Fleming
On Fri, 06 May, at 04:32:06PM, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new function to parse DT parameters for Xen specific UEFI just > like the way for normal UEFI. Then it could reuse the existing codes. > > If Xen supports EFI, initialize runtime services.

Re: [PATCH] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-05-11 Thread Matt Fleming
On Fri, 06 May, at 09:52:42AM, Mathieu Poirier wrote: > > +static int __init efi_remap_init(void) > > +{ > > + u64 mapsize; > > + > > + pr_info("Remapping and enabling EFI services.\n"); > > + > > + mapsize = memmap.map_end - memmap.map; > > + memmap.map = (__force void

Re: [PATCH v3 26/27] ARM: dts: exynos: Add I2C, PWM and UART pinctrl to Exynos5410

2016-05-11 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/10/2016 04:09 PM, Krzysztof Kozlowski wrote: > Add pincontrol groups for HSI2C (USI), I2C, PWM and UART to Exynos5410. > This allows configuring these pins to specific functions. > > Signed-off-by: Krzysztof Kozlowski > --- Reviewed-by: Javier Martinez

[patch V4 04/31] bitops: Add blackfin-specific parity functions

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/blackfin/include/asm/bitops.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h

[patch V4 05/31] bitops: Add ia-specific parity functions

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/ia64/include/asm/bitops.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/ia64/include/asm/bitops.h b/arch/ia64/include/asm/bitops.h index

[patch V4 11/31] mips: use parity functions in cerr-sb1.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/mips/mm/cerr-sb1.c | 67 + 1 file changed, 17 insertions(+), 50 deletions(-) diff --git a/arch/mips/mm/cerr-sb1.c b/arch/mips/mm/cerr-sb1.c

Re: [PATCH 03/11] locking, rwsem: introduce basis for down_write_killable

2016-05-11 Thread Peter Zijlstra
On Wed, May 11, 2016 at 11:04:42AM +0200, Michal Hocko wrote: > On Wed 11-05-16 10:44:01, Peter Zijlstra wrote: > [...] > > @@ -504,6 +502,18 @@ __rwsem_down_write_failed_common(struct rw_semaphore > > *sem, int state) > > raw_spin_unlock_irq(>wait_lock); > > > > return ret; > > + > >

Re: [PATCH v9 5/7] vfio/type1: also check IRQ remapping capability at msi domain

2016-05-11 Thread Robin Murphy
On 11/05/16 09:38, Eric Auger wrote: Hi Robin, Alex, On 05/10/2016 07:24 PM, Robin Murphy wrote: Hi Eric, On 10/05/16 17:10, Eric Auger wrote: Hi Alex, On 05/10/2016 12:49 AM, Alex Williamson wrote: On Wed, 4 May 2016 11:54:16 + Eric Auger wrote: On x86 IRQ

Re: [PATCH 03/11] locking, rwsem: introduce basis for down_write_killable

2016-05-11 Thread Michal Hocko
On Wed 11-05-16 11:17:33, Peter Zijlstra wrote: > On Wed, May 11, 2016 at 11:04:42AM +0200, Michal Hocko wrote: > > On Wed 11-05-16 10:44:01, Peter Zijlstra wrote: > > [...] > > > @@ -504,6 +502,18 @@ __rwsem_down_write_failed_common(struct rw_semaphore > > > *sem, int state) > > >

Add support for regulator operation mode of mt6397

2016-05-11 Thread Henry Chen
Some regulators support different operating modes, but there is no suitable property that can pass the opeation mode constraints on runtime at present. This series making the change to specify supported modes as a devicetree list. Consumers can change or get the regulator operation mode by

Re: [PATCH 1/1] gpio: dwapb: Add ACPI device ID for DWAPB GPIO controller on X-Gene platforms

2016-05-11 Thread Linus Walleij
On Tue, May 3, 2016 at 9:53 AM, Duc Dang wrote: > This patch enables DWAPB GPIO controller support on X-Gene > platforms in ACPI boot mode. > > Signed-off-by: Duc Dang > --- > This patch needs to be applied on top of for-next branch > of linux-gpio tree. Patch

Re: [PATCH] mm/zsmalloc: avoid unnecessary iteration in get_pages_per_zspage()

2016-05-11 Thread Sergey Senozhatsky
On (05/09/16 14:01), Minchan Kim wrote: [..] > > no, we need cltd there. but ZS_MAX_PAGES_PER_ZSPAGE also affects > > ZS_MIN_ALLOC_SIZE, which is used in several places, like > > get_size_class_index(). that's why ZS_MAX_PAGES_PER_ZSPAGE data > > type change `improves' zs_malloc(). > > Why not if

Re: [PATCH] mm-kasan-initial-memory-quarantine-implementation-v8-fix

2016-05-11 Thread Alexander Potapenko
On Tue, May 10, 2016 at 3:38 PM, Andrey Ryabinin wrote: > * Fix comment styles, yDid you remove the comments from include/linux/kasan.h because they were put inconsistently, or was there any other reason? > * Get rid of some ifdefs Thanks! > * Revert needless

Re: [RFC PATCH 13/21] reset: uniphier: add reset driver for UniPhier PH1-LD4 SoC

2016-05-11 Thread Philipp Zabel
Am Mittwoch, den 11.05.2016, 12:34 +0200 schrieb Philipp Zabel: > Hi Masahiro, > > Am Mittwoch, den 11.05.2016, 11:52 +0900 schrieb Masahiro Yamada: > > Hi Philipp, > > > > > > 2016-05-10 21:25 GMT+09:00 Philipp Zabel : > > > Hi Masahiro, > > > > > > Am Dienstag, den

[PATCH 2/2] gre: Fix wrong tpi->proto in WCCP

2016-05-11 Thread Haishuang Yan
When dealing with WCCP in gre6 tunnel, it sets the wrong tpi->protocol, that is, ETH_P_IP instead of ETH_P_IPV6 for the encapuslated traffic. Signed-off-by: Haishuang Yan --- include/net/gre.h| 2 +- net/ipv4/gre_demux.c | 6 +++--- net/ipv4/ip_gre.c|

[PATCH 1/2] ip6_gre: Fix get_size calculation for gre6 tunnel

2016-05-11 Thread Haishuang Yan
Do not include attribute IFLA_GRE_TOS. Signed-off-by: Haishuang Yan --- net/ipv6/ip6_gre.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index ee62ec4..3c25fe6 100644 --- a/net/ipv6/ip6_gre.c +++

Re: [PATCH v7 08/14] usb: otg: add OTG/dual-role core

2016-05-11 Thread Roger Quadros
On 11/05/16 11:34, Peter Chen wrote: > On Mon, May 02, 2016 at 03:18:51PM +0300, Roger Quadros wrote: >> + >> +if (config->otg_work) /* custom otg_work ? */ >> +INIT_WORK(>work, config->otg_work); >> +else >> +INIT_WORK(>work, usb_drd_work); >> + >> +otg->wq =

Re: [PATCH v7 09/14] usb: of: add an API to get OTG device from USB controller node

2016-05-11 Thread Roger Quadros
On 11/05/16 11:40, Peter Chen wrote: > On Mon, May 02, 2016 at 03:18:52PM +0300, Roger Quadros wrote: >> The OTG controller and the USB controller an be linked via the > > Typo? Will fix. cheers, -roger > > Others are ok for me. > > Acked-by: Peter Chen > >>

Re: [PATCH v7 1/5] usb: dwc3: omap: use request_threaded_irq()

2016-05-11 Thread Roger Quadros
On 11/05/16 12:47, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >>> Roger Quadros writes: >> @@ -497,8 +503,8 @@ static int dwc3_omap_probe(struct platform_device >> *pdev) >> /* check the DMA Status */ >> reg =

[PATCH] clk: samsung: exynos3250: Move PLL rates data to init section

2016-05-11 Thread Krzysztof Kozlowski
The arrays with initialization data of PLLs can be moved to initconst section because they are referenced only from other initconst-level symbols. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/samsung/clk-exynos3250.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-05-11 Thread Ville Syrjälä
On Wed, May 11, 2016 at 02:11:29PM +0200, Sebastian Andrzej Siewior wrote: > On 05/11/2016 12:19 PM, Ville Syrjälä wrote: > > Hi, > Hi, > > > I have a Lenovo Ideapad S10-3t machine here (Atom N450, 1 core, 2 HT) > > which fails to resume from S3 on 4.6-rc releases. I bisected it down to > > > >

Re: [PATCH v6 07/14] arm64, numa: Cleanup NUMA disabled messages.

2016-05-11 Thread Catalin Marinas
On Wed, Apr 27, 2016 at 11:07:09AM -0700, David Daney wrote: > From: David Daney > > As noted by Dennis Chen, we don't want to print "No NUMA configuration > found" if NUMA was forced off from the command line. > > Change the type of numa_off to bool, and clean up

[PATCH 2/2] regulator: mt6397: Add buck change mode regulator interface for mt6397

2016-05-11 Thread Henry Chen
BUCKs of mt6397 have auto mode and pwm mode. User can use regulator interfaces to control modes. Signed-off-by: Henry Chen --- .../bindings/regulator/mt6397-regulator.txt| 22 + drivers/regulator/mt6397-regulator.c | 95 +++---

Re: [PATCH 2/2] perf: Disable the event on a truncated AUX record

2016-05-11 Thread Peter Zijlstra
On Tue, May 10, 2016 at 04:18:33PM +0300, Alexander Shishkin wrote: > When the PMU driver reports a truncated AUX record, it effectively means > that there is no more usable room in the event's AUX buffer (even though > there may still be some room, so that perf_aux_output_begin() doesn't take >

[patch V4 26/31] iio: use parity32 in adxrs450

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Jonathan Cameron --- drivers/iio/gyro/adxrs450.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/gyro/adxrs450.c

[patch V4 23/31] ethernet: use parity8 in sun/niu.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Michal Nazarewicz --- drivers/net/ethernet/sun/niu.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/sun/niu.c

[PATCH v2] [media] v4l2-async: Pass the v4l2_async_subdev to the unbind callback

2016-05-11 Thread Alban Bedel
v4l2_async_cleanup() is always called before calling the unbind() callback. However v4l2_async_cleanup() clears the asd member, so when calling the unbind() callback the v4l2_async_subdev is always NULL. To fix this save the asd before calling v4l2_async_cleanup(). Signed-off-by: Alban Bedel

[patch V4 24/31] input: use parity8 in pcips2

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/serio/pcips2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/pcips2.c

[patch V4 28/31] input: use parity8 in elantech

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Remove the parity lookup table, use parity8 instead. Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/mouse/elantech.c | 10 +++--- drivers/input/mouse/elantech.h | 1 -

Re: [PATCH v9 5/7] vfio/type1: also check IRQ remapping capability at msi domain

2016-05-11 Thread Eric Auger
Hi Robin, On 05/11/2016 11:31 AM, Robin Murphy wrote: > On 11/05/16 09:38, Eric Auger wrote: >> Hi Robin, Alex, >> On 05/10/2016 07:24 PM, Robin Murphy wrote: >>> Hi Eric, >>> >>> On 10/05/16 17:10, Eric Auger wrote: Hi Alex, On 05/10/2016 12:49 AM, Alex Williamson wrote: > On Wed,

Re: sched: tweak select_idle_sibling to look for idle threads

2016-05-11 Thread Mike Galbraith
On Wed, 2016-05-11 at 09:23 +0800, Yuyang Du wrote: > > Yeah, just like everything else, it'll cuts both ways (why you can't > > win the sched game). If I can believe tbench, at tasks=cpus, reducing > > lag increased utilization and reduced latency a wee bit, as did the > > reserve thing once a

Re: [PATCH 2/2] perf: Disable the event on a truncated AUX record

2016-05-11 Thread Alexander Shishkin
Peter Zijlstra writes: > On Wed, May 11, 2016 at 12:41:27PM +0300, Alexander Shishkin wrote: >> Peter Zijlstra writes: >> > >> > Does the userspace tool know how to deal with this and re-enable it? >> >> Yes, it knows to ioctl(EVENT_ENABLE). Also,

  1   2   3   4   5   6   7   8   9   10   >