Re: [PATCH] iommu/amd: Fix IOMMU page flush when detach all devices from a domain

2019-01-24 Thread j...@8bytes.org
Hi Suravee, On Thu, Jan 24, 2019 at 03:25:19AM +, Suthikulpanit, Suravee wrote: > Actually, I just noticed that device_flush_dte() has already handled flushing > the DTE > for alias device as well. Please see the link below. > > https://elixir.bootlin.com/linux/latest/source/drivers/iommu/am

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-24 Thread Tomasz Figa
On Wed, Jan 23, 2019 at 7:42 PM Paul Kocialkowski wrote: > > Hi Alex, > > On Wed, 2019-01-23 at 18:43 +0900, Alexandre Courbot wrote: > > On Tue, Jan 22, 2019 at 7:10 PM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Tue, 2019-01-22 at 17:19 +0900, Tomasz Figa wrote: > > > > Hi Paul, > > >

Re: [PATCH 3/9] irq/irq_sim: provide irq_sim_get_type()

2019-01-24 Thread Uwe Kleine-König
On Thu, Jan 24, 2019 at 08:46:56AM +0100, Bartosz Golaszewski wrote: > śr., 23 sty 2019 o 20:18 Uwe Kleine-König > napisał(a): > > > > Hello Bartosz, > > > > On Wed, Jan 23, 2019 at 03:15:32PM +0100, Bartosz Golaszewski wrote: > > > Provide a helper that allows users to retrieve the configured flo

[PATCH v3 16/16] block: sed-opal: rename next to execute_steps

2019-01-24 Thread David Kozub
As the function is responsible for executing the individual steps supplied in the steps argument, execute_steps is a more descriptive name than the rather generic next. Signed-off-by: David Kozub --- block/sed-opal.c | 37 +++-- 1 file changed, 19 insertions(+), 1

[PATCH 16/16] block: sed-opal: rename next to execute_steps

2019-01-24 Thread David Kozub
As the function is responsible for executing the individual steps supplied in the steps argument, execute_steps is a more descriptive name than the rather generic next. Signed-off-by: David Kozub --- block/sed-opal.c | 37 +++-- 1 file changed, 19 insertions(+), 1

Re: [PATCH v3 0/2] Support for eMMC in AM65x-evm

2019-01-24 Thread Faiz Abbas
Hi, On 17/01/19 3:14 PM, Faiz Abbas wrote: > The following patches add eMMC support on TI's AM65x-evm. > > v3: > 1. Fixed patch titles to only include eMMC > 2. Added dma-coherent to the sdhci0 node. > > v2: > 1. The SD card node is under debug for some usecases. > Only upstreaming eMMC s

Re: [Intel-gfx] [PATCH 1/3] treewide: Lift switch variables out of switches

2019-01-24 Thread Greg KH
On Thu, Jan 24, 2019 at 07:55:51AM +1300, Kees Cook wrote: > On Thu, Jan 24, 2019 at 4:44 AM Jani Nikula > wrote: > > > > On Wed, 23 Jan 2019, Edwin Zimmerman wrote: > > > On Wed, 23 Jan 2019, Jani Nikula wrote: > > >> On Wed, 23 Jan 2019, Greg KH wrote: > > >> > On Wed, Jan 23, 2019 at 03:03:

Re: [PATCH v3 1/2] mm, oom: fix use-after-free in oom_kill_process

2019-01-24 Thread Greg KH
On Thu, Jan 24, 2019 at 08:35:27AM +0900, Tetsuo Handa wrote: > Shakeel Butt wrote: > > > How should we proceed with this patch? > > > > > > > We do want to backport this patch to stable kernels. However shouldn't > > we wait for this patch to be applied to Linus's tree first. Yes we will. > But

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

2019-01-24 Thread Erin Lo
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 deletions(-) diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/dri

[PATCH v6 0/6] Add basic and clock support for Mediatek MT8183 SoC

2019-01-24 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. This series contains document bindings, device tree including interrupt, uart, c

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

2019-01-24 Thread Erin Lo
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 Signed-off-by: Erin Lo Signed-off-by: Seiya Wang Signed-off-by

Re: [PATCH] misc: aspeed-lpc-ctrl: Correct return values

2019-01-24 Thread Greg Kroah-Hartman
On Wed, Jan 23, 2019 at 03:06:34PM -0800, Vijay Khemka wrote: > Corrected some of return values with appropriate meanings. > > Signed-off-by: Vijay Khemka > --- > drivers/misc/aspeed-lpc-ctrl.c | 15 +++ > 1 file changed, 7 insertions(+), 8 deletions(-) > > diff --git a/drivers/misc

[PATCH v6 3/6] dt-bindings: mtk-sysirq: Add compatible for Mediatek MT8183

2019-01-24 Thread Erin Lo
This adds dt-binding documentation of SYSIRQ for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interru

[PATCH v6 4/6] dt-bindings: serial: Add compatible for Mediatek MT8183

2019-01-24 Thread Erin Lo
This adds dt-binding documentation of uart for Mediatek MT8183 SoC Platform. Signed-off-by: Erin Lo Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Docume

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

