RE: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Sowjanya Komatineni
> > >> It became apparent to me that there is a problem here. The size of > > >> dma_buf is 4096 bytes and maximum message length is 4096 too, we have > > >> pushed 12 bytes packet_header to the buffer >and now there are 4084 > > >> bytes left for the message in the buffer. Hence transfer of 4K

Re: [PATCH] serial: Add Tegra Combined UART driver

2019-02-07 Thread Thierry Reding
On Thu, Feb 07, 2019 at 06:39:16AM -0800, Guenter Roeck wrote: > On Wed, Jan 23, 2019 at 11:28:19AM +0100, Thierry Reding wrote: > > The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows > > multiplexing multiple "virtual UARTs" into a single hardware serial > > port. The TCU is th

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Thierry Reding
On Thu, Feb 07, 2019 at 07:01:45PM +0300, Dmitry Osipenko wrote: > 07.02.2019 18:23, Sowjanya Komatineni пишет: > > > >> It became apparent to me that there is a problem here. The size of dma_buf > >> is 4096 bytes and maximum message length is 4096 too, we have pushed 12 > >> bytes packet_heade

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-02-07 Thread Mike Rapoport
On Thu, Feb 07, 2019 at 09:37:08PM +0530, Souptick Joarder wrote: > On Thu, Feb 7, 2019 at 9:27 PM Mike Rapoport wrote: > > > > Hi Souptick, > > > > On Thu, Feb 07, 2019 at 09:19:47PM +0530, Souptick Joarder wrote: > > > Hi Mike, > > > > > > Just thought to take opinion for documentation before pl

Re: [Patch v2 1/4] efi/x86: turn EFI runtime semaphore into a global lock

2019-02-07 Thread Ard Biesheuvel
On Thu, 7 Feb 2019 at 05:23, Hedi Berriche wrote: > > Make efi_runtime_lock semaphore global so that it can be used by EFI > runtime callers that may be defined outside efi/runtime-wrappers.c. > > Also now that efi_runtime_lock semaphore is no longer static, rename it > to efi_runtime_sem so it do

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-07 Thread Doug Ledford
On Thu, 2019-02-07 at 10:41 -0500, Tom Talpey wrote: > On 2/7/2019 10:37 AM, Doug Ledford wrote: > > On Thu, 2019-02-07 at 10:28 -0500, Tom Talpey wrote: > > > On 2/7/2019 10:04 AM, Chuck Lever wrote: > > > > > On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: > > > > > > > > > > On Thu, Feb 07

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-02-07 Thread Souptick Joarder
On Thu, Feb 7, 2019 at 9:27 PM Mike Rapoport wrote: > > Hi Souptick, > > On Thu, Feb 07, 2019 at 09:19:47PM +0530, Souptick Joarder wrote: > > Hi Mike, > > > > Just thought to take opinion for documentation before placing it in v3. > > Does it looks fine ? > > Overall looks good to me. Several min

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Thierry Reding
On Thu, Feb 07, 2019 at 03:11:06PM +, Sowjanya Komatineni wrote: > > > > > > > @@ -1124,6 +1453,10 @@ static int tegra_i2c_probe(struct platform_device > > > *pdev) > > > } > > > } > > > > > > + ret = tegra_i2c_init_dma(i2c_dev); > > > + if (ret < 0) > > > + goto disabl

Re: [PATCH] drm: enable uncached DMA optimization for ARM and arm64

