Re: [PATCH 00/20] PCI: fix config and I/O Address space memory mappings

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > This patch series[1] addresses both issues in one go: > > - It updates the pci_remap_iospace() function to use a page mapping > that guarantees non-posted write transactions for I/O space addresses > - It

Re: [PATCH 00/20] PCI: fix config and I/O Address space memory mappings

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > This patch series[1] addresses both issues in one go: > > - It updates the pci_remap_iospace() function to use a page mapping > that guarantees non-posted write transactions for I/O space addresses > - It adds a kernel API to remap

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Chris Wilson
On Wed, Mar 01, 2017 at 04:11:48PM +, Chris Wilson wrote: > On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > > > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > > > Add kselftests for

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Chris Wilson
On Wed, Mar 01, 2017 at 04:11:48PM +, Chris Wilson wrote: > On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > > > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > > > Add kselftests for

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-03-01 Thread Steven Rostedt
On Wed, 1 Mar 2017 17:03:52 +0100 Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > > Peter, do we have a solution for this yet? Are you going to add the one > > with the linker magic? > > I queued the below earlier today. Isn't

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-03-01 Thread Steven Rostedt
On Wed, 1 Mar 2017 17:03:52 +0100 Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > > Peter, do we have a solution for this yet? Are you going to add the one > > with the linker magic? > > I queued the below earlier today. Isn't this pretty much

Re: [PATCH v3] KVM: nVMX: Fix pending events injection

2017-03-01 Thread Radim Krčmář
2017-02-27 04:24-0800, Wanpeng Li: > From: Wanpeng Li > > L2 fails to boot on a non-APICv box dues to 'commit 0ad3bed6c5ec > ("kvm: nVMX: move nested events check to kvm_vcpu_running")' Applied to kvm/queue for the time being, thanks. This patch fixes also nested apic

Re: [PATCH 6/8] x86/intel_rdt/mba: Add info directory files for MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > Add files in info directory for MBA. > The files in the info directory are as follows : > - num_closids: max number of closids for MBA which represents the max > class of service user can configure. > - min_bw: the minimum memory bandwidth(b/w) values

Re: [PATCH v3] KVM: nVMX: Fix pending events injection

2017-03-01 Thread Radim Krčmář
2017-02-27 04:24-0800, Wanpeng Li: > From: Wanpeng Li > > L2 fails to boot on a non-APICv box dues to 'commit 0ad3bed6c5ec > ("kvm: nVMX: move nested events check to kvm_vcpu_running")' Applied to kvm/queue for the time being, thanks. This patch fixes also nested apic kvm-unit-test on APICv

Re: [PATCH 6/8] x86/intel_rdt/mba: Add info directory files for MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > Add files in info directory for MBA. > The files in the info directory are as follows : > - num_closids: max number of closids for MBA which represents the max > class of service user can configure. > - min_bw: the minimum memory bandwidth(b/w) values

Re: [PATCH 4/8] x86/intel_rct/mba: Add MBA structures and initialize MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > --- a/arch/x86/include/asm/intel_rdt.h > +++ b/arch/x86/include/asm/intel_rdt.h > @@ -11,6 +11,9 @@ > #define IA32_L3_QOS_CFG 0xc81 > #define IA32_L3_CBM_BASE 0xc90 > #define IA32_L2_CBM_BASE 0xd10 > +#define IA32_MBA_THRTL_BASE

Re: [PATCH 4/8] x86/intel_rct/mba: Add MBA structures and initialize MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > --- a/arch/x86/include/asm/intel_rdt.h > +++ b/arch/x86/include/asm/intel_rdt.h > @@ -11,6 +11,9 @@ > #define IA32_L3_QOS_CFG 0xc81 > #define IA32_L3_CBM_BASE 0xc90 > #define IA32_L2_CBM_BASE 0xd10 > +#define IA32_MBA_THRTL_BASE

Re: [PATCH 7/8] x86/intel_rdt: schemata file support for MBA prepare\

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: Subject: x86/intel_rdt: schemata file support for MBA prepare I have no idea what MBA prepare is. Is that yet another variant aside of MBE? > Add support to introduce generic APIs for control validation and writing > QOS_MSRs for RDT resources. The