2019-01-24 Thread Erin Lo
This adds dt-binding documentation of cpu for Mediatek MT8183. Signed-off-by: Erin Lo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devic

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

2019-01-24 Thread Erin Lo
From: Zhiyong Tao The commit adds mt8183 compatible node in binding document. Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- .../devicetree/bindings/pinctrl/pinctrl-mt8183.txt | 115 + 1 file changed, 115 insertions(+) create mode 100644 Documentation/devicetree/bi

Re: [PATCH v7 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-24 Thread Sergei Shtylyov
On 24.01.2019 4:40, masonccy...@mxic.com.tw wrote: > > @@ -0,0 +1,46 @@ > > +Renesas R-Car Gen3 RPC-IF controller Device Tree Bindings > > + > > + > > +Required properties: > > +- compatible: should be an SoC-specific comp

[PATCH V4 4/6] misc/pvpanic: add pvpanic acpi driver

2019-01-24 Thread Peng Hao
Make pvpanic acpi driver as separate file and modify code in order to adapt the framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/Kconfig| 13 +++ drivers/misc/pvpanic/Makefile | 1 + drivers/misc/pvpanic/pvpanic-acpi.c | 77 + 3 f

[PATCH V4 5/6] misc/pvpanic: add pvpanic mmio driver

2019-01-24 Thread Peng Hao
Make pvpanic mmio driver as separate file and modify code in order to adapt the framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/Kconfig | 7 ++ drivers/misc/pvpanic/Makefile | 1 + drivers/misc/pvpanic/pvpanic-of.c | 53 +++ 3 files

[PATCH V4 0/6] add pvpanic driver framework

2019-01-24 Thread Peng Hao
QEMU community requires additional PCI devices to simulate PVPANIC devices so that some architectures can not occupy precious less than 4G of memory space. Previously, I added PCI driver directly to the original version of the driver, which made the whole driver file look a bit cluttered. So And

[PATCH V4 3/6] misc/pvpanic: add API for pvpanic driver framework

2019-01-24 Thread Peng Hao
Add pvpanic_add/remove_device API. Follow-up patches will use them to add/remove specific drivers into framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/pvpanic.c | 47 ++ drivers/misc/pvpanic/pvpanic.h | 15 ++ 2 files changed, 58 in

[PATCH V4 1/6] misc/pvpanic: preparing for pvpanic driver framework

2019-01-24 Thread Peng Hao
Preparing for pvpanic driver framework. Create a pvpanic driver directory and move current driver file to new directory. Signed-off-by: Peng Hao --- drivers/misc/Kconfig | 9 + drivers/misc/Makefile| 2 +- drivers/misc/pvpanic/Kconfig | 7 +++

[PATCH V4 6/6] misc/pvpanic: add new pvpanic pci driver

2019-01-24 Thread Peng Hao
Add new pvpanic pci driver to pvpanic driver framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/Kconfig | 10 ++- drivers/misc/pvpanic/Makefile | 1 + drivers/misc/pvpanic/pvpanic-pci.c | 56 ++ 3 files changed, 66 insertions(+), 1 del

[PATCH V4 2/6] misc/pvpanic: Add pvpanic driver framework

2019-01-24 Thread Peng Hao
Add pvpanic driver framework. Follow-up patches will split the original pvpanic acpi/of driver as the two separate files and modify code to adapt the framework. Signed-off-by: Peng Hao --- drivers/misc/pvpanic/pvpanic.c | 158 +++-- 1 file changed, 27 insertio

[PATCH 1/5] Documentation/kr: Update Korean translation to delete reference to the kernel-mentors mailing list

2019-01-24 Thread SeongJae Park
Translate this commit to Korean: bc0ef4a7e4c3 ("Documentation: Delete reference to the kernel-mentors mailing list") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/howto.rst | 7 --- 1 file changed, 7 deletions(-) diff --git a/Documentation/translations/ko_KR/howto.rs

[PATCH 2/5] Documentation/process/howto/kr: Update Korean translation to remove outdated info about bugzilla mailing lists

2019-01-24 Thread SeongJae Park
Translate this commit to Korean: bcd3cf0855c5 ("Documentation/process/howto: Remove outdated info about bugzilla mailing lists") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/howto.rst | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documenta

[PATCH 4/5] docs/kokr: Update Korean translation to tidy up TOCs and refs to license-rules.rst

2019-01-24 Thread SeongJae Park
Transalte this commit to Korean: 9799445af124 ("docs: tidy up TOCs and refs to license-rules.rst") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/howto.rst | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/translations/ko_KR/howto.

[PATCH 5/5] doc:process:kokr: Update Korean translation to add links where missing

2019-01-24 Thread SeongJae Park
Translate this commit to Korean: f77af637f29d ("doc:process: add links where missing") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/howto.rst | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Documentation/translations/ko_KR/howto.rst b

[PATCH 3/5] Documentation/process/howto.rst/kokr: Update Korean translation to add a missing cross-reference

2019-01-24 Thread SeongJae Park
Translate this commit to Korean: dad051395413 ("Documentation/process/howto.rst: add a missing cross-reference") Signed-off-by: SeongJae Park --- Documentation/translations/ko_KR/howto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/translations/ko_KR/ho

Re: [PATCH 2/2] mm: Consider subtrees in memory.events

2019-01-24 Thread Michal Hocko
On Wed 23-01-19 17:31:44, Chris Down wrote: > memory.stat and other files already consider subtrees in their output, > and we should too in order to not present an inconsistent interface. > > The current situation is fairly confusing, because people interacting > with cgroups expect hierarchical b

Re: [PATCH 1/5] swiotlb: Introduce swiotlb_max_mapping_size()

2019-01-24 Thread Joerg Roedel
On Wed, Jan 23, 2019 at 10:28:13PM +0100, Christoph Hellwig wrote: > On Wed, Jan 23, 2019 at 05:30:45PM +0100, Joerg Roedel wrote: > > +extern size_t swiotlb_max_mapping_size(struct device *dev); > > No need for the extern keyword on function declarations in headers. Right, but all other function

Re: LTP case read_all_proc fails on qemux86-64 since 5.0-rc1

2019-01-24 Thread He Zhe
On 1/24/19 12:05 AM, Jens Axboe wrote: > On 1/22/19 8:39 PM, Jens Axboe wrote: >> On Jan 22, 2019, at 8:13 PM, He Zhe wrote: >>> LTP case read_all_proc(read_all -d /proc -q -r 10) often, but not every >>> time, fails with the following call traces, since 600335205b8d "ide: >>> convert to blk-

[PATCH v2] drm/bridge: sil_sii8620: make remote control optional.

2019-01-24 Thread Ronald Tschalär
commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency of RC_CORE) changed the driver to select both RC_CORE and INPUT. However, this causes problems with other drivers, in particular an input driver that depends on MFD_INTEL_LPSS_PCI (to be added in a separate commit): drivers/c

