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

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

[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

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

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

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

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

[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

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

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

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

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

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

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

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

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 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: [-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*\|

[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

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

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_

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

[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 v5 02/39] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.

2018-01-03 Thread 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 the commit description since the id is not yet usptream. I found it here

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
On Wed, Jan 03, 2018 15:14:01 CET Greg Kroah-Hartman 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, Markus wrote: > > > > Hello! > > > > > > > > ORC unwinder is enab

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

2018-01-03 Thread Antoine Tenart
Hi Florian, On Thu, Dec 28, 2017 at 06:16:51AM -0800, Florian Fainelli wrote: > On 12/28/2017 02:06 AM, Antoine Tenart wrote: > > On Thu, Dec 28, 2017 at 08:20:53AM +0100, Andrew Lunn wrote: > >> On Wed, Dec 27, 2017 at 11:14:41PM +0100, Antoine Tenart wrote: > >>> This patch adds one more generic

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

2018-01-03 Thread Wang, Haiyue
On 2018-01-03 22:32, 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 SUPPORT) Arnd Bergmann

Re: [PATCH v3 1/2] kprobes: propagate error from arm_kprobe_ftrace()

2018-01-03 Thread Steven Rostedt
On Wed, 3 Jan 2018 02:40:47 +0100 Jessica Yu wrote: > Improve error handling when arming ftrace-based kprobes. Specifically, if > we fail to arm a ftrace-based kprobe, register_kprobe()/enable_kprobe() > should report an error instead of success. Previously, this has lead to > confusing situatio

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

2018-01-03 Thread Mark Brown
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 SUPPORT) > Arnd Bergmann (supporter:CHAR and MISC DRIVERS)

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2018-01-03 Thread Sudeep Holla
On 02/01/18 02:29, Xiongfeng Wang wrote: > Hi, > > On 2017/12/18 20:42, Morten Rasmussen wrote: >> On Fri, Dec 15, 2017 at 10:36:35AM -0600, Jeremy Linton wrote: >>> Hi, >>> >>> On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: [+Morten, Dietmar] $SUBJECT should be: arm64:

Re: [PATCH v2 5/8] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver

2018-01-03 Thread PrasannaKumar Muralidharan
Hi Guenter, On 3 January 2018 at 10:16, Guenter Roeck wrote: > On 01/02/2018 08:48 AM, Paul Cercueil wrote: >> >> Hi PrasannaKumar, >> >> Le mar. 2 janv. 2018 à 17:37, PrasannaKumar Muralidharan >> a écrit : >>> >>> Hi Paul, >>> >>> On 30 December 2017 at 19:21, Paul Cercueil wrote:

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

2018-01-03 Thread Wang, Haiyue
On 2018-01-03 19:38, Mark Brown wrote: On Sun, Dec 31, 2017 at 12:10:51AM +0100, Arnd Bergmann wrote: On Fri, Dec 29, 2017 at 2:53 AM, Haiyue Wang wrote: When PCH works under eSPI mode, the PMC (Power Management Controller) in PCH is waiting for SUS_ACK from BMC after it alerts SUS_WARN. It

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

2018-01-03 Thread Marc Kleine-Budde
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 is the new way to handle managing clocks. >>> However, to avoid breaking So

Re: [PATCH v5 4/9] drivers: base cacheinfo: Add support for ACPI based firmware tables

2018-01-03 Thread Sudeep Holla
(Sorry for the delay, just returning from vacation) On 12/12/17 23:37, Jeremy Linton wrote: > On 12/12/2017 05:02 PM, Rafael J. Wysocki wrote: [...] >> >> So call this field "token" or similar.  Don't call it "of_node" and >> don't introduce another "firmware_node" thing in addition to that. >>

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

2018-01-03 Thread SF Markus Elfring
> I don't really accept this claim... > Short informative strings worth the tiny space they consume. There can be different opinions for their usefulness. > In addition, some out-of-memory errors are recoverable, even though their > backtrace is also printed. How do you think about to suppress

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 07:39 PM, Michal Hocko wrote: > On Wed 03-01-18 19:30:38, Anshuman Khandual wrote: >> On 01/03/2018 01:55 PM, Michal Hocko wrote: >>> From: Michal Hocko >>> >>> No allocation callback is using this argument anymore. new_page_node >>> used to use this parameter to convey node_id resp.

RE: [PATCH V3 04/12] perf mmap: introduce perf_mmap__read_done

2018-01-03 Thread Liang, Kan
> Hello, > > On Thu, Dec 21, 2017 at 10:08:46AM -0800, kan.li...@intel.com wrote: > > From: Kan Liang > > > > The direction of overwrite mode is backward. The last mmap__read_event > > will set tail to map->prev. Need to correct the map->prev to head > > which is the end of next read. > > Why do

Re: Linux 4.9.74

2018-01-03 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 86a6746f6833..152ec4e87b57 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2795,6 +2795,8 @@ bytes respectively. Such letter suffixes can also be entirely om

Re: Linux 4.4.109

2018-01-03 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 5d593ecadb90..b4a83a490212 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2555,6 +2555,8 @@ bytes respectively. Such letter suffixes can also be entirely om

Linux 4.14.11

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.14.11 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

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

2018-01-03 Thread Leon Romanovsky
On Wed, Jan 03, 2018 at 01:24:59PM +0200, Tariq Toukan wrote: > > > On 03/01/2018 10:06 AM, Julia Lawall wrote: > > > > > > On Wed, 3 Jan 2018, Tariq Toukan wrote: > > > > > > > > > > > On 01/01/2018 10:46 PM, SF Markus Elfring wrote: > > > > From: Markus Elfring > > > > Date: Mon, 1 Jan 2018 21:4

Linux 4.9.74

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.9.74 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.91

2018-01-03 Thread Greg KH
I'm announcing the release of the 3.18.91 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.109

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.4.109 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.18.91

2018-01-03 Thread Greg KH
diff --git a/Makefile b/Makefile index abbfbbb7a029..d114d0641a7e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 90 +SUBLEVEL = 91 EXTRAVERSION = NAME = Diseased Newt @@ -762,6 +762,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign) #

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
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, Markus wrote: > > > > Hello! > > > > > > > > ORC unwinder is enabl

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Greg Kroah-Hartman
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, Markus wrote: > > > Hello! > > > > > > ORC unwinder is enabled in stable for wider testing but still at least one > > > bug is open

[PATCHv2] nokia N9: Add support for magnetometer

2018-01-03 Thread Pavel Machek
This adds dts support for magnetometer on Nokia N9. Signed-off-by: Pavel Machek diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts index 39e35f8..af321d8 100644 --- a/arch/arm/boot/dts/omap3-n9.dts +++ b/arch/arm/boot/dts/omap3-n9.dts @@ -36,6 +57,12 @@

Re: [PATCH v2] platform/x86: silead_dmi: Add entry for the Teclast X98 Plus II

2018-01-03 Thread Andy Shevchenko
On Wed, Jan 3, 2018 at 10:01 AM, Hans de Goede wrote: > On 03-01-18 00:40, Darren Hart wrote: >> On Tue, Jan 02, 2018 at 07:39:27PM +0100, Paul Cercueil wrote: >> Generally "testing" is the branch you want to base on if linus/master >> doesn't work as the review-* branches *will* rebase frequentl

Re: [lkp-robot] [selftests/bpf] 37f1ba0909: kernel_selftests.bpf.test_dev_cgroup.fail

2018-01-03 Thread Roman Gushchin
On Wed, Jan 03, 2018 at 10:55:41AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: 37f1ba0909dfa12c75f8e8ea7a2f01355ebd60f1 ("selftests/bpf: add a test > for device cgroup controller") > https://git.kernel.org/cgit/linux/kernel/git/torvald

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Michal Hocko
On Wed 03-01-18 19:30:38, Anshuman Khandual wrote: > On 01/03/2018 01:55 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > No allocation callback is using this argument anymore. new_page_node > > used to use this parameter to convey node_id resp. migration error > > up to move_pages code (do

Re: [PATCH] i2c: fix ACPI_I2C_OPREGION dependency

2018-01-03 Thread Auger Eric
Hi Sinan, On 03/01/18 14:39, Sinan Kaya wrote: > On 1/2/2018 1:19 PM, Sinan Kaya wrote: >> On 1/2/2018 1:10 PM, Randy Dunlap wrote: > config ACPI_I2C_OPREGION > bool "ACPI I2C Operation region support" > - depends on I2C=y && ACPI > + depends on I2C && ACPI > default y

[PATCH v2] i2c: Allow ACPI_I2C_OPREGION if I2C is built as a module

2018-01-03 Thread Eric Auger
If I2C is built as a module, ACPI_I2C_OPREGION cannot be set and any ACPI opregion calls targeting I2C fail with no opregion found. This patch allows ACPI_I2C_OPREGION to be enabled both if I2C is built into the kernel or built as a module. Signed-off-by: Eric Auger --- v1 -> v2: - reword the

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

2018-01-03 Thread Alexandru Chirvasitu
On Wed, Jan 03, 2018 at 01:47:56PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-03 13:46:42) > > I've cloned your > > > > https://anongit.freedesktop.org/git/drm-tip.git > > > > and am now trying to build it (just the master; I haven't tried > > previous commits). The build

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-03 Thread Meelis Roos
> That's the entry area, which is mapped into kernel _AND_ user space. Now > that's special because we switch CR3 while we are executing there. > > And this one is: > > 0x81e0-0x8200 2M ro PSE GLB > x pmd > > and the one we switch to is: > > 0

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 01:55 PM, Michal Hocko wrote: > From: Michal Hocko > > No allocation callback is using this argument anymore. new_page_node > used to use this parameter to convey node_id resp. migration error > up to move_pages code (do_move_page_to_node_array). The error status > never made it int

