[PATCH] ps3_gelic_net: Delete an error message for a failed memory allocation in gelic_descr_prepare_rx()

2018-01-03 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 3 Jan 2018 14:50:59 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/ethernet/toshiba/ps3_gelic_net.c | 2 -- 1 file changed, 2

Re: [PATCH -next] irqchip/ompic: fix return value check in ompic_of_init()

2018-01-03 Thread Stafford Horne
On Tue, Jan 02, 2018 at 11:47:19AM +, Wei Yongjun wrote: > In case of error, the function ioremap() returns NULL pointer not > ERR_PTR(). The IS_ERR() test in the return value check should be > replaced with NULL test. Thanks, I am not sure why I was using the *ERR*() macros. 2 questions: -

Re: [PATCH v3] Fix loading of module radeonfb on PowerMac

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Thursday, December 21, 2017 11:07:56 PM Mathieu Malaterre wrote: > When the linux kernel is build with (typical kernel ship with Debian > installer): > > CONFIG_FB_OF=y > CONFIG_VT_HW_CONSOLE_BINDING=y > CONFIG_FB_RADEON=m > > The offb driver takes precedence over module radeonfb. It is then

Re: [PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch

2018-01-03 Thread Sergei Shtylyov
Hello! On 01/03/2018 03:26 PM, Sebastian Reichel wrote: B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to communicate with a Marvell switch. On all devices the switch is connected to a PCI based network card, which needs to be referenced by DT, so this also adds the common PCI ro

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Arnd Bergmann
On Wed, Jan 3, 2018 at 10:57 AM, Greg KH wrote: > On Wed, Jan 03, 2018 at 10:54:16AM +0100, Greg KH wrote: >> On Wed, Jan 03, 2018 at 12:24:12AM +0100, Arnd Bergmann wrote: >> > On Wed, Dec 6, 2017 at 1:18 AM, Build bot for Mark Brown >> > wrote: >> > >> > > --

Re: [PATCH v2 0/7] x86/kvm/hyperv: stable clocksorce for L2 guests when running nested KVM on Hyper-V

2018-01-03 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Paolo Bonzini writes: >> >> Patches 5-7 are >> >> Acked-by: Paolo Bonzini >> >> I would appreciate if the Hyper-V folks can provide a topic branch to be >> merged in both HV and KVM trees. >> > > There's no such thing as Hyper-V tree, patches are usually getting > mer

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Mark Brown
On Wed, Jan 03, 2018 at 03:52:12PM +0100, Arnd Bergmann wrote: > Greg and Mark, which x86-64 compiler versions do you use? gcc (Debian 6.3.0-18) 6.3.0 20170516 signature.asc Description: PGP signature

Re: [PATCH] swiotlb: suppress warning when __GFP_NOWARN is set v3

2018-01-03 Thread Joe Perches
On Wed, 2018-01-03 at 11:09 +0100, Christian König wrote: > TTM tries to allocate coherent memory in chunks of 2MB first to improve > TLB efficiency and falls back to allocating 4K pages if that fails. > > Suppress the warning when the 2MB allocations fails since there is a > valid fall back path.

Re: [PATCH v2 01/27] staging: ccree: SPDXify driver

2018-01-03 Thread Philippe Ombredanne
Gilad, On Wed, Jan 3, 2018 at 2:35 PM, Gilad Ben-Yossef wrote: > Replace verbatim GPL v2 copy with SPDX tag. > > Signed-off-by: Gilad Ben-Yossef > --- a/drivers/staging/ccree/cc_crypto_ctx.h > +++ b/drivers/staging/ccree/cc_crypto_ctx.h > @@ -1,18 +1,5 @@ > -/* > - * Copyright (C) 2012-2017 A

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Arnd Bergmann
On Wed, Jan 3, 2018 at 3:32 PM, Mark Brown wrote: > On Wed, Jan 03, 2018 at 10:28:22PM +0800, Wang, Haiyue wrote: > >> Should send to like this ? Because I add patch for Aspeed chip: > >> ./scripts/get_maintainer.pl drivers/misc/aspeed-lpc-snoop.c >> Joel Stanley (maintainer:ARM/ASPEED MACHINE SU

Re: [PATCH v6 3/6] can: m_can: Add PM Runtime

2018-01-03 Thread Faiz Abbas
Hi, On Wednesday 03 January 2018 07:55 PM, Marc Kleine-Budde wrote: > On 01/03/2018 01:39 PM, Faiz Abbas wrote: >> On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote: >>> On 12/22/2017 02:31 PM, Faiz Abbas wrote: From: Franklin S Cooper Jr Add support for PM Runtime which

Re: [PATCH] alpha: fix crash if pthread_create races with signal delivery

2018-01-03 Thread Mikulas Patocka
On Wed, 3 Jan 2018, Michael Cree wrote: > On Tue, Jan 02, 2018 at 02:01:34PM -0500, Mikulas Patocka wrote: > > On alpha, a process will crash if it attempts to start a thread and a > > signal is delivered at the same time. The crash can be reproduced with > > this program: https://cygwin.com/ml/

Re: [PATCHv1 1/6] net: dsa: Support internal phy on 'cpu' port

2018-01-03 Thread Sebastian Reichel
Hi Andrew, On Wed, Jan 03, 2018 at 02:21:28PM +0100, Andrew Lunn wrote: > On Wed, Jan 03, 2018 at 01:26:04PM +0100, Sebastian Reichel wrote: > > This adds support for enabling the internal phy for a 'cpu' port. > > It has been tested on GE B850v3 and B650v3, which have a built-in > > MV88E6240 swi

Re: [PATCH net-next 1/6] phy: add 2.5G SGMII mode to the phy_mode enum

2018-01-03 Thread Andrew Lunn
> > >>> diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h > > >>> index 4f8423a948d5..70459a28f3a1 100644 > > >>> --- a/include/linux/phy/phy.h > > >>> +++ b/include/linux/phy/phy.h > > >>> @@ -28,6 +28,7 @@ enum phy_mode { > > >>> PHY_MODE_USB_DEVICE, > > >>> PHY_MODE_

[PATCH] net: plip: Delete an error message for a failed memory allocation in plip_receive_packet()

2018-01-03 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 3 Jan 2018 16:00:23 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/plip/plip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 d

[PATCH net-next v2 3/4] net: mvpp2: 1000baseX support

2018-01-03 Thread Antoine Tenart
This patch adds the 1000Base-X PHY mode support in the Marvell PPv2 driver. 1000Base-X is quite close the SGMII and uses nearly the same code path. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 45 1 file changed, 35 insertions(+),

[PATCH net-next v2 2/4] phy: cp110-comphy: 2.5G SGMII mode

2018-01-03 Thread Antoine Tenart
This patch allow the CP100 comphy to configure some lanes in the 2.5G SGMII mode. This mode is quite close to SGMII and uses nearly the same code path. Signed-off-by: Antoine Tenart --- drivers/phy/marvell/phy-mvebu-cp110-comphy.c | 17 ++--- 1 file changed, 14 insertions(+), 3 delet

[PATCH net-next v2 0/4] net: mvpp2: 1000BaseX and 2000BaseX support

2018-01-03 Thread Antoine Tenart
Hi all, This series adds 1000BaseX and 2500BaseX support to the Marvell PPv2 driver. In order to use it, the 2.5 SGMII mode is added in the Marvell common PHY driver (cp110-comphy). This was tested on a mcbin. All patches should probably go through net-next as patch 4/4 depends on patch 1/4 to b

Re: [PATCH v1 1/6] vgacon: Set VGA struct resource types

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Monday, December 04, 2017 06:40:04 PM Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Set the resource type when we reserve VGA-related I/O port resources. > > The resource code doesn't actually look at the type, so it inserts > resources without a type in the tree correctly even without this

[PATCH net-next v2 1/4] phy: add 2.5G SGMII mode to the phy_mode enum

2018-01-03 Thread Antoine Tenart
This patch adds one more generic PHY mode to the phy_mode enum, to allow configuring generic PHYs to the 2.5G SGMII mode by using the set_mode callback. Signed-off-by: Antoine Tenart --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/phy/phy.h b/include

[PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Antoine Tenart
This patch adds the 2500Base-X PHY mode support in the Marvell PPv2 driver. 2500Base-X is quite close to 1000Base-X and SGMII modes and uses nearly the same code path. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 40 1 file changed

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2018-01-03 Thread Bartlomiej Zolnierkiewicz
On Tuesday, December 19, 2017 10:15:07 AM Joe Perches wrote: > Convert DEVICE_ATTR uses to DEVICE_ATTR_RW where possible. > > Done with perl script: > > $ git grep -w --name-only DEVICE_ATTR | \ > xargs perl -i -e 'local $/; while (<>) { > s/\bDEVICE_ATTR\s*\(\s*(\w+)\s*,\s*\(?(\s*S_IRUGO\s*\|

Re: [PATCH v6 3/6] can: m_can: Add PM Runtime

2018-01-03 Thread Marc Kleine-Budde
On 01/03/2018 04:06 PM, Faiz Abbas wrote: > Hi, > > On Wednesday 03 January 2018 07:55 PM, Marc Kleine-Budde wrote: >> On 01/03/2018 01:39 PM, Faiz Abbas wrote: >>> On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote: On 12/22/2017 02:31 PM, Faiz Abbas wrote: > From: Franklin S C

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Arnd Bergmann
On Wed, Jan 3, 2018 at 3:21 AM, Wang, Haiyue wrote: > On 2018-01-03 00:23, Arnd Bergmann wrote: >> On Tue, Jan 2, 2018 at 4:36 PM, Wang, Haiyue >> wrote: >>> On 2018-01-02 23:13, Arnd Bergmann wrote: > > On 2017-12-31 07:10, Arnd Bergmann wrote: On the slave side, it seems that aspe

Re: [PATCH net] ethtool: do not print warning for applications using legacy API

2018-01-03 Thread Stephen Hemminger
On Tue, 02 Jan 2018 21:50:02 -0500 (EST) David Miller wrote: > From: Stephen Hemminger > Date: Fri, 29 Dec 2017 10:02:52 -0800 > > > From: Stephen Hemminger > > > > In kernel log ths message appears on every boot: > > "warning: `NetworkChangeNo' uses legacy ethtool link settings API, > > l

[PATCH] arm64: dts: marvell: add Ethernet aliases

2018-01-03 Thread Antoine Tenart
From: Yan Markman This patch adds Ethernet aliases in the Marvell Armada 7040 DB, 8040 DB and 8040 mcbin device trees so that the bootloader setup the MAC addresses correctly. Signed-off-by: Yan Markman [Antoine: commit message, small fixes] Signed-off-by: Antoine Tenart --- Hi, This patch i

Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Andrew Lunn
> @@ -4612,6 +4616,9 @@ static int mvpp22_comphy_init(struct mvpp2_port *port) > case PHY_INTERFACE_MODE_1000BASEX: > mode = PHY_MODE_SGMII; > break; > + case PHY_INTERFACE_MODE_2500BASEX: > + mode = PHY_MODE_2500SGMII; > + break; I thi

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Thomas Gleixner
On Wed, 3 Jan 2018, Lars Wendler wrote: > Am Wed, 3 Jan 2018 13:05:38 +0100 (CET) > schrieb Thomas Gleixner : > > Also can you please try Linus v4.15-rc6 with PTI enabled so we can see > > whether that's a backport issue or a general one? > > Same problem with 4.15-rc6. So I suppose that means it'

Re: [PATCH v5 02/39] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.

2018-01-03 Thread Greentime Hu
Hi, Stafford: 2018-01-03 22:38 GMT+08:00 Stafford Horne : > Hello, > > On Tue, Jan 02, 2018 at 04:24:34PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> It will be built failed if commit id: d25ea659 is selected. This patch can >> fix this >> build error. > > Ideally you would mention th

Re: [PATCHv1 3/6] ARM: dts: imx6q-bx50v3: Add internal switch

2018-01-03 Thread Sebastian Reichel
Hi, On Wed, Jan 03, 2018 at 05:48:42PM +0300, Sergei Shtylyov wrote: > Hello! > > On 01/03/2018 03:26 PM, Sebastian Reichel wrote: > > > B850v3, B650v3 and B450v3 all have a GPIO bit banged MDIO bus to > > communicate with a Marvell switch. On all devices the switch is > > connected to a PCI bas

Re: [PATCH v3] Fix loading of module radeonfb on PowerMac

2018-01-03 Thread Lennart Sorensen
On Wed, Jan 03, 2018 at 03:47:35PM +0100, Bartlomiej Zolnierkiewicz wrote: > On Thursday, December 21, 2017 11:07:56 PM Mathieu Malaterre wrote: > > When the linux kernel is build with (typical kernel ship with Debian > > installer): > > > > CONFIG_FB_OF=y > > CONFIG_VT_HW_CONSOLE_BINDING=y > > CO

Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Antoine Tenart
Hi Andrew, On Wed, Jan 03, 2018 at 04:20:36PM +0100, Andrew Lunn wrote: > > @@ -4612,6 +4616,9 @@ static int mvpp22_comphy_init(struct mvpp2_port *port) > > case PHY_INTERFACE_MODE_1000BASEX: > > mode = PHY_MODE_SGMII; > > break; > > + case PHY_INTERFACE_MODE_2500BASE

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Arnd Bergmann
On Wed, Jan 3, 2018 at 3:59 PM, Mark Brown wrote: > On Wed, Jan 03, 2018 at 03:52:12PM +0100, Arnd Bergmann wrote: > >> Greg and Mark, which x86-64 compiler versions do you use? > > gcc (Debian 6.3.0-18) 6.3.0 20170516 I installed that version here, same as my other gcc-6 versions, the "-Wno-fram

Re: Vibrations, audio, charging, radio on N9/N950

2018-01-03 Thread Filip Matijević
Hi, On 01/03/2018 02:56 PM, Pavel Machek wrote: > Hi! > > Sebasian, you submitted patch to enable vibrations on N950. I am > trying to do the same now on N9... I guess I enabled the dts, but > .. how do I actually ask for vibrations? /dev/input/eventX does not > seem to be present. > > Did anyon

Re: [PATCH 3/5] arch: Remove clkdev.h asm-generic from Kbuild

2018-01-03 Thread Arnd Bergmann
On Wed, Jan 3, 2018 at 2:35 AM, Stephen Boyd wrote: > Now that every architecture is using the generic clkdev.h file > and we no longer include asm/clkdev.h anywhere in the tree, we > can remove it. > > Cc: Russell King > Cc: Arnd Bergmann > Cc: > Signed-off-by: Stephen Boyd Acked-by: Arnd Be

Re: Vibrations, audio, charging, radio on N9/N950

2018-01-03 Thread Pali Rohár
On Wednesday 03 January 2018 16:34:15 Filip Matijević wrote: > Hi, > > On 01/03/2018 02:56 PM, Pavel Machek wrote: > > Hi! > > > > Sebasian, you submitted patch to enable vibrations on N950. I am > > trying to do the same now on N9... I guess I enabled the dts, but > > .. how do I actually ask fo

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Borislav Petkov
On Wed, Jan 03, 2018 at 02:30:36PM +0100, Lars Wendler wrote: > Same problem with 4.15-rc6. So I suppose that means it's a general > issue. So gentoo recently broke the kernel, see 3ce120b16cc5 ("kbuild: add '-fno-stack-check' to kernel build options") and you say you hit the same problem with -

Re: v3.18.86 build: 0 failures 1 warnings (v3.18.86)

2018-01-03 Thread Mark Brown
On Wed, Jan 03, 2018 at 04:32:35PM +0100, Arnd Bergmann wrote: > It might be a problem with different 'make' versions, or something else > in the environment that leads to "-Wno-frame-address" not being set > on the command line instead. I'm using "GNU Make 4.1" - this is all just the default Deb

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Dave Hansen
On 01/03/2018 07:21 AM, Thomas Gleixner wrote: > On Wed, 3 Jan 2018, Lars Wendler wrote: >> Am Wed, 3 Jan 2018 13:05:38 +0100 (CET) >> schrieb Thomas Gleixner : >>> Also can you please try Linus v4.15-rc6 with PTI enabled so we can see >>> whether that's a backport issue or a general one? >> Same p

Applied "ASoC: mediatek: cleanup audio driver for MT2701" to the asoc tree

2018-01-03 Thread Mark Brown
The patch ASoC: mediatek: cleanup audio driver for MT2701 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "ASoC: mediatek: rework clock functions for MT2701" to the asoc tree

2018-01-03 Thread Mark Brown
The patch ASoC: mediatek: rework clock functions for MT2701 has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Re: Vibrations, audio, charging, radio on N9/N950

2018-01-03 Thread Ivaylo Dimitrov
On 3.01.2018 17:40, Pali Rohár wrote: On Wednesday 03 January 2018 16:34:15 Filip Matijević wrote: Hi, On 01/03/2018 02:56 PM, Pavel Machek wrote: Hi! Sebasian, you submitted patch to enable vibrations on N950. I am trying to do the same now on N9... I guess I enabled the dts, but .. how d

Re: [PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 05:44:03PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:19 EET Jacopo Mondi wrote: > > Remove soc_camera framework dependencies from ov772x sensor driver. > > - Handle clock and gpios > > - Regi

[PATCH v2] ARM: dts: ls1021a: add nodes for on-chip ram

2018-01-03 Thread Rasmus Villemoes
Although the two nodes constitute one contiguous 128K region, still describe them separately: - That's how they are described in the reference manual: "Each OCRAM occupies a 64 KB of address region...", and the names ocram1 and ocram2 are also as used in the manual. - The two areas are treate

[PATCH net] net: stmmac: enable EEE in MII, GMII or RGMII only

2018-01-03 Thread Jerome Brunet
Note in the databook - Section 4.4 - EEE : " The EEE feature is not supported when the MAC is configured to use the TBI, RTBI, SMII, RMII or SGMII single PHY interface. Even if the MAC supports multiple PHY interfaces, you should activate the EEE mode only when the MAC is operating with GMII, MII,

Re: "bad pmd" errors + oops with KPTI on 4.14.11 after loading X.509 certs

2018-01-03 Thread Ingo Molnar
* Greg Kroah-Hartman wrote: > On Wed, Jan 03, 2018 at 12:46:00AM -0800, Benjamin Gilbert wrote: > > [resending with less web] > > (adding lkml and x86 developers) > > > Hi all, > > > > In our regression tests on kernel 4.14.11, we're occasionally seeing a run > > of "bad pmd" messages during

Re: [PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-03 Thread Laurent Pinchart
Hi Jacopo, On Wednesday, 3 January 2018 17:44:58 EET jacopo mondi wrote: > On Tue, Jan 02, 2018 at 05:44:03PM +0200, Laurent Pinchart wrote: > > On Thursday, 28 December 2017 16:01:19 EET Jacopo Mondi wrote: > >> Remove soc_camera framework dependencies from ov772x sensor driver. > >> - Handle clo

RE: [EXT] Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Stefan Chulski
> -Original Message- > From: Antoine Tenart [mailto:antoine.ten...@free-electrons.com] > Sent: Wednesday, January 03, 2018 5:32 PM > To: Andrew Lunn > Cc: Antoine Tenart ; > da...@davemloft.net; kis...@ti.com; gregory.clem...@free-electrons.com; > li...@armlinux.org.uk; m...@semihalf.com

Re: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Andrew Lunn
On Wed, Jan 03, 2018 at 04:32:27PM +0100, Antoine Tenart wrote: > Hi Andrew, > > On Wed, Jan 03, 2018 at 04:20:36PM +0100, Andrew Lunn wrote: > > > @@ -4612,6 +4616,9 @@ static int mvpp22_comphy_init(struct mvpp2_port > > > *port) > > > case PHY_INTERFACE_MODE_1000BASEX: > > > mode =

Re: [PATCH v4] uapi libc compat: add fallback for unsupported libcs

2018-01-03 Thread David Miller
From: Hauke Mehrtens Date: Mon, 1 Jan 2018 19:33:20 +0100 > From: Felix Janda > > libc-compat.h aims to prevent symbol collisions between uapi and libc > headers for each supported libc. This requires continuous coordination > between them. > > The goal of this commit is to improve the situat

[PATCH] arm64: defconfig: enable MESON EFUSE

2018-01-03 Thread Jerome Brunet
Enable nvmem meson efuse driver as a module Signed-off-by: Jerome Brunet --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6356c6da34ea..1acd8fb440de 100644 --- a/arch/arm64/configs/defconfig +++

[GIT PULL REQUEST] at24 updates for 4.16

2018-01-03 Thread Bartosz Golaszewski
Hi Wolfram, The following changes since commit 30a7acd573899fd8b8ac39236eff6468b195ac7d: Linux 4.15-rc6 (2017-12-31 14:47:43 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/at24-4.16-updates-for-wolfram for you to fetch chan

Re: [PATCH] ethernet: mlx4: Delete an error message for a failed memory allocation in five functions

2018-01-03 Thread Jason Gunthorpe
On Wed, Jan 03, 2018 at 01:24:59PM +0200, Tariq Toukan wrote: > >Strings take up space. Since there is a backtrace on an out of memory > >problem, if the string does not provide any more information than the > >position of the call, then there is not much added value. I don't know > >what was th

[PATCH] virtio_blk: print capacity at probe time

2018-01-03 Thread Stefan Hajnoczi
Print the capacity of the block device when the driver is probed. Many users expect this since SCSI disks (sd) do it. Moreover, kernel dmesg output is the primary source of troubleshooting information so it's helpful to include the disk size there. The capacity is already printed by virtio_blk w

Re: [PATCH] arm64: dts: marvell: add Ethernet aliases

2018-01-03 Thread Gregory CLEMENT
Hi Antoine, On mer., janv. 03 2018, Antoine Tenart wrote: > From: Yan Markman > > This patch adds Ethernet aliases in the Marvell Armada 7040 DB, 8040 DB > and 8040 mcbin device trees so that the bootloader setup the MAC > addresses correctly. > > Signed-off-by: Yan Markman > [Antoine: comm

RE: [PATCH net-next v2 4/4] net: mvpp2: 2500baseX support

2018-01-03 Thread Stefan Chulski
> -Original Message- > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Wednesday, January 03, 2018 5:53 PM > To: Antoine Tenart > Cc: da...@davemloft.net; kis...@ti.com; gregory.clement@free- > electrons.com; li...@armlinux.org.uk; m...@semihalf.com; Stefan Chulski > ; Yan Markman ; >

Re: general protection fault in fib6_add (2)

2018-01-03 Thread David Ahern
[ +wei...@google.com ] On 1/2/18 3:58 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 61233580f1f33c50e159c50e24d80ffd2ba2e06b > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console o

Re: [PATCH 2/2] serial: imx: fix endless loop during suspend

2018-01-03 Thread Fabio Estevam
Hi Martin, On Tue, Jan 2, 2018 at 2:15 PM, Martin Kaiser wrote: > I tested on an imx258. I am not able to reproduce this problem on a imx25 pdk running 4.14.11 or linux-next. Is it 100% reproducible on your board? Care to share its dts? Do you use multiple UART ports? Do any of them use RTS/C

[tip:efi/core] x86/efi: Fix kernel param add_efi_memmap regression

2018-01-03 Thread tip-bot for Dave Young
Commit-ID: 835bcec5fdf3f9e880111b482177e7e70e3596da Gitweb: https://git.kernel.org/tip/835bcec5fdf3f9e880111b482177e7e70e3596da Author: Dave Young AuthorDate: Tue, 2 Jan 2018 17:21:09 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 13:54:31 +0100 x86/efi: Fix kernel param add_

[tip:efi/core] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread tip-bot for Matt Fleming
Commit-ID: 81b60dbff04980a45b348c5b5eeca2713d4594ca Gitweb: https://git.kernel.org/tip/81b60dbff04980a45b348c5b5eeca2713d4594ca Author: Matt Fleming AuthorDate: Wed, 3 Jan 2018 09:44:17 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:18 +0100 MAINTAINERS: Remove Matt Fle

[tip:x86/pti] x86/cpu, x86/pti: Do not enable PTI on AMD processors

2018-01-03 Thread tip-bot for Tom Lendacky
Commit-ID: 694d99d40972f12e59a3696effee8a376b79d7c8 Gitweb: https://git.kernel.org/tip/694d99d40972f12e59a3696effee8a376b79d7c8 Author: Tom Lendacky AuthorDate: Tue, 26 Dec 2017 23:43:54 -0600 Committer: Thomas Gleixner CommitDate: Wed, 3 Jan 2018 15:57:59 +0100 x86/cpu, x86/pti: Do no

Re: [PATCH v2 7/9] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Wed, Jan 03, 2018 at 05:49:55PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > > > > DT based platforms won't have any info->xlkc_rate, so they should be > > fine. I wonder how could I set rate in board code, as I'm just > > registering an alias for the clock there... > > Exactly a

[tip:efi/core] efi/capsule-loader: Fix pr_err() string to end with newline

2018-01-03 Thread tip-bot for Arvind Yadav
Commit-ID: 76ad9dffd91be11e51b847eb115d623b713a3bdc Gitweb: https://git.kernel.org/tip/76ad9dffd91be11e51b847eb115d623b713a3bdc Author: Arvind Yadav AuthorDate: Tue, 2 Jan 2018 18:10:38 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:48 +0100 efi/capsule-loader: Fix pr_e

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread jacopo mondi
Hi Laurent, On Tue, Jan 02, 2018 at 05:50:38PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thursday, 28 December 2017 16:01:21 EET Jacopo Mondi wrote: > > - priv->clk = v4l2_clk_get(&client->dev, "mclk"); > > - if (IS_ERR(priv->clk)) > > + priv->clk = clk_

[tip:efi/core] arm64/efi: Ignore EFI_MEMORY_XP attribute if RP and/or WP are set

2018-01-03 Thread tip-bot for Ard Biesheuvel
Commit-ID: 1e9de1d2207d67b97bb0b62e38454b663d6542fa Gitweb: https://git.kernel.org/tip/1e9de1d2207d67b97bb0b62e38454b663d6542fa Author: Ard Biesheuvel AuthorDate: Tue, 2 Jan 2018 18:10:39 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:48 +0100 arm64/efi: Ignore EFI_MEMO

RE: UBSAN: Undefined behaviour in net/wireless/nl80211.c:718:4: -1665903437 * 100 cannot be represented in type 'int'

2018-01-03 Thread Mario.Limonciello
> -Original Message- > From: Paul Menzel [mailto:pmenzel+linux-wirel...@molgen.mpg.de] > Sent: Wednesday, January 3, 2018 10:20 AM > To: Johannes Berg > Cc: linux-wirel...@vger.kernel.org; linux-kernel@vger.kernel.org; it+linux- > wirel...@molgen.mpg.de; Limonciello, Mario ; > Thorsten Lee

[tip:efi/core] efi: Use PTR_ERR_OR_ZERO()

2018-01-03 Thread tip-bot for Vasyl Gomonovych
Commit-ID: 50342b2e498777df237a40a23eebc02f0935e636 Gitweb: https://git.kernel.org/tip/50342b2e498777df237a40a23eebc02f0935e636 Author: Vasyl Gomonovych AuthorDate: Tue, 2 Jan 2018 18:10:40 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:48 +0100 efi: Use PTR_ERR_OR_ZERO

[tip:efi/core] efi: Move ARM CPER code to new file

2018-01-03 Thread tip-bot for Tyler Baicar
Commit-ID: c6d8c8ef1d0d94fdae9f5d72982963db89f9cdad Gitweb: https://git.kernel.org/tip/c6d8c8ef1d0d94fdae9f5d72982963db89f9cdad Author: Tyler Baicar AuthorDate: Tue, 2 Jan 2018 18:10:41 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:48 +0100 efi: Move ARM CPER code to n

[tip:x86/pti] x86/pti: Make sure the user/kernel PTEs match

2018-01-03 Thread tip-bot for Thomas Gleixner
Commit-ID: 52994c256df36fda9a715697431cba9daecb6b11 Gitweb: https://git.kernel.org/tip/52994c256df36fda9a715697431cba9daecb6b11 Author: Thomas Gleixner AuthorDate: Wed, 3 Jan 2018 15:57:59 +0100 Committer: Thomas Gleixner CommitDate: Wed, 3 Jan 2018 15:57:59 +0100 x86/pti: Make sure th

Re: [RESEND PATCH v2 05/15] ASoC: qcom: qdsp6: Add support to Q6ADM

2018-01-03 Thread Srinivas Kandagatla
Thanks for your review comments. On 02/01/18 01:50, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to q6 ADM (Audio Device Manager) module in q6dsp. ADM performs routing between audio streams and AF

Re: [RESEND PATCH v2 01/15] dt-bindings: soc: qcom: Add bindings for APR bus

2018-01-03 Thread Srinivas Kandagatla
Thanks for review comments! On 03/01/18 00:35, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch add dt bindings for Qualcomm APR bus driver Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/soc/qc

Re: [RESEND PATCH v2 04/15] ASoC: qcom: qdsp6: Add support to Q6AFE

2018-01-03 Thread Srinivas Kandagatla
Thanks for the comments! On 02/01/18 00:45, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: [..] + +config SND_SOC_QDSP6_AFE + tristate + default n Do you see a particular benefit of having one kernel module per function? Why not just co

Re: [RESEND PATCH v2 03/15] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2018-01-03 Thread Srinivas Kandagatla
Thanks for the review comments, On 02/01/18 00:19, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: +static inline int q6dsp_map_channels(u8 *ch_map, int ch) +{ + memset(ch_map, 0, PCM_FORMAT_MAX_NUM_CHANNEL); This implies that ch_map is always

Re: [RESEND PATCH v2 06/15] ASoC: qcom: qdsp6: Add support to Q6ASM

2018-01-03 Thread Srinivas Kandagatla
On 02/01/18 04:43, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds basic support to Q6 ASM (Audio Stream Manager) module on Q6DSP. ASM supports up to 8 concurrent streams. each stream can be setup as playba

Re: [RESEND PATCH v2 07/15] ASoC: qcom: q6asm: Add support to memory map and unmap

2018-01-03 Thread Srinivas Kandagatla
Thanks for your review comments. On 02/01/18 05:48, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla ---

[tip:efi/core] efi: Parse ARM error information value

2018-01-03 Thread tip-bot for Tyler Baicar
Commit-ID: 301f55b1a9177132d2b9ce8a90bf0ae4b37bb850 Gitweb: https://git.kernel.org/tip/301f55b1a9177132d2b9ce8a90bf0ae4b37bb850 Author: Tyler Baicar AuthorDate: Tue, 2 Jan 2018 18:10:42 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 14:03:48 +0100 efi: Parse ARM error informa

Re: [RESEND PATCH v2 13/15] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2018-01-03 Thread Srinivas Kandagatla
On 03/01/18 00:28, Bjorn Andersson wrote: On Thu 14 Dec 09:34 PST 2017, srinivas.kandaga...@linaro.org wrote: +++ b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt Wouldn't it be possible to describe all(?) qdsp based machines in this one document? I.e. should we name it a little b

Re: [RESEND PATCH v2 09/15] ASoC: qcom: qdsp6: Add support to Q6CORE

2018-01-03 Thread Srinivas Kandagatla
Thanks for the review. On 02/01/18 22:15, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-o

[tip:x86/pti] x86/dumpstack: Fix partial register dumps

2018-01-03 Thread tip-bot for Josh Poimboeuf
Commit-ID: a9cdbe72c4e8bf3b38781c317a79326e2e1a230d Gitweb: https://git.kernel.org/tip/a9cdbe72c4e8bf3b38781c317a79326e2e1a230d Author: Josh Poimboeuf AuthorDate: Sun, 31 Dec 2017 10:18:06 -0600 Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 16:14:46 +0100 x86/dumpstack: Fix partia

Re: [RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2018-01-03 Thread Srinivas Kandagatla
Thanks for the review comments. On 03/01/18 00:16, Bjorn Andersson wrote: On Thu 14 Dec 09:34 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla uThis patch adds support to DB820c machine driver. Drop 'u' and expand the message to claim that this is the machine driv

Re: [RESEND PATCH v2 15/15] arm64: dts: msm8996: db820c: Add sound card support

2018-01-03 Thread Srinivas Kandagatla
Thanks for the comments, On 03/01/18 00:22, Bjorn Andersson wrote: On Thu 14 Dec 09:34 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq

Re: [PATCH v4 05/19] afs: convert to new i_version API

2018-01-03 Thread David Howells
Jeff Layton wrote: > Thanks! I updated that part of the the commit log to read: > > Note that AFS has quite a different definition for this counter. AFS > only increments it on changes to the data to the data in regular files > and contents of the directories. Inode metadata changes

Re: [RESEND PATCH v2 12/15] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2018-01-03 Thread Srinivas Kandagatla
Thanks for the comments. On 03/01/18 00:03, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: [..] + +enum stream_state { + IDLE = 0, + STOPPED, + RUNNING, These are too generic. Yep, I will prefix them with Q6ASM. +}; + +struct

[tip:x86/pti] x86/dumpstack: Print registers for first stack frame

2018-01-03 Thread tip-bot for Josh Poimboeuf
Commit-ID: 3ffdeb1a02be3086f1411a15c5b9c481fa28e21f Gitweb: https://git.kernel.org/tip/3ffdeb1a02be3086f1411a15c5b9c481fa28e21f Author: Josh Poimboeuf AuthorDate: Sun, 31 Dec 2017 10:18:07 -0600 Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 16:14:46 +0100 x86/dumpstack: Print regi

Re: [RESEND PATCH v2 11/15] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2018-01-03 Thread Srinivas Kandagatla
On 02/01/18 23:28, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Isn't the list of backend DAIs platform-dependent? dai links and connections between backend and

Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
Thank you for that! I'd been getting used to seeing warnings to that effect, so got complacent and stopped checking for errors.. In any case, it's now compiled and installed, and I will report back with any new logs if / when another hang occurs. On Wed, Jan 03, 2018 at 02:53:45PM +, Chris W

Applied "ASoC: mediatek: update clock related properties of MT2701 AFE" to the asoc tree

2018-01-03 Thread Mark Brown
The patch ASoC: mediatek: update clock related properties of MT2701 AFE has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 ho

Re: [RESEND PATCH v2 10/15] ASoC: qcom: qdsp6: Add support to q6routing driver

2018-01-03 Thread Srinivas Kandagatla
On 02/01/18 23:00, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the

Re: [RESEND PATCH v2 08/15] ASoC: qcom: q6asm: add support to audio stream apis

2018-01-03 Thread Srinivas Kandagatla
Thanks for your comments. On 02/01/18 20:08, Bjorn Andersson wrote: On Thu 14 Dec 09:33 PST 2017, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla ---

Re: [RESEND PATCH v2 02/15] soc: qcom: add support to APR bus driver

2018-01-03 Thread Srinivas Kandagatla
Thank Bjorn for the Review. On 01/01/18 23:29, Bjorn Andersson wrote: diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index b81374bb6713..1daa39925dd4 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -97,4 +97,12 @@ config QCOM_WCNSS_CTRL Client

[tip:efi/core] efi/capsule-loader: Reinstate virtual capsule mapping

2018-01-03 Thread tip-bot for Ard Biesheuvel
Commit-ID: f24c4d478013d82bd1b943df566fff3561d52864 Gitweb: https://git.kernel.org/tip/f24c4d478013d82bd1b943df566fff3561d52864 Author: Ard Biesheuvel AuthorDate: Tue, 2 Jan 2018 17:21:10 + Committer: Ingo Molnar CommitDate: Wed, 3 Jan 2018 13:54:31 +0100 efi/capsule-loader: Reinst

Re: [PATCH V2] mfd: rtsx: release IRQ during shutdown

2018-01-03 Thread Chris Clayton
On 03/01/18 12:32, Sinan Kaya wrote: > 'Commit cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during > shutdown")' revealed a resource leak in rtsx_pci driver during shutdown. > > Issue shows up as a warning during shutdown as follows: > > remove_proc_entry: removing non-empty directory 'ir

Crashes with KPTI and -rc6

2018-01-03 Thread Laura Abbott
Hi, Fedora got a report via IRC of a double fault with KPTI https://paste.fedoraproject.org/paste/SL~of04ZExXP6AN2gcJi7A This is on -rc6 . I saw the one fix posted already which I'll pull in but I wanted to report this as a heads up in case there are other issues. Full tree and configs are at h

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Josh Poimboeuf
On Wed, Jan 03, 2018 at 03:14:55PM +0100, Markus wrote: > On Wed, Jan 03, 2018 at 14:59:24 CET Josh Poimboeuf wrote: > > On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > > > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Mar

Re: [PATCH] [RFT] crypto: aes-generic - turn off -ftree-pre and -ftree-sra

2018-01-03 Thread Arnd Bergmann
On Fri, Dec 22, 2017 at 4:47 PM, Ard Biesheuvel wrote: > On 21 December 2017 at 13:47, PrasannaKumar Muralidharan > wrote: >> On 21 December 2017 at 17:52, Ard Biesheuvel >> wrote: >>> On 21 December 2017 at 10:20, Arnd Bergmann wrote: >>> >>> So my vote is to disable UBSAN for all such ciphe

Re: [PATCH v3] Fix loading of module radeonfb on PowerMac

2018-01-03 Thread Mathieu Malaterre
Hi Bartlomiej, On Wed, Jan 3, 2018 at 4:23 PM, Lennart Sorensen wrote: > On Wed, Jan 03, 2018 at 03:47:35PM +0100, Bartlomiej Zolnierkiewicz wrote: >> On Thursday, December 21, 2017 11:07:56 PM Mathieu Malaterre wrote: >> > When the linux kernel is build with (typical kernel ship with Debian >> >

Re: [PATCH v2 9/9] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-03 Thread Fabio Estevam
Hi Jacopo, On Thu, Dec 28, 2017 at 12:01 PM, Jacopo Mondi wrote: > + if (priv->rstb_gpio) { > + gpiod_set_value(priv->rstb_gpio, 0); > + usleep_range(500, 1000); > + gpiod_set_value(priv->rstb_gpio, 1); > + usleep_range(500, 1000); T

Re: [PATCHv4 0/2] capability controlled user-namespaces

2018-01-03 Thread Eric W. Biederman
Mahesh Bandewar writes: > From: Mahesh Bandewar > > TL;DR version > - > Creating a sandbox environment with namespaces is challenging > considering what these sandboxed processes can engage into. e.g. > CVE-2017-6074, CVE-2017-7184, CVE-2017-7308 etc. just to name few. > Current form

Re: [PATCH] s3mci: mark debug_regs[] as static

2018-01-03 Thread Ulf Hansson
On 3 January 2018 at 10:26, Arnd Bergmann wrote: > The global array clashes with a newly added symbol of the same name: > > drivers/staging/ccree/cc_debugfs.o:(.data+0x0): multiple definition of > `debug_regs' > drivers/mmc/host/s3cmci.o:(.data+0x70): first defined here > > We should fix both, th

[PATCH v2 0/9] ASoC: Intel: Kconfig+acpi fixes

2018-01-03 Thread Pierre-Louis Bossart
The first patch solves issues reported by 0day with non-ACPI platforms The second patch implements what Linus, Takashi and Mark requested: a top-level selector defaulting to 'y' to easily filter all other options and with no impact on code generation. There should be no functionality change and wi

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