Re: [PATCH] arm64: dts: zcu100-revC: Give wifi some time after power-on

2019-01-24 Thread Ulf Hansson
On Thu, 24 Jan 2019 at 08:54, Jan Kiszka wrote: > > From: Jan Kiszka > > Somewhere along recent changes to power control of the wl1835, power-on > became very unreliable on the hikey, failing like this: > > wl1271_sdio: probe of mmc2:0001:1 failed with error -16 > wl1271_sdio: probe of mmc2:0001:

Re: [PATCH] input: Fix the CONFIG_SPARC64 mixup

2019-01-24 Thread Dmitry Torokhov
On Sun, Jan 20, 2019 at 05:49:14PM -0800, Deepa Dinamani wrote: > Arnd Bergmann pointed out that CONFIG_* cannot be used > in a uapi header. Override with an equivalent conditional. > > Fixes: 2e746942ebac ("Input: input_event - provide override for sparc64") > Fixes: 152194fe9c3f ("Input: extend

[PATCH v2] arm64: dts: zcu100-revC: Give wifi some time after power-on

2019-01-24 Thread Jan Kiszka
From: Jan Kiszka Somewhere along recent changes to power control of the wl1831, power-on became very unreliable on the Ultra96, failing like this: wl1271_sdio: probe of mmc2:0001:1 failed with error -16 wl1271_sdio: probe of mmc2:0001:2 failed with error -16 After playing with some dt parameter

Re: [PATCH 2/5] swiotlb: Add is_swiotlb_active() function

2019-01-24 Thread Joerg Roedel
On Wed, Jan 23, 2019 at 10:27:55PM +0100, Christoph Hellwig wrote: > On Wed, Jan 23, 2019 at 05:30:46PM +0100, Joerg Roedel wrote: > > +bool is_swiotlb_active(void) > > +{ > > + return !no_iotlb_memory; > > +} > > As I've just introduced and fixed a bug in this area in the current > cycle - I do

[PATCH v3 1/3] dt-bindings: PCI: dra7xx: Add SoC specific compatible strings

2019-01-24 Thread Kishon Vijay Abraham I
Add new compatible strings for dra74x SoC (also used by dra76x) and dra72x. This can be used to perform SoC specific configuration (like configuring PCIe in x2 lane mode). Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori Acked-by: Rob Herring --- Documentation/devicetree/bindin

[PATCH v3 2/3] dt-bindings: PCI: dra7xx: Add properties to enable x2 lane in dra7

2019-01-24 Thread Kishon Vijay Abraham I
Add syscon properties required for configuring PCIe in x2 lane mode. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- Documentation/devicetree/bindings/pci/ti-pci.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/ti-pci.txt b/D

[PATCH v3 3/3] PCI: dra7xx: Enable x2 mode support for dra74x, dra76x and dra72x

2019-01-24 Thread Kishon Vijay Abraham I
dra74x/dra76x and dra72x have separate compatible strings. Add support for these compatible strings in pci-dra7xx driver to perform syscon configurations required to get x2 mode working. Signed-off-by: Kishon Vijay Abraham I --- drivers/pci/controller/dwc/pci-dra7xx.c | 77 ++

[PATCH v3 0/3] PCI: dra7xx: Support PCIe x2 lane mode

2019-01-24 Thread Kishon Vijay Abraham I
Previous version of the patch series can be found here [1] Patch series adds support to enable x2 lane mode in dra74/dra76 and dra72 based boards in pci-dra7xx driver. It introduces new compatible strings in order to enable x2 lane mode support. Changes from v2: *) Have a single syscon dt propert