Re: cgroups(7): documenting cgroup.stat

2018-01-03 Thread Roman Gushchin
Hello, Michael! > > Hm, basically any cgroup which had some pagecache, associated during the > > lifetime, will spend some time in the dying state. This means that for > > most cgroups this number will be non-zero for some amount of time, > > which depends on global memory pressure. > > It's also

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Josh Poimboeuf
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, Markus wrote: > > > Hello! > > > > > > ORC unwinder is enabled in stable for wider testing but still at least one > > > bug is open

Re: [kernel-hardening] [PATCH] arm: kernel: implement fast refcount checking

2018-01-03 Thread Ard Biesheuvel
On 3 January 2018 at 13:36, Jinbum Park wrote: >>> This is a nice result. However, without any insight into the presence >>> of actual refcount hot spots, it is not obvious that we need this >>> patch. This is the reason we ended up enabling CONFIG_REFCOUNT_FULL >>> for arm64. I will let others co

Vibrations, audio, charging, radio on N9/N950

2018-01-03 Thread Pavel Machek
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 anyone get audio to run on N9/N950? It is marked as supported on https

Racoh Box - An alpha specification for a fair economy on available source

2018-01-03 Thread Epost
We are rebased on OpenBSD, but if the philosophy can have positive impact here aswell, it is just to do that ofcourse. "An OS is I/O via abstracted inferfaces, signal routing (scheduling etc) and usually a graphical user interface. Peak jitter below 200μs converges to optimal. The whole stream

