[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 +++--- 2 files changed, 105 inser

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 > ac

[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 ++ arch/powerpc/lib/pp

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 regulat

[PATCH 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 --- Docu

[patch V4 08/31] bitops: Add sparc-specific parity functions

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use runtime patching for sparc64, lifted from hweight Signed-off-by: Zhaoxiu Zeng --- arch/sparc/include/asm/bitops_32.h | 1 + arch/sparc/include/asm/bitops_64.h | 18 ++ arch/sparc/kernel/sparc_ksyms_64.c | 6 ++ arch/sparc/lib/Makefile| 2 +- arch/s

[patch V4 02/31] bitops: Include generic parity.h in some architectures' bitops.h

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Simply use the generic version. Signed-off-by: Zhaoxiu Zeng Acked-by: Hans-Christian Noren Egtvedt [for avr32] --- arch/arc/include/asm/bitops.h | 1 + arch/arm/include/asm/bitops.h | 1 + arch/arm64/include/asm/bitops.h| 1 + arch/avr32/include/asm/bitops.h

[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 index ee5c1ff..2e7d660 100644 --- a/arch/mips/mm/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(&sem->wait_lock); > > > > return ret; > > + >

[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 arch/x86/include/asm/bitops.h | 4 +- 3 files changed, 125 inserti

[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 @@ static inline int deg(unsigned int poly)

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 pads based on IO rail

[patch V4 17/31] input: use parity16 in ams_delta_serio

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/serio/ams_delta_serio.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index 45887e3..85459b3 1

[patch V4 16/31] input: use parity64 in sidewinder

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/joystick/sidewinder.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/input/joystick/sidewinder.c b/drivers/input/joystick/sidewinder.c index 4a95b2

[patch V4 14/31] media: use parity functions in saa7115

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/media/i2c/saa7115.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c index d2a1ce2..4c22df8 100644 --- a/drivers/media/i2c/saa7115.c +++ b/d

[patch V4 15/31] input: use parity32 in grip_mp

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Dmitry Torokhov --- drivers/input/joystick/grip_mp.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/input/joystick/grip_mp.c b/drivers/input/joystick/grip_mp.c index 573191d..3e29eb1 100644 -

[patch V4 18/31] scsi: use parity32 in isci's phy

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/scsi/isci/phy.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c index cb87b2e..a06aff6 100644 --- a/drivers/scsi/isci/phy.c +++ b/drivers/scsi/isci/ph

[patch V4 20/31] mtd: use parity functions in inftlcore

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/mtd/inftlcore.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c index b66b541..8c9457b 100644 --- a/drivers/mtd/inftlcore.c +++ b/drivers/mtd/inftl

[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 8701331..c41b389 100644 --- a/net/sunrpc/auth_gss/gss_

[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 b/drivers/input/serio/saps2.c index b3e6889..324b193 100644 --- a/drivers/input/s

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, Jerom

[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 +++ b/drivers/mtd/sm_ftl.c @@ -136,7 +136,7 @@ st

[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 b/drivers/crypto/qat/qat_common/qat_hal.c index 1e480f1..318

[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 b/drivers/tty/serial/max3100.c index 5c4c280..a0cc84a 100644 --- a/drivers/tty/serial/ma

[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 b/drivers/input/serio/pcips2.c index e862c6e..a51e7f0 100644 --- a/drivers/input/serio/pcip

[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 - 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input

[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 b/drivers/iio/gyro/adxrs450.c index a330d42..307f55b 100644 --- a/drivers/iio/gyro/adxrs

[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 b/drivers/net/ethernet/sun/niu.c index 9cc4564..8c344ef 100644 --- a/drive

[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 Acke

[patch V4 29/31] ethernet: use parity8 in broadcom/tg3.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Siva Reddy Kallam --- drivers/net/ethernet/broadcom/tg3.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 3010080..802a429 100644 -

[patch V4 31/31] edac: use parity8 in amd64_edac.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/edac/amd64_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index d87a475..8727ae5 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@

Re: [PATH v2] NVMe: init nvme queue before enabling irq

2016-05-11 Thread Johannes Thumshirn
On 2016-01-20 11:48, Wenbo Wang wrote: From: Wenbo Wang During reset process, the nvme_dev->bar (ioremapped) may change, so nvmeq->q_db shall be also updated by nvme_init_queue(). Currently nvmeq irq is enabled before queue init, so a spurious interrupt triggered nvme_process_cq may access nvm

[patch V4 30/31] crypto: use parity_long is sahara.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/crypto/sahara.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index c3f3d89..5c44a15 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -783,7 +7

Re: [PATCH V2] pinctrl: tegra: Correctly check the supported configuration

2016-05-11 Thread Linus Walleij
On Mon, May 2, 2016 at 7:23 PM, Laxman Dewangan wrote: > The pincontrol registers of Tegra chips has multiple filed per > registers. There is two type of registers mux and drive. All > configurations belongs to one of these registers. > > If any configurations are supported then _bit is set to >

[patch V4 13/31] media: use parity8 in vivid-vbi-gen.c

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/media/platform/vivid/vivid-vbi-gen.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/vivid/vivid-vbi-gen.c b/drivers/media/platform/vivid/vivid-vbi-gen.c index a2159de..d5ba0fc 100644

[patch V4 19/31] mtd: use parity16 in ssfdc

2016-05-11 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use parity16 to do the odd parity checking, and rearrange the code. Signed-off-by: Zhaoxiu Zeng --- drivers/mtd/ssfdc.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/drivers/mtd/ssfdc.c b/drivers/mtd/ssfdc.c index daf82b

Re: [PATCH 3.14 01/23] compiler-gcc: integrate the various compiler-gcc[345].h files

2016-05-11 Thread Jiri Slaby
On 05/09/2016, 09:17 AM, Greg Kroah-Hartman wrote: > 3.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Joe Perches > > commit f320793e52aee78f0fbb8bcaf10e6614d2e67bfc upstream. > > [ Upstream commit cb984d101b30eb7478d32df56a0023e4603

[PATCH BUGFIX V4] block: add missing group association in bio-cloning functions

2016-05-11 Thread Paolo Valente
When a bio is cloned, the newly created bio must be associated with the same blkcg as the original bio (if BLK_CGROUP is enabled). If this operation is not performed, then the new bio is not associated with any group, and the group of the current task is returned when the group of the bio is reques

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 pinconf > features disable

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 +++--- 2 files changed, 105 inser

[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 --- Docu

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 remapping is abstracted by

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) > > > raw_spin_unlo

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 regulat

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 applied. Yours, Linus Walleij

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

[PATCH v9 1/2] gpio: mmio: add DT support for memory-mapped GPIOs

2016-05-11 Thread Christian Lamparter
From: Álvaro Fernández Rojas This patch adds support for defining memory-mapped GPIOs which are compatible with the existing gpio-mmio interface. The generic library provides support for many memory-mapped GPIO controllers that are found in various on-board FPGA and ASIC solutions that are used t

[PATCH v9 0/2] gpio: add DT support for memory-mapped GPIOs

2016-05-11 Thread Christian Lamparter
This patch series adds device tree support for generic memory-mapped GPIOs. The GPIO library already allows drivers and architecture support code to reuse generic code for managing a GPIO chip. Currently, a developer has to create a platform device "basic-mmio-gpio" and attach a bgpio_pdata platfor

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

2016-05-11 Thread Christian Lamparter
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 some GE Single Board Computers Cc: Alexander Shiyan Cc: Julien Grossholtz Cc: Martyn Welch Cc: Jon

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 +- >> 1 file changed, 1 insertion(+), 1 deletion(

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 found

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 file.

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-11 Thread Heikki Krogerus
On Tue, May 10, 2016 at 08:14:34PM -0700, Guenter Roeck wrote: > Heikki, > > On 05/06/2016 01:08 AM, Heikki Krogerus wrote: > > Hi, > > > [ ... ] > > > > I don't have not made any new code for the class driver yet, but I'm > > attempting to prepare v2 next week. > > > Would it make sense to sen

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

2016-05-11 Thread Alexander Shishkin
Peter Zijlstra writes: > 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_ou

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

2016-05-11 Thread Will Deacon
On Wed, May 11, 2016 at 10:38:36AM +0100, Julien Grall wrote: > 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 miss

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 kerne

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 inse

[tip:x86/mm] x86/extable: Ensure entries are swapped completely when sorting

2016-05-11 Thread tip-bot for Mathias Krause
Commit-ID: 67d7a982bab6702d84415ea889996fae72a7d3b2 Gitweb: http://git.kernel.org/tip/67d7a982bab6702d84415ea889996fae72a7d3b2 Author: Mathias Krause AuthorDate: Tue, 10 May 2016 23:07:02 +0200 Committer: Ingo Molnar CommitDate: Wed, 11 May 2016 11:14:06 +0200 x86/extable: Ensure entri

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, 4

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). Giv

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: >> https://kernelci.org/boot/all/job/stable-queue/kernel/v4.5.3-88-gdb49c07

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

2016-05-11 Thread Peter Zijlstra
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, we're already doing the > disabling for the no-room-in-buffer condition in > pe

Re: [PATCH v2] usb: serial: ti_usb_3410_5052: add MOXA UPORT 11x0 support

2016-05-11 Thread Johan Hovold
On Tue, May 10, 2016 at 09:08:48AM +0200, Mathieu OTHACEHE wrote: > Add support for : > > - UPort 1110 : 1 port RS-232 USB to Serial Hub. > - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. > - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. > - UPort 1150 : 1 port RS-232/42

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

2016-05-11 Thread Peter Zijlstra
On Wed, May 11, 2016 at 09:32:57AM +, Gaurav Jindal (Gaurav Jindal) wrote: > Hi This is not a patch in a format that I can do anything with. Please go (re)read Documentation/SubmittingPatches, also look at Documentation/email-clients.txt for hints on whitespace damage (you suffer from it). An

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

2016-05-11 Thread Felipe Balbi
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 = dwc3_omap_readl(omap->base, USBOTGSS_SYSCONFIG); > > - ret = devm_request_irq(dev, omap->irq, d

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, G

[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 assum

[PATCH v2] workqueue: fix rebind bound workers warning

2016-05-11 Thread Wanpeng Li
From: Wanpeng Li [ cut here ] WARNING: CPU: 0 PID: 16 at kernel/workqueue.c:4559 rebind_workers+0x1c0/0x1d0 Modules linked in: CPU: 0 PID: 16 Comm: cpuhp/0 Not tainted 4.6.0-rc4+ #31 Hardware name: IBM IBM System x3550 M4 Server -[7914IUW]-/00Y8603, BIOS -[D7E128FUS-1.40]

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 b

[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: ther

Re: [PATCH 00/12] TLB/XPA fixes & cleanups

2016-05-11 Thread Ralf Baechle
On Tue, May 10, 2016 at 10:47:48AM -0700, Florian Fainelli wrote: > > Applied - but "MIPS: Separate XPA CPU feature into LPA and MVH" causes > > a massive conflict with Florian's RIXI patches > > > > [3/6] MIPS: Allow RIXI to be used on non-R2 or R6 core > > [4/6] MIPS: Move RIXI exception en

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

2016-05-11 Thread 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 case does a lot of stuff. Though I leave it to Tejun to decided whether yo

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, we're already doing the >> disabling for the no

Re: [patch V4 02/31] bitops: Include generic parity.h in some architectures' bitops.h

2016-05-11 Thread Jesper Nilsson
On Wed, May 11, 2016 at 05:06:17PM +0800, zengzhao...@163.com wrote: > From: Zhaoxiu Zeng > > Simply use the generic version. > > Signed-off-by: Zhaoxiu Zeng > Acked-by: Hans-Christian Noren Egtvedt [for avr32] For the CRIS part: Acked-by: Jesper Nilsson /^JN - Jesper Nilsson --

Re: [PATCH 2/4] ARM: ux500: move ab8500_regulator_plat_data into driver

2016-05-11 Thread Mark Brown
On Tue, May 10, 2016 at 10:11:06PM +0200, Arnd Bergmann wrote: > I expect to have to either redo the series anyway, or have Linus pick it > up and forward it. If I resend, I'll add you to Cc for the whole series, > or I can bounce them to you if you like. I'll just wait for the resend I guess.

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 it from PCI core co

[PATCH v8 0/2] memory: add Atmel EBI (External Bus Interface) driver

2016-05-11 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

[PATCH v8 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-11 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

[PATCH v8 1/2] memory: add Atmel EBI (External Bus Interface) driver

2016-05-11 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

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

2016-05-11 Thread Zhangjian (Bamvor)
Hi, Arnd On 2016/5/11 16:09, Arnd Bergmann wrote: > On Wednesday 11 May 2016 10:04:16 Zhangjian wrote: >>> I don't remember. It's probably not important whether we have the shift >>> in there, as long as it's independent of the actual kernel page size and >>> user space and kernel agree on the ca

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

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 functions renames in quarantine pa

[PATCH v5 04/11] arm: tegra: set critical trips for Tegra124

2016-05-11 Thread Wei Ni
Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones for all Tegra124 platform, these trips can trigger shut down or reset. Tegra124 Jetson TK1 was already set "critical" trips before, so it can overwrite the general values. Signed-off-by: Wei Ni --- arch/arm/boot/dt

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

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

[PATCH v5 01/11] of: Add bindings of hw throttle for Tegra soctherm

2016-05-11 Thread Wei Ni
Add HW throttle configuration sub-node for soctherm, which is used to describe the throttle event, and worked as a cooling device. The "hot" type trip in thermal zone can be bound to this cooling device, and trigger the throttle function. Signed-off-by: Wei Ni --- .../bindings/thermal/nvidia,teg

[PATCH v5 06/11] arm64: tegra: use tegra132-soctherm for Tegra132

2016-05-11 Thread Wei Ni
The Tegra132 has the specific settings for soctherm, so change to use campatible "nvidia,tegra132-soctherm" for it. And adds cpu, gpu, mem and pllx thermal zones. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 36 ++-- 1 file changed, 34 insertio

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

2016-05-11 Thread Ville Syrjälä
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 Date: Fri Feb 26 18:43:39 2016 + cpu/hotplug: Move online calls to

[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(+) diff --git a/arch

[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(+), 9 deletions(-) di

[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(+), 9 deletions(-) di

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 Description: PGP sign

[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 deletions(-) diff

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 case does a lot of st

[PATCH v5 09/11] arm64: tegra: add soctherm node for Tegra210

2016-05-11 Thread Wei Ni
Adds soctherm node for Tegra210, and add cpu, gpu, mem, pllx as thermal-zones. Set critical trip temperatures for them. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/nvi

[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 | 17 ++ inclu

[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, wi

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

2016-05-11 Thread Dmitry V. Levin
On Wed, May 11, 2016 at 12:14:11PM +0200, Thomas Gleixner wrote: > 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

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