[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 ++ 1 file changed, 30 insertions(

[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 management. Even though there

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 t

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

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 9c7ee26ef388..465281244596 100

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 its iommu assigned prop

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 ?

[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 insertions(+), 10 de

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 04/05/17

[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 +++- drivers/block/zram/zram_drv.h | 1 + 3 fil

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

[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 | 2 ++ 1 file chang

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 agr

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 lid_init_state=o

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

[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: Jiri Slaby Cc: Stefan Agner

[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 Signed-off-by: Dong Aisheng --- drivers/tty/serial/fsl_lpuart.c | 12 ++-- 1 file changed, 10

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

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

[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 Cc: Yangbo Lu Acked-by: Fugang Duan Signed-off-by: Dong Aisheng --- Change L

[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 Cc: Stefan Agner Cc: Mingkai Hu Cc: Ya

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 applies. Signed-off-by: John C

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. Please don't send cover lett

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 rdev->co

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

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 apply it (that's the stan

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 th

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 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? :( signature.a

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 SubmittingPatches. > defaul

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 se

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 reall

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 "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 next

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 s

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 ne

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 "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 h

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 th

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 to

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 hours

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 th

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 next

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 du

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 during

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 t

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) > * Pointed out alphabetic

[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 fixes warnings whe

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| 2 +- > Documentation/DocBook/s390-driv

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: ([<00112f62

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(-) > > diff --git a/arch/arm64/boot/dts/amlogic/me

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) > > arch/arm64/boot/dts/amlogic/meson-gx-p23x-

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 changed, 26 inserti

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 +- > arch/arm64/boot/dts/amlogic/meson-gxbb-wete

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: > * Renamed node brmcf -> wifi (Rob) > > arch/arm6

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.

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 -> wifi (Rob) > > arch/arm64/boot/dts/amlogic/m

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 > > arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-v

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&paste. > > Acked-by: Neil Armstrong > Signed-off-by: Andreas Färber > --- > v1 -> v2: Unchanged > > arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 1 - > 1 file changed, 1 deleti

[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 --- Compile-te

[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 --- Compile-tes

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 deskto

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 changed, 91 inserti

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 changed, 27 inserti

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

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 changed, 54 inserti

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 document

Re: [BUG nohz]: wrong user and system time accounting

2017-05-15 Thread Wanpeng Li
Ping, 2017-05-02 18:01 GMT+08:00 Wanpeng Li : > Cc Paolo, > 2017-04-13 21:32 GMT+08:00 Frederic Weisbecker : >> On Thu, Apr 13, 2017 at 12:31:12PM +0800, Wanpeng Li wrote: >>> 2017-04-12 22:57 GMT+08:00 Thomas Gleixner : >>> > On Wed, 12 Apr 2017, Frederic Weisbecker wrote: >>> >> On Tue, Apr 11, 2

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

2017-05-15 Thread Niklas Cassel
On 05/15/2017 08:27 AM, Song Xiaowei wrote: > 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 > c

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 changed, 36 inserti

Re: [PATCH v2 18/18] arm64: dts: meson-gx-p23x-q20x: 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-gx-p23x-q20x.dtsi | 58 > +++--- > 1 file changed, 29 inserti

Re: [PATCH v2 00/18] ARM64: meson: DT cleanups

2017-05-15 Thread Neil Armstrong
Hi Andreas, On 05/13/2017 04:33 PM, Andreas Färber wrote: > Hello Kevin, > > This series fixes several cosmetic issues, on top of your for-next branch. > > Patches 3-6 rename a node, the rest should all be non-functional changes. These are OK. > > PLEASE STOP merging random new nodes at the b

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 changed, 31 inserti

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 changed, 43 inserti

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 changed, 26 inserti

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 o

[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 1 file changed, 24 insertions(+) diff --git a/drivers/mfd/

[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 a/drivers/char/hw_random/omap3-rom-rng.c b/drivers/char/hw_random/

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 > Cc: Alexey Brodkin > Cc: Ville Syrjälä > Cc: Daniel Vetter > Cc: D

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 Acked-by: Andrey Ryabinin > --- > mm/kasan/kasan_in

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

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

[RFC] NVMe Configuraiton using sysctl

2017-05-15 Thread Oza Oza
Hi, we are configuring interrupt coalesce for NVMe, but right now, it uses module param. so the same interrupt coalesce settings get applied for all the NVMEs connected to different RCs. ideally it should be with sysctl. for e.g. sysctl should provide interface to change Per-CPU IO queue pairs, i

[PATCH] ASoC: rt5665: Fix uninitialized warning in rt5665_i2s_pin_event()

2017-05-15 Thread Geert Uytterhoeven
With gcc 4.1.2: sound/soc/codecs/rt5665.c: In function ‘rt5665_i2s_pin_event’: sound/soc/codecs/rt5665.c:2610: warning: ‘mask1’ may be used uninitialized in this function sound/soc/codecs/rt5665.c:2610: warning: ‘val2’ may be used uninitialized in this function sound/soc/codecs/r

[PATCH] ASoC: atmel-classd: sync regcache when resuming

2017-05-15 Thread Quentin Schulz
The PM functions used in this driver are the ones defined in sounc/soc/soc-core.c. When suspending (using snd_soc_suspend), the regcache is marked dirty but is never synced on resume. Sync regcache on resume of Atmel ClassD device. Signed-off-by: Quentin Schulz --- sound/soc/atmel/atmel-classd

Re: [PATCH v4 1/5] sched/deadline: Refer to cpudl.elements atomically

2017-05-15 Thread Juri Lelli
Hi, On 12/05/17 10:25, Steven Rostedt wrote: > On Fri, 12 May 2017 14:48:45 +0900 > Byungchul Park wrote: > > > cpudl.elements is an instance that should be protected with a spin lock. > > Without it, the code would be insane. > > And how much contention will this add? Spin locks in the schedul

Re: [PATCH 08/10] efi/x86: Move EFI BGRT init code to early init code

2017-05-15 Thread Dave Young
Hi, Thanks for the report. On 05/14/17 at 01:18am, Sabrina Dubroca wrote: > 2017-01-31, 13:21:40 +, Ard Biesheuvel wrote: > > From: Dave Young > > > > Before invoking the arch specific handler, efi_mem_reserve() reserves > > the given memory region through memblock. > > > > efi_bgrt_init()

[PATCH 2/3] Documentation: add sprd clock bindings

2017-05-15 Thread Chunyan Zhang
This patch adds a new directory under the 'clock' for Spreadtrum platform, also bindings which document compatible strings and properties used for devicetree node of clocks on Spreadtrum SoCs. Signed-off-by: Chunyan Zhang --- .../clock/sprd/sprd,adjustable-pll-clock.txt | 17 + .../bin

[PATCH 0/3] add clock driver for Spreadtrum platforms

2017-05-15 Thread Chunyan Zhang
In the last cycle, the patches support Whale2 sc9860 mobile chip have been merged. This patchset adds clock driver which is used on almost all Spreadtrum SoCs. This series also adds Spreadtrum clock bindings and SC9860 clock devicetree data. This driver has been validated on Spreadtrum SC9860 mob

[PATCH 3/3] clk: Add common clock driver for Spreadtrum SoCs

2017-05-15 Thread Chunyan Zhang
From: Xiaolong Zhang This patch adds an initial common clock driver comprising clock gate, divider, multiplexer, composite, pll, these drivers are used on almost all Spreadtrum platforms so far. Signed-off-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- drivers/clk/Makefile | 1

Re: [RFC] NVMe Configuraiton using sysctl

2017-05-15 Thread Oza Oza
On Mon, May 15, 2017 at 2:04 PM, Oza Oza wrote: > Hi, > > we are configuring interrupt coalesce for NVMe, but right now, it uses > module param. > so the same interrupt coalesce settings get applied for all the NVMEs > connected to different RCs. > > ideally it should be with sysctl. > for e.g. >

[PATCH 1/3] arm64: dts: add SC9860 clock tree data

2017-05-15 Thread Chunyan Zhang
From: Xiaolong Zhang This patch addresses SC9860 clock topology structure and provides clock node to other devices (clock consumers) on chip. This patch also removed replicated node of 26m fixed clock. Signed-off-by: Xiaolong Zhang Signed-off-by: Chunyan Zhang --- arch/arm64/boot/dts/sprd/sc

Re: [PATCH v3 4/6] drm: Use new mode_valid() helpers in connector probe helper

2017-05-15 Thread Andrzej Hajda
On 11.05.2017 11:06, Jose Abreu wrote: > This changes the connector probe helper function to use the new > encoder->mode_valid(), bridge->mode_valid() and crtc->mode_valid() > helper callbacks to validate the modes. > > The new callbacks are optional so the behaviour remains the same > if they are

Re: [PATCH v7 01/13] dt-bindings: add binding for the Allwinner DE2 CCU

2017-05-15 Thread Maxime Ripard
On Mon, May 15, 2017 at 12:30:33AM +0800, Icenowy Zheng wrote: > Allwinner "Display Engine 2.0" contains some clock controls in it. > > In order to add them as clock drivers, we need a device tree binding. > Add the binding here. > > Also add the device tree binding headers. > > Signed-off-by: I

Re: [PATCH v7 02/13] clk: sunxi-ng: add support for DE2 CCU

2017-05-15 Thread Maxime Ripard
On Mon, May 15, 2017 at 12:30:34AM +0800, Icenowy Zheng wrote: > The "Display Engine 2.0" in Allwinner newer SoCs contains a clock > management unit for its subunits, like the DE CCU in A80. > > Add a sunxi-ng style driver for it. > > Signed-off-by: Icenowy Zheng Applied, thanks! Maxime -- Max

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

2017-05-15 Thread Colin Ian King
On 14/05/17 10:25, Mark Brown wrote: > 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? > Probably because I goofed up. Doh. si

Re: [PATCH v2 2/2] dmaengine: dw: Remove AVR32 bits from the driver

2017-05-15 Thread Andy Shevchenko
On Sun, 2017-05-14 at 18:34 +0530, Vinod Koul wrote: > On Tue, May 09, 2017 at 07:18:37PM +0300, Andy Shevchenko wrote: > > AVR32 is gone. Now it's time to clean up the driver by removing > > leftovers that was used by AVR32 related code. > > Since the cover didn't mention any dependency, I went a

Re: [PATCH] drivers/staging: refactor dgnc tty registration.

2017-05-15 Thread Dan Carpenter
On Sun, May 14, 2017 at 06:50:24PM +0300, Haim Daniel wrote: > @@ -129,6 +113,41 @@ static void dgnc_tty_set_termios(struct tty_struct *tty, > > /* TTY Initialization/Cleanup Functions */ > > +static struct tty_driver *__dgnc_tty_register(char *serial_name, uint > maxports, No need for doubl

  1   2   3   4   5   6   7   8   9   10   >