[PATCH] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-04-30 Thread Akshu Agrawal
Non-dts based systems can use ACPI DSDT to pass on the mclk to da7219. This enables da7219 mclk to be linked to system clock. Enable/Disable of the mclk is already handled in the codec so platform drivers don't have to explicitly do handling of mclk. Signed-off-by: Akshu Agrawal --- include/soun

[PATCH] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-04-30 Thread Akshu Agrawal
Non-dts based systems can use ACPI DSDT to pass on the mclk to da7219. This enables da7219 mclk to be linked to system clock. Enable/Disable of the mclk is already handled in the codec so platform drivers don't have to explicitly do handling of mclk. Signed-off-by: Akshu Agrawal --- include/soun

Re: [PATCH] video: fbdev: omap2: remove rfbi

2018-04-30 Thread Tomi Valkeinen
On 27/04/18 21:12, Aaro Koskinen wrote: >> You should be targeting omapdrm driver instead, fbdev subsystem is closed >> for the new hardware support. > > AFAIK, based on N950 display support discussion, it's impossible to get > anything new into omapdrm for a long time. And based on Tomi's commen

Re: [PATCH v2 2/2] soc: mediatek: add a fixed wait for SRAM stable

2018-04-30 Thread Sean Wang
On Fri, 2018-04-27 at 11:46 +0200, Matthias Brugger wrote: > Hi Sean, > > On 04/23/2018 11:39 AM, Sean Wang wrote: > > On Mon, 2018-04-23 at 11:31 +0200, Matthias Brugger wrote: > >> > >> On 04/23/2018 10:36 AM, sean.w...@mediatek.com wrote: > >>> From: Sean Wang > >>> > >>> MT7622_POWER_DOMAIN_W

[PATCH] clk: x86: Add ST oscout platform clock

2018-04-30 Thread Akshu Agrawal
Stoney SoC provides oscout clock. This clock can support 25Mhz and 48Mhz of frequency. The clock is available for general system use. Signed-off-by: Akshu Agrawal --- drivers/clk/x86/Makefile | 1 + drivers/clk/x86/clk-st.c | 80 incl

[PATCH 1/2] ARM: dts: stm32: add qspi support for stm32mp157c

2018-04-30 Thread Ludovic Barre
From: Ludovic Barre This patch adds qspi support on stm32mp157c, read in memory mapped, write in indirect mode. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157c.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/bo

[PATCH 0/2] ARM: dts: stm32: add qspi support for stm32mp157c

2018-04-30 Thread Ludovic Barre
From: Ludovic Barre This patch series adds qspi support for stm32mp157c SoC and its eval board. Ludovic Barre (2): ARM: dts: stm32: add qspi support for stm32mp157c ARM: dts: stm32: add flash nor support on stm32mp157c eval board arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 45 +

[PATCH] ACPI: APD: Add AMD misc clock handler support

2018-04-30 Thread Akshu Agrawal
AMD SoC exposes clock for general purpose use. The clock registration is done in clk-st driver. The MMIO mapping are passed on to the clock driver for accessing the registers. The misc clock handler will create MMIO mappings to access the clock registers and enable the clock driver to expose the cl

[PATCH 2/2] ARM: dts: stm32: add flash nor support on stm32mp157c eval board

2018-04-30 Thread Ludovic Barre
From: Ludovic Barre This patch adds flash nor on qspi. Each flash is connected in quad mode and has its own chip select. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 45 +++ arch/arm/boot/dts/stm32mp157c-ev1.dts | 25 +

Re: [v2 1/1] i2c: dev: prevent ZERO_SIZE_PTR deref in i2cdev_ioctl_rdwr()

2018-04-30 Thread Uwe Kleine-König
On Fri, Apr 27, 2018 at 02:06:58PM +0200, Wolfram Sang wrote: > On Thu, Apr 19, 2018 at 03:29:22PM +0300, Alexander Popov wrote: > > i2cdev_ioctl_rdwr() allocates i2c_msg.buf using memdup_user(), which > > returns ZERO_SIZE_PTR if i2c_msg.len is zero. > > > > Currently i2cdev_ioctl_rdwr() always d

Re: [PATCH 0/3] fbdev/drm: sh_mobile: remove unused MERAM support

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 01:21:42PM +0200, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patchset removes unused MERAM support (last user was removed > 3 years ago) from shmobile fbdev & drm drivers and then removes > MERAM driver itself. > > If it is okay to merge this patches I would like patc

Re: [PATCH 03/11] ASoC: amd: added byte count register offset variables to rtd

