Re: [RFC/RFT PATCH 3/3] PCI/ACPI: Add ACPI pci_bus_find_numa_node() implementation

2017-05-15 Thread Zhou Wang
On 2017/4/26 18:06, Lorenzo Pieralisi wrote: > The introduction of pci_bus_find_numa_node(pci_bus) allows at PCI > host bridge registration to detect the NUMA node for a given > struct pci_bus.dev. Implement an ACPI method that, through > the struct pci_bus.bridge ACPI companion, retrieve and

[PATCH 1/3] arm64: dts: hi3660: add pcie node

2017-05-15 Thread Song Xiaowei
Add PCIe node for hi3660, and add binding documentation. Cc: Guodong Xu Signed-off-by: Song Xiaowei --- .../devicetree/bindings/pci/hisilicon-pcie.txt | 52 ++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 31

Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-15 Thread Peter Zijlstra
On Fri, May 12, 2017 at 03:19:17PM -0700, Darren Hart wrote: > On Sat, May 13, 2017 at 12:11:09AM +0200, Peter Zijlstra wrote: > > And I really _really_ hate to see that rest crap spread here. Can't we > > just delete all that nonsense and go back to 80 column 7bit ASCII ? > > > > Depending on

Re: [PATCH 0/2] spi: spidev: Introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command

2017-05-15 Thread Seraphime Kirkovski
Any thoughts on this ?