Re: [PATCH 5/5] virtio-blk: Consider virtio_max_dma_size() for maximum segment size

2019-01-24 Thread Joerg Roedel
On Wed, Jan 23, 2019 at 10:31:39PM +0100, Christoph Hellwig wrote: > On Wed, Jan 23, 2019 at 05:30:49PM +0100, Joerg Roedel wrote: > > + max_size = virtio_max_dma_size(vdev); > > + > > /* Host can optionally specify maximum segment size and number of > > * segments. */ > > err = virt

Re: [PATCH 1/3] PCI: iproc: Add feature to set order mode

2019-01-24 Thread Srinath Mannam
Hi Bjorn, Thanks for review, please see my comments below inline. On Fri, Jan 18, 2019 at 8:37 PM Bjorn Helgaas wrote: > > On Fri, Jan 18, 2019 at 09:53:21AM +0530, Srinath Mannam wrote: > > Order mode in RX header of incoming pcie packets can be override to > > strict or loose order based on re

Re: [PATCH 2/5] swiotlb: Add is_swiotlb_active() function

2019-01-24 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 09:29:23AM +0100, Joerg Roedel wrote: > > As I've just introduced and fixed a bug in this area in the current > > cycle - I don't think no_iotlb_memory is what your want (and maybe > > not useful at all): if the arch valls swiotlb_exit after previously > > initializing a buf

Re: [PATCH v2] KVM: x86: Fix single-step debugging

2019-01-24 Thread Alexander Popov
On 21.01.2019 15:48, Alexander Popov wrote: > The single-step debugging of KVM guests on x86 is broken: if we run > gdb 'stepi' command at the breakpoint when the guest interrupts are > enabled, RIP always jumps to native_apic_mem_write(). Then other > nasty effects follow. > > Long investigation

Re: [PATCH 5/5] virtio-blk: Consider virtio_max_dma_size() for maximum segment size

2019-01-24 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 09:40:11AM +0100, Joerg Roedel wrote: > > I wonder if we should just move the dma max segment size check > > into blk_queue_max_segment_size so that all block drivers benefit > > from it. Even if not I think at least the SCSI midlayer should > > be updated to support it. >

Re: [f2fs-dev] [PATCH 2/2] f2fs: sync filesystem after roll-forward recovery

2019-01-24 Thread Chao Yu
On 2019/1/23 8:02, Jaegeuk Kim wrote: > Some works after roll-forward recovery can get an error which will release > all the data structures. Let's flush them in order to make it clean. > > One possible corruption came from: > > [ 90.400500] list_del corruption. prev->next should be ffed1f5

Re: [PATCH 07/10] venus: helpers: add three more helper functions

2019-01-24 Thread Alexandre Courbot
On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov wrote: > > This adds three more helper functions: > * for internal buffers reallocation, applicable when we are doing > dynamic resolution change > * for initial buffer processing of capture and output queue buffer > types > > All of them will be

Re: [PATCH 00/10] Venus stateful Codec API

2019-01-24 Thread Alexandre Courbot
Hi Stanimir, On Fri, Jan 18, 2019 at 1:20 AM Stanimir Varbanov wrote: > > Hello, > > This aims to make Venus decoder compliant with stateful Codec API [1]. > The patches 1-9 are preparation for the cherry on the cake patch 10 > which implements the decoder state machine similar to the one in the

Re: [PATCH 09/10] venus: vdec: allow bigger sizeimage set by clients

2019-01-24 Thread Alexandre Courbot
On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov wrote: > > In most of the cases the client will know better what could be > the maximum size for compressed data buffers. Change the driver > to permit the user to set bigger size for the compressed buffer > but make reasonable sanitation. > > Sign

Re: [PATCH 03/10] venus: helpers: export few helper functions

2019-01-24 Thread Alexandre Courbot
On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov wrote: > > Here we export few helper function to use them from decoder to > implement more granular control needed for stateful Codec API > compliance. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/venus/helpers.c | 29

Re: [PATCH 2/3] PCI: iproc: CRS state check in config request

2019-01-24 Thread Srinath Mannam
Hi Bjorn, Thanks for review, please see my comments below inline. On Fri, Jan 18, 2019 at 8:38 PM Bjorn Helgaas wrote: > > On Fri, Jan 18, 2019 at 09:53:22AM +0530, Srinath Mannam wrote: > > In the current implementation, config read of 0x0001 data > > is assumed as CRS completion. but somet

Re: [RFC PATCH] mm: vmscan: do not iterate all mem cgroups for global direct reclaim

2019-01-24 Thread Michal Hocko
On Wed 23-01-19 12:24:38, Yang Shi wrote: > > > On 1/23/19 1:59 AM, Michal Hocko wrote: > > On Wed 23-01-19 04:09:42, Yang Shi wrote: > > > In current implementation, both kswapd and direct reclaim has to iterate > > > all mem cgroups. It is not a problem before offline mem cgroups could > > > b