2018-04-30 Thread Mukunda,Vijendar
On Monday 30 April 2018 03:09 AM, Daniel Kurtz wrote: Hi Vijendar, On Thu, Apr 26, 2018 at 5:14 AM Vijendar Mukunda wrote: Added byte count register offset variables to audio_substream_data structure. Modified dma pointer callback. Signed-off-by: Vijendar Mukunda Please fix the small

[PATCH 2/3] nds32: To refine readability of INT_MASK_INITAIAL_VAL

2018-04-30 Thread Greentime Hu
Refine readability of INT_MASK_INITAIAL_VAL with meaningful macro instead of magic number. Signed-off-by: Greentime Hu --- arch/nds32/include/asm/bitfield.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nds32/include/asm/bitfield.h b/arch/nds32/include/asm/bitfield.h

[PATCH 1/3] nds32: Fix the virtual address may map too much range by tlbop issue.

2018-04-30 Thread Greentime Hu
We use tlbop to map virtual address in the first beginning, however it may map too much if DRAM size is not that big. We have to invalidate the mapping when the page table is created. Signed-off-by: Greentime Hu --- arch/nds32/kernel/setup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH 3/3] nds32: To fix a cache inconsistency issue by setting correct cacheability of NTC

2018-04-30 Thread Greentime Hu
The nds32 architecture will use physical memory when interrupt or exception comes and it will use the setting of NTC0-4. The original implementation didn't consider the DRAM start address may start from 1GB, 2GB or 3GB to cause this issue. It will write the data to DRAM if it is running in physical

Re: [RESEND PATCH v4.9, 1/1] mmc: sdhci-dwc-mshc-pci: synopsys dwc mshc support

2018-04-30 Thread Prabu Thangamuthu
Hi Adrian, Yes, this patch was meant for linux stable. Thank you pointing me the corresponding rules. We are planning to port our driver to mainline. We will submit the patch for mainline when it's ready. Thanks, Prabu On 4/26/2018 3:27 PM, Adrian Hunter wrote: > On 12/04/18 18:47, Prabu Thanga

Re: [PATCH 04/11] ASoC: amd: removed separate byte count variables for playback and capture

2018-04-30 Thread Mukunda,Vijendar
On Monday 30 April 2018 03:11 AM, Daniel Kurtz wrote: Hi Vijendar, On Thu, Apr 26, 2018 at 5:15 AM Vijendar Mukunda wrote: Removed separate byte count variables for playback and capture. Signed-off-by: Vijendar Mukunda Reviewed-by: Daniel Kurtz --- sound/soc/amd/acp-pcm-dma.c |

Re: [PATCH v3 11/12] KVM: arm/arm64: Implement KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION

2018-04-30 Thread Auger Eric
Hi Christoffer, On 04/24/2018 11:06 PM, Christoffer Dall wrote: > On Fri, Apr 13, 2018 at 10:20:57AM +0200, Eric Auger wrote: >> Now all the internals are ready to handle multiple redistributor >> regions, let's allow the userspace to register them. >> >> Signed-off-by: Eric Auger >> >> --- >> >>

Re: [PATCH] spi: mediatek: Use of_device_get_match_data()

2018-04-30 Thread Ryder Lee
Hi Mark, Is it okay with you? On Mon, 2018-04-16 at 10:33 +0800, Ryder Lee (李庚?V) wrote: > The usage of of_device_get_match_data() reduce the code size a bit. > > Also, the only way to call mtk_spi_probe() is to match an entry in > mtk_spi_of_match[], so of_id cannot be NULL. > > Signed-off-by:

Re: [PATCH v2 06/11] arm64: dts: r8a77965: Add FCPF and FCPV instances

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 05:57:17PM +0100, Kieran Bingham wrote: > The FCPs handle the interface between various IP cores and memory. Add > the instances related to the FDPs and VSP2s. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart . > > Signed-off-by: Takeshi Kihara

Re: [PATCH v2 07/11] arm64: dts: r8a77965: Add VSP instances

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 05:57:18PM +0100, Kieran Bingham wrote: > The r8a77965 has 4 VSP instances. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart . > > Signed-off-by: Takeshi Kihara > [Kieran: Rebased to top of tree, fixed sort orders] > Signed-off-by: Kieran Bing

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-30 Thread Chintan Pandya
On 4/29/2018 2:24 AM, Kani, Toshi wrote: On Sat, 2018-04-28 at 11:02 +0200, j...@8bytes.org wrote: On Fri, Apr 27, 2018 at 02:31:51PM +, Kani, Toshi wrote: So, we can add the step 2 on top of this patch. 1. Clear pud/pmd entry. 2. System wide TLB flush <-- TO BE ADDED BY NEW PATCH 3

