Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-04-28 Thread Andy Shevchenko
On Fri, Apr 28, 2017 at 4:18 PM, Chris Brandt wrote: > On Friday, April 28, 2017, Andy Shevchenko wrote: >> > In the RZ/A1 HW manual you can kind of see that in 54.18 Port Control >> Logical Diagram (but that wasn't obvious to me at first). >> >> Please, post a link to

Re: arm64: next-20170428 hangs on boot

2017-04-28 Thread Mark Rutland
On Fri, Apr 28, 2017 at 04:24:29PM +0300, Yury Norov wrote: > Hi all, Hi, [adding Dave Miller, netdev, lkml] > On QEMU the next-20170428 hangs on boot for me due to kernel panic in > rtnetlink_init(): > > void __init rtnetlink_init(void) > { > if (register_p

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-04-28 Thread Andy Shevchenko
On Fri, Apr 28, 2017 at 4:18 PM, Chris Brandt wrote: > On Friday, April 28, 2017, Andy Shevchenko wrote: >> > In the RZ/A1 HW manual you can kind of see that in 54.18 Port Control >> Logical Diagram (but that wasn't obvious to me at first). >> >> Please, post a link to it or copy essential parts.

Re: arm64: next-20170428 hangs on boot

2017-04-28 Thread Mark Rutland
On Fri, Apr 28, 2017 at 04:24:29PM +0300, Yury Norov wrote: > Hi all, Hi, [adding Dave Miller, netdev, lkml] > On QEMU the next-20170428 hangs on boot for me due to kernel panic in > rtnetlink_init(): > > void __init rtnetlink_init(void) > { > if (register_p

Re: [PATCH net-next 17/18] net: dsa: mv88e6xxx: support the VTU Page bit

2017-04-28 Thread Andrew Lunn
> That's not a big deal though, one can make it clearer later if needed. Agreed. Lets keep it as is. Andrew

Re: [PATCH net-next 17/18] net: dsa: mv88e6xxx: support the VTU Page bit

2017-04-28 Thread Andrew Lunn
> That's not a big deal though, one can make it clearer later if needed. Agreed. Lets keep it as is. Andrew

RE: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Chris Brandt
Hi Geert, On Friday, April 28, 2017, Geert Uytterhoeven wrote: > >> Shouldn't the interrupt (connected to P1_15) be described? > > > > That interrupt pin from the PHY is not used. It did not need to be > connected. > > But it is connected, according to the schematics. P1_15 can be configured

RE: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Chris Brandt
Hi Geert, On Friday, April 28, 2017, Geert Uytterhoeven wrote: > >> Shouldn't the interrupt (connected to P1_15) be described? > > > > That interrupt pin from the PHY is not used. It did not need to be > connected. > > But it is connected, according to the schematics. P1_15 can be configured

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Will Deacon
On Fri, Apr 28, 2017 at 03:43:56PM +0100, Ard Biesheuvel wrote: > On 28 April 2017 at 15:33, Mark Rutland wrote: > > On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: > OK, good. That is a departure from previous behavior of Clang, which > was causing build

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Will Deacon
On Fri, Apr 28, 2017 at 03:43:56PM +0100, Ard Biesheuvel wrote: > On 28 April 2017 at 15:33, Mark Rutland wrote: > > On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: > OK, good. That is a departure from previous behavior of Clang, which > was causing build errors before due to the

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Steven Rostedt
On Fri, 28 Apr 2017 15:58:10 +0200 Peter Zijlstra wrote: > On Fri, Apr 28, 2017 at 03:44:23PM +0200, Petr Mladek wrote: > > On Fri 2017-04-28 11:02:26, Peter Zijlstra wrote: > > > On Thu, Apr 27, 2017 at 03:38:19PM +0200, Petr Mladek wrote: > > > > Also we need to look

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Steven Rostedt
On Fri, 28 Apr 2017 15:58:10 +0200 Peter Zijlstra wrote: > On Fri, Apr 28, 2017 at 03:44:23PM +0200, Petr Mladek wrote: > > On Fri 2017-04-28 11:02:26, Peter Zijlstra wrote: > > > On Thu, Apr 27, 2017 at 03:38:19PM +0200, Petr Mladek wrote: > > > > Also we need to look for alternatives.

[PATCH v3] staging: speakup: fix wrong code indent

2017-04-28 Thread Michael Mera
Fix checkpatch messages: ERROR: code indent should use tabs where possible WARNING: Block comments should align the * on each line Changes: - replace unnecessary multiline comment by a single line comment - change "bit mask" for "bitmask" to have a line shorter than 80 characters

[PATCH v3] staging: speakup: fix wrong code indent

2017-04-28 Thread Michael Mera
Fix checkpatch messages: ERROR: code indent should use tabs where possible WARNING: Block comments should align the * on each line Changes: - replace unnecessary multiline comment by a single line comment - change "bit mask" for "bitmask" to have a line shorter than 80 characters

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Ard Biesheuvel
On 28 April 2017 at 15:33, Mark Rutland wrote: > On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: >> On 27 April 2017 at 23:52, Matthias Kaehlcke wrote: >> > El Thu, Apr 27, 2017 at 12:02:56PM +0100 Mark Rutland ha dit: >> >> On Wed, Apr

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Ard Biesheuvel
On 28 April 2017 at 15:33, Mark Rutland wrote: > On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: >> On 27 April 2017 at 23:52, Matthias Kaehlcke wrote: >> > El Thu, Apr 27, 2017 at 12:02:56PM +0100 Mark Rutland ha dit: >> >> On Wed, Apr 26, 2017 at 02:46:16PM -0700, Matthias

Re: [PATCH 1/2] iommu/s390: Fix IOMMU groups

2017-04-28 Thread Joerg Roedel
On Fri, Apr 28, 2017 at 03:20:17PM +0200, Gerald Schaefer wrote: > On Thu, 27 Apr 2017 23:12:32 +0200 > Joerg Roedel wrote: > > This is the way to free an iommu-group. It was missing before probably > > because it was unclear whether the add_device function allocated a group > >

Re: [PATCH 1/2] iommu/s390: Fix IOMMU groups

2017-04-28 Thread Joerg Roedel
On Fri, Apr 28, 2017 at 03:20:17PM +0200, Gerald Schaefer wrote: > On Thu, 27 Apr 2017 23:12:32 +0200 > Joerg Roedel wrote: > > This is the way to free an iommu-group. It was missing before probably > > because it was unclear whether the add_device function allocated a group > > or not. So there

[PATCH] staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd

2017-04-28 Thread Horia Geantă
While dpaa2_fd.simple structure fields are marked __leXX, corresponding cpu_to_leXX / leXX_to_cpu conversions are missing. While here, fix dpaa2_fd_{get,set}_bpid such that BMT, IVP bits sharing the 16-bit field with BPID are not affected. Fixes: d3269bdc7ebc ("bus: fsl-mc: dpio: add frame

[PATCH] staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd

2017-04-28 Thread Horia Geantă
While dpaa2_fd.simple structure fields are marked __leXX, corresponding cpu_to_leXX / leXX_to_cpu conversions are missing. While here, fix dpaa2_fd_{get,set}_bpid such that BMT, IVP bits sharing the 16-bit field with BPID are not affected. Fixes: d3269bdc7ebc ("bus: fsl-mc: dpio: add frame

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Mark Rutland
On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: > On 27 April 2017 at 23:52, Matthias Kaehlcke wrote: > > El Thu, Apr 27, 2017 at 12:02:56PM +0100 Mark Rutland ha dit: > >> On Wed, Apr 26, 2017 at 02:46:16PM -0700, Matthias Kaehlcke wrote: > >> > Many inline

Re: [PATCH v2] arm64: Add ASM modifier for xN register operands

2017-04-28 Thread Mark Rutland
On Fri, Apr 28, 2017 at 08:18:52AM +0100, Ard Biesheuvel wrote: > On 27 April 2017 at 23:52, Matthias Kaehlcke wrote: > > El Thu, Apr 27, 2017 at 12:02:56PM +0100 Mark Rutland ha dit: > >> On Wed, Apr 26, 2017 at 02:46:16PM -0700, Matthias Kaehlcke wrote: > >> > Many inline assembly statements

Re: [PATCH] block: hide badblocks attribute by default

2017-04-28 Thread Jens Axboe
On Thu, Apr 27 2017, Dan Williams wrote: > Commit 99e6608c9e74 "block: Add badblock management for gendisks" > allowed for drivers like pmem and software-raid to advertise a list of > bad media areas. However, it inadvertently added a 'badblocks' to all > block devices. Lets clean this up by

Re: [PATCH] block: hide badblocks attribute by default

2017-04-28 Thread Jens Axboe
On Thu, Apr 27 2017, Dan Williams wrote: > Commit 99e6608c9e74 "block: Add badblock management for gendisks" > allowed for drivers like pmem and software-raid to advertise a list of > bad media areas. However, it inadvertently added a 'badblocks' to all > block devices. Lets clean this up by

[PATCH v8 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 03/15] IB/mthca: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

Re: [RFC PATCH] trace/perf: cure locking issue in perf_event_open() error path

2017-04-28 Thread Sebastian Siewior
With the last patch on-top I trigger this now and then: == WARNING: possible circular locking dependency detected 4.11.0-rc8-00894-g8bd462ee4aac-dirty #84 Not tainted --

[PATCH v8 03/15] IB/mthca: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford ---

Re: [RFC PATCH] trace/perf: cure locking issue in perf_event_open() error path

2017-04-28 Thread Sebastian Siewior
With the last patch on-top I trigger this now and then: == WARNING: possible circular locking dependency detected 4.11.0-rc8-00894-g8bd462ee4aac-dirty #84 Not tainted --

Re: [PATCH] ipv6: ensure message length for raw socket is at least sizeof(ipv6hdr)

2017-04-28 Thread David Miller
From: Alexander Potapenko Date: Fri, 28 Apr 2017 16:28:12 +0200 > I'll send the updated patch next week. Great, thanks for doing all of this work.

Re: [PATCH] ipv6: ensure message length for raw socket is at least sizeof(ipv6hdr)

2017-04-28 Thread David Miller
From: Alexander Potapenko Date: Fri, 28 Apr 2017 16:28:12 +0200 > I'll send the updated patch next week. Great, thanks for doing all of this work.

[PATCH v8 04/15] net: e100: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher

[PATCH v8 05/15] mlx4: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 04/15] net: e100: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v8 05/15] mlx4: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Reviewed-by: Leon Romanovsky Acked-by: Doug Ledford Tested-by: Doug Ledford

[PATCH v8 06/15] mlx5: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford

[PATCH v8 06/15] mlx5: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11

[PATCH v8 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 11/15] scsi: megaraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena

Re: [PATCH] ipv6: ensure message length for raw socket is at least sizeof(ipv6hdr)

2017-04-28 Thread Alexander Potapenko
On Wed, Apr 26, 2017 at 3:00 PM, Alexander Potapenko wrote: > On Wed, Apr 26, 2017 at 10:54 AM, Alexander Potapenko > wrote: >> On Tue, Apr 25, 2017 at 7:55 PM, David Miller wrote: >>> From: Alexander Potapenko >>>

[PATCH v8 11/15] scsi: megaraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++

Re: [PATCH] ipv6: ensure message length for raw socket is at least sizeof(ipv6hdr)

2017-04-28 Thread Alexander Potapenko
On Wed, Apr 26, 2017 at 3:00 PM, Alexander Potapenko wrote: > On Wed, Apr 26, 2017 at 10:54 AM, Alexander Potapenko > wrote: >> On Tue, Apr 25, 2017 at 7:55 PM, David Miller wrote: >>> From: Alexander Potapenko >>> Date: Tue, 25 Apr 2017 15:18:27 +0200 >>> rawv6_send_hdrinc() expects

[PATCH v8 12/15] scsi: mpt3sas: Replace PCI pool old API

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

[PATCH v8 12/15] scsi: mpt3sas: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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

[PATCH v8 15/15] PCI: Remove PCI pool macro functions

2017-04-28 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

[PATCH v8 15/15] PCI: Remove PCI pool macro functions

2017-04-28 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

[PATCH v8 14/15] scsi: pmcraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 14/15] scsi: pmcraid: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 10/15] scsi: lpfc: Replace PCI pool old API

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

[PATCH v8 10/15] scsi: lpfc: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 | 14 +++---

[PATCH v8 13/15] scsi: mvsas: Replace PCI pool old API

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

[PATCH v8 13/15] scsi: mvsas: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 09/15] scsi: csiostor: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 09/15] scsi: csiostor: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 07/15] wireless: ipw2200: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c |

[PATCH v8 01/15] block: DAC960: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v8 07/15] wireless: ipw2200: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 v8 01/15] block: DAC960: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate 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 | 38 ++