Re: [PATCH 08/10] venus: vdec_ctrls: get real minimum buffers for capture

2019-01-24 Thread Alexandre Courbot
On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov wrote: > > Until now we returned num_output_bufs set during reqbuf but > that could be wrong when we implement stateful Codec API. So > get the minimum buffers for capture from HFI. This is supposed > to be called after stream header parsing, i.e.

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-24 Thread Alexandre Courbot
On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov wrote: > > This refactored code for start/stop streaming vb2 operations and s/refactored/refactors? > adds a state machine handling similar to the one in stateful codec > API documentation. One major change is that now the HFI session is > starte

Re: [PATCH 03/10] venus: helpers: export few helper functions

2019-01-24 Thread Stanimir Varbanov
Hi Alex, Thanks for the review! On 1/24/19 10:43 AM, Alexandre Courbot wrote: > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > wrote: >> >> Here we export few helper function to use them from decoder to >> implement more granular control needed for stateful Codec API >> compliance. >> >> Si

Re: [PATCH 1/5] swiotlb: Introduce swiotlb_max_mapping_size()

2019-01-24 Thread Christoph Hellwig
On Thu, Jan 24, 2019 at 09:24:31AM +0100, Joerg Roedel wrote: > On Wed, Jan 23, 2019 at 10:28:13PM +0100, Christoph Hellwig wrote: > > On Wed, Jan 23, 2019 at 05:30:45PM +0100, Joerg Roedel wrote: > > > +extern size_t swiotlb_max_mapping_size(struct device *dev); > > > > No need for the extern key

Re: [PATCH 2/2] Input: st1232 - add support for st1633

2019-01-24 Thread Dmitry Torokhov
Hi Martin, On Wed, Jan 23, 2019 at 08:26:51AM +0100, Martin Kepplinger wrote: > From: Martin Kepplinger > > Add support for the Sitronix ST1633 touchscreen controller to the st1232 > driver. > > Signed-off-by: Martin Kepplinger > --- > drivers/input/touchscreen/Kconfig | 6 +- > drivers/in

Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests

2019-01-24 Thread Eric Biggers
On Wed, Jan 23, 2019 at 02:49:11PM -0800, Eric Biggers wrote: > Hello, > > Crypto algorithms must produce the same output for the same input > regardless of data layout, i.e. how the src and dst scatterlists are > divided into chunks and how each chunk is aligned. Request flags such > as CRYPTO_T

Re: [PATCH 2/2] Input: st1232 - add support for st1633

2019-01-24 Thread Dmitry Torokhov
On Wed, Jan 23, 2019 at 11:07:55AM +0100, Martin Kepplinger wrote: > On 23.01.19 08:26, Martin Kepplinger wrote: > > From: Martin Kepplinger > > > > Add support for the Sitronix ST1633 touchscreen controller to the st1232 > > driver. > > > > FYI, here's a protocol spec: > www.ampdisplay.com/doc

Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests

2019-01-24 Thread Ard Biesheuvel
On Thu, 24 Jan 2019 at 09:48, Eric Biggers wrote: > > On Wed, Jan 23, 2019 at 02:49:11PM -0800, Eric Biggers wrote: > > Hello, > > > > Crypto algorithms must produce the same output for the same input > > regardless of data layout, i.e. how the src and dst scatterlists are > > divided into chunks

Re: [PATCH v5 2/7] nfc: pn532_uart: Add NXP PN532 to devicetree docs

2019-01-24 Thread Lars Poeschel
On Tue, Jan 15, 2019 at 01:59:02PM -0600, Rob Herring wrote: > On Fri, 11 Jan 2019 17:18:05 +0100, Lars Poeschel wrote: > > Add a simple binding doc for the pn532. > > > > Cc: Johan Hovold > > Signed-off-by: Lars Poeschel > > --- > > Changes in v4: > > - Add documentation about reg property in c

Re: [PATCH 00/22] Increase success rates and reduce latency of compaction v3

2019-01-24 Thread Mel Gorman
On Fri, Jan 18, 2019 at 05:51:14PM +, Mel Gorman wrote: > This is a drop-in replacement for the series currently in Andrews tree that > incorporates static checking and compile warning fixes (Dan, YueHaibing) > and extensive review feedback from Vlastimil. Big thanks to Vlastimil as > the revie

Re: [PATCH 07/10] venus: helpers: add three more helper functions

2019-01-24 Thread Stanimir Varbanov
Hi Alex, Thanks for the review! On 1/24/19 10:43 AM, Alexandre Courbot wrote: > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > wrote: >> >> This adds three more helper functions: >> * for internal buffers reallocation, applicable when we are doing >> dynamic resolution change >> * for ini

Re: [PATCH net-next 02/10] net: macsec: convert to SPDX

2019-01-24 Thread Antoine Tenart
Hi Andrew, On Wed, Jan 23, 2019 at 06:03:06PM +0100, Andrew Lunn wrote: > On Wed, Jan 23, 2019 at 04:56:30PM +0100, Antoine Tenart wrote: > > This cosmetic patch converts the macsec implementation license header to > > the now recommended format, SPDX. > > > > Signed-off-by: Antoine Tenart > > -