Re: [PATCH v2 08/11] arm64: dts: r8a77965: Populate the DU instance placeholder

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 05:57:19PM +0100, Kieran Bingham wrote: > The DU entity node has been previously added but only as a placeholder. > Populate the node with the properties to use the device. > > Signed-off-by: Kieran Bingham > Reviewed-by: Laurent Pinchart Thanks, applied.

Re: [PATCH v2 09/11] arm64: dts: r8a77965: Add HDMI encoder instance

2018-04-30 Thread Simon Horman
On Fri, Apr 27, 2018 at 05:57:20PM +0100, Kieran Bingham wrote: > Add the HDMI encoder to the R8A77965 DT in disabled state. > > Based on a similar patch of the R8A7796 device tree > by Laurent Pinchart . > > Signed-off-by: Takeshi Kihara > [Kieran: Rebase to top of tree] > Signed-off-by: Kieran

Re: [PATCH v2 10/11] arm64: dts: r8a77965-salvator-x: Enable DU external clocks and HDMI

2018-04-30 Thread Simon Horman
On Sat, Apr 28, 2018 at 12:34:26AM +0300, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Friday, 27 April 2018 19:57:21 EEST Kieran Bingham wrote: > > The DU1 external dot clock is provided by the fixed frequency clock > > generator X21, while the DU0 and DU3 clocks are

Re: [PATCH v2 01/17] dt-bindings: power: reset: mt6323: add bindings for MT6323 power controller

2018-04-30 Thread Sean Wang
On Fri, 2018-04-27 at 15:02 -0500, Rob Herring wrote: > On Wed, Apr 25, 2018 at 05:32:27PM +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > Adding device-tree binding for the power controller which is a tiny > > circuit block present as a part of MT6323 PMIC and is responsible for

[PATCH 01/12] gpio: 74xx-mmio: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-74xx-mmio.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-74xx-mmio.c b/drivers/gpio/gpio-74xx-mmio.c index 0475e8

[PATCH 11/12] gpio: vf610: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-vf610.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c index 4610cc2938ad..d4ad6d0e02

[PATCH 09/12] gpio: syscon: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-syscon.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c index 537cec7583fc..2512

[PATCH 02/12] gpio: dwapb: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-dwapb.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index 226977f78482..c25fa7

[PATCH 12/12] gpio: xlp: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-xlp.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index e74bd43a6974..8e4275eaa7d

[PATCH 07/12] gpio: pca953x: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-pca953x.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index d2ead4b1cf

[PATCH 10/12] gpio: ts4900: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-ts4900.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-ts4900.c b/drivers/gpio/gpio-ts4900.c index 5bd21725e604..1da8

[PATCH 06/12] gpio: palmas: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-palmas.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-palmas.c b/drivers/gpio/gpio-palmas.c index 3d818195e351..ceb2f

[PATCH 08/12] gpio: pxa: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-pxa.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index f480fb896963..3c1f65bc0fa8

[PATCH 05/12] gpio: mxs: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-mxs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 435def22445d..5ad8d4db74db 100

Re: [PATCH v2 1/2] dt-bindings: media: renesas-ceu: Add R-Mobile R8A7740

2018-04-30 Thread Simon Horman
On Thu, Apr 26, 2018 at 08:24:42PM +0200, Jacopo Mondi wrote: > Add R-Mobile A1 R8A7740 SoC to the list of compatible values for the CEU > unit. > > Signed-off-by: Jacopo Mondi Reviewed-by: Simon Horman > --- > Documentation/devicetree/bindings/media/renesas,ceu.txt | 7 --- > drivers/med

[PATCH 03/12] gpio: ge: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-ge.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index 1fe2d3418f2f..4c43562434cf 100644

[PATCH 04/12] gpio: ingenic: Use of_device_get_match_data()

2018-04-30 Thread Thierry Reding
From: Thierry Reding Use of_device_get_match_data() instead of open-coding it. Signed-off-by: Thierry Reding --- drivers/gpio/gpio-ingenic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-ingenic.c b/drivers/gpio/gpio-ingenic.c index 15fb2bc796a8..e738

[PATCH v9 0/4] Fix issues with huge mapping in ioremap for ARM64

2018-04-30 Thread Chintan Pandya
This series of patches takes Toshi Kani 's patches ("fix memory leak/panic in ioremap huge pages") as base and re-bring huge_vmap back for arm64. This series of patches are tested on 4.16 kernel with Cortex-A75 based SoC. The test used for verifying these patches is a stress test on ioremap/unmap