[PATCH v8 00/15] Replace PCI pool by DMA pool API

2017-04-28 Thread Romain Perier
by the dma pool API and remove the defines. Changes in v8: - Rebased series onto next-20170428 Changes in v7: - Rebased series onto next-20170416 - Added Acked-by, Tested-by and Reviwed-by tags Changes in v6: - Fixed an issue reported by kbuild test robot about changes in DAC960 - Removed patches

[PATCH v8 00/15] Replace PCI pool by DMA pool API

2017-04-28 Thread Romain Perier
by the dma pool API and remove the defines. Changes in v8: - Rebased series onto next-20170428 Changes in v7: - Rebased series onto next-20170416 - Added Acked-by, Tested-by and Reviwed-by tags Changes in v6: - Fixed an issue reported by kbuild test robot about changes in DAC960 - Removed patches

Re: [PATCH net-next 17/18] net: dsa: mv88e6xxx: support the VTU Page bit

2017-04-28 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> +if (val & GLOBAL_VTU_VID_PAGE) >> +entry->vid |= 0x1000; > > I'm undecided myself, so i will just bring it up for discussion. > > Maybe it would be more readable to say: > > entry->vid += 4096; > > ??? VID values

Re: [PATCH net-next 17/18] net: dsa: mv88e6xxx: support the VTU Page bit