Re: [PATCH 7/8] x86/intel_rdt: schemata file support for MBA prepare\

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: Subject: x86/intel_rdt: schemata file support for MBA prepare I have no idea what MBA prepare is. Is that yet another variant aside of MBE? > Add support to introduce generic APIs for control validation and writing > QOS_MSRs for RDT resources. The

[PATCH v4 12/19] scsi: mpt3sas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73

[PATCH v4 12/19] scsi: mpt3sas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73 + 1 file changed, 34

PPro arch_cpu_idle: NMI watchdog: Watchdog detected hard LOCKUP on cpu 1

2017-03-01 Thread Meelis Roos
This is on my trusty IBM PC365, dual Pentium Pro. 4.10 worked fine, 4.10.0-09686-g9e314890292c and 4.10.0-10770-g2d6be4abf514 exhibit a problem. Ocassionally NMI watchdog kicks in and discovers one of the CPUs in LOCKUP. The system keeps running fine. The first lockup was different, all the

PPro arch_cpu_idle: NMI watchdog: Watchdog detected hard LOCKUP on cpu 1

2017-03-01 Thread Meelis Roos
This is on my trusty IBM PC365, dual Pentium Pro. 4.10 worked fine, 4.10.0-09686-g9e314890292c and 4.10.0-10770-g2d6be4abf514 exhibit a problem. Ocassionally NMI watchdog kicks in and discovers one of the CPUs in LOCKUP. The system keeps running fine. The first lockup was different, all the

[PATCH v4 10/19] scsi: lpfc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

[PATCH v4 10/19] scsi: lpfc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/lpfc/lpfc.h | 12 ++---

[PATCH v4 13/19] scsi: mvsas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++---

[PATCH v4 11/19] scsi: megaraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/megaraid/megaraid_mbox.c

[PATCH v4 13/19] scsi: mvsas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++--- drivers/scsi/mvsas/mv_sas.c | 6 +++--- 2 files changed, 6

[PATCH v4 11/19] scsi: megaraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++

[RESEND PATCH v6 5/6] i2c: designware: add SLAVE mode functions

2017-03-01 Thread Luis Oliveira
- Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support - Slave functions added to core library file - Slave abort sources added to common source file - New driver: i2c-designware-slave added - Changes in the Makefile to compile the I2C_DESIGNWARE_SLAVE module when supported by the

[RESEND PATCH v6 5/6] i2c: designware: add SLAVE mode functions

2017-03-01 Thread Luis Oliveira
- Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support - Slave functions added to core library file - Slave abort sources added to common source file - New driver: i2c-designware-slave added - Changes in the Makefile to compile the I2C_DESIGNWARE_SLAVE module when supported by the

[RESEND PATCH v6 2/6] i2c: designware: refactoring of the i2c-designware

2017-03-01 Thread Luis Oliveira
- Factor out all _master() part of code from i2c-designware-core and i2c-designware-platdrv to separate functions. - Standardize all code related with MASTER mode. - I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK because it is master specific. The purpose of this is to

[RESEND PATCH v6 2/6] i2c: designware: refactoring of the i2c-designware

2017-03-01 Thread Luis Oliveira
- Factor out all _master() part of code from i2c-designware-core and i2c-designware-platdrv to separate functions. - Standardize all code related with MASTER mode. - I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK because it is master specific. The purpose of this is to

Re: [PATCH v4 0/6] ARM: davinci: vpif capture & display support

2017-03-01 Thread Sekhar Nori
On Tuesday 28 February 2017 09:31 PM, Bartosz Golaszewski wrote: > This series adds pdata quirks and other changes required to make vpif > work on the da850-evm board. Looks good to me. Will apply once v4.11-rc1 is out. Thanks, Sekhar