[PATCH v9 2/4] arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable

2018-04-30 Thread Chintan Pandya
Add an interface to invalidate intermediate page tables from TLB for kernel. Signed-off-by: Chintan Pandya --- arch/arm64/include/asm/tlbflush.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h index dfc61d7..a4a190

[PATCH v9 1/4] ioremap: Update pgtable free interfaces with addr

2018-04-30 Thread Chintan Pandya
This patch ("mm/vmalloc: Add interfaces to free unmapped page table") adds following 2 interfaces to free the page table in case we implement huge mapping. pud_free_pmd_page() and pmd_free_pte_page() Some architectures (like arm64) needs to do proper TLB maintanance after updating pagetable entry

[PATCH v9 4/4] Revert "arm64: Enforce BBM for huge IO/VMAP mappings"

2018-04-30 Thread Chintan Pandya
This commit 15122ee2c515a ("arm64: Enforce BBM for huge IO/VMAP mappings") is a temporary work-around until the issues with CONFIG_HAVE_ARCH_HUGE_VMAP gets fixed. Revert this change as we have fixes for the issue. Signed-off-by: Chintan Pandya --- arch/arm64/mm/mmu.c | 8 1 file change

[PATCH v9 3/4] arm64: Implement page table free interfaces

2018-04-30 Thread Chintan Pandya
Implement pud_free_pmd_page() and pmd_free_pte_page(). Implementation requires, 1) Clearing off the current pud/pmd entry 2) Invalidate TLB which could have previously valid but not stale entry 3) Freeing of the un-used next level page tables Signed-off-by: Chintan Pandya --- arch/arm64/

Re: [PATCH v1 2/4] pinctrl: tegra20: Provide CDEV1/2 clock muxes

2018-04-30 Thread Peter De Schrijver
On Fri, Apr 27, 2018 at 02:58:16AM +0300, Dmitry Osipenko wrote: > Muxing of pins MCLK1/2 determine the muxing of the corresponding clocks. > Make pinctrl driver to provide clock muxes for the CDEV1/2 pingroups, so > that main clk-controller driver could get an actual parent clock for the > CDEV1/2

Re: [PATCH v1 3/4] clk: tegra20: Set correct parents for CDEV1/2 clocks

2018-04-30 Thread Peter De Schrijver
On Fri, Apr 27, 2018 at 02:58:17AM +0300, Dmitry Osipenko wrote: > Parents of CDEV1/2 clocks are determined by muxing of the corresponding > pins. Pinctrl driver now provides the CDEV1/2 clock muxes and hence > CDEV1/2 clocks could have correct parents. Set CDEV1/2 parents to the > corresponding mu

Re: [PATCH v1 1/4] clk: tegra20: Add DEV1/DEV2 OSC dividers

2018-04-30 Thread Peter De Schrijver
On Fri, Apr 27, 2018 at 02:58:15AM +0300, Dmitry Osipenko wrote: > CDEV1/CDEV2 clocks could have corresponding oscillator clock divider as > a parent. Add these dividers in order to be able to provide that parent > option. > > Signed-off-by: Dmitry Osipenko > --- > drivers/clk/tegra/clk-tegra20.

Re: [PATCH 4/9] x86, pkeys: override pkey when moving away from PROT_EXEC

2018-04-30 Thread Ram Pai
On Thu, Apr 26, 2018 at 10:57:31AM -0700, Dave Hansen wrote: > On 04/06/2018 06:09 PM, Ram Pai wrote: > > Well :). my point is add this code and delete the other > > code that you add later in that function. > > I don't think I'm understanding what your suggestion was. I looked at > the code and

KASAN: use-after-free in loopback_active_get

2018-04-30 Thread DaeRyong Jeong
We report the crash: KASAN: use-after-free in loopback_active_get This crash has been found in v4.17-rc1 using RaceFuzzer (a modified version of Syzkaller), which we describe more at the end of this report. Our analysis shows that the race occurs when invoking two syscalls concurrently, ioctl$SNDR

Re: [PATCH net-next] can: dev: use skb_put_zero to simplfy code

2018-04-30 Thread Marc Kleine-Budde
On 04/28/2018 09:49 AM, YueHaibing wrote: > use helper skb_put_zero to replace the pattern of skb_put() && memset() > > Signed-off-by: YueHaibing Applied to linux-can-next. Tnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions| Phone

Re: [PATCH] can: cc770: fix spelling mistake: "comptibility" -> "compatibility"