Re: [PATCH net-next 05/10] net: phy: introduce a phy_driver macsec helper

2019-01-24 Thread Antoine Tenart
Hi Andrew, On Wed, Jan 23, 2019 at 06:08:16PM +0100, Andrew Lunn wrote: > > +int phy_macsec(struct phy_device *phydev, struct netdev_macsec *macsec) > > +{ > > + int ret = -EOPNOTSUPP; > > + > > + if (!phydev->drv) > > + return -EIO; > > + > > + mutex_lock(&phydev->lock); > > + > >

Re: [PATCH] clocksource: sun5i: fail gracefully when clock rate is unavailable

2019-01-24 Thread Chen-Yu Tsai
On Thu, Jan 10, 2019 at 5:19 PM Daniel Lezcano wrote: > > On 10/01/2019 07:22, Chen-Yu Tsai wrote: > > If the clock tree is not fully populated when the timer-sun5i init code > > is called, attempts to get the clock rate for the timer would fail and > > return 0. > > > > Make the init code for bot

Re: [PATCH] mm: Move maxable seq_file logic into a single place

2019-01-24 Thread Michal Hocko
On Thu 24-01-19 01:17:18, Chris Down wrote: > memcg has a significant number of files exposed to kernfs where their > value is either exposed directly or is "max" in the case of > PAGE_COUNTER_MAX. > > There's a fair amount of duplicated code here, since each file involves > turning a seq_file to

Re: [PATCH net-next 03/10] net: macsec: move some definitions in a dedicated header

2019-01-24 Thread Antoine Tenart
Hi Florian, On Wed, Jan 23, 2019 at 12:11:37PM -0800, Florian Fainelli wrote: > On 1/23/19 7:56 AM, Antoine Tenart wrote: > > This patch moves some structure, type and identifier definitions into a > > MACsec specific header. This patch does not modify how the MACsec code > > is running and only m

Re: [PATCH v4 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-01-24 Thread Yash Shah
On Mon, Jan 21, 2019 at 8:29 PM Rob Herring wrote: > > On Mon, Jan 21, 2019 at 03:50:42PM +0530, Yash Shah wrote: > > DT documentation for PWM controller added. > > > > Signed-off-by: Wesley W. Terpstra > > [Atish: Compatible string update] > > Signed-off-by: Atish Patra > > Signed-off-by: Yash

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-24 Thread Paul Kocialkowski
Hi, On Thu, 2019-01-24 at 17:07 +0900, Tomasz Figa wrote: > On Wed, Jan 23, 2019 at 7:42 PM Paul Kocialkowski > wrote: > > Hi Alex, > > > > On Wed, 2019-01-23 at 18:43 +0900, Alexandre Courbot wrote: > > > On Tue, Jan 22, 2019 at 7:10 PM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > >

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2019-01-24 Thread Michal Vokáč
On 12.12.2018 13:12, Uwe Kleine-König wrote: On Wed, Dec 12, 2018 at 11:42:17AM +, Vokáč Michal wrote: On 12.12.2018 09:01, Uwe Kleine-König wrote: On Thu, Dec 06, 2018 at 01:41:31PM +, Vokáč Michal wrote: Normally the PWM output is held LOW when PWM is disabled. This can cause problem

Re: [RFC PATCH v4 2/2] pwm: imx: Configure output to GPIO in disabled state

2019-01-24 Thread Michal Vokáč
On 13.12.2018 09:56, Uwe Kleine-König wrote: On Wed, Dec 12, 2018 at 12:04:51PM +, Vokáč Michal wrote: Normally the PWM output is held LOW when PWM is disabled. This can cause problems when inverted PWM signal polarity is needed. With this behavior the connected circuit is fed by 100% duty c

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-24 Thread Tomasz Figa
On Thu, Jan 24, 2019 at 5:59 PM Paul Kocialkowski wrote: > > Hi, > > On Thu, 2019-01-24 at 17:07 +0900, Tomasz Figa wrote: > > On Wed, Jan 23, 2019 at 7:42 PM Paul Kocialkowski > > wrote: > > > Hi Alex, > > > > > > On Wed, 2019-01-23 at 18:43 +0900, Alexandre Courbot wrote: > > > > On Tue, Jan 22

Re: [PATCH] media: docs-rst: Document m2m stateless video decoder interface

2019-01-24 Thread Alexandre Courbot
On Wed, Jan 23, 2019 at 7:42 PM Paul Kocialkowski wrote: > > Hi Alex, > > On Wed, 2019-01-23 at 18:43 +0900, Alexandre Courbot wrote: > > On Tue, Jan 22, 2019 at 7:10 PM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Tue, 2019-01-22 at 17:19 +0900, Tomasz Figa wrote: > > > > Hi Paul, > > >

Re: [PATCH v7 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-01-24 Thread Geert Uytterhoeven
Hi Mason, On Thu, Jan 24, 2019 at 3:39 AM wrote: > > "Marek Vasut" > > 2019/01/24 上午 09:54 > > > > > > diff --git a/Documentation/devicetree/bindings/spi/spi-renesas- > > rpc.txt b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt > > > new file mode 100644 > > > index 000..305bd10 >

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-24 Thread Tomasz Figa
On Wed, Jan 23, 2019 at 2:27 PM Tomasz Figa wrote: > > On Tue, Jan 22, 2019 at 11:47 PM Hans Verkuil wrote: > > > > On 01/22/19 11:02, Tomasz Figa wrote: [snip] > > >>> + one ``CAPTURE`` buffer, the following cases are defined: > > >>> + > > >>> + * one ``OUTPUT`` buffer generates multiple ``

Re: [PATCH v7 2/2] sched/fair: update scale invariance of PELT

2019-01-24 Thread Peter Zijlstra
Sorry; trying to get back to this and re-reading the old conversations. On Thu, Nov 29, 2018 at 03:13:16PM +, Patrick Bellasi wrote: > On 29-Nov 13:53, Peter Zijlstra wrote: > > On Wed, Nov 28, 2018 at 11:53:36AM +, Patrick Bellasi wrote: > > > > > diff --git a/kernel/sched/fair.c b/ker

Re: [PATCH v9 1/4] clk: meson: add one based divider support for sclk divider

2019-01-24 Thread Jianxin Pan
Hi Jerome, On 2019/1/22 17:25, Jerome Brunet wrote: > On Tue, 2019-01-08 at 21:50 +0800, Jianxin Pan wrote: >> When CLK_DIVIDER_ONE_BASED flag is set, the sclk divider will be: >> one based divider (div = val), and zero value gates the clock >> >> Signed-off-by: Jianxin Pan >> --- >> drivers/clk

Re: [PATCH v4 2/3] dt-bindings: reset: imx7: Document usage on i.MX8MQ SoCs

2019-01-24 Thread Philipp Zabel
Hi Andrey, On Wed, 2019-01-23 at 21:33 -0800, Andrey Smirnov wrote: > On Wed, Jan 23, 2019 at 2:52 AM Philipp Zabel wrote: > > > > On Thu, 2019-01-17 at 14:38 -0800, Andrey Smirnov wrote: > > [...] > > > > To be honest, I don't like these two, I'm not convinced anymore that > > > > they actually

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Christoph Hellwig
On Wed, Jan 23, 2019 at 05:52:50PM +0100, Ard Biesheuvel wrote: > But my concern is that it seems likely that non-cache coherent > implementations are relying on this hack as well. There must be a > reason that this hack is only disabled for PowerPC platforms if they > are cache coherent, for insta

Re: [PATCH v7 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-01-24 Thread Geert Uytterhoeven
Hi Mason, On Thu, Jan 24, 2019 at 3:07 AM wrote: > > "Sergei Shtylyov" > > 2019/01/24 上午 02:04 > > > +static const struct of_device_id rpc_spi_of_ids[] = { > > > + { .compatible = "renesas,r8a77995-rpc", }, > > > >Why (if it has no differences with the generic gen3 value below)? > > Pleas

[GIT PULL] sound fixes for 5.0-rc4

2019-01-24 Thread Takashi Iwai
Linus, please pull sound fixes for v5.0-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.0-rc4 The topmost commit is 699390381a7bae2fab01a22f742a17235c44ed8a sound fixes for 5.0-rc4 A signi

Re: [PATCH] drm/bridge: sil_sii8620: depend on INPUT instead of selecting it.

2019-01-24 Thread Lukas Wunner
On Wed, Jan 23, 2019 at 11:21:25PM -0800, Life is hard, and then you die wrote: > Since the two changes (the change here + the new driver) seem to be > best submitted through different trees, I'm trying to figure out how > best to handle this. I suppose I could temporarily change the driver > Kconf

[PATCH] f2fs: fix to document inline_xattr_size option

2019-01-24 Thread Chao Yu
We missed to add document for inline_xattr_size mount option in f2fs.txt, add it. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index e46c2147ddf8..f7b5e

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2019-01-24 Thread Uwe Kleine-König
On Thu, Jan 24, 2019 at 09:59:47AM +0100, Michal Vokáč wrote: > On 12.12.2018 13:12, Uwe Kleine-König wrote: > > On Wed, Dec 12, 2018 at 11:42:17AM +, Vokáč Michal wrote: > > > On 12.12.2018 09:01, Uwe Kleine-König wrote: > > > > On Thu, Dec 06, 2018 at 01:41:31PM +, Vokáč Michal wrote: > >

Re: [PATCH 2/7] scsi: csiostor: no need to check return value of debugfs_create functions

2019-01-24 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests

2019-01-24 Thread Herbert Xu
On Thu, Jan 24, 2019 at 09:50:35AM +0100, Ard Biesheuvel wrote: > > Thanks for yet another round of cleanup > > I'll look into these, but I'd like to clarify one thing first. > > IIUC, you are trying to deal with the case where a single scatterlist > element describes a range that strides two pag

Re: [PATCH net-next 06/10] net: introduce a net_device_ops macsec helper

2019-01-24 Thread Antoine Tenart
Hi Florian, On Wed, Jan 23, 2019 at 12:16:08PM -0800, Florian Fainelli wrote: > On 1/23/19 7:56 AM, Antoine Tenart wrote: > > This patch introduces a net_device_ops MACsec helper to allow net device > > drivers to implement a MACsec offloading solution. > > > > Signed-off-by: Antoine Tenart > >

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Koenig, Christian
Am 24.01.19 um 10:13 schrieb Christoph Hellwig: > On Wed, Jan 23, 2019 at 05:52:50PM +0100, Ard Biesheuvel wrote: >> But my concern is that it seems likely that non-cache coherent >> implementations are relying on this hack as well. There must be a >> reason that this hack is only disabled for Powe

Re: [PATCH RFC 07/24] userfaultfd: wp: add the writeprotect API to userfaultfd ioctl

2019-01-24 Thread Peter Xu
On Thu, Jan 24, 2019 at 09:27:07AM +0200, Mike Rapoport wrote: > On Thu, Jan 24, 2019 at 12:56:15PM +0800, Peter Xu wrote: > > On Mon, Jan 21, 2019 at 12:42:33PM +0200, Mike Rapoport wrote: > > > > [...] > > > > > > @@ -1343,7 +1344,7 @@ static int userfaultfd_register(struct > > > > userfaultfd

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Ard Biesheuvel
On Thu, 24 Jan 2019 at 10:25, Koenig, Christian wrote: > > Am 24.01.19 um 10:13 schrieb Christoph Hellwig: > > On Wed, Jan 23, 2019 at 05:52:50PM +0100, Ard Biesheuvel wrote: > >> But my concern is that it seems likely that non-cache coherent > >> implementations are relying on this hack as well.

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Michel Dänzer
On 2019-01-23 5:52 p.m., Ard Biesheuvel wrote: > On Wed, 23 Jan 2019 at 17:44, Christoph Hellwig wrote: >> >> I think we just want a driver-local check for those combinations >> where we know this hack actually works, which really just seems >> to be x86-64 with PAT. Something like the patch below

Re: [PATCH v5] add support for Mediatek Command-Queue DMA controller on MT6765 SoC

2019-01-24 Thread Sean Wang
Hi Shun-Chih, the driver seems already be applied since v5.0-rc1 I suggest these improvements you made in the recent version can be split into several patches and then be applied on the top of the base driver. On Wed, Jan 23, 2019 at 11:15 PM wrote: > > This patchset introduces support for Medi

Re: [PATCH v5 3/4] Bluetooth: Allow driver specific cmd timeout handling

2019-01-24 Thread Marcel Holtmann
Hi Rajat, > Add a hook to allow the BT driver to do device or command specific > handling in case of timeouts. This is to be used by Intel driver to > reset the device after certain number of timeouts. > > Signed-off-by: Rajat Jain > --- > v5: Drop the quirk, and rename the hook function to cmd_

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Ard Biesheuvel
On Thu, 24 Jan 2019 at 10:31, Michel Dänzer wrote: > > On 2019-01-23 5:52 p.m., Ard Biesheuvel wrote: > > On Wed, 23 Jan 2019 at 17:44, Christoph Hellwig wrote: > >> > >> I think we just want a driver-local check for those combinations > >> where we know this hack actually works, which really jus

Re: [PATCH] clocksource: sun5i: fail gracefully when clock rate is unavailable

2019-01-24 Thread Daniel Lezcano
On 24/01/2019 09:56, Chen-Yu Tsai wrote: > On Thu, Jan 10, 2019 at 5:19 PM Daniel Lezcano > wrote: >> >> On 10/01/2019 07:22, Chen-Yu Tsai wrote: >>> If the clock tree is not fully populated when the timer-sun5i init code >>> is called, attempts to get the clock rate for the timer would fail and >

Re: [PATCH 0/7] Port am335 and am437 devices to sdhci-omap

2019-01-24 Thread Faiz Abbas
Hi, On 11/01/19 4:38 PM, Faiz Abbas wrote: > The following add driver patches for porting TI's am335x and am437x > devices to the sdhci-omap driver. > > This involves adding external DMA support to sdhci (first 3 patches from > Chunyan) plus some miscellaneous patches to take care of deviations o

Re: [PATCH v3 1/3] firmware: xilinx: Add reset API's

2019-01-24 Thread Philipp Zabel
On Fri, 2019-01-25 at 13:16 +0530, Nava kishore Manne wrote: > This Patch Adds reset API's to support release, assert > and status functionalities by using firmware interface. > > Signed-off-by: Nava kishore Manne Michal, Should I merge this through the reset tree together with the reset driver?

Re: [PATCH reset/next] reset: Add Broadcom STB SW_INIT reset controller driver

2019-01-24 Thread Philipp Zabel
Hi Florian, On Wed, 2019-01-23 at 14:54 -0800, Florian Fainelli wrote: > Add support for resetting blocks through the Linux reset controller > subsystem when reset lines are provided through a SW_INIT-style reset > controller on Broadcom STB SoCs. > > Signed-off-by: Florian Fainelli > Signed-off

  1   2   3   4   5   6   7   8   9   10   >