Re: [PATCH V2 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-03-01 Thread Peter Senna Tschudin
On Wed, Mar 01, 2017 at 09:38:48AM +0530, Archit Taneja wrote: [...] > > +static const struct i2c_device_id stdp2690_ge_b850v3_fw_i2c_table[] = { > > + {"stdp2690_ge_fw", 0}, > > + {}, > > +}; > > +MODULE_DEVICE_TABLE(i2c, stdp2690_ge_b850v3_fw_i2c_table); > > + > > +static const struct

Re: [PATCH v4 0/6] ARM: davinci: vpif capture & display support

2017-03-01 Thread Sekhar Nori
On Tuesday 28 February 2017 09:31 PM, Bartosz Golaszewski wrote: > This series adds pdata quirks and other changes required to make vpif > work on the da850-evm board. Looks good to me. Will apply once v4.11-rc1 is out. Thanks, Sekhar

Re: [PATCH V2 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-03-01 Thread Peter Senna Tschudin
On Wed, Mar 01, 2017 at 09:38:48AM +0530, Archit Taneja wrote: [...] > > +static const struct i2c_device_id stdp2690_ge_b850v3_fw_i2c_table[] = { > > + {"stdp2690_ge_fw", 0}, > > + {}, > > +}; > > +MODULE_DEVICE_TABLE(i2c, stdp2690_ge_b850v3_fw_i2c_table); > > + > > +static const struct

[RESEND PATCH v6 6/6] i2c: designware: enable SLAVE in platform module

2017-03-01 Thread Luis Oliveira
- Slave mode selected in platform module if the support is detected in the DT. Signed-off-by: Luis Oliveira --- V5->V6 - No changes drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-designware-platdrv.c | 41 + 2

[PATCH 2/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. The root cause is that the code traverse the list of specified consoles (the `console_cmdline` array) and stops at the first match.

[RESEND PATCH v6 6/6] i2c: designware: enable SLAVE in platform module

2017-03-01 Thread Luis Oliveira
- Slave mode selected in platform module if the support is detected in the DT. Signed-off-by: Luis Oliveira --- V5->V6 - No changes drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-designware-platdrv.c | 41 + 2 files changed, 37

[PATCH 2/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. The root cause is that the code traverse the list of specified consoles (the `console_cmdline` array) and stops at the first match.

[PATCH 0/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. This issue was addressed in the patch [1] but the approach was wrong and a revert [2] was suggested. First patch "printk: fix name

[PATCH 0/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. This issue was addressed in the patch [1] but the approach was wrong and a revert [2] was suggested. First patch "printk: fix name

[PATCH v4 19/19] PCI: Remove PCI pool macro functions

2017-03-01 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git

Re: [PATCH 01/20] PCI: remove __weak tag from pci_remap_iospace()

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > pci_remap_iospace() is marked as a weak symbol even though > no architecture is currently overriding it; given that its > implementation internals have already code paths that are > arch specific (ie PCI_IOBASE

[RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated driver

2017-03-01 Thread Luis Oliveira
- The functions related to I2C master mode of operation were transformed in a single driver. - Common definitions were moved to i2c-designware-core.h - The i2c-designware-core is now only a library file, the functions associated are in a source file called i2c-designware-common and are used

[PATCH 1/2] printk: fix name and type of some variables

2017-03-01 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and its semantics is boolean. It is negative when no console has been made preferred. The variable selected_console holds an index into the console_cmdline array, pointing to the console that was made preferred. Rename the

[PATCH v4 14/19] scsi: pmcraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 19/19] PCI: Remove PCI pool macro functions

2017-03-01 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index

Re: [PATCH 01/20] PCI: remove __weak tag from pci_remap_iospace()

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > pci_remap_iospace() is marked as a weak symbol even though > no architecture is currently overriding it; given that its > implementation internals have already code paths that are > arch specific (ie PCI_IOBASE and ioremap_page_range()

[RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated driver

2017-03-01 Thread Luis Oliveira
- The functions related to I2C master mode of operation were transformed in a single driver. - Common definitions were moved to i2c-designware-core.h - The i2c-designware-core is now only a library file, the functions associated are in a source file called i2c-designware-common and are used

[PATCH 1/2] printk: fix name and type of some variables

2017-03-01 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and its semantics is boolean. It is negative when no console has been made preferred. The variable selected_console holds an index into the console_cmdline array, pointing to the console that was made preferred. Rename the

[PATCH v4 14/19] scsi: pmcraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/pmcraid.c | 10 +- drivers/scsi/pmcraid.h | 2 +-

[PATCH v4 18/19] usb: host: Remove remaining pci_pool in comments

2017-03-01 Thread Romain Perier
This replaces remaining occurences of pci_pool by dma_pool, as this is the new API that could be used for that purpose. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/host/ehci-hcd.c | 2 +-

[PATCH v4 15/19] usb: gadget: amd5536udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 18/19] usb: host: Remove remaining pci_pool in comments

2017-03-01 Thread Romain Perier
This replaces remaining occurences of pci_pool by dma_pool, as this is the new API that could be used for that purpose. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/fotg210-hcd.c | 2 +-

[PATCH v4 15/19] usb: gadget: amd5536udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/amd5536udc.c | 8

[PATCH v4 07/19] wireless: ipw2200: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c

[PATCH v4 07/19] wireless: ipw2200: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6

[PATCH v4 05/19] mlx4: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 05/19] mlx4: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/mellanox/mlx4/cmd.c | 10 +-

[PATCH v4 04/19] net: e100: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 04/19] net: e100: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > Anyway, does the following help? > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index 47e4f82380e4..d5386ad7ed3f 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -47,6 +47,7 @@ >

[PATCH v4 06/19] mlx5: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > Anyway, does the following help? > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index 47e4f82380e4..d5386ad7ed3f 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -47,6 +47,7 @@ >

[PATCH v4 06/19] mlx5: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11 ++- include/linux/mlx5/driver.h

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Chris Wilson
On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > > Add kselftests for ww_mutex stress", and find no "bad unlock balance > > detected" but this

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Chris Wilson
On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > > Add kselftests for ww_mutex stress", and find no "bad unlock balance > > detected" but this

[RESEND PATCH v6 1/6] i2c: designware: Cleaning and comment style fixes.

2017-03-01 Thread Luis Oliveira
The purpose of this commit is to fix some comments and styling in the existing code due to the need of reuse this code. What is being made here is: - Sorted the headers files - Corrected some comments style (capital letters, lowcase i2c) - Reverse tree in the variables declaration - Add/remove

[RESEND PATCH v6 1/6] i2c: designware: Cleaning and comment style fixes.

2017-03-01 Thread Luis Oliveira
The purpose of this commit is to fix some comments and styling in the existing code due to the need of reuse this code. What is being made here is: - Sorted the headers files - Corrected some comments style (capital letters, lowcase i2c) - Reverse tree in the variables declaration - Add/remove

Re: [PATCH v2 2/3] coresight: refactor with function of_coresight_get_cpu

2017-03-01 Thread Mathieu Poirier
On Tue, Feb 28, 2017 at 11:06:59PM +0800, Leo Yan wrote: > This is refactor to add function of_coresight_get_cpu(), so it's used to > retrieve CPU id for coresight component. Finally can use it as a common > function for multiple places. > > Suggested-by: Mathieu Poirier

[RESEND PATCH v6 4/6] i2c: designware: introducing I2C_SLAVE definitions

2017-03-01 Thread Luis Oliveira
- Definitions were added to core library - A example was added to designware-core.txt Documentation that shows how the slave can be setup using DTS SLAVE related definitions were added to the core of the controller. Signed-off-by: Luis Oliveira Reviewed-by: Andy

[RESEND PATCH v6 0/6] i2c: designware: add I2C SLAVE support

2017-03-01 Thread Luis Oliveira
The purpose of this patchset is to enable Linux to be a I2C slave by enabling the slave functionality in the designware I2C controller and at the same time it does some cleaning of the existing code. The patch 1 is for cleaning and commentary fix. The patch 2 refactors the original

Re: [PATCH v2 2/3] coresight: refactor with function of_coresight_get_cpu

2017-03-01 Thread Mathieu Poirier
On Tue, Feb 28, 2017 at 11:06:59PM +0800, Leo Yan wrote: > This is refactor to add function of_coresight_get_cpu(), so it's used to > retrieve CPU id for coresight component. Finally can use it as a common > function for multiple places. > > Suggested-by: Mathieu Poirier > Signed-off-by: Leo Yan

[RESEND PATCH v6 4/6] i2c: designware: introducing I2C_SLAVE definitions

2017-03-01 Thread Luis Oliveira
- Definitions were added to core library - A example was added to designware-core.txt Documentation that shows how the slave can be setup using DTS SLAVE related definitions were added to the core of the controller. Signed-off-by: Luis Oliveira Reviewed-by: Andy Shevchenko Acked-by: Rob

[RESEND PATCH v6 0/6] i2c: designware: add I2C SLAVE support

2017-03-01 Thread Luis Oliveira
The purpose of this patchset is to enable Linux to be a I2C slave by enabling the slave functionality in the designware I2C controller and at the same time it does some cleaning of the existing code. The patch 1 is for cleaning and commentary fix. The patch 2 refactors the original

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-01 Thread Boris Brezillon
On Wed, 1 Mar 2017 17:16:30 +0530 Vignesh R wrote: > On Wednesday 01 March 2017 04:13 PM, Cyrille Pitchen wrote: > > Le 01/03/2017 à 05:54, Vignesh R a écrit : > >> > >> > >> On Wednesday 01 March 2017 03:11 AM, Richard Weinberger wrote: > >>> Vignesh, > >>> > >>> Am

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-01 Thread Boris Brezillon
On Wed, 1 Mar 2017 17:16:30 +0530 Vignesh R wrote: > On Wednesday 01 March 2017 04:13 PM, Cyrille Pitchen wrote: > > Le 01/03/2017 à 05:54, Vignesh R a écrit : > >> > >> > >> On Wednesday 01 March 2017 03:11 AM, Richard Weinberger wrote: > >>> Vignesh, > >>> > >>> Am 27.02.2017 um 13:08

Re: [Intel-gfx] [PATCH] drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058

2017-03-01 Thread Ville Syrjälä
On Wed, Mar 01, 2017 at 04:07:02PM +0200, Ville Syrjälä wrote: > On Mon, Feb 20, 2017 at 04:25:45PM +0100, Tomeu Vizoso wrote: > > Rotel RSX-1058 is a receiver with 4 HDMI inputs and a HDMI output, all > > 1.1. > > > > When a sink that supports deep color is connected to the output, the > >

Re: [Intel-gfx] [PATCH] drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058

2017-03-01 Thread Ville Syrjälä
On Wed, Mar 01, 2017 at 04:07:02PM +0200, Ville Syrjälä wrote: > On Mon, Feb 20, 2017 at 04:25:45PM +0100, Tomeu Vizoso wrote: > > Rotel RSX-1058 is a receiver with 4 HDMI inputs and a HDMI output, all > > 1.1. > > > > When a sink that supports deep color is connected to the output, the > >

Re: [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs

2017-03-01 Thread Maxime Ripard
On Wed, Mar 01, 2017 at 06:20:51PM +0800, Icenowy Zheng wrote: > > 2017年3月1日 18:14于 Maxime Ripard 写道: > > > > On Tue, Feb 28, 2017 at 03:18:13PM +0800, Icenowy Zheng wrote: > > > > > > 2017年2月28日 14:44于 Maxime Ripard 写道: > > >

Re: [PATCH 2/3] thermal: add support for the thermal sensor on Allwinner new SoCs

2017-03-01 Thread Maxime Ripard
On Wed, Mar 01, 2017 at 06:20:51PM +0800, Icenowy Zheng wrote: > > 2017年3月1日 18:14于 Maxime Ripard 写道: > > > > On Tue, Feb 28, 2017 at 03:18:13PM +0800, Icenowy Zheng wrote: > > > > > > 2017年2月28日 14:44于 Maxime Ripard 写道: > > > > > > > > On Tue, Feb 28, 2017 at 03:40:53AM +0800, Icenowy Zheng

[PATCH v4 08/19] scsi: be2iscsi: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 08/19] scsi: be2iscsi: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/be2iscsi/be_iscsi.c | 6 +++---

[PATCH v4 09/19] scsi: csiostor: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna

[PATCH v4 09/19] scsi: csiostor: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin ---

[PATCH v4 17/19] usb: gadget: pch_udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/pch_udc.c | 31

[PATCH v4 17/19] usb: gadget: pch_udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/pch_udc.c | 31 +++ 1 file changed, 15

[PATCH v4 00/19] Replace PCI pool by DMA pool API

2017-03-01 Thread Romain Perier
by the dma pool API, adds support to warn about this old API in checkpath.pl and remove the defines. Changes in v4: - Rebased series onto next-20170301 - Removed patch 20/20: checks done by checkpath.pl, no longer required. Thanks to Peter and Joe for their feedbacks. - Added Reviewed-by tags

[PATCH v4 00/19] Replace PCI pool by DMA pool API

2017-03-01 Thread Romain Perier
by the dma pool API, adds support to warn about this old API in checkpath.pl and remove the defines. Changes in v4: - Rebased series onto next-20170301 - Removed patch 20/20: checks done by checkpath.pl, no longer required. Thanks to Peter and Joe for their feedbacks. - Added Reviewed-by tags

[PATCH v2] Revert "tty: serial: pl011: add ttyAMA for matching pl011 console"

2017-03-01 Thread Aleksey Makarov
The original patch makes condition always true, so it is wrong. This reverts commit aea9a80ba98a0c9b4de88850260e9fbdcc98360b. Signed-off-by: Aleksey Makarov --- v2: add Signed-off-by: drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2] Revert "tty: serial: pl011: add ttyAMA for matching pl011 console"

2017-03-01 Thread Aleksey Makarov
The original patch makes condition always true, so it is wrong. This reverts commit aea9a80ba98a0c9b4de88850260e9fbdcc98360b. Signed-off-by: Aleksey Makarov --- v2: add Signed-off-by: drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 03/19] IB/mthca: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 03/19] IB/mthca: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/infiniband/hw/mthca/mthca_av.c | 10 +-

[PATCH v4 02/19] dmaengine: pch_dma: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 02/19] dmaengine: pch_dma: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6

[PATCH v4 01/19] block: DAC960: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v4 01/19] block: DAC960: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 36 ++--

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Fengguang Wu
On Wed, Mar 01, 2017 at 04:51:36PM +0100, Peter Zijlstra wrote: On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: Thanks for the patch! I applied the patch on top of "locking/ww_mutex: Add kselftests for ww_mutex stress", and find no "bad unlock balance detected" but this warning.

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Fengguang Wu
On Wed, Mar 01, 2017 at 04:51:36PM +0100, Peter Zijlstra wrote: On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: Thanks for the patch! I applied the patch on top of "locking/ww_mutex: Add kselftests for ww_mutex stress", and find no "bad unlock balance detected" but this warning.

Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt()

2017-03-01 Thread Eric Dumazet
On Wed, 2017-03-01 at 12:57 +0100, Alexander Potapenko wrote: > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in packet_bind_spkt(): ... > Signed-off-by: Alexander Potapenko > --- > Changes since v3: > - addressed comments by

Re: [PATCH v4] net: don't call strlen() on the user buffer in packet_bind_spkt()

2017-03-01 Thread Eric Dumazet
On Wed, 2017-03-01 at 12:57 +0100, Alexander Potapenko wrote: > KMSAN (KernelMemorySanitizer, a new error detection tool) reports use of > uninitialized memory in packet_bind_spkt(): ... > Signed-off-by: Alexander Potapenko > --- > Changes since v3: > - addressed comments by Eric Dumazet (avoid

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > Add kselftests for ww_mutex stress", and find no "bad unlock balance > detected" but this warning. Attached is the new dmesg which is a bit > large due to lots

Re: [PATCH v2 1/3] coresight: bindings for debug module

2017-03-01 Thread Mathieu Poirier
On Tue, Feb 28, 2017 at 11:06:58PM +0800, Leo Yan wrote: > According to ARMv8 architecture reference manual (ARM DDI 0487A.k) > Chapter 'Part H: External debug', the CPU can integrate debug module > and it can support self-hosted debug and external debug. Especially > for supporting self-hosted

<    5   6   7   8   9   10   11   12   13   14   >