2018-04-30 Thread Marc Kleine-Budde
On 04/29/2018 12:16 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in module parameter description text > > Signed-off-by: Colin Ian King Added to linux-can-next. Thnx, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Lin

Re: [RESEND PATCH 1/1] drm/i915/glk: Add MODULE_FIRMWARE for Geminilake

2018-04-30 Thread Joonas Lahtinen
Quoting Jani Nikula (2018-04-27 12:20:55) > On Wed, 25 Apr 2018, Ian W MORRISON wrote: > > Can I ask if this is on anyone's radar as I'm concerned this patch will > > stall otherwise? > > Pushed to drm-intel-next-queued, thanks for the patch. > > I opted to drop the Cc: stable for now. This does

Re: [PATCH v8 05/13] ACPI/PPTT: Add Processor Properties Topology Table parsing

2018-04-30 Thread Rafael J. Wysocki
On Friday, April 27, 2018 6:20:44 PM CEST Jeremy Linton wrote: > Hi, > > Thanks for taking a look at this. > > On 04/27/2018 06:02 AM, Rafael J. Wysocki wrote: > > On Thu, Apr 26, 2018 at 1:31 AM, Jeremy Linton > > wrote: > >> ACPI 6.2 adds a new table, which describes how processing units > >>

Re: [PATCH 1/1] tools: power/acpi, revert to LD = gcc

2018-04-30 Thread Rafael J. Wysocki
On Tuesday, April 24, 2018 9:43:44 AM CEST Jiri Slaby wrote: > Commit 7ed1c1901fe5 (tools: fix cross-compile var clobbering) removed > setting of LD to $(CROSS_COMPILE)gcc. This broke build of acpica > (acpidump) in power/acpi: > ld: unrecognized option '-D_LINUX' > > The tools pass CFLAGS to the

Re: [PATCH v2] ACPI / button: make module loadable when booted in non-ACPI mode

2018-04-30 Thread Rafael J. Wysocki
On Monday, April 23, 2018 11:16:56 AM CEST Ard Biesheuvel wrote: > Modules such as nouveau.ko and i915.ko have a link time dependency on > acpi_lid_open(), and due to its use of acpi_bus_register_driver(), > the button.ko module that provides it is only loadable when booted in > ACPI mode. However,