2017-04-28 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: >> +if (val & GLOBAL_VTU_VID_PAGE) >> +entry->vid |= 0x1000; > > I'm undecided myself, so i will just bring it up for discussion. > > Maybe it would be more readable to say: > > entry->vid += 4096; > > ??? VID values are usually

Re: [PATCH] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Dan Carpenter
On Fri, Apr 28, 2017 at 04:19:28PM +0200, Ilia Sergachev wrote: > Checkpatch emits WARNING: Avoid line continuations in quoted strings. > > Remove line continuations - split strings using quotes. > > Signed-off-by: Ilia Sergachev > --- >

Re: [PATCH] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Dan Carpenter
On Fri, Apr 28, 2017 at 04:19:28PM +0200, Ilia Sergachev wrote: > Checkpatch emits WARNING: Avoid line continuations in quoted strings. > > Remove line continuations - split strings using quotes. > > Signed-off-by: Ilia Sergachev > --- > drivers/staging/ks7010/ks_hostif.c | 20

[RFC PATCH] trace/perf: cure locking issue in perf_event_open() error path

2017-04-28 Thread Sebastian Siewior
As trinity figured out, there is a recursive get_online_cpus() in perf_event_open()'s error path: | Call Trace: | dump_stack+0x86/0xce | __lock_acquire+0x2520/0x2cd0 | lock_acquire+0x27c/0x2f0 | get_online_cpus+0x3d/0x80 | static_key_slow_dec+0x5a/0x70 | sw_perf_event_destroy+0x8e/0x100 |

