Re: [RFC] etnaviv: missing dma_mask

2018-08-23 Thread Lucas Stach
Am Freitag, den 17.08.2018, 08:42 +0200 schrieb Christoph Hellwig: > On Tue, Aug 14, 2018 at 05:12:25PM +0300, Eugeniy Paltsev wrote: > > Hi Lucas, Christoph, > > > > After switching ARC to generic dma_noncoherent cache opsĀ  > > etnaviv driver start failing on dma maping functions because of > > d

Re: [PATCH v2 2/4] ARC: allow to use IOC and non-IOC DMA devices simultaneously

2018-08-23 Thread h...@lst.de
Btw, given that I assume this is 4.20 material now, any chance we could merge it through the dma-mapping tree? I have some major changes pending that would clash if done in a different tree, so I'd rather get it all together. > We check this flag in arch_dma_alloc (which are used in non-coherent

[PATCH 0/2] GPIO: add single-register gpio via creg driver

2018-08-23 Thread Eugeniy Paltsev
Add single-register MMIO gpio driver for complex cases where only several fields in register belong to GPIO and each GPIO owns field with different length and on/off values. Here is the example: 31118 75 0 < bit number | ||

[PATCH 2/2] dt-bindings: Document the Synopsys GPIO via CREG bindings

2018-08-23 Thread Eugeniy Paltsev
This patch adds documentation of device tree bindings for the Synopsys GPIO via CREG driver. Signed-off-by: Eugeniy Paltsev --- .../devicetree/bindings/gpio/snps,creg-gpio.txt| 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/g

[PATCH 1/2] GPIO: add single-register gpio via creg driver

2018-08-23 Thread Eugeniy Paltsev
Add single-register MMIO gpio driver for complex cases where only several fields in register belong to GPIO and each GPIO owns field with different length and on/off values. Here is the example: 31118 75 0 < bit number | ||

Re: [PATCH 1/2] GPIO: add single-register gpio via creg driver

2018-08-23 Thread Randy Dunlap
On 08/23/2018 08:00 AM, Eugeniy Paltsev wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 71c0ab46f216..0f9cc1582cab 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -430,6 +430,15 @@ config GPIO_REG > A 32-bit single register GPIO fixed in/out i

[PATCH] etnaviv: setup missing dma_mask

2018-08-23 Thread Eugeniy Paltsev
As for today etnaviv device doesn't setup dma_mask. The etnaviv device is a virtual device not represented in DT so missing dma_mask isn't setup by generic plaform code (by of_dma_configure function). Missing dma_mask causes fails in some dma cache ops functions. For example it causes fails on map