Re: [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ

2017-05-15 Thread Mark Brown
On Tue, May 09, 2017 at 02:24:01PM +0200, Seraphime Kirkovski wrote: > This adds documentation of the new spidev ioctl. This should have been part of the first path adding the new ioctl() :( signature.asc Description: PGP signature

Re: [PATCH] spi: SPI_TI_QSPI should depend on HAS_DMA

2017-05-15 Thread Mark Brown
On Thu, May 04, 2017 at 09:37:18AM +0200, Geert Uytterhoeven wrote: > If NO_DMA=y: > > ERROR: "bad_dma_ops" [drivers/spi/spi-ti-qspi.ko] undefined! > > Add a dependency on HAS_DMA to fix this. There's no progress on fixing the architectures that don't do DMA to stub it out? :(

Re: [PATCH] ASoC: max98927: Adding support for TDM mode and Envelop tracking control

2017-05-15 Thread Mark Brown
On Fri, May 05, 2017 at 10:42:15AM -0700, Ryan Lee wrote: > Signed-off-by: Ryan Lee > --- The subject line suggests that this is adding two new features. Unless they are very closely related in the code they should be submitted as separate patches as covered in

Re: [PATCH] ASoC: codec: wm9860: avoid maybe-uninitialized warning

2017-05-15 Thread Mark Brown
On Wed, Apr 19, 2017 at 07:04:20PM +0200, Arnd Bergmann wrote: > The new PLL configuration code triggers a harmless warning: This doens't apply against current code, please check and resend. signature.asc Description: PGP signature

Re: [PATCH 6/9] regulator: palmas: Drop unnecessary static

2017-05-15 Thread Mark Brown
On Thu, May 04, 2017 at 10:10:51PM +0200, Julia Lawall wrote: > Drop static on a local variable, when the variable is initialized before > any use, on every possible execution path through the function. When sending a bunch of changes like this please either send the cover letter to everyone or

Re: [RFC] regulator: Shared regulators (configured by bootloader)

2017-05-15 Thread Mark Brown
On Mon, May 08, 2017 at 03:51:02PM +0530, Viresh Kumar wrote: > I am looking to solve a problem faced by some of the Qualcomm > platforms and want your suggestions on how should we fix it. One of my > ex-colleague tried to solve [1] this problem but that thread never > concluded (and I don't

Re: [PATCH v2 15/18] dt-bindings: sound: Add bindings for Cirrus Logic Madera codecs

2017-05-15 Thread Mark Brown
On Tue, Apr 25, 2017 at 05:27:44PM +0100, Richard Fitzgerald wrote: > On Tue, 2017-04-25 at 16:52 +0100, Mark Brown wrote: > > > +Required properties: > > > + - compatible : One of the following chip-specific strings: > > > +"cirrus,cs47l35-codec" > > > +"cirrus,cs47l85-codec" >

Applied "MAINTAINERS: Update MAX77802 PMIC entry" to the regulator tree

2017-05-15 Thread Mark Brown
The patch MAINTAINERS: Update MAX77802 PMIC entry has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.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: [PATCH v2 03/18] arm64: dts: meson-gxbb-vega-s95: Fix Wifi node name

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > bcrmf -> brcmf -> wifi > > Fixes: ab5b24fdd2d5 ("ARM64: dts: meson-gxbb-vega-s95: Add SD/SDIO/MMC and > PWM nodes") > Cc: Martin Blumenstingl > Signed-off-by: Andreas Färber > --- > v1 -> v2:

Re: [PATCH v2 04/18] arm64: dts: meson-gxbb-p20x: Fix Wifi node name

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > bcrmf -> brcmf -> wifi > > Fixes: ab3943fe57a2 ("ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support") > Cc: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Renamed node brmcf ->

Re: [PATCH v2 06/18] arm64: dts: meson-gxl-s905x-khadas-vim: Fix Wifi node name

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > bcrmf -> brcmf -> wifi > > Fixes: e15d2774b8c0 ("ARM64: dts: meson-gxl: add support for the Khadas VIM > board") > Cc: Martin Blumenstingl > Signed-off-by: Andreas Färber > --- > v2: New >

Re: [PATCH v2 07/18] arm64: dts: meson-gxm-nexbox-a1: Drop UART comment

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Product pictures show no DB9 connector, so this seems copy > > Acked-by: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: Unchanged > >

Re: [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ

2017-05-15 Thread Seraphime Kirkovski
On Sun, May 14, 2017 at 06:27:43PM +0900, Mark Brown wrote: > On Tue, May 09, 2017 at 02:24:01PM +0200, Seraphime Kirkovski wrote: > > This adds documentation of the new spidev ioctl. > > This should have been part of the first path adding the new ioctl() :( Will change.

[PATCH v4] DTS: ARM: OMAP5: uevm: add µSD card detect

2017-05-15 Thread H. Nikolaus Schaller
If we have Linux installed in eMMC we can boot without µSD card, but inserting one is not recognised. The reason is that the card detect gpio (gpio5_152) is not configured and attached to the mmc1 interface driver and the mmc driver does not poll by default. Hence we add pinmux and gpio setup

Re: [PATCH 1/9] staging: sm750fb: fix length of lines

2017-05-15 Thread Dan Carpenter
On Sun, May 14, 2017 at 12:42:34AM +0200, Matej Dujava wrote: > This patch breaks lines that are longer than 80 characters and joins > together those, that are too short and can be placed at one. > The patch basically doesn't match the changelog. regards, dan carpenter

[PATCH 3/3] defconfig: PCI: Enable Kirin PCIe defconfig

2017-05-15 Thread Song Xiaowei
Cc: Guodong Xu Signed-off-by: Song Xiaowei --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 ---

Re: [PATCH v2 7/8] drm: Use mode_valid() in atomic modeset

2017-05-15 Thread Daniel Vetter
On Fri, May 12, 2017 at 12:53:56PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 May 2017 19:55:56 Daniel Vetter wrote: > > On Wed, May 10, 2017 at 09:38:00PM +0530, Archit Taneja wrote: > > > On 5/9/2017 10:30 PM, Jose Abreu wrote: > > > > This patches makes use of the new

Applied "regulator: max8997/8966: fix charger cv voltage set bug" to the regulator tree

2017-05-15 Thread Mark Brown
The patch regulator: max8997/8966: fix charger cv voltage set bug has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: rt5665: fix gcc-7 warning" to the asoc tree

2017-05-15 Thread Mark Brown
The patch ASoC: rt5665: fix gcc-7 warning has been applied to the asoc tree at git://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 to Linus during

Applied "spi: imx: dynamic burst length adjust for PIO mode" to the spi tree

2017-05-15 Thread Mark Brown
The patch spi: imx: dynamic burst length adjust for PIO mode has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 "spi: bcm63xx-hsspi: Export OF device ID table as module aliases" to the spi tree

2017-05-15 Thread Mark Brown
The patch spi: bcm63xx-hsspi: Export OF device ID table as module aliases has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: spidev: use memdup_user" to the spi tree

2017-05-15 Thread Mark Brown
The patch spi: spidev: use memdup_user has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 to Linus during the

Applied "spi: SPI_TI_QSPI should depend on HAS_DMA" to the spi tree

2017-05-15 Thread Mark Brown
The patch spi: SPI_TI_QSPI should depend on HAS_DMA has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 to Linus

Applied "spi: spidev: remove unused completion" to the spi tree

2017-05-15 Thread Mark Brown
The patch spi: spidev: remove unused completion has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.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 to Linus

Applied "ASoC: rt5514: fix gcc-7 warning" to the asoc tree

2017-05-15 Thread Mark Brown
The patch ASoC: rt5514: fix gcc-7 warning has been applied to the asoc tree at git://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 to Linus during

Re: [PATCH v2 05/18] arm64: dts: meson-gx-p23x-q20x: Fix Wifi node name

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > bcrmf -> brcmf -> wifi > > Fixes: bb51b5350d2f ("ARM64: dts: Add support for Meson GXM") > Cc: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Renamed node brmcf -> wifi (Rob) > >

Re: [PATCH v2 13/18] arm64: dts: meson-gxbb-nexbox-a95x: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > .../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts| 52 > +++--- > 1 file

Re: [PATCH v2 09/18] arm64: dts: meson-gxbb-wetek-hub: Reference CVBS node by label

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Makes the override safer. > > Acked-by: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Extended commit message > > arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 +- >

Re: [PATCH v2 08/18] arm64: dts: meson-gxl-s905x: Comment typo fix

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Reviewed-by: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: Unchanged > > arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] mm/kasan: use kasan_zero_pud for p4d table

2017-05-15 Thread Andrey Ryabinin
On 05/15/2017 09:20 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > There is missing optimization in zero_p4d_populate() that can save > some memory when mapping zero shadow. Implement it like as others. > > Signed-off-by: Joonsoo Kim

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-15 Thread Daniel Vetter
On Fri, May 12, 2017 at 02:01:49PM +0300, Laurent Pinchart wrote: > Hi Archit, > > On Friday 12 May 2017 16:20:07 Archit Taneja wrote: > > On 05/12/2017 03:08 PM, Laurent Pinchart wrote: > > > On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: > > >> On Wed, May 10, 2017 at 04:41:09PM +0300,

Re: [PATCH v2 5/8] drm: Use new mode_valid() helpers in connector probe helper

2017-05-15 Thread Laurent Pinchart
On Monday 15 May 2017 08:47:49 Daniel Vetter wrote: > On Sun, May 14, 2017 at 02:04:24PM +0300, Laurent Pinchart wrote: > > On Friday 12 May 2017 17:06:14 Jose Abreu wrote: > >> On 12-05-2017 10:35, Laurent Pinchart wrote: > >>> On Tuesday 09 May 2017 18:00:12 Jose Abreu wrote: > +

[PATCH] iio: adc: sun4i-gpadc-iio: fix parent device being used in devm function

2017-05-15 Thread Quentin Schulz
For the sake of DT binding stability, this IIO driver is a child of an MFD driver for Allwinner A10, A13 and A31 because there already exists a DT binding for this IP. The MFD driver has a DT node but the IIO driver does not. The IIO device registers the temperature sensor in the thermal

[PATCH 2/2] zram: do not count duplicated pages as compressed

2017-05-15 Thread Minchan Kim
it's not same compressed pages and deduplicated pages so we shouldn't count duplicated pages as compressed pages. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_dedup.c | 4 drivers/block/zram/zram_drv.c | 24 +++-

[PATCH V2 5/6] tty: serial: lpuart: add earlycon support for imx7ulp

2017-05-15 Thread Dong Aisheng
earlycon is executed quite early before the device tree probe, so we need configure the correct reg_off for imx7ulp during early console setup. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Stefan Agner Cc: Mingkai Hu

[PATCH V2 1/6] tty: serial: lpuart: introduce lpuart_soc_data to represent SoC property

2017-05-15 Thread Dong Aisheng
This is used to dynamically check the SoC specific lpuart properies. Currently only the checking of 32 bit register width is added which functions the same as before. More will be added later for supporting new chips. Cc: Greg Kroah-Hartman Cc: Jiri Slaby

[PATCH V2 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-05-15 Thread Dong Aisheng
On new LPUART versions, the oversampling ratio for the receiver can be changed from 4x (00011) to 32x (1) which could help us get a more accurate baud rate divider. The idea is to use the best OSR (over-sampling rate) possible. Note, OSR is typically hard-set to 16 in other LPUART

Applied "ASoC: Intel: sst: fix spelling mistake: "allocationf" -> "allocation"" to the asoc tree

2017-05-15 Thread Mark Brown
The patch ASoC: Intel: sst: fix spelling mistake: "allocationf" -> "allocation" has been applied to the asoc tree at git://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

Re: mm: page allocation failures in swap_duplicate -> add_swap_count_continuation

2017-05-15 Thread Christian Borntraeger
On 05/15/2017 10:03 AM, Michal Hocko wrote: > On Fri 12-05-17 11:18:42, Christian Borntraeger wrote: >> Folks, >> >> recently I have seen page allocation failures during >> paging in the paging code: >> e.g. >> >> May 05 21:36:53 kernel: Call Trace: >> May 05 21:36:53 kernel:

RE: [PATCH v4 2/4] ACPICA: Tables: Add mechanism to allow to balance late stage acpi_get_table() independently

2017-05-15 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v4 2/4] ACPICA: Tables: Add mechanism to allow to balance > late stage > acpi_get_table() independently > > On Tuesday, May 09, 2017 01:57:41 PM Lv Zheng wrote: > > For all frequent late stage

[PATCH] crash: Fix linux-next build warning

2017-05-15 Thread Xunlei Pang
linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/asm-generic/bug.h:15:0, from arch/arm/include/asm/bug.h:59, from include/linux/bug.h:4, from include/linux/elfcore.h:5, from

Re: [PATCH v2 2/3] iio: adc: at91-sama5d2_adc: add hw trigger and buffer support

2017-05-15 Thread Eugen Hristev
On 14.05.2017 18:12, Jonathan Cameron wrote: On 11/05/17 07:09, Ludovic Desroches wrote: On Wed, May 10, 2017 at 11:49:07AM +0300, Eugen Hristev wrote: Hello, Thanks for the suggestions and reply. Please see my answers inline Eugen On 07.05.2017 18:01, Jonathan Cameron wrote: On

[PATCH v2] i2c: mux: only print failure message on error

2017-05-15 Thread Peter Rosin
As is, a failure message is printed unconditionally, which is confusing. And noisy. Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in i2c_mux_add_adapter") Signed-off-by: Peter Rosin --- drivers/i2c/i2c-mux.c | 26 -- 1 file changed, 16

Re: [PATCH v2 2/2] regulator: Allow for asymmetric settling times

2017-05-15 Thread Mark Brown
On Mon, May 01, 2017 at 11:37:15AM -0700, Matthias Kaehlcke wrote: > else if (rdev->constraints->settling_time) > return rdev->constraints->settling_time; > + else if (rdev->constraints->settling_time_up && > + (new_uV > old_uV)) > + return

Re: [PATCH v3 3/9] dt-bindings: arm: mediatek: update for MT7623n SoC and relevant boards

2017-05-15 Thread Matthias Brugger
On 12/05/17 09:56, sean.w...@mediatek.com wrote: From: Sean Wang Because there are two versions of MT7623 SoC that is MT7623a and MT7623n respectively. So update the part of MT7623n bindings to allow that people tend to differentiate which MT7623 SoC the boards

Re: [PATCH linux-next v2 0/1] improve imx spi performance

2017-05-15 Thread Mark Brown
On Mon, May 01, 2017 at 03:31:43AM -0700, jiada_w...@mentor.com wrote: > From: Jiada Wang > > previously burst length (BURST_LENGTH) is always set to equal > to bits_per_word, causes a 10us gap between each word in transfer, > which significantly affects performance.

Re: [PATCH v4 0/2] Tango PCIe controller support

2017-05-15 Thread Marc Gonzalez
On 20/04/2017 16:24, Marc Gonzalez wrote: > This patch was split in two, to ease review of two orthogonal > parts (MSI controller and host bridge). NB: the patch is > just split in two where host bridge support starts. > > Changes from v3 to v4 > > In the MSI part: > - Support 256 MSIs instead

Re: [PATCH v2 16/18] arm64: dts: meson-gxl-s905x-nexbox-a95x: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > .../dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts| 52 > +++--- > 1 file

Re: [PATCH v2 14/18] arm64: dts: meson-gxbb-p20x: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 62 > > 1 file

Re: [PATCH v2 17/18] arm64: dts: meson-gxm-nexbox-a1: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 86 > +++--- > 1 file

[PATCH v1] hw_random : omap3-rom-rng:- Handle return value of clk_prepare_enable

2017-05-15 Thread Arvind Yadav
Here, Clock enable can failed. So adding an error check for clk_prepare_enable. Signed-off-by: Arvind Yadav --- drivers/char/hw_random/omap3-rom-rng.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

[PATCH v1] mfd: intel-lpss: Add Intel Cannonlake PCI IDs

2017-05-15 Thread Andy Shevchenko
Intel Cannonlake PCH has the same LPSS than Intel Kabylake. Add the new IDs to the list of supported devices. Signed-off-by: Mika Westerberg Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss-pci.c | 24

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-15 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 07:42:08PM -0700, Mahesh Bandewar (महेश बंडेवार) wrote: > On Sun, May 14, 2017 at 3:45 AM, Greg Kroah-Hartman > wrote: > > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: > >> From: Mahesh Bandewar > >> >

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-15 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 08:57:34AM -0500, Eric W. Biederman wrote: > Greg Kroah-Hartman writes: > > > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: > >> From: Mahesh Bandewar > >> > >> A process inside random user-ns should not

[PATCH] mm/kasan: use kasan_zero_pud for p4d table

2017-05-15 Thread js1304
From: Joonsoo Kim There is missing optimization in zero_p4d_populate() that can save some memory when mapping zero shadow. Implement it like as others. Signed-off-by: Joonsoo Kim --- mm/kasan/kasan_init.c | 12 1 file changed, 12

Re: [PATCH] ligtnvm: if LUNs are already allocated fix return

2017-05-15 Thread Javier Gonzalez
> > On 13 May 2017, at 21.50, Rakesh Pandit wrote: > > While creating new device with NVM_DEV_CREATE if LUNs are already > allocated ioctl would return -ENOMEM which is wrong. This patch > propagates -EBUSY from nvm_reserve_luns which is correct response. > > Fixes:

Re: ipack: Improve a size determination in ipack_bus_register()

2017-05-15 Thread SF Markus Elfring
>> Greg, Would you mind picking this patch series through your char-misc tree? > > I'm sorry, but this person is in my blacklist Some developers know this communication setting in the meantime. > and I don't have any of their emails, so I don't have these patches anywhere. I find this kind of

Re: [PATCH] usb-musb: keep VBUS on when device is disconnected

2017-05-15 Thread Moreno Bartalucci
> Il giorno 12 mag 2017, alle ore 17:21, Bin Liu ha scritto: > > […] > > Moreno, would you mind to test the patch below with your modem? > > […] >> >>> 8< >>> diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c >>> index

Re: [PATCH v3 3/3] media: mtk-mdp: Fix mdp device tree

2017-05-15 Thread Matthias Brugger
On 15/05/17 04:31, Minghsiu Tsai wrote: On Fri, 2017-05-12 at 17:05 +0200, Matthias Brugger wrote: On 12/05/17 05:22, Minghsiu Tsai wrote: From: Daniel Kurtz If the mdp_* nodes are under an mdp sub-node, their corresponding platform device does not automatically get

Re: [PATCH 1/2] Revert "ACPI / button: Remove lid_init_state=method mode"

2017-05-15 Thread Benjamin Tissoires
Hi Lv, On May 15 2017 or thereabouts, Zheng, Lv wrote: > Hi, Benjamin > > Let's stop endless discussing and focus on our needs. > > I just copied my questions here. > You can ask them directly. > For the below inlined replies, I'll stop replying if they are based on > dependent on our basic

[PATCH 1/2] zram: count same page write as page_stored

2017-05-15 Thread Minchan Kim
Regardless of whether it is same page or not, it's surely write and stored to zram so we should increase pages_stored stat. Otherwise, user can see zero value via mm_stats although he writes a lot of pages to zram. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c

[PATCH V2 3/6] dt-bindings: serial: fsl-lpuart: add i.MX7ULP support

2017-05-15 Thread Dong Aisheng
The lpuart of imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a. Cc: devicet...@vger.kernel.org Cc: Greg Kroah-Hartman Cc:

[PATCH V2 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-15 Thread Dong Aisheng
It's based on the exist lpuart32 read/write implementation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby (supporter:TTY LAYER) Cc: Stefan Agner Cc: Mingkai Hu Cc: Yangbo Lu Acked-by: Fugang Duan

[PATCH V2 4/6] tty: serial: lpuart: add imx7ulp support

2017-05-15 Thread Dong Aisheng
The lpuart of imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a that it has four extra registers (verid, param, global, pincfg) located at the beginning

[PATCH V2 0/6] tty: serial: lpuart: add imx7ulp support

2017-05-15 Thread Dong Aisheng
This patch series mainly intends to add imx7ulp support which is also using FSL lpuart. The lpuart in imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a

Re: [PATCH][RESEND] regulator: lp8755: fix spelling mistake "acceess" -> "access"

2017-05-15 Thread Mark Brown
On Wed, May 10, 2017 at 09:30:20AM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err messages. If this is a resend why do I not seem to have a copy of this patch? signature.asc Description: PGP signature

Re: [PATCH 1/2] spi: spidev: introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command

2017-05-15 Thread Mark Brown
On Tue, May 09, 2017 at 02:24:00PM +0200, Seraphime Kirkovski wrote: > I think, this change is necessary, on the one hand, because there are still > a lot of longterm[2] supported kernels out there, whose users may be relying > on > SPI_IOC_WR_MAX_SPEED being system-wide and, on the other hand,

Re: [RESEND PATCH] MAINTAINERS: Update MAX77802 PMIC entry

2017-05-15 Thread Mark Brown
On Thu, May 04, 2017 at 12:36:25AM -0400, Javier Martinez Canillas wrote: > Acked-by: Mark Brown Since I'm expected to apply this I wouldn't normally expect to see my ack - like I say if I'm acking something for me it's normally because I expect someone else to actually

Re: [PATCH V4 1/9] PM / OPP: Allow OPP table to be used for power-domains

2017-05-15 Thread Mark Brown
On Wed, May 03, 2017 at 12:21:54PM +0100, Sudeep Holla wrote: > On 30/04/17 13:49, Mark Brown wrote: > > DT doesn't much care about that though. > No sure about that, may be doesn't care about the internals, but we need > to care about interface, no ? Well, we need to at least describe what's

[PATCH] regmap: add regmap_debugfs_exit as devres action

2017-05-15 Thread Stefan Agner
Instead of manually cleanup regmap_debugfs_exit, use devres action to do the cleanup. This also works for external users of regmap_attach_dev. Signed-off-by: Stefan Agner --- The cast is not that pretty, but I found it better than making regmap_debugfs_exit type unsafe... This

Re: [PATCH v2 01/18] dt-bindings: arm: amlogic: Reorder boards

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Enforce groupment by SoCs, and order alphabetically within the group > (with some exceptions). This should facilitate adding new boards. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new boards added) > *

RE: [PATCH] PCI: Make SR-IOV capable GPU working on the SR-IOV incapable platform

2017-05-15 Thread Cheng, Collins
Hi Williamson, We cannot assume BIOS supports SR-IOV, actually only newer server motherboard BIOS supports SR-IOV. Normal desktop motherboard BIOS or older server motherboard BIOS doesn't support SR-IOV. This issue would happen if an user plugs our AMD SR-IOV capable GPU card to a normal

Re: [PATCH v2 12/18] arm64: dts: meson-gxbb-vega-s95: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 54 > +++--- > 1 file

[PATCH 1/2] spi: spidev: introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command

2017-05-15 Thread Seraphime Kirkovski
christophe.bla...@gmail.com, f...@haapie.com Bcc: Subject: Re: [PATCH 1/2] spi: spidev: introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command Reply-To: In-Reply-To: <20170514092716.kqx634djffgj3...@sirena.org.uk> On Sun, May 14, 2017 at 06:27:16PM +0900, Mark Brown wrote: > On Tue, May 09, 2017 at

Re: [PATCH v2 11/18] arm64: dts: meson-gxbb-odroidc2: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 108 > ++--- > 1 file

Re: [PATCH 1/3] arm64: dts: hi3660: add pcie node

2017-05-15 Thread Niklas Cassel
Hello Song You forgot to add the device tree maintainers and the device tree mailing list to this patch. If you use ./scripts/get_maintainer.pl it will show you this information. Regards, Niklas On 05/15/2017 08:27 AM, Song Xiaowei wrote: > Add PCIe node for hi3660, and add binding

Re: [PATCH v2 10/18] arm64: dts: meson-gxbb: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 171 > +++- > 1 file

[PATCH 1/2] ALSA: firewire-tascam: Fix infinite loop in snd_tscm_stream_get_rate()

2017-05-15 Thread Geert Uytterhoeven
Obviously the intention was to put a limit on the maximum number of operations. However, for this to work, the check should be "&& trials++ < 5", not "|| trials++ < 5". Fixes: 35efa5c489de63a9 ("ALSA: firewire-tascam: add streaming functionality") Signed-off-by: Geert Uytterhoeven

[PATCH 2/2] ALSA: firewire-tascam: Use do { } while for loops executed at least once

2017-05-15 Thread Geert Uytterhoeven
If a loop is intended to be executed at least once, it is better to use "do { ... } while (...)" instead of "while (...) { ... }". The former is easier to understand for the casual reviewer, and doesn't require preinitializing the canary variable. Signed-off-by: Geert Uytterhoeven

Re: [PATCH v3 2/6] drm: Add drm_{crtc/encoder/connector}_mode_valid()

2017-05-15 Thread Andrzej Hajda
On 11.05.2017 11:05, Jose Abreu wrote: > Add a new helper to call crtc->mode_valid, connector->mode_valid > and encoder->mode_valid callbacks. > > Suggested-by: Ville Syrjälä > Signed-off-by: Jose Abreu > Cc: Carlos Palminha

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-15 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 04:38:09PM -0700, Guenter Roeck wrote: > On 05/14/2017 01:58 PM, Greg Kroah-Hartman wrote: > > On Sun, May 14, 2017 at 07:02:43AM -0700, Guenter Roeck wrote: > > > On 05/14/2017 03:56 AM, Greg Kroah-Hartman wrote: > > > > On Fri, May 12, 2017 at 12:47:38PM -0700, Guenter

Re: [patch 08/18] mm: Adjust system_state check

2017-05-15 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 08:27:24PM +0200, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > get_nid_for_pfn() checks for system_state == BOOTING to decide whether to >

Re: [PATCH v2 1/8] drm: Add crtc/encoder/bridge->mode_valid() callbacks

2017-05-15 Thread Daniel Vetter
On Fri, May 12, 2017 at 11:24:12AM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 May 2017 10:03:37 Daniel Vetter wrote: > > On Tue, May 09, 2017 at 06:00:08PM +0100, Jose Abreu wrote: > > > This adds a new callback to crtc, encoder and bridge helper functions > > > called

Re: [PATCH 2/2] Revert "ACPI / button: Change default behavior to lid_init_state=open"

2017-05-15 Thread Benjamin Tissoires
On May 12 2017 or thereabouts, Rafael J. Wysocki wrote: > On Friday, May 12, 2017 02:36:20 AM Zheng, Lv wrote: > > Hi, > > > > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > > > Subject: Re: [PATCH 2/2] Revert "ACPI / button: Change default behavior > > > to

Re: [PATCH 28/36] docs-rst: convert s390-drivers DocBook to ReST

2017-05-15 Thread Cornelia Huck
On Fri, 12 May 2017 11:00:11 -0300 Mauro Carvalho Chehab wrote: > Use pandoc to convert documentation to ReST by calling > Documentation/sphinx/tmplcvt script. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/DocBook/Makefile

[PATCH 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-05-15 Thread Song Xiaowei
Hisilicon PCIe Driver shares the common functions fo PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Lowpower(L1ss and SR), hotplug and MSI feature are not supported currently. Cc: Guodong Xu

Re: [PATCH v2 5/8] drm: Use new mode_valid() helpers in connector probe helper

2017-05-15 Thread Daniel Vetter
On Sun, May 14, 2017 at 02:04:24PM +0300, Laurent Pinchart wrote: > On Friday 12 May 2017 17:06:14 Jose Abreu wrote: > > On 12-05-2017 10:35, Laurent Pinchart wrote: > > > On Tuesday 09 May 2017 18:00:12 Jose Abreu wrote: > > >> +if (mode->status == MODE_OK) > > >> +

[PATCH 2/2] dmaengine: mtk-hsdma: Add Mediatek High-Speed DMA controller on MT7623 SoC

2017-05-15 Thread sean.wang
From: Sean Wang Add dmaengine driver for Mediatek High-Speed DMA based on the feature DMA_VIRTUAL_CHANNELS. Mediatek High-Speed DMA controller (HSDMA) on MT7623 SoC has the single channel which is dedicated to memory-to-memory transfer through ring-based descriptor

[PATCH 0/2] dmaengine: mtk-hsdma: add support for Mediatek High-Speed DMA controller on MT7623 SoC

2017-05-15 Thread sean.wang
From: Sean Wang This patchset introduces support for Mediatek High-Speed DMA controller (MTK-HSDMA) Currently, the driver is already tested successfully with dmatest module on MT7623 SoC. MTK-HSDMA on MT7623 SoC has the single channel which is dedicated to

Re: [PATCH] i2c: mux: only print failure message on error

2017-05-15 Thread Peter Rosin
On 2017-05-15 06:53, Leon Romanovsky wrote: > On Sun, May 14, 2017 at 06:41:13PM +0200, Peter Rosin wrote: >> As is, a failure message is printed unconditionally, which is confusing. >> And noisy. >> >> Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in >> i2c_mux_add_adapter") >>

[PATCH 1/2] dt-bindings: dmaengine: Add Mediatek High-Speed DMA controller bindings

2017-05-15 Thread sean.wang
From: Sean Wang Document the devicetree bindings for Mediatek High-Speed DMA controller which could be found on MT7623 SoC or other similar Mediatek SoCs. Signed-off-by: Sean Wang --- .../devicetree/bindings/dma/mtk-hsdma.txt | 30

[RFC] A question about sysctl

2017-05-15 Thread Yisheng Xie
hi all, When doing FUZZ test with strict writes enabled: - $ 80 00 > /proc/sys/kernel/hung_task_timeout_secs - $ cat /proc/sys/kernel/hung_task_timeout_secs - $ 80 I have a silly question about this: Should we return -EINVAL in this case both for strict writes enabled and disabled? Thanks

Applied "ASoC: da7213: Fix incorrect usage of bitwise '&' operator for SRM check" to the asoc tree

2017-05-15 Thread Mark Brown
The patch ASoC: da7213: Fix incorrect usage of bitwise '&' operator for SRM check has been applied to the asoc tree at git://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

Re: mm: page allocation failures in swap_duplicate -> add_swap_count_continuation

2017-05-15 Thread Michal Hocko
On Fri 12-05-17 11:18:42, Christian Borntraeger wrote: > Folks, > > recently I have seen page allocation failures during > paging in the paging code: > e.g. > > May 05 21:36:53 kernel: Call Trace: > May 05 21:36:53 kernel: ([<00112f62>] show_trace+0x62/0x78) > May 05 21:36:53 kernel:

Applied "rt286: add Thinkpad Helix 2 to force_combo_jack_table" to the asoc tree

2017-05-15 Thread Mark Brown
The patch rt286: add Thinkpad Helix 2 to force_combo_jack_table has been applied to the asoc tree at git://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

Re: [PATCH v2 15/18] arm64: dts: meson-gxl: Fix node order

2017-05-15 Thread Neil Armstrong
On 05/13/2017 04:33 PM, Andreas Färber wrote: > Sort nodes referenced by label alphabetically. > > Signed-off-by: Andreas Färber > --- > v1 -> v2: > * Rebased (new nodes added) > > arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 72 > +++--- > 1 file

  1   2   3   4   5   6   7   8   9   10   >