[PATCH] tty: fix data race in n_tty_receive_buf_common

2018-01-03 Thread Gaurav Kohli
There can be a race, if receive_buf call comes before tty initialization completes in n_tty_open and tty->disc_data may be NULL. CPU0cpu1 000|n_tty_receive_buf_common() n_tty_open() -001|n_tty_receive_buf

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

2018-01-03 Thread Alexandru Chirvasitu
I've cloned your https://anongit.freedesktop.org/git/drm-tip.git and am now trying to build it (just the master; I haven't tried previous commits). The build fails at the modules stage with Makefile:1015: recipe for target 'drivers' failed make: *** [drivers] Error 2 What is the earliest commit

[PATCH v2 20/27] staging: ccree: fix indentation of func params

2018-01-03 Thread Gilad Ben-Yossef
Fix indentation of some function params in hash code for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 46 +--- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/driv

[PATCH v2 25/27] staging: ccree: remove unneeded includes

2018-01-03 Thread Gilad Ben-Yossef
Remove include files not needed for compilation. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_aead.c| 7 --- drivers/staging/ccree/cc_buffer_mgr.c | 6 -- drivers/staging/ccree/cc_cipher.c | 4 drivers/staging/ccree/cc_driver.c | 31

[PATCH v2 27/27] staging: ccree: add missing include

2018-01-03 Thread Gilad Ben-Yossef
Add the missing include of include file with function declarations. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ccree/cc_debugfs.c b/drivers/staging/ccree/cc_debugfs.c index 363a0ef..e07cbb1 100644 --

[PATCH v2 26/27] staging: ccree: update TODO

2018-01-03 Thread Gilad Ben-Yossef
Update TODO to reflect work done Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/TODO b/drivers/staging/ccree/TODO index 6d8702b..b8e163d 100644 --- a/drivers/staging/ccree/TODO +++ b/drivers

<    2   3   4   5   6   7   8   9   10   >