2019-02-07 Thread Ard Biesheuvel
On Thu, 7 Feb 2019 at 16:33, Alex Deucher wrote: > > On Thu, Feb 7, 2019 at 10:20 AM Ard Biesheuvel > wrote: > > > > On Wed, 6 Feb 2019 at 19:38, Christian König > > wrote: > > > > > > Am 06.02.19 um 18:23 schrieb Ard Biesheuvel: > > > > On Fri, 25 Jan 2019 at 11:35, Ard Biesheuvel > > > > wro

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Dmitry Osipenko
07.02.2019 18:23, Sowjanya Komatineni пишет: > >> It became apparent to me that there is a problem here. The size of dma_buf >> is 4096 bytes and maximum message length is 4096 too, we have pushed 12 >> bytes packet_header to the buffer >and now there are 4084 bytes left for the >> message in t

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-02-07 Thread Mike Rapoport
Hi Souptick, On Thu, Feb 07, 2019 at 09:19:47PM +0530, Souptick Joarder wrote: > Hi Mike, > > Just thought to take opinion for documentation before placing it in v3. > Does it looks fine ? Overall looks good to me. Several minor points below. > +/** > + * __vm_insert_range - insert range of ke

Re: linux-next: Fixes tag needs some work in the sunxi tree

2019-02-07 Thread Maxime Ripard
On Thu, Feb 07, 2019 at 09:53:22PM +0800, Chen-Yu Tsai wrote: > On Thu, Feb 7, 2019 at 9:50 PM Stephen Rothwell wrote: > > > > Hi all, > > > > In commit > > > > df0aeb208b24 ("ARM: dts: sun9i: a80-optimus: Add node for AXP809's unused > > dc1sw regulator") > > > > Fixes tag > > > > Fixes: aa4

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Dmitry Osipenko
07.02.2019 18:17, Sowjanya Komatineni пишет: >>> @@ -1124,6 +1453,10 @@ static int tegra_i2c_probe(struct platform_device *pdev) } } + ret = tegra_i2c_init_dma(i2c_dev); + if (ret < 0) + goto disable_div_clk; + ret = t

Re: linux-next: Fixes tag needs some work in the drivers-x86 tree

2019-02-07 Thread Andy Shevchenko
On Thu, Feb 7, 2019 at 4:06 AM Bhardwaj, Rajneesh wrote: > On 07-Feb-19 4:27 AM, Stephen Rothwell wrote: > > Hi all, > > In commit > > 4284dc008f43 ("platform/x86: intel_pmc_core: Fix file permissions for > ltr_show") > > Fixes tag > > Fixes: 63cde0c16c67 ("platform/x86: intel_pmc_core: Show

Re: [PATCH v15] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2019-02-07 Thread Wolfram Sang
Hi Bjorn, thanks a lot for your additional information! > IMHO the split into two drivers is a bit of a mess and doesn't really > correspond with the hardware, as I mentioned at [1]. The PCI device > is the real hardware and the driver should claim that. AFAICT the > ACPI device exists only to

Re: [PATCH v6 1/6] irqchip/mtk-sysirq: support 4 interrupt parameters for sysirq

2019-02-07 Thread Marc Zyngier
On 07/02/2019 15:47, Marc Zyngier wrote: > On 07/02/2019 15:20, Matthias Brugger wrote: >> >> >> On 24/01/2019 09:07, Erin Lo wrote: >>> From: Seiya Wang >>> >>> To support partitioned PPIs, 4 interrupt parameters should be valid >>> for sysirq. >>> >>> Signed-off-by: Seiya Wang >>> Signed-off-by

Re: [PATCH 1/5] ARM: use unified assembler in macros

2019-02-07 Thread Nicolas Pitre
On Thu, 7 Feb 2019, Stefan Agner wrote: > Use unified assembler syntax (UAL) in macros. Divided syntax is > considered depricated. This will also allow to build the kernel > using LLVM's integrated assembler. > > Signed-off-by: Stefan Agner > --- > arch/arm/lib/copy_from_user.S | 2 +- > arch/a

Re: [PATCH v2 0/3] sysctl: fix range-checking in do_proc_dointvec_minmax_conv()

2019-02-07 Thread Luis Chamberlain
On Thu, Feb 07, 2019 at 06:34:23AM -0600, Zev Weiss wrote: > Hello, > > After being left with an unusable system after a typo executing > something like 'echo $((1<<24)) > /proc/sys/vm/max_map_count', I found > that do_proc_dointvec_minmax_conv() was missing a check to ensure that > the converted

Re: [PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-02-07 Thread Bartosz Golaszewski
śr., 6 lut 2019 o 13:39 Sekhar Nori napisał(a): > > On 31/01/19 7:08 PM, Bartosz Golaszewski wrote: > > > diff --git a/arch/arm/mach-davinci/cp_intc.c > > b/arch/arm/mach-davinci/cp_intc.c > > index 67805ca74ff8..b9aec3c48a6a 100644 > > --- a/arch/arm/mach-davinci/cp_intc.c > > +++ b/arch/arm/mac

Re: [PATCH 4.4 00/34] 4.4.174-stable review

2019-02-07 Thread Greg Kroah-Hartman
On Thu, Feb 07, 2019 at 06:20:43AM -0800, Guenter Roeck wrote: > On 2/7/19 3:41 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.174 release. > > There are 34 patches in this series, all will be posted as a response > > to this one. If anyone has any issue

Re: [PATCH 4.4 00/34] 4.4.174-stable review

2019-02-07 Thread Greg Kroah-Hartman
On Thu, Feb 07, 2019 at 06:41:01AM -0800, Guenter Roeck wrote: > On 2/7/19 6:20 AM, Guenter Roeck wrote: > > On 2/7/19 3:41 AM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.174 release. > > > There are 34 patches in this series, all will be posted as a re

Re: [PATCH v6 1/6] irqchip/mtk-sysirq: support 4 interrupt parameters for sysirq

2019-02-07 Thread Marc Zyngier
On 07/02/2019 15:20, Matthias Brugger wrote: > > > On 24/01/2019 09:07, Erin Lo wrote: >> From: Seiya Wang >> >> To support partitioned PPIs, 4 interrupt parameters should be valid >> for sysirq. >> >> Signed-off-by: Seiya Wang >> Signed-off-by: Erin Lo >> --- >> drivers/irqchip/irq-mtk-sysir

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-02-07 Thread Souptick Joarder
Hi Mike, On Thu, Jan 31, 2019 at 2:09 PM Mike Rapoport wrote: > > On Thu, Jan 31, 2019 at 08:38:12AM +0530, Souptick Joarder wrote: > > Previouly drivers have their own way of mapping range of > > kernel pages/memory into user vma and this was done by > > invoking vm_insert_page() within a loop.

[RFC PATCH] fs: Make splice() and tee() take into account O_NONBLOCK flag on pipes

2019-02-07 Thread Slavomir Kaslev
The current implementation of splice() and tee() ignores O_NONBLOCK set on pipe file descriptors and checks only the SPLICE_F_NONBLOCK flag for blocking on pipe arguments. This is inconsistent since splice()-ing from/to non-pipe file descriptors does take O_NONBLOCK into consideration. Fix this by

Re: [Linaro-mm-sig] [PATCH 2/4] staging: android: ion: Restrict cache maintenance to dma mapped memory

2019-02-07 Thread Ørjan Eide
On Wed, Feb 06, 2019 at 11:31:04PM -0800, Christoph Hellwig wrote: > The CPU may only access DMA mapped memory if ownership has been > transferred back to the CPU using dma_sync_{single,sg}_to_cpu, and then > before the device can access it again ownership needs to be transferred > back to the devi

Re: [PATCH v2 3/9] PCI: keystone: Add separate functions for configuring MSI and legacy interrupt

2019-02-07 Thread Lorenzo Pieralisi
On Thu, Feb 07, 2019 at 04:39:18PM +0530, Kishon Vijay Abraham I wrote: > ks_pcie_get_irq_controller_info() was used to configure both MSI and > legacy interrupt. This will prevent MSI or legacy interrupt specific > intializations. Add separate functions to configure MSI and legacy > interrupts. >

Re: [PATCH v8 4/8] devicetree: bindings: Document first ROHM BD70528 bindings

2019-02-07 Thread Guenter Roeck
On Thu, Feb 07, 2019 at 05:36:00PM +0200, Matti Vaittinen wrote: > Hello Lee, > > Thanks for the reviews! > > On Thu, Feb 07, 2019 at 02:04:18PM +, Lee Jones wrote: > > On Thu, 07 Feb 2019, Matti Vaittinen wrote: > > > > > Document bindings for regulators (3 bucks, 3 LDOs and 2 LED > > > dri

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-07 Thread Tom Talpey
On 2/7/2019 10:37 AM, Doug Ledford wrote: On Thu, 2019-02-07 at 10:28 -0500, Tom Talpey wrote: On 2/7/2019 10:04 AM, Chuck Lever wrote: On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: Requiring ODP capable hardware and appl

[PATCH] ALSA: hda - Add quirk for HP EliteBook 840 G5

2019-02-07 Thread Jurica Vukadin
This enables mute LED support and fixes switching jacks when the laptop is docked. Signed-off-by: Jurica Vukadin --- sound/pci/hda/patch_conexant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 152f54137082..a4ee7656d9ee

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-07 Thread Doug Ledford
On Thu, 2019-02-07 at 10:28 -0500, Tom Talpey wrote: > On 2/7/2019 10:04 AM, Chuck Lever wrote: > > > > > On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: > > > > > > On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: > > > > > > > Requiring ODP capable hardware and applications t

Re: [PATCH v8 4/8] devicetree: bindings: Document first ROHM BD70528 bindings

2019-02-07 Thread Matti Vaittinen
Hello Lee, Thanks for the reviews! On Thu, Feb 07, 2019 at 02:04:18PM +, Lee Jones wrote: > On Thu, 07 Feb 2019, Matti Vaittinen wrote: > > > Document bindings for regulators (3 bucks, 3 LDOs and 2 LED > > drivers) and 4 GPIO pins which can be configured for I/O or > > as interrupt sources w

Re: [PATCH v4 09/12] dt-bindings: soc: fix typo of MT8173 power dt-bindings

2019-02-07 Thread Matthias Brugger
On 01/02/2019 09:30, Weiyi Lu wrote: > fix incorrect IC name that will affect the MT8183 power dt-bindings > > Signed-off-by: Weiyi Lu > --- pushed to v5.0-next/soc Thanks > include/dt-bindings/power/mt8173-power.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --g

LSF/MM 2019: Call for Proposals (UPDATED!)

2019-02-07 Thread Jens Axboe
Hi, This is an important UPDATE to the previous LSF/MM announcement: https://lore.kernel.org/linux-block/51b4b263-a0f2-113d-7bdc-f7960b540...@kernel.dk/ A BPF track will join the annual LSF/MM Summit this year! Please read the updated description and CFP information below. It will be held from

[PATCH V3 3/3] MAINTAINERS: Add Hyper-V IOMMU driver into Hyper-V CORE AND DRIVERS scope

2019-02-07 Thread lantianyu1986
From: Lan Tianyu This patch is to add Hyper-V IOMMU driver file into Hyper-V CORE and DRIVERS scope. Signed-off-by: Lan Tianyu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9f64f8d..5fb6306 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -701

[PATCH V3 2/3] HYPERV/IOMMU: Add Hyper-V stub IOMMU driver

2019-02-07 Thread lantianyu1986
From: Lan Tianyu On the bare metal, enabling X2APIC mode requires interrupt remapping function which helps to deliver irq to cpu with 32-bit APIC ID. Hyper-V doesn't provide interrupt remapping function so far and Hyper-V MSI protocol already supports to deliver interrupt to the CPU whose virtual

[PATCH V3 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-07 Thread lantianyu1986
From: Lan Tianyu Hyper-V doesn't provide irq remapping for IO-APIC. To enable x2apic, set x2apic destination mode to physcial mode when x2apic is available and Hyper-V IOMMU driver makes sure cpus assigned with IO-APIC irqs have 8-bit APIC id. Signed-off-by: Lan Tianyu --- Change since v2:

[PATCH V3 0/3] x86/Hyper-V/IOMMU: Add Hyper-V IOMMU driver to support x2apic mode

2019-02-07 Thread lantianyu1986
From: Lan Tianyu On the bare metal, enabling X2APIC mode requires interrupt remapping function which helps to deliver irq to cpu with 32-bit APIC ID. Hyper-V doesn't provide interrupt remapping function so far and Hyper-V MSI protocol already supports to deliver interrupt to the CPU whose virtual

Re: [PATCH] drm: enable uncached DMA optimization for ARM and arm64

2019-02-07 Thread Alex Deucher
On Thu, Feb 7, 2019 at 10:20 AM Ard Biesheuvel wrote: > > On Wed, 6 Feb 2019 at 19:38, Christian König > wrote: > > > > Am 06.02.19 um 18:23 schrieb Ard Biesheuvel: > > > On Fri, 25 Jan 2019 at 11:35, Ard Biesheuvel > > > wrote: > > >> On Fri, 25 Jan 2019 at 12:30, Christian König > > >> wrote

Re: [PATCH] mm/memory-hotplug: Add sysfs hot-remove trigger

2019-02-07 Thread Robin Murphy
On 07/02/2019 13:36, Oscar Salvador wrote: On Wed, Feb 06, 2019 at 05:03:53PM +, Robin Murphy wrote: ARCH_MEMORY_PROBE is a useful thing for testing and debugging hotplug, but being able to exercise the (arguably trickier) hot-remove path would be even more useful. Extend the feature to allo

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Ben Ho > > Add basic chip support for Mediatek 8183, include > pinctrl file, uart node with correct uart clocks, pwrap device > > Add clock controller nodes, include topckgen, infracfg, > apmixedsys and subsystem. > > Signed-off-by: Ben Ho > Signe

Re: [PATCH] drivers: base: add support to skip power management in device/driver model

2019-02-07 Thread Sudeep Holla
On Thu, Feb 07, 2019 at 04:18:57PM +0100, Ulf Hansson wrote: > On Thu, 7 Feb 2019 at 16:06, Sudeep Holla wrote: [...] > > Indeed, I was ignoring knowing that it's harmless. But more people > > started to complain, and Rafael suggested this which I agree as we > > have several pseudo devices crea

Re: [PATCH v6 5/6] dt-bindings: pinctrl: mt8183: add binding document

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Zhiyong Tao > > The commit adds mt8183 compatible node in binding document. > > Signed-off-by: Zhiyong Tao > Signed-off-by: Erin Lo > --- I'm missing Linus Walleij on the recipient list. Pleas make sure to add all persons from the get_maintainers

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-07 Thread Tom Talpey
On 2/7/2019 10:04 AM, Chuck Lever wrote: On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: Requiring ODP capable hardware and applications that control RDMA access to use file leases and be able to cancel/recall client side de

Re: [PATCH 00/35] ARM: davinci: modernize the irq support

2019-02-07 Thread Sekhar Nori
Hi Bartosz, On 31/01/19 7:08 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This series ports the davinci platform to using SPARSE_IRQ, cleans up > the irqchip drivers and moves them over to drivers/irqchip. > > The series can be logically split into four parts. The first (1-8)

RE: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Sowjanya Komatineni
>It became apparent to me that there is a problem here. The size of dma_buf is >4096 bytes and maximum message length is 4096 too, we have pushed 12 bytes >packet_header to the buffer >and now there are 4084 bytes left for the message >in the buffer. Hence transfer of 4KB will cause buffer over

Re: [PATCH v4 3/5] clk: renesas: rcar-gen3: Support Z and Z2 clocks with high frequency parents

2019-02-07 Thread Simon Horman
On Thu, Feb 07, 2019 at 04:05:58PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Feb 7, 2019 at 2:36 PM Simon Horman > wrote: > > Support Z and Z2 clocks with parent frequencies greater than UINT32_MAX Hz > > (~4.29GHz). > > > > The DIV_ROUND_CLOSEST_ULL() macro accepts a 64bit divide

Re: [PATCH v2 1/6] dt-bindings: sound: Document jz4740-codec bindings

2019-02-07 Thread Mark Brown
On Thu, Feb 07, 2019 at 11:17:37AM -0300, Paul Cercueil wrote: > Well you only applied patch 6/6, didn't you? I only see this one in your > tree. Hrm, yeah. Wonder what happened there... signature.asc Description: PGP signature

Applied "regulator: lochnagar: Fix n_voltages setting for VDDCORE" to the regulator tree

2019-02-07 Thread Mark Brown
The patch regulator: lochnagar: Fix n_voltages setting for VDDCORE has been applied to the regulator tree at https://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 2

Applied "ASoC: codecs: jz4740: Use SPDX license notifier" to the asoc tree

2019-02-07 Thread Mark Brown
The patch ASoC: codecs: jz4740: Use SPDX license notifier has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST" to the asoc tree

2019-02-07 Thread Mark Brown
The patch ASoC: codecs: Kconfig: Show knob, and depend on MIPS || COMPILE_TEST has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "ASoC: codecs: jz4725b: Use C++ style comments in header" to the asoc tree

2019-02-07 Thread Mark Brown
The patch ASoC: codecs: jz4725b: Use C++ style comments in header has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) a

Re: [PATCH] drm: enable uncached DMA optimization for ARM and arm64

2019-02-07 Thread Ard Biesheuvel
On Wed, 6 Feb 2019 at 19:38, Christian König wrote: > > Am 06.02.19 um 18:23 schrieb Ard Biesheuvel: > > On Fri, 25 Jan 2019 at 11:35, Ard Biesheuvel > > wrote: > >> On Fri, 25 Jan 2019 at 12:30, Christian König > >> wrote: > >>> Am 25.01.19 um 09:43 schrieb Ard Biesheuvel: > On Thu, 24 Ja

Re: [PATCH v6 1/6] irqchip/mtk-sysirq: support 4 interrupt parameters for sysirq

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > From: Seiya Wang > > To support partitioned PPIs, 4 interrupt parameters should be valid > for sysirq. > > Signed-off-by: Seiya Wang > Signed-off-by: Erin Lo > --- > drivers/irqchip/irq-mtk-sysirq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deleti

Re: [PATCH] drivers: base: add support to skip power management in device/driver model

2019-02-07 Thread Ulf Hansson
On Thu, 7 Feb 2019 at 16:06, Sudeep Holla wrote: > > On Thu, Feb 07, 2019 at 03:29:07PM +0100, Ulf Hansson wrote: > > On Thu, 7 Feb 2019 at 11:36, Sudeep Holla wrote: > > [..] > > > > > > > May be, but as mentioned above we can't really. Also this change will > > > help to avoid creating unnecess

[PATCH 1/4] ARM: dts: imx6qdl-sabresd: add regulator control for isl29023 sensor

2019-02-07 Thread Anson Huang
The isl29023 light sensor driver has supported regulator control, assign the power supply for isl29023 to enable the control. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/a

[PATCH 3/4] ARM: dts: imx6qdl-sabresd: add regulators control for mma8451 sensor

2019-02-07 Thread Anson Huang
The mma8451 sensor driver has supported regulators control, assign the power supplies for mma8451 to enable the control. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/

[PATCH 2/4] ARM: dts: imx6qdl-sabresd: add regulators control for mag3110 sensor

2019-02-07 Thread Anson Huang
The mag3110 sensor driver has supported regulators control, assign the power supplies for mag3110 to enable the control. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/

[PATCH 4/4] ARM: dts: imx6qdl-sabresd: remove reg_sensors' regulator-always-on

2019-02-07 Thread Anson Huang
Now that all sensors supplied by reg_sensors have supported regulator control, reg_sensors does NOT need to be always ON, remove "regulator-always-on" to save power. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/

Re: [RFC PATCH] PCI/portdrv: Support for subtractive decode bridge

2019-02-07 Thread Bjorn Helgaas
Hi Honghui, On Fri, Dec 14, 2018 at 11:40:29AM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > The Class Code for subtractive decode PCI-to-PCI bridge is 060401h, > change the class_mask values to make portdrv support this type bridge. I assume you have a Root Port or Switch

RE: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Sowjanya Komatineni
> > > > > @@ -1124,6 +1453,10 @@ static int tegra_i2c_probe(struct platform_device > > > *pdev) > > > } > > > } > > > > > > + ret = tegra_i2c_init_dma(i2c_dev); > > > + if (ret < 0) > > > + goto disable_div_clk; > > > + > > > ret = tegra_i2c_init(i2c_dev); > > > if (ret)

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Dmitry Osipenko
07.02.2019 18:11, Sowjanya Komatineni пишет: >> >> >>> @@ -1124,6 +1453,10 @@ static int tegra_i2c_probe(struct platform_device >>> *pdev) >>> } >>> } >>> >>> + ret = tegra_i2c_init_dma(i2c_dev); >>> + if (ret < 0) >>> + goto disable_div_clk; >>> + >>> ret = teg

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-07 Thread Srinath Mannam
Hi Mathias, Thanks for review, please see my comments below inline. On Thu, Feb 7, 2019 at 8:32 PM Mathias Nyman wrote: > > On 05.02.2019 08:18, Srinath Mannam wrote: > > Add a quirk to reset xHCI port PHY on port disconnect event. > > Stingray USB HS PHY has an issue, that USB High Speed device

Re: [PATCH v6 2/6] dt-bindings: arm: Add bindings for Mediatek MT8183 SoC Platform

2019-02-07 Thread Matthias Brugger
On 24/01/2019 09:07, Erin Lo wrote: > This adds dt-binding documentation of cpu for Mediatek MT8183. > > Signed-off-by: Erin Lo > Reviewed-by: Rob Herring pushed to v5.0-next/dts64 Thanks, Matthias > --- > Documentation/devicetree/bindings/arm/mediatek.txt | 4 > 1 file changed, 4 in

Re: [linux-sunxi] [RFT PATCH 7/9] mfd: axp20x: add USB power supply mfd cell to AXP813

2019-02-07 Thread Priit Laes
On Thu, Feb 07, 2019 at 02:45:33PM +0800, Chen-Yu Tsai wrote: > From: Quentin Schulz > > The AXP813 has a VBUS power input. Now that the axp20x_usb_power driver > supports this variant, we can add an mfd cell for it to use it. > > Signed-off-by: Quentin Schulz > [w...@csie.org: add commit messa

Re: [PATCH 1/2] Acked-by: Gustavo Pimentel

2019-02-07 Thread Gustavo Pimentel
On 06/02/2019 09:57, Stefan Agner wrote: > Add length to the struct dw_pcie and check that the accessors > dw_pcie_(rd|wr)_conf() do not read/write beyond that point. > > Suggested-by: Trent Piepho > Signed-off-by: Stefan Agner > --- > Changes in v4: > - Move length check to dw_pcie_rd_conf > Ch

Re: [PATCH 0/2] clk: meson: Add G12A AO Clock + Reset Controller

2019-02-07 Thread Jerome Brunet
On Mon, 2019-02-04 at 10:13 +0100, Neil Armstrong wrote: > This patchset add support for the Amlogic G12A SoC family Always-On > clock and reset controller. > > This adds support for clocks on the Always-On domain like : > - Always-On UARTS & I2C Controllers > - CEC Controllers > - SARADC source a

RE: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Sowjanya Komatineni
> > > > @@ -1124,6 +1453,10 @@ static int tegra_i2c_probe(struct platform_device > > *pdev) > > } > > } > > > > + ret = tegra_i2c_init_dma(i2c_dev); > > + if (ret < 0) > > + goto disable_div_clk; > > + > > ret = tegra_i2c_init(i2c_dev); > > if (ret) { > >

Re: [PATCH 1/2] dt-bindings: clk: add G12A AO Clock and Reset Bindings

2019-02-07 Thread Jerome Brunet
On Mon, 2019-02-04 at 10:13 +0100, Neil Armstrong wrote: > Add bindings for the Amlogic G12A AO Clock and Reset controllers. > > Signed-off-by: Neil Armstrong > --- > .../bindings/clock/amlogic,gxbb-aoclkc.txt| 1 + > include/dt-bindings/clock/g12a-aoclkc.h | 43 +++ >

Re: [PATCHv5 00/10] Heterogeneuos memory node attributes

2019-02-07 Thread Keith Busch
On Thu, Feb 07, 2019 at 01:53:36AM -0800, Jonathan Cameron wrote: > As a general heads up, ACPI 6.3 is out and makes some changes. > Discussions I've had in the past suggested there were few systems > shipping with 6.2 HMAT and that many firmwares would start at 6.3. > Of course, that might not be

Re: [PATCH v6 6/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-02-07 Thread Matthias Brugger
On 01/02/2019 06:11, Erin Lo wrote: > Add back more people since mail server issue > > On Fri, 2019-02-01 at 11:33 +0800, Erin Lo wrote: >> On Thu, 2019-01-31 at 15:10 -0600, Rob Herring wrote: >>> On Wed, Jan 30, 2019 at 8:34 PM Erin Lo wrote: On Wed, 2019-01-30 at 10:22 -0600, Rob

INFO: rcu detected stall in __perf_sw_event

2019-02-07 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b0314565da2b Merge tag 'for_linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15cd5e7340 kernel config: https://syzkaller.appspot.com/x/.config?x=8f00801d7b7c4fe6 da

Re: [PATCH] drivers: base: add support to skip power management in device/driver model

2019-02-07 Thread Sudeep Holla
On Thu, Feb 07, 2019 at 03:29:07PM +0100, Ulf Hansson wrote: > On Thu, 7 Feb 2019 at 11:36, Sudeep Holla wrote: [..] > > > > May be, but as mentioned above we can't really. Also this change will > > help to avoid creating unnecessary power sysfs which is mainly runtime > > pm related for some of

Re: [PATCH v4 3/5] clk: renesas: rcar-gen3: Support Z and Z2 clocks with high frequency parents

2019-02-07 Thread Geert Uytterhoeven
Hi Simon, On Thu, Feb 7, 2019 at 2:36 PM Simon Horman wrote: > Support Z and Z2 clocks with parent frequencies greater than UINT32_MAX Hz > (~4.29GHz). > > The DIV_ROUND_CLOSEST_ULL() macro accepts a 64bit dividend and 32bit > divisor. This leads to truncation of the dividend, which is the Z or Z

Re: [PATCH 1/3] sched/wait: use freezable_schedule when possible

2019-02-07 Thread Joel Fernandes
On Thu, Feb 07, 2019 at 12:30:50AM +0100, Hugo Lefeuvre wrote: > Hi Joel, > > > I'm curious did you try the freezing process and see if pointless wakeups > > are > > reduced? That would be an added bonus if you did. > > I'm currently testing these changes. I hope to be able to come back with >

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-07 Thread Chuck Lever
> On Feb 7, 2019, at 12:23 AM, Jason Gunthorpe wrote: > > On Thu, Feb 07, 2019 at 02:52:58PM +1100, Dave Chinner wrote: > >> Requiring ODP capable hardware and applications that control RDMA >> access to use file leases and be able to cancel/recall client side >> delegations (like NFS is alre

Re: [PATCH 2/2] drivers: xhci: Add quirk to reset xHCI port PHY

2019-02-07 Thread Mathias Nyman
On 05.02.2019 08:18, Srinath Mannam wrote: Add a quirk to reset xHCI port PHY on port disconnect event. Stingray USB HS PHY has an issue, that USB High Speed device detected at Full Speed after the same port has connected to Full speed device. This problem can be resolved with that port PHY reset

Re: [PATCH v2] PCI: Fixup the RTIT_BAR of Intel TH on Denverton

2019-02-07 Thread Bjorn Helgaas
On Thu, Feb 07, 2019 at 03:30:05PM +0200, Alexander Shishkin wrote: > On Denverton's integration of the Intel(R) Trace Hub (for a reference > and overview see Documentation/trace/intel_th.txt) the reported size of > one of its resources (RTIT_BAR) doesn't match its actual size, which > leads to ove

Re: [PATCH] ath: move spin_lock_bh to spin_lock in tasklet

2019-02-07 Thread Kalle Valo
Zhiwei Jiang wrote: > as you are already in a tasklet, it is unnecessary to call > spin_lock_bh, because softirq already disable BH. > > Signed-off-by: Zhiwei Jiang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. b789f333d7ac ath: move spin_lock_bh to spin_lo

Re: [PATCH v7 2/3] arm64: implement ftrace with regs

2019-02-07 Thread Torsten Duwe
On Thu, Feb 07, 2019 at 09:51:57AM -0500, Steven Rostedt wrote: > On Thu, 7 Feb 2019 10:33:50 + > Julien Thierry wrote: > > > I don't see really much documentation on that function. As far as I can > > tell it is only called once for each site (and if it didn't, we'd always > > be placing the

Re: [PATCH v7 2/3] arm64: implement ftrace with regs

2019-02-07 Thread Julien Thierry
On 07/02/2019 14:51, Steven Rostedt wrote: > On Thu, 7 Feb 2019 10:33:50 + > Julien Thierry wrote: > >> I don't see really much documentation on that function. As far as I can >> tell it is only called once for each site (and if it didn't, we'd always >> be placing the same instruction, bu

Re: [PATCH 06/10] security: fix documentation for the path_chmod hook

2019-02-07 Thread Stephen Smalley
On 2/7/19 9:32 AM, Stephen Smalley wrote: On 2/7/19 9:09 AM, Edwin Zimmerman wrote: On Thursday, February 07, 2019 8:50 AM Al Viro wrote: On Thu, Feb 07, 2019 at 03:44:54PM +0300, Denis Efremov wrote: The path_chmod hook was changed in the commit "switch security_path_chmod() to struct path *"

Re: [PATCH][RESEND] ath10k: snoc: remove set but not used variable 'ar_snoc'

2019-02-07 Thread Kalle Valo
YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/ath10k/snoc.c: In function > 'ath10k_snoc_tx_pipe_cleanup': > drivers/net/wireless/ath/ath10k/snoc.c:681:22: warning: > variable 'ar_snoc' set but not used [-Wunused-but-set-variable] > > Signed-of

Re: [PATCH] ASoC: samsung: Prevent clk_get_rate() calls in atomic context

2019-02-07 Thread Mark Brown
On Thu, Feb 07, 2019 at 03:47:14PM +0100, Sylwester Nawrocki wrote: > On 2/7/19 15:32, Mark Brown wrote: > > Please think hard before including complete backtraces in upstream > > reports, they are very large and contain almost no useful information > > relative to their size so often obscure the

Re: [PATCH] ath10k: sdio: add .owner field

2019-02-07 Thread Kalle Valo
Brian Norris wrote: > sdio_register_driver() doesn't do this for us, unlike (for example) > platform_driver_register(). This is important for helping track > module-to-device relationships. > > Signed-off-by: Brian Norris > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git

Re: [PATCH v3 5/5] Revert "scsi: ufs: disable vccq if it's not needed by UFS device"

2019-02-07 Thread Jeffrey Hugo
On 2/7/2019 1:50 AM, Alim Akhtar wrote: Hi Marc, On 06/02/19 9:22 PM, Marc Gonzalez wrote: On 06/02/2019 16:27, Alim Akhtar wrote: On 06/02/19 8:29 PM, Marc Gonzalez wrote: [2.405734] regulator_disable: ENTER vdd_l26 [2.405958] regulator_disable: EXIT vdd_l26 [2.406032] regula

Re: [PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-07 Thread Dmitry Osipenko
06.02.2019 22:16, Sowjanya Komatineni пишет: > This patch adds DMA support for Tegra I2C. > > Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > transfer size of the max FIFO depth and DMA mode is used for > transfer size higher than max FIFO depth to save CPU overhead. > > PIO mod

Re: [PATCH v7 2/3] arm64: implement ftrace with regs

2019-02-07 Thread Steven Rostedt
On Thu, 7 Feb 2019 10:33:50 + Julien Thierry wrote: > I don't see really much documentation on that function. As far as I can > tell it is only called once for each site (and if it didn't, we'd always > be placing the same instruction, but I agree it wouldn't be nice). It > could depend on ho

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-07 Thread Neil Horman
On Wed, Feb 06, 2019 at 01:48:44PM -0800, Julien Gomes wrote: > > > On 2/6/19 1:39 PM, Neil Horman wrote: > > On Wed, Feb 06, 2019 at 01:26:55PM -0800, Julien Gomes wrote: > >> > >> > >> On 2/6/19 1:07 PM, Marcelo Ricardo Leitner wrote: > >>> On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes

Re: [PATCH net-next v2 04/10] net: phy: Automatically fill the generic TP, FIBRE and Backplane modes

2019-02-07 Thread Maxime Chevallier
Hello Andrew, On Thu, 7 Feb 2019 15:09:39 +0100 Andrew Lunn wrote: >On Thu, Feb 07, 2019 at 10:49:33AM +0100, Maxime Chevallier wrote: >> PHY advertised and supported linkmodes contain both specific modes such >> as 1000BASET Half/Full and generic ones such as TP that represent a >> class of mod

Re: [RFC PATCH 0/4] kvm: Report unused guest pages to host

2019-02-07 Thread Nitesh Narayan Lal
On 2/4/19 1:15 PM, Alexander Duyck wrote: > This patch set provides a mechanism by which guests can notify the host of > pages that are not currently in use. Using this data a KVM host can more > easily balance memory workloads between guests and improve overall system > performance by avoiding un

hi

2019-02-07 Thread Darpino flora johart
Hello dear did you received my email ? Thanks Lieutenant Darpino flora johart

Re: [PATCH] ASoC: samsung: Prevent clk_get_rate() calls in atomic context

2019-02-07 Thread Sylwester Nawrocki
On 2/7/19 15:32, Mark Brown wrote: > On Thu, Feb 07, 2019 at 03:20:41PM +0100, Sylwester Nawrocki wrote: > >> [ 82.109780] BUG: sleeping function called from invalid context at >> kernel/locking/mutex.c:908 >> [ 82.117009] in_atomic(): 1, irqs_disabled(): 128, pid: 1554, name: >> speaker-tes

Re: [PATCH 06/10] security: fix documentation for the path_chmod hook

2019-02-07 Thread Al Viro
On Thu, Feb 07, 2019 at 09:09:49AM -0500, Edwin Zimmerman wrote: > > > diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h > > > index cb93972257be..5d6428d0027b 100644 > > > --- a/include/linux/lsm_hooks.h > > > +++ b/include/linux/lsm_hooks.h > > > @@ -304,8 +304,7 @@ > > > *

Re: [PATCH net] sctp: make sctp_setsockopt_events() less strict about the option length

2019-02-07 Thread Neil Horman
On Wed, Feb 06, 2019 at 01:48:42PM -0800, Julien Gomes wrote: > > > On 2/6/19 1:23 PM, Neil Horman wrote: > > On Wed, Feb 06, 2019 at 07:07:23PM -0200, Marcelo Ricardo Leitner wrote: > >> On Wed, Feb 06, 2019 at 12:48:38PM -0800, Julien Gomes wrote: > >>> > >>> > >>> On 2/6/19 12:37 PM, Marcelo R

[PATCH] arch: riscv: fix logic error in parse_dtb

2019-02-07 Thread Andreas Schwab
The function early_init_dt_scan returns true if a DTB was detected. Fixes: 8fd6e05c7463 ("arch: riscv: support kernel command line forcing when no DTB passed") Signed-off-by: Andreas Schwab --- arch/riscv/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ri

Re: [PATCH v4 3/3] scsi: ufs-bsg: Allow reading descriptors

2019-02-07 Thread Martin K. Petersen
Avri, > Is there any reason why this sires is not applied for 5.1? I haven't had time to review it yet. I'll get there... -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 4.4 00/34] 4.4.174-stable review

2019-02-07 Thread Guenter Roeck
On 2/7/19 6:20 AM, Guenter Roeck wrote: On 2/7/19 3:41 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.174 release. There are 34 patches in this series, all will be posted as a response to this one.  If anyone has any issues with these being applied, please

Re: [PATCH V14 5/5] i2c: tegra: add i2c interface timing support

2019-02-07 Thread Dmitry Osipenko
06.02.2019 22:16, Sowjanya Komatineni пишет: > This patch adds I2C interface timing registers support for > proper bus rate configuration along with meeting the i2c spec Capitals for "I2C spec", please. [snip]

Re: [PATCH] drivers: base: add support to skip power management in device/driver model

2019-02-07 Thread Ulf Hansson
On Thu, 7 Feb 2019 at 11:36, Sudeep Holla wrote: > > On Thu, Feb 07, 2019 at 10:53:56AM +0100, Ulf Hansson wrote: > > On Wed, 6 Feb 2019 at 16:09, Sudeep Holla wrote: > > > > > > All device objects in the driver model contain fields that control the > > > handling of various power management acti

Re: [PATCH 06/10] security: fix documentation for the path_chmod hook

2019-02-07 Thread Stephen Smalley
On 2/7/19 9:09 AM, Edwin Zimmerman wrote: On Thursday, February 07, 2019 8:50 AM Al Viro wrote: On Thu, Feb 07, 2019 at 03:44:54PM +0300, Denis Efremov wrote: The path_chmod hook was changed in the commit "switch security_path_chmod() to struct path *" (cdcf116d44e7). The argument @mnt was remo

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