Re: [PATCH v3 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation

2018-04-30 Thread Baolin Wang
Hi Rob, On 27 April 2018 at 22:51, Rob Herring wrote: > On Thu, Apr 26, 2018 at 05:12:33PM +0800, Baolin Wang wrote: >> From: Xiaotong Lu >> >> This patch adds the binding documentation for Spreadtrum SC27xx series >> vibrator device. >> >> Signed-off-by: Xiaotong Lu >> Signed-off-by: Baolin Wa

Re: [PATCH 02/11] ASoC: amd: dma config parameters changes

2018-04-30 Thread Mukunda,Vijendar
On Monday 30 April 2018 03:19 AM, Daniel Kurtz wrote: Hi Vijendar, On Thu, Apr 26, 2018 at 5:14 AM Vijendar Mukunda wrote: Added dma configuration parameters to rtd structure. Moved dma configuration parameters intialization to hw_params callback. Removed hard coding in prepare and trigger

Re: [PATCH v4 10/15] memory: tegra: Introduce memory client hot reset

2018-04-30 Thread Thierry Reding
On Fri, Apr 13, 2018 at 02:33:49PM +0300, Dmitry Osipenko wrote: > In order to reset busy HW properly, memory controller needs to be > involved, otherwise it is possible to get corrupted memory or hang machine > if HW was reset during DMA. Introduce memory client 'hot reset' that will > be used for

Re: [PATCH v4 09/15] memory: tegra: Squash tegra20-mc into common tegra-mc driver

2018-04-30 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:31PM +0300, Dmitry Osipenko wrote: > Tegra30+ has some minor differences in registers / bits layout compared > to Tegra20. Let's squash Tegra20 driver into the common tegra-mc driver > in a preparation for the upcoming MC hot reset controls implementation, > avoiding c

Re: [PATCH v4 12/15] memory: tegra: Add Tegra124 memory controller hot resets

2018-04-30 Thread Thierry Reding
On Fri, Apr 13, 2018 at 02:33:51PM +0300, Dmitry Osipenko wrote: > Define the table of memory controller hot resets for Tegra124. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra124.c | 42 + > 1 file changed, 42 insertions(+) Applied, thanks

Re: [PATCH v4 11/15] memory: tegra: Add Tegra210 memory controller hot resets

2018-04-30 Thread Thierry Reding
On Sat, Apr 28, 2018 at 11:18:38AM +0300, Dmitry Osipenko wrote: > On 27.04.2018 12:39, Thierry Reding wrote: > > On Fri, Apr 13, 2018 at 02:33:50PM +0300, Dmitry Osipenko wrote: > >> From: Thierry Reding > >> > >> Define the table of memory controller hot resets for Tegra210. > >> > >> Signed-off

Re: [PATCH v4 13/15] memory: tegra: Add Tegra114 memory controller hot resets

2018-04-30 Thread Thierry Reding
On Fri, Apr 13, 2018 at 02:33:52PM +0300, Dmitry Osipenko wrote: > Define the table of memory controller hot resets for Tegra114. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra114.c | 33 + > 1 file changed, 33 insertions(+) Applied, thanks

Re: [PATCH v4 15/15] memory: tegra: Add Tegra20 memory controller hot resets

2018-04-30 Thread Thierry Reding
On Fri, Apr 13, 2018 at 02:33:54PM +0300, Dmitry Osipenko wrote: > Define the table of memory controller hot resets for Tegra20 and add > specific to Tegra20 hot reset operations. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra20.c | 118 + >

Re: [PATCH v4 14/15] memory: tegra: Add Tegra30 memory controller hot resets

2018-04-30 Thread Thierry Reding
On Fri, Apr 13, 2018 at 02:33:53PM +0300, Dmitry Osipenko wrote: > Define the table of memory controller hot resets for Tegra30. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra30.c | 33 + > 1 file changed, 33 insertions(+) Applied, thanks.

[PATCH] serial: sh-sci: Use spin_{try}lock_irqsave instead of open coding version

2018-04-30 Thread Daniel Wagner
From: Daniel Wagner Commit 40f70c03e33a ("serial: sh-sci: add locking to console write function to avoid SMP lockup") copied the strategy to avoid locking problems in conjuncture with the console from the UART8250 driver. Instead using directly spin_{try}lock_irqsave(), local_irq_save() followed

Re: KASAN: use-after-free in loopback_active_get

2018-04-30 Thread Takashi Iwai
On Mon, 30 Apr 2018 09:53:14 +0200, DaeRyong Jeong wrote: > > We report the crash: > KASAN: use-after-free in loopback_active_get > > This crash has been found in v4.17-rc1 using RaceFuzzer (a modified > version of Syzkaller), which we describe more at the end of this report. > Our analysis shows

Re: [PATCH 06/11] ASoC: amd: sram bank update changes

2018-04-30 Thread Mukunda,Vijendar
On Monday 30 April 2018 03:17 AM, Daniel Kurtz wrote: On Thu, Apr 26, 2018 at 5:16 AM Vijendar Mukunda wrote: Added sram bank variable to audio_substream_data structure. Signed-off-by: Vijendar Mukunda Move initialization to acp_dma_open(), otherwise this is: Reviewed-by: Daniel Kurtz

Re: [PATCH 05/11] ASoC: amd: pte offset related dma driver changes

2018-04-30 Thread Mukunda,Vijendar
On Monday 30 April 2018 03:18 AM, Daniel Kurtz wrote: On Thu, Apr 26, 2018 at 5:16 AM Vijendar Mukunda wrote: Added pte offset variable in audio_substream_data structure. Added Stoney related PTE offset macros in acp header file. Modified hw_params callback to assign the pte offset value bas

Re: [PATCH v2 4/5] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-04-30 Thread Baolin Wang
Hi Vinod, On 27 April 2018 at 14:24, Vinod Koul wrote: > On Thu, Apr 19, 2018 at 10:00:49AM +0800, Baolin Wang wrote: > >> +/* >> + * struct sprd_dma_config - DMA configuration structure >> + * @src_addr: the physical address where DMA slave data should be read >> + * @dst_addr: the physical addr

Re: [PATCH 1/3] dt-bindings: added new pwm-sifive driver documentation

2018-04-30 Thread Thierry Reding
On Sun, Apr 29, 2018 at 02:08:07PM -0700, Wesley Terpstra wrote: > On Sun, Apr 29, 2018 at 2:01 PM, Andreas Färber wrote: > > "pwm0" sounds like a zero-indexed instance of some pwm block. If 0 is > > the version here, I'd suggest to make it "pwm-0" for example - you might > > want to take a look a

Re: [PATCH] PM / Sleep: only update last time for active wakeup sources

2018-04-30 Thread Rafael J. Wysocki
On Friday, April 27, 2018 12:25:53 AM CEST Doug Berger wrote: > On 04/25/2018 11:30 PM, Rafael J. Wysocki wrote: > > On Thu, Apr 26, 2018 at 1:40 AM, Doug Berger wrote: > >> When wakelock support was added, the wakeup_source_add() function > >> was updated to set the last_time value of the wakeup

[PATCH 10/12] ARM: davinci: neuros-osd2: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-neuros-osd2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-

[PATCH 09/12] ARM: davinci: dm646x-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm646x-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-d

[PATCH 12/12] ARM: davinci: aemif: stop using pdev->id as nand chipselect

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski All platforms now use the core_chipsel field in platform_data. Stop using pdev->id in the aemif code. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/aemif.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH 07/12] ARM: davinci: dm644x-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm644x-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-d

[PATCH 08/12] ARM: davinci: mityomapl138: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-mityomapl138.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board

[PATCH 11/12] mtd: nand: davinci: stop using pdev->id as chipselect

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski All platform now use the core_chipsel field in platform data. Stop using pdev->id in the driver. Signed-off-by: Bartosz Golaszewski --- drivers/mtd/nand/raw/davinci_nand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/nand/raw/d

[PATCH 04/12] ARM: davinci: dm355-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm355-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-dm

Re: [PATCH 1/2] cpufreq: brcmstb-avs-cpufreq: remove development debug support

2018-04-30 Thread Rafael J. Wysocki
On Wednesday, April 18, 2018 5:56:42 PM CEST Markus Mayer wrote: > From: Markus Mayer > > This debug code was helpful while developing the driver, but it isn't > being used for anything anymore. > > Signed-off-by: Markus Mayer > --- > drivers/cpufreq/Kconfig.arm | 10 -- > drivers/c

[PATCH 06/12] ARM: davinci: dm365-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm365-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-dm

[PATCH 05/12] ARM: davinci: dm355-leopard: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-dm355-leopard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/boar

[PATCH 01/12] mtd: nand: davinci: store the core chipselect number in platform data

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We have the 'ti,davinci-chipselect' property in the device tree, but when using platform data the driver silently uses the id field of struct platform_device as the chipselect. This is confusing and we almost broke the nand support again recently after converting the pla

[PATCH 03/12] ARM: davinci: da850-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da

Re: [PATCH 1/3] dt-bindings: added new pwm-sifive driver documentation

2018-04-30 Thread Thierry Reding
On Sun, Apr 29, 2018 at 01:51:34PM -0700, Wesley Terpstra wrote: > On Sat, Apr 28, 2018 at 10:54 PM, Thierry Reding > wrote: > > On Fri, Apr 27, 2018 at 03:59:56PM -0700, Wesley W. Terpstra wrote: > >> +Unlike most other PWM controllers, the SiFive PWM controller currently > >> only > >> +support

[PATCH 02/12] ARM: davinci: da830-evm: specify the chipselect in davinci_nand_pdata

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have the core_chipsel field in davinci_nand_pdata. Use it instead of the platform_device id number. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da

[PATCH 00/12] mtd: nand: davinci: stop using pdev->id as chipselect

2018-04-30 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We have the 'ti,davinci-chipselect' property in the device tree, but when using platform data the driver silently uses the id field of struct platform_device as the chipselect. This is confusing and we almost broke the nand support again recently after converting the pla

[PATCH v3 0/3] ASoc: TAS6424: Add support for mute, standby, and faster power on

2018-04-30 Thread Jean-Jacques Hiblot
mute and standby pins are available on the codec. If they are connected, they should be managed by the driver, instead of relying on gpio hogs or on the initial state of the GPIOs. This series also includes a patch to improve the start-up time of the channels by disabling built-in DC diagnostics.

Re: [PATCH v2] init: Fix false positives in W+X checking

2018-04-30 Thread Will Deacon
On Fri, Apr 27, 2018 at 03:55:45PM -0600, Jeffrey Hugo wrote: > load_module() creates W+X mappings via __vmalloc_node_range() (from > layout_and_allocate()->move_module()->module_alloc()) by using > PAGE_KERNEL_EXEC. These mappings are later cleaned up via > "call_rcu_sched(&freeinit->rcu, do_free

[PATCH v3 2/3] ASoC: tas6424: Add support for the mute pin

2018-04-30 Thread Jean-Jacques Hiblot
mute can be connected to GPIO. In that case we have to drive it to the correct value Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/ti,tas6424.txt | 1 + sound/soc/codecs/tas6424.c | 37 +- 2 files

[PATCH v3 3/3] ASoC: tas6424: Allow disabling auto diagnostics for faster power-on

2018-04-30 Thread Jean-Jacques Hiblot
The TAS6424 incorporates both DC-load and AC-load diagnostics which are used to determine the status of the load. The DC diagnostics runs when any channel is directed to leave the Hi-Z state and enter the MUTE or PLAY state. The DC diagnostics are turned on by default but, if a fast startup without

[PATCH v3 1/3] ASoC: tas6424: Add support for the standby pin

2018-04-30 Thread Jean-Jacques Hiblot
The standby pin can be connected to a GPIO. In that case we have to drive it to the correct values for the TAS6424 to operate properly. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Rob Herring --- .../devicetree/bindings/sound/ti,tas6424.txt | 1 + sound/soc/codecs/tas6424.c

Re: [PATCH v3 4/6] rpmsg: Guard against null endpoint ops in destroy

2018-04-30 Thread Arnaud Pouliquen
Hello Chris, On 04/27/2018 12:59 AM, Chris Lew wrote: > In RPMSG GLINK the chrdev device will allocate an ept as part of the > rpdev creation. This device will not register endpoint ops even though > it has an allocated ept. Protect against the case where the device is > being destroyed. > > Sign

Re: [PATCH] gpio: pcie-idio-24: Fix off-by-one error in get_multiple loop

2018-04-30 Thread Linus Walleij
On Fri, Apr 20, 2018 at 3:50 PM, William Breathitt Gray wrote: > The PCIe-IDIO-24 features 8 bits of TTL GPIO which may be configured for > output or input. This patch fixes an off-by-one error in the loop > conditional for the get_multiple callback so that the TTL GPIO are > handled. > > Fixes:

Re: [PATCH v3 05/14] locking/qspinlock: Remove unbounded cmpxchg loop from locking slowpath

2018-04-30 Thread Will Deacon
On Sat, Apr 28, 2018 at 02:45:37PM +0200, Peter Zijlstra wrote: > On Thu, Apr 26, 2018 at 05:55:19PM +0100, Will Deacon wrote: > > On Thu, Apr 26, 2018 at 05:53:35PM +0200, Peter Zijlstra wrote: > > > On Thu, Apr 26, 2018 at 11:34:19AM +0100, Will Deacon wrote: > > > > @@ -290,58 +312,50 @@ void qu

Re: [PATCH] Bluetooth: Add a new 13d3:3496 QCA_ROME device

2018-04-30 Thread Marcel Holtmann
Hi Joao Paulo, > Without this patch we can't establish a SCO connection with this > adapter. > > This adapter is named "IMC Networks" under lsusb. > > T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13

Re: [PATCH] ACPI: APD: Add AMD misc clock handler support

2018-04-30 Thread kbuild test robot
/commits/Akshu-Agrawal/ACPI-APD-Add-AMD-misc-clock-handler-support/20180430-152810 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: x86_64-acpi-redef (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached

Re: [alsa-devel] [PATCH] ASoC: da7219: read fmw property to get mclk for non-dts systems

2018-04-30 Thread kbuild test robot
/commits/Akshu-Agrawal/ASoC-da7219-read-fmw-property-to-get-mclk-for-non-dts-systems/20180430-151717 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next config: x86_64-randconfig-s1-04301236 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026

Re: [RFC PATCH 1/2] ACPI / PNP: Don't add "enumeration_by_parent" devices

2018-04-30 Thread John Garry
On 30/04/2018 06:36, Lee Jones wrote: On Fri, 27 Apr 2018, John Garry wrote: On 26/04/2018 15:23, John Garry wrote: On 26/04/2018 15:08, Mika Westerberg wrote: On Thu, Apr 26, 2018 at 02:49:49PM +0100, John Garry wrote: diff --git a/drivers/bus/hisi_lpc.c b/drivers/bus/hisi_lpc.c index 2d4611

Re: [PATCH 1/2] drm/vc4: Skip ULPS latching when we're in that ULPS state already.

2018-04-30 Thread Boris Brezillon
On Tue, 31 Oct 2017 12:32:57 -0700 Eric Anholt wrote: > It seems that trying to go from unlatched to unlatched will time out > waiting for STOP, and we can just skip that. > > Signed-off-by: Eric Anholt Reviewed-by: Boris Brezillon > --- > drivers/gpu/drm/vc4/vc4_dsi.c | 5 + > 1 file c

[PATCH] Input: serio - add writing multiple bytes at once

2018-04-30 Thread David Engraf
The current version only supports forwarding a single byte to the tty layer. This patch adds serio_write_length() to allow a serport driver writing multiple bytes at once. The patch also includes a fallback to serio_write_length() when a driver did not register a single byte function. Signed-off-

  1   2   3   4   5   6   7   8   9   10   >