[RFC PATCH] trace/perf: cure locking issue in perf_event_open() error path

2017-04-28 Thread Sebastian Siewior
As trinity figured out, there is a recursive get_online_cpus() in perf_event_open()'s error path: | Call Trace: | dump_stack+0x86/0xce | __lock_acquire+0x2520/0x2cd0 | lock_acquire+0x27c/0x2f0 | get_online_cpus+0x3d/0x80 | static_key_slow_dec+0x5a/0x70 | sw_perf_event_destroy+0x8e/0x100 |

[PATCH v3] sched/fair: update scale invariance of PELT

2017-04-28 Thread Vincent Guittot
The current implementation of load tracking invariance scales the contribution with current frequency and uarch performance (only for utilization) of the CPU. One main result of this formula is that the figures are capped by current capacity of CPU. Another one is that the load_avg is not

[PATCH v3] sched/fair: update scale invariance of PELT

2017-04-28 Thread Vincent Guittot
The current implementation of load tracking invariance scales the contribution with current frequency and uarch performance (only for utilization) of the CPU. One main result of this formula is that the figures are capped by current capacity of CPU. Another one is that the load_avg is not

[PATCH] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Ilia Sergachev
Checkpatch emits WARNING: Avoid line continuations in quoted strings. Remove line continuations - split strings using quotes. Signed-off-by: Ilia Sergachev --- drivers/staging/ks7010/ks_hostif.c | 20 ++-- 1 file changed, 14 insertions(+), 6

[PATCH] staging: ks7010: remove line continuations in quoted strings

2017-04-28 Thread Ilia Sergachev
Checkpatch emits WARNING: Avoid line continuations in quoted strings. Remove line continuations - split strings using quotes. Signed-off-by: Ilia Sergachev --- drivers/staging/ks7010/ks_hostif.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git

Re: [patch] Re: x86-tip tsc/tick gripage

2017-04-28 Thread Mike Galbraith
On Fri, 2017-04-28 at 10:45 +0200, Mike Galbraith wrote: > Bah, nevermind. I forgot to restore command line. Well how 'bout that, it's not only old multi-socket boxen. I just reproduced on my i4790 desktop box. Boot virgin tip to init 3 with nowatchdog on command line, let box idle... [

Re: [patch] Re: x86-tip tsc/tick gripage

2017-04-28 Thread Mike Galbraith
On Fri, 2017-04-28 at 10:45 +0200, Mike Galbraith wrote: > Bah, nevermind. I forgot to restore command line. Well how 'bout that, it's not only old multi-socket boxen. I just reproduced on my i4790 desktop box. Boot virgin tip to init 3 with nowatchdog on command line, let box idle... [

Re: [PATCH 2/2] arm64: pmu: Wire-up L2 cache events for ARMv8 PMUv3

2017-04-28 Thread Will Deacon
On Fri, Apr 28, 2017 at 03:15:01PM +0100, Catalin Marinas wrote: > On Thu, Apr 27, 2017 at 06:36:42PM +0100, Will Deacon wrote: > > On Tue, Apr 25, 2017 at 10:13:51AM -0700, Florian Fainelli wrote: > > > On 04/25/2017 05:44 AM, Will Deacon wrote: > > > > On Thu, Apr 20, 2017 at 12:05:46PM -0700,

Re: [PATCH 2/2] arm64: pmu: Wire-up L2 cache events for ARMv8 PMUv3

2017-04-28 Thread Will Deacon
On Fri, Apr 28, 2017 at 03:15:01PM +0100, Catalin Marinas wrote: > On Thu, Apr 27, 2017 at 06:36:42PM +0100, Will Deacon wrote: > > On Tue, Apr 25, 2017 at 10:13:51AM -0700, Florian Fainelli wrote: > > > On 04/25/2017 05:44 AM, Will Deacon wrote: > > > > On Thu, Apr 20, 2017 at 12:05:46PM -0700,

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Steven Rostedt
On Fri, 28 Apr 2017 14:57:25 +0200 Petr Mladek wrote: > Of course, if the problem is reproducible, the easiest solution > is to use bigger main log buffer, for example boot with > log_buf_len=32M. Of course that may not be enough. Especially when I have a machine with 240

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Steven Rostedt
On Fri, 28 Apr 2017 14:57:25 +0200 Petr Mladek wrote: > Of course, if the problem is reproducible, the easiest solution > is to use bigger main log buffer, for example boot with > log_buf_len=32M. Of course that may not be enough. Especially when I have a machine with 240 CPUs. But it also has

Re: [PATCH 2/2] arm64: pmu: Wire-up L2 cache events for ARMv8 PMUv3

2017-04-28 Thread Catalin Marinas
On Thu, Apr 27, 2017 at 06:36:42PM +0100, Will Deacon wrote: > On Tue, Apr 25, 2017 at 10:13:51AM -0700, Florian Fainelli wrote: > > On 04/25/2017 05:44 AM, Will Deacon wrote: > > > On Thu, Apr 20, 2017 at 12:05:46PM -0700, Florian Fainelli wrote: > > >> The ARMv8 PMUv3 cache map did not include

Re: [PATCH 2/2] arm64: pmu: Wire-up L2 cache events for ARMv8 PMUv3

2017-04-28 Thread Catalin Marinas
On Thu, Apr 27, 2017 at 06:36:42PM +0100, Will Deacon wrote: > On Tue, Apr 25, 2017 at 10:13:51AM -0700, Florian Fainelli wrote: > > On 04/25/2017 05:44 AM, Will Deacon wrote: > > > On Thu, Apr 20, 2017 at 12:05:46PM -0700, Florian Fainelli wrote: > > >> The ARMv8 PMUv3 cache map did not include

[PATCH v5 1/1] pinctrl: armada-37xx: Add irqchip support

2017-04-28 Thread Gregory CLEMENT
The Armada 37xx SoCs can handle interrupt through GPIO. However it can only manage the edge ones. The way the interrupt are managed is classical so we can use the generic interrupt chip model. The only unusual "feature" is that many interrupts are connected to the parent interrupt controller.

[PATCH v5 1/1] pinctrl: armada-37xx: Add irqchip support

2017-04-28 Thread Gregory CLEMENT
The Armada 37xx SoCs can handle interrupt through GPIO. However it can only manage the edge ones. The way the interrupt are managed is classical so we can use the generic interrupt chip model. The only unusual "feature" is that many interrupts are connected to the parent interrupt controller.

[PATCH] MAINTAINERS: Add myself as reviewer for Exynos

2017-04-28 Thread Shuah Khan
Adding myself as a reviewer for Exynos in the interest of keeping an eye on the Exynos platform and help keep it stable. Signed-off-by: Shuah Khan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 38d3e4e..e361341 100644

[PATCH] MAINTAINERS: Add myself as reviewer for Exynos

2017-04-28 Thread Shuah Khan
Adding myself as a reviewer for Exynos in the interest of keeping an eye on the Exynos platform and help keep it stable. Signed-off-by: Shuah Khan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 38d3e4e..e361341 100644 --- a/MAINTAINERS +++

[PATCH v5 0/1] Add support for pinctrl/gpio on Armada 37xx

2017-04-28 Thread Gregory CLEMENT
Hi, This fifth version contain only one patch all the other ones have been applied on the pinctrl or the mvebu trees. For the record, this series adds support for the pin and gpio controllers present on the Armada 37xx SoCs. Each Armada 37xx SoC comes with 2 pin controllers: one on the south

[PATCH v5 0/1] Add support for pinctrl/gpio on Armada 37xx

2017-04-28 Thread Gregory CLEMENT
Hi, This fifth version contain only one patch all the other ones have been applied on the pinctrl or the mvebu trees. For the record, this series adds support for the pin and gpio controllers present on the Armada 37xx SoCs. Each Armada 37xx SoC comes with 2 pin controllers: one on the south

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 03:44:23PM +0200, Petr Mladek wrote: > On Fri 2017-04-28 11:02:26, Peter Zijlstra wrote: > > On Thu, Apr 27, 2017 at 03:38:19PM +0200, Petr Mladek wrote: > > > Also we need to look for alternatives. There is a chance > > > to create crashdump and get the ftrace messages

Re: [PATCH v5 1/4] printk/nmi: generic solution for safe printk in NMI

2017-04-28 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 03:44:23PM +0200, Petr Mladek wrote: > On Fri 2017-04-28 11:02:26, Peter Zijlstra wrote: > > On Thu, Apr 27, 2017 at 03:38:19PM +0200, Petr Mladek wrote: > > > Also we need to look for alternatives. There is a chance > > > to create crashdump and get the ftrace messages

Re: [PATCH 00/14] sched/topology fixes

2017-04-28 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 03:19:58PM +0200, Peter Zijlstra wrote: > Hi, > > These patches are based upon the hard work of Lauro. He put in the time and > effort to understand and debug the code. > > So while I didn't take many of his actual patches; I want to thank him for > doing the work.

Re: [PATCH 00/14] sched/topology fixes

2017-04-28 Thread Peter Zijlstra
On Fri, Apr 28, 2017 at 03:19:58PM +0200, Peter Zijlstra wrote: > Hi, > > These patches are based upon the hard work of Lauro. He put in the time and > effort to understand and debug the code. > > So while I didn't take many of his actual patches; I want to thank him for > doing the work.

Re: [PATCH] ceph: fix memory leak in __ceph_setxattr()

2017-04-28 Thread Yan, Zheng
> On 28 Apr 2017, at 18:14, Luis Henriques wrote: > > The ceph_inode_xattr needs to be released when removing an xattr. Easily > reproducible running the 'generic/020' test from xfstests or simply by > doing: > > attr -s attr0 -V 0 /mnt/test && attr -r attr0 /mnt/test >

Re: [PATCH] ceph: fix memory leak in __ceph_setxattr()

2017-04-28 Thread Yan, Zheng
> On 28 Apr 2017, at 18:14, Luis Henriques wrote: > > The ceph_inode_xattr needs to be released when removing an xattr. Easily > reproducible running the 'generic/020' test from xfstests or simply by > doing: > > attr -s attr0 -V 0 /mnt/test && attr -r attr0 /mnt/test > > While there, also

RE: [PATCH] iov_iter: don't revert if csum error

2017-04-28 Thread David Laight
From: Sabrina Dubroca > Sent: 28 April 2017 14:17 ... > > if (__skb_checksum_complete(skb)) > > - goto csum_error; > > + goto fault; > > With this patch, skb_copy_and_csum_datagram_msg() will return -EFAULT > for an incorrect checksum, that doesn't

RE: [PATCH] iov_iter: don't revert if csum error

2017-04-28 Thread David Laight
From: Sabrina Dubroca > Sent: 28 April 2017 14:17 ... > > if (__skb_checksum_complete(skb)) > > - goto csum_error; > > + goto fault; > > With this patch, skb_copy_and_csum_datagram_msg() will return -EFAULT > for an incorrect checksum, that doesn't

RE: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Chris Brandt
On Friday, April 28, 2017, Linus Walleij wrote: > > Add pin configuration subnode for ETHER ethernet controller. > > > > Signed-off-by: Jacopo Mondi > (...) > > + pins_bidir { > > + pinmux = ;/* P3_3 = > ET_MDIO

RE: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-28 Thread Chris Brandt
On Friday, April 28, 2017, Linus Walleij wrote: > > Add pin configuration subnode for ETHER ethernet controller. > > > > Signed-off-by: Jacopo Mondi > (...) > > + pins_bidir { > > + pinmux = ;/* P3_3 = > ET_MDIO */ > > + bi-directional; >

Re: [PATCH v2 1/2] mm: Uncharge poisoned pages

2017-04-28 Thread Michal Hocko
On Fri 28-04-17 11:17:34, Laurent Dufour wrote: > On 28/04/2017 09:31, Michal Hocko wrote: > > [CC Johannes and Vladimir - the patch is > > http://lkml.kernel.org/r/1493130472-22843-2-git-send-email-lduf...@linux.vnet.ibm.com] > > > > On Fri 28-04-17 08:07:55, Michal Hocko wrote: > >> On Thu

Re: [PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme

2017-04-28 Thread Rob Herring
On Fri, Apr 21, 2017 at 04:38:49PM +0800, Chen-Yu Tsai wrote: > The Allwinner display pipeline contains many hardware components, some > of which can consume data from one of multiple upstream components. > The numbering scheme of these components must be encoded into the device > tree so the

Re: [PATCH v2 1/2] mm: Uncharge poisoned pages

2017-04-28 Thread Michal Hocko
On Fri 28-04-17 11:17:34, Laurent Dufour wrote: > On 28/04/2017 09:31, Michal Hocko wrote: > > [CC Johannes and Vladimir - the patch is > > http://lkml.kernel.org/r/1493130472-22843-2-git-send-email-lduf...@linux.vnet.ibm.com] > > > > On Fri 28-04-17 08:07:55, Michal Hocko wrote: > >> On Thu

Re: [PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme

2017-04-28 Thread Rob Herring
On Fri, Apr 21, 2017 at 04:38:49PM +0800, Chen-Yu Tsai wrote: > The Allwinner display pipeline contains many hardware components, some > of which can consume data from one of multiple upstream components. > The numbering scheme of these components must be encoded into the device > tree so the

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