all SmaRT related stuff to smart.h and smart.c
* Other minor changes.
Eugeniy Paltsev (3):
ARC: split show_faulting_vma for logic and representation parts
ARC: ARCv2: Introduce SmaRT support
ARC: show detaled SmaRT configuration in mumbojumbo
arch/arc/Kconfig | 12 ++
arch/ar
nimal interference
with MetaWare SmaRT support:
* SmaRT is disabled only for small amount of time in smart_populate
function.
* SmaRT enable/disable via MetaWare doesn't lead to any serious
issues (SmaRT disable via MetaWare may lead to last SmaRT
record to be invalid, though)
Signed-off-b
On Tue, 2018-11-13 at 09:09 +0100, Linus Walleij wrote:
> On Fri, Nov 9, 2018 at 3:36 PM Eugeniy Paltsev
> wrote:
>
> > I still can reproduce errors about hung task when I run bonnie++ benchmark
> > on arc/hsdk board
> > (ARC HS38 CPU, Synopsys DW MMC controller).
at it, replace hardcoded bits in ARC_REG_IO_COH_PARTIAL
and ARC_REG_IO_COH_ENABLE registers by definitions.
Inspired by: https://lkml.org/lkml/2018/1/19/557
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* Fix regression: check for IOC existence before accessing to any IOC
register.
arch/
In preparation for introduncing SmaRT support for ARC split
show_faulting_vma() for logic and representation parts to be
able to use logic part in SmaRT code.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/bug.h | 9 +
arch/arc/kernel/troubleshoot.c | 43
runtime.
* Add SmaRT version check. Limit supported SmaRT versions to >= 0x03.
* Move all SmaRT related stuff to smart.h and smart.c
* Other minor changes.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/Kconfig | 8 ++
arch/arc/include/asm/arcregs.h | 23
arch/arc/inc
Enable GPIO support on HSDK. HSDK SoC includes Synopsys
DesignWare DW_apb_gpio IP with 24 GPIOs mapped onto port A.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/boot/dts/hsdk.dts | 15 +++
arch/arc/configs/hsdk_defconfig | 3 +++
2 files changed, 18 insertions(+)
diff --git
Hi David,
Maybe you have any comments or remarks about this patch?
And if you don't could you please apply it. Thanks!
On Fri, 2018-09-28 at 17:41 +0300, Eugeniy Paltsev wrote:
> UDL doesn't support vblank functionality so we don't need to
> initialize vblank here (we are able to send pag
Hi!
Maybe you have any comments or remarks about this patch?And if you don't could
you please apply it. Thanks!
On Mon, 2018-09-10 at 14:46 +0300, Eugeniy Paltsev wrote:
> Add support for the SST sst26wf016 and sst26wf032 flash IC:
>
> sst26wf*** flash series block protection imple
Hi!
Maybe you have any comments or remarks about this patch?And if you don't could
you please apply it. Thanks!
On Mon, 2018-09-10 at 14:46 +0300, Eugeniy Paltsev wrote:
> sst26wf flash series block protection implementation differs
> from other SST series, so add specific implemen
Lmbench summary with enabled and disabled SmaRT support is attached.
--
Eugeniy Paltsev
L M B E N C H 3 . 0 S U M M A R Y
(Alpha software, do not distribute)
Basic system parameters
dd SmaRT BCR encoding struct.
Check SmaRT version number in BCR.
NOTE:
this RFC has prerequisite:
http://patchwork.ozlabs.org/patch/986820/
Signed-off-by: Eugeniy Paltsev
---
arch/arc/Kconfig | 8 +++
arch/arc/include/asm/arcregs.h | 14 ++
arch/arc/include/asm/bug.h |
26/0x5c
really_probe+0x3b0/0x464
__driver_attach+0xd4/0xd8
bus_for_each_dev+0x3a/0x70
bus_add_driver+0x12a/0x18c
driver_register+0x56/0xe8
do_one_initcall+0x2e/0x118
kernel_init_freeable+0x102/0x194
>8---
Signed-off-by: Eugeniy Paltsev
---
Changes v2->v3:
* Do
On Fri, 2018-10-12 at 14:08 +0200, Philipp Zabel wrote:
> Hi Eugeniy,
>
> thank you for the update.
>
> On Fri, 2018-09-28 at 19:28 +0300, Eugeniy Paltsev wrote:
> > As for today HSDK reset driver implements only
> > .reset() callback.
> >
> > In case of
.reset() callback inside of
.deassert() callback to avoid each reset controller
user adaptation for work with both reset methods
(reset() and {.assert() & .deassert()} pair)
Signed-off-by: Eugeniy Paltsev
---
Changes v2->v3:
* Drop dummy .assert callback.
drivers/reset/reset-hsdk.c | 1 +
Hi!
Maybe you have any comments or remarks about this patch?
And if you don't could you please apply it. Thanks!
On Mon, 2018-09-10 at 14:46 +0300, Eugeniy Paltsev wrote:
> sst26wf flash series block protection implementation differs
> from other SST series, so add specific implemen
On Fri, 2018-10-05 at 22:56 +, Vineet Gupta wrote:
> On 10/04/2018 06:12 AM, Eugeniy Paltsev wrote:
> >
> > diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c
> > index f2701c13a66b..ee7b63e9c5e3 100644
> > --- a/arch/arc/mm/cache.c
> > +++ b/arch/arc/m
regardless of
our plans to use it or not.
Also while I'm at it, replace hardcoded bits in ARC_REG_IO_COH_PARTIAL
and ARC_REG_IO_COH_ENABLE registers by definitions.
Inspired by: https://lkml.org/lkml/2018/1/19/557
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/cache.h | 2 ++
arch/arc
drm fbdev emulation doesn't support changing the pixel format at all,
so reject all pixel format changing requests.
Cc: sta...@vger.kernel.org
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* Reject all pixel format changing request, not just the invalid ones.
drivers/gpu/
On Wed, 2018-10-03 at 15:30 +0300, Ville Syrjälä wrote:
> On Wed, Oct 03, 2018 at 01:36:00PM +0200, Daniel Vetter wrote:
> > On Wed, Oct 3, 2018 at 1:05 PM Eugeniy Paltsev
> > wrote:
> > >
> > > Validate requested pixel format against bits_per_pixe
with 16 bpp which is obviously incorrect and should be
rejected.
Cc: sta...@vger.kernel.org
Signed-off-by: Eugeniy Paltsev
---
drivers/gpu/drm/drm_fb_helper.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 16ec93b75dbf
Hi Vineet,
any chance you could look at this?
Otherwise we will both forget what it is all about :)
On Tue, 2018-08-07 at 16:59 +0300, Eugeniy Paltsev wrote:
> We process signals in the end of syscall/exception handler.
> It the signal is fatal we print register's content using
>
.reset() callback inside of
.deassert() callback to avoid each reset controller
user adaptation for work with both reset methods
(reset() and {.assert() & .deassert()} pair)
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* Don't call hsdk_reset_reset in .assert callback.
drivers/rese
ery
time. This breaks userspace apps (for example weston) which
relies on timestamp value.
Cc: sta...@vger.kernel.org
Signed-off-by: Eugeniy Paltsev
---
drivers/gpu/drm/udl/udl_main.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/udl/udl_main.c b/driv
On Wed, 2018-09-26 at 19:37 +0300, Ville Syrjälä wrote:
> On Wed, Sep 26, 2018 at 05:25:35PM +0300, Eugeniy Paltsev wrote:
> > If driver/HW doesn't support vblank functionality (for example
> > UDL driver, ARCPGU driver, ...) we always have vblank->time == 0.
> > In resul
This patch adds documentation of device tree bindings for the Synopsys
GPIO via CREG driver.
Reviewed-by: Rob Herring
Reviewed-by: Linus Walleij
Signed-off-by: Eugeniy Paltsev
---
Changes v3->v4:
* Fix #gpio-cells description as driver is used generic GPIO binding.
Chnages v2->v3:
Add single-register MMIO GPIO driver for complex cases where
only several fields in register belong to GPIO lines and each GPIO
line owns a field with different length and on/off value.
Such CREG GPIOs are used in Synopsys AXS10x and HSDK boards.
Signed-off-by: Eugeniy Paltsev
---
Changes v3
ime to provide valid timestamp for DRM_EVENT_FLIP_COMPLETE
event.
Cc: sta...@vger.kernel.org
Signed-off-by: Eugeniy Paltsev
---
drivers/gpu/drm/drm_vblank.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/drm_vblank.c b/drivers/gpu/drm/drm_vblank.c
index 28cdcf76b
Hi Philip,
On Fri, 2018-09-14 at 12:38 +0200, Philipp Zabel wrote:
> Hi Eugeniy,
>
> On Mon, 2018-08-27 at 17:38 +0300, Eugeniy Paltsev wrote:
> > As for today HSDK reset driver implements only
> > .reset() callback.
> >
> > In case of driver which imp
Hi Marek,
Maybe you have any comments or remarks about this patch? And if you don't could
you please apply it.
Thanks!
On Mon, 2018-09-10 at 14:46 +0300, Eugeniy Paltsev wrote:
> sst26wf flash series block protection implementation differs
> from other SST series, so add specific implemen
Hi Linus,
Maybe you have any comments or remarks about this patch? And if you don't could
you please apply it.
Thanks!
On Tue, 2018-09-11 at 18:09 +0300, Eugeniy Paltsev wrote:
> Add single-register MMIO GPIO driver for complex cases where
> only several fields in register belong to GPIO
RM helper functions.
>
> For now we should be fine with this solution.
This works fine on HSDK, thanks!
Tested-By: Eugeniy Paltsev
>
> Signed-off-by: Lucas Stach
> ---
> drivers/gpu/drm/etnaviv/etnaviv_drv.c | 27 +--
> 1 file changed, 21 insert
Hi Lucas,
Maybe you have any comments or remarks about this patch? And if you don't could
you please apply it.
Thanks!
On Thu, 2018-08-23 at 19:38 +0300, Eugeniy Paltsev wrote:
> As for today etnaviv device doesn't setup dma_mask.
> The etnaviv device is a virtual device not represented
Hi Philipp,
Maybe you have any comments or remarks about this patch? And if you don't could
you please apply it.
Thanks!
On Mon, 2018-08-27 at 17:38 +0300, Eugeniy Paltsev wrote:
> As for today HSDK reset driver implements only
> .reset() callback.
>
> In case of driver which im
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| 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Add single-register MMIO GPIO driver for complex cases where
only several fields in register belong to GPIO lines and each GPIO
line owns a field with different length and on/off value.
Such CREG GPIOs are used in Synopsys AXS10x and HSDK boards.
Signed-off-by: Eugeniy Paltsev
---
Changes v2
kup table instead of device tree.
* Use the ngpios attribute for instead of snps,ngpios.
Eugeniy Paltsev (2):
GPIO: add single-register GPIO via CREG driver
dt-bindings: Document the Synopsys GPIO via CREG bindings
.../devicetree/bindings/gpio/snps,creg-gpio.txt| 18 ++
MAINTAIN
;a=commitdiff;h=3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* Check return value of {read | write}_reg callbacks.
drivers/mtd/spi-nor/spi-nor.c | 177 ++
include/linux/mtd/spi-nor.h | 4 +
2 files changed,
This commit adds support for the SST sst26wf016 and sst26wf032
flash IC.
NOTE:
this patch is basically following mine u-boot commit port:
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a19e97157c3721ef9c4b15c68c1773467a3b4a98
Signed-off-by: Eugeniy Paltsev
---
drivers/mtd/spi-nor/spi-nor.c
;a=commitdiff;h=3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac
Signed-off-by: Eugeniy Paltsev
---
drivers/mtd/spi-nor/spi-nor.c | 177 ++
include/linux/mtd/spi-nor.h | 4 +
2 files changed, 181 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi
:
these patches is basically following mine u-boot commits port:
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=3d4fed87a5fa3ffedf64ff2811cd95c5ac4503ac
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a19e97157c3721ef9c4b15c68c1773467a3b4a98
Eugeniy Paltsev (2):
mtd: spi-nor: Add support of sst26wf
On Thu, 2018-08-30 at 10:43 +0200, Linus Walleij wrote:
> On Tue, Aug 28, 2018 at 1:27 PM Eugeniy Paltsev
> wrote:
>
> > +++ b/Documentation/devicetree/bindings/gpio/snps,creg-gpio.txt
> > @@ -0,0 +1,49 @@
> > +GPIO via CREG (Control REGisers) driver
[snip]
> &g
On Thu, 2018-08-30 at 16:17 +0200, Peter Zijlstra wrote:
> On Thu, Aug 30, 2018 at 11:53:17AM +0000, Eugeniy Paltsev wrote:
> > I can see crashes with LLSC enabled in both SMP running on 4 cores
> > and SMP running on 1 core.
>
> So you're running on LL/SC enabled hardware; t
On Tue, 2018-08-28 at 20:02 -0500, Rob Herring wrote:
> On Tue, Aug 28, 2018 at 02:27:21PM +0300, Eugeniy Paltsev wrote:
> > This patch adds documentation of device tree bindings for the Synopsys
> > GPIO via CREG driver.
> >
> > Signed-off-by: Eugeniy Paltsev
On Tue, 2018-08-28 at 11:15 -0700, Randy Dunlap wrote:
> Hi,
>
> I don't see any updates/corrections here. :(
My fault - I've forgotten to re-generate new patch via git format-patch
and send you previous version.
>
> On 08/28/2018 04:27 AM, Eugeniy Paltsev wrote:
>
> &
Hi Will,
On Thu, 2018-08-30 at 10:51 +0100, Will Deacon wrote:
> On Thu, Aug 30, 2018 at 11:44:11AM +0200, Peter Zijlstra wrote:
> > On Wed, Aug 29, 2018 at 09:16:43PM +, Vineet Gupta wrote:
> > > On 08/29/2018 11:33 AM, Eugeniy Paltsev wrote:
> > > > Hi Gu
hich
uses same
generic bitops implementation and it works fine.
Do you have any ideas what went wrong?
--
Eugeniy Paltsev
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
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| 49 ++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings
o and gpio-74xx-mmio:
* They all don't support cases when GPIO output register have
more than one bit per GPIO line.
* They don't support holes in MMIO register.
* They don't support cases when GPIO lines have different on/off
values.
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS
Hi Randy,
thanks for comments, will be fixed in patch V2.
On Thu, 2018-08-23 at 08:08 -0700, Randy Dunlap wrote:
> On 08/23/2018 08:00 AM, Eugeniy Paltsev wrote:
> > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> > index 71c0ab46f216..0f9cc1582cab 100644
> &g
.reset() callback inside of
.assert()/.deassert() callbacks to avoid each reset controller
user adaptation for work with both reset methods
(reset() and .assert()/.deassert() pair)
Signed-off-by: Eugeniy Paltsev
---
drivers/reset/reset-hsdk.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
on map_* operations in generic
dma_noncoherent_ops and dma_direct_ops.
We faced with this behaviour after switching ARC to generic
dma_noncoherent cache ops using.
So fix this by setting dma_mask via dma_coerce_mask_and_coherent()
Reviewed-by: Christoph Hellwig
Signed-off-by: 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
o and gpio-74xx-mmio:
* They all don't support cases when GPIO output register have
more than one bit per GPIO line.
* They don't support holes in MMIO register.
* They don't support cases when GPIO lines have different on/off
values.
Signed-off-by: Eugeniy Paltsev
---
MAINTAINERS
o and gpio-74xx-mmio:
* They all don't support cases when GPIO output register have
more than one bit per GPIO line.
* They don't support holes in MMIO register.
* They don't support cases when GPIO lines have different on/off
values.
This driver supports GPIOs via CREG on various Synopsys
Hi Vineet,
On Mon, 2018-08-20 at 15:34 -0700, Vineet Gupta wrote:
> On 08/13/2018 10:08 AM, Eugeniy Paltsev wrote:
> > On Mon, 2018-08-13 at 16:24 +, Vineet Gupta wrote:
> > > On 07/30/2018 09:26 AM, Eugeniy Paltsev wrote:
> > > > @@ -1263,11 +1254,7 @@ void __i
On Tue, 2018-08-14 at 13:42 +, Vineet Gupta wrote:
> On 08/11/2018 09:09 AM, Eugeniy Paltsev wrote:
> > Current implementation of 'atomic64_add_unless' function
> > (and hence 'atomic64_inc_not_zero') return incorrect value
> > if lover 32 bits of compared 64
that should work
(at least it works for ARC):
Signed-off-by: Eugeniy Paltsev
---
drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c
b/drivers/gpu/drm/etnaviv/etnaviv_drv.c
index 540b59fb4103
On Mon, 2018-08-13 at 16:19 +, Vineet Gupta wrote:
> On 07/30/2018 09:26 AM, Eugeniy Paltsev wrote:
> > The ARC HS processor provides an IOC port (I/O coherency bus
> > interface) that allows external devices such as DMA devices
> > to access memory through the cache
On Mon, 2018-08-13 at 16:24 +, Vineet Gupta wrote:
> On 07/30/2018 09:26 AM, Eugeniy Paltsev wrote:
> > @@ -1263,11 +1254,7 @@ void __init arc_cache_init_master(void)
> > if (is_isa_arcv2() && ioc_enable)
> > arc_ioc_setup();
> >
>
4_test.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/include/asm/atomic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h
index 11859287c52a..e840cb1763b2 100644
--- a/arch/arc/include/asm/atomic.h
+++ b/arch/arc/inclu
26/0x5c
really_probe+0x3b0/0x464
__driver_attach+0xd4/0xd8
bus_for_each_dev+0x3a/0x70
bus_add_driver+0x12a/0x18c
driver_register+0x56/0xe8
do_one_initcall+0x2e/0x118
kernel_init_freeable+0x102/0x194
>8---
Signed-off-by: Eugeniy Paltsev
---
NOTE:
This patch
Return value of file_path() should be validated with
IS_ERR() macro.
Generic print_vma_addr() implementation was used as an example.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/kernel/troubleshoot.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc
We get 'inode', 'dev', and 'ino' in show_faulting_vma()
but never use them. So get rid of this variables and corresponding
code.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/kernel/troubleshoot.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/arc/kernel
linux-2Dsnps-2Darc=DwICAg=DPL6_X_6JkXFx7AXWqB0tg=ZlJN
> 1MriPUTkBKCrPSx67GmaplEUGcAEk9yPtCLdUXI=pEe31Mq4FC20ZBQ1SMGdCpesPmQFyaQCdpY9-N_aWRc=lwI7vTqAmbVPHdfMz_FlOzfBDvtYCQDL-6s-Z2FFr_Y=
--
Eugeniy Paltsev
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
and arch_dma_free functions.
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2 (Thanks to Christoph):
* Remove check for HIGHMEM pages from arch_dma_{alloc, free}
arch/arc/mm/dma.c | 32 ++--
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/arch/arc/mm/dma.c b/a
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* None.
arch/arc/mm/cache.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c
index dac12afbb93a..389602cf1594 100644
--- a/arch/arc/mm/cache.c
+++ b/arch/arc/mm/cache.c
@@ -114
e property:
"dma_noncoherent_ops" are used if no "dma-coherent" property is
present (or IOC is disabled)
"dma_direct_ops" are used if "dma-coherent" property is present.
Reviewed-by: Christoph Hellwig
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2 (Thanks to
ct DMA_DIRECT_OPS explicitly as it is already selected by
DMA_NONCOHERENT_OPS
* Remove check for HIGHMEM pages from arch_dma_{alloc, free}
Eugeniy Paltsev (4):
ARC: DTS: mark DMA devices connected through IOC port as dma-coherent
ARC: allow to use IOC and non-IOC DMA devices simultaneously
Mark DMA devices on AXS103 and HSDK boards connected through IOC
port as dma-coherent.
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* None.
arch/arc/boot/dts/axc003.dtsi | 26 ++
arch/arc/boot/dts/axc003_idu.dtsi | 26 ++
arch/arc/b
On Thu, 2018-07-26 at 11:17 +0200, Christoph Hellwig wrote:
> On Tue, Jul 24, 2018 at 01:10:00PM +0300, Eugeniy Paltsev wrote:
> > Refactoring, no functional change intended.
> >
[snip]
> >
> > *dma_handle = paddr;
> >
> > + /*
> >
f->end - sk_buff->tail) < SLC_LINE_SIZE and
if we have some useful data right after sk_buff->end.
Fix that by hardcode SMP_CACHE_BYTES to max line length we may have.
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* Fix ARCH_HAS_CACHE_LINE_SIZE selection in ARC Kconf
Check that SMP_CACHE_BYTES (and hence ARCH_DMA_MINALIGN) is larger
or equal to any cache line length by comparing it with values
previously read from ARC cache BCR registers.
Signed-off-by: Eugeniy Paltsev
---
Changes v1->v2:
* None.
arch/arc/mm/cache.c | 10 ++
1 file changed,
and other
data, so we can lose this data while invalidate DMA buffer before
DMA transaction.
Fix that by using SMP_CACHE_BYTES instead of L1_CACHE_BYTES for
aligning.
Signed-off-by: Eugeniy Paltsev
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
f->end - sk_buff->tail) < SLC_LINE_SIZE and
if we have some useful data right after sk_buff->end.
Fix that by hardcode SMP_CACHE_BYTES to max line length we may have.
Signed-off-by: Eugeniy Paltsev
Signed-off-by: Eugeniy Paltsev
---
arch/arc/Kconfig | 1 +
arch/arc/inclu
ge")
Signed-off-by: Eugeniy Paltsev
---
NOTE:
* This patch was stress tested on HSDK with bonie++ (usb and sdio)
with IOC disabled. The ethernet wasn't tested because it doesn't
work with SW cache control as for today (see STAR 9001336019)
ar
Signed-off-by: Eugeniy Paltsev
---
arch/arc/mm/cache.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c
index 34935ce38631..e0b3484641c3 100644
--- a/arch/arc/mm/cache.c
+++ b/arch/arc/mm/cache.c
@@ -1143,6 +1143,19 @@ noinline void
Refactoring, no functional change intended.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/mm/dma.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/arch/arc/mm/dma.c b/arch/arc/mm/dma.c
index b693818cd8e5..46584c7c2858 100644
--- a/arch/arc/mm
c_dma_{map,unmap}_page
(I will create fix soon, see STAR 9001374807)
NOTE:
We don't touch any aperture configuration in this patch series. So we
don't switch any devices between IOC and non-IOC AXI ports on any board.
It can be done later if it is required.
Eugeniy Paltsev (4):
ARC: DTS: mark D
e property:
"dma_noncoherent_ops" are used if no "dma-coherent" property is
present (or IOC is disabled)
"dma_direct_ops" are used if "dma-coherent" property is present.
Signed-off-by: Eugeniy Paltsev
---
Changes RFC v2 -> PATCH v1:
* Move device tree changes to separa
Mark DMA devices on AXS103 and HSDK boards connected through IOC
port as dma-coherent.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/boot/dts/axc003.dtsi | 26 ++
arch/arc/boot/dts/axc003_idu.dtsi | 26 ++
arch/arc/boot/dts/hsdk.dts| 4
Hi Vineet,
On Thu, 2018-07-05 at 14:26 -0700, Vineet Gupta wrote:
> On 07/03/2018 03:57 AM, Eugeniy Paltsev wrote:
> > On Mon, 2018-07-02 at 10:57 -0700, Vineet Gupta wrote:
> > > +CC Al
> > >
> > > On 06/29/2018 12:39 PM, Eugeniy Paltsev wrote:
> > &g
On Mon, 2018-07-02 at 10:57 -0700, Vineet Gupta wrote:
> +CC Al
>
> On 06/29/2018 12:39 PM, Eugeniy Paltsev wrote:
> > We process signals in the end of syscall/exception handler.
> > It the signal is fatal we print register's content using
> > show_regs functi
BTA: 0x2fc4SP: 0x5ff8bd64 FP: 0x
LPS: 0x200524a0 LPE: 0x200524b6 LPC: 0x0006
[-other-info-]
_
This patch fix
STAR 9001146055: waitpid02: Invalid Write @ 0x by insn @ 0x000123ec
Signed-off-by: Eugeniy Paltsev
---
arch
s v1->v2 (Thanks to Vineet and Christoph):
* Panic if both IOC and HIGHMEM_ZONE are enabled.
* Move arch_setup_dma_ops to arch/arc/mm/dma.c
* Tweak the boot printing about IOC
* Print info about cache ops used for each device.
* Refactor arch_setup_dma_ops
Signed-off-by: Eugeniy Paltsev
---
"arc_ioc_ops" which will handle
ZONE_HIGHMEM case.
(BTW: current ARC dma_noncoherent_ops implementation also has same
problem if IOC and HIGHMEM are enabled.)
NOTE 2:
In this RFC only hsdk.dts changes are shown to reduce patch size.
AXS103 device tree changes are not shown.
Signed-o
On Mon, 2018-04-23 at 08:47 +0200, Ulf Hansson wrote:
> On 20 April 2018 at 17:53, Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
> wrote:
> > Hi Ulf,
> >
> > On Fri, 2018-04-20 at 09:35 +0200, Ulf Hansson wrote:
> > > [...]
> > >
> > >
<===
rsi_91x: rsi_core_qos_processor: Queue number = 1
rsi_91x: rsi_sdio_check_buffer_status: Failed to read status register
->8--------
Any ideas what could be wrong?
--
Eugeniy Paltsev
___
linux-
This patch at least shouldn't break anything for current users (which use
it in single slot mode)
Moreover we tested this dual-slot implementation and don't catch any problems
(probably yet) except bus performance decrease in dual-slot mode (which is
quite expected).
>
> Kind regards
> U
This came to light in some internal discussions and it is nice to have
this documented rather than digging up the PRM (Prog Ref Manual) again.
Acked-by: Vineet Gupta <vgu...@synopsys.com>
Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
---
Changes v1->v2:
* Mi
This came to light in some internal discussions and it is nice to have
this documented rather than digging up the PRM (Prog Ref Manual) again.
Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
---
drivers/clocksource/arc_timer.c | 13 +
1 file changed, 13 inse
it on this board too to catch any regressions.
Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
---
drivers/mmc/host/dw_mmc.c | 325 ++
drivers/mmc/host/dw_mmc.h | 14 +-
2 files changed, 253 insertions(+), 86 deletions(-)
diff --git a/drive
Revert "mmc: dw_mmc: remove the deprecated "num-slots""
Revert "mmc: dw_mmc: fix the wrong condition check of getting num-slots from DT"
Revert "mmc: dw_mmc: remove the unnecessary slot variable"
Revert "mmc: dw_mmc: update kernel-doc comments for dw_mci"
Revert "mmc: dw_mmc: use the 'slot'
ingleslot and multislot
modes) only on Synopsys HSDK board. But I will get ODROID-XU4 board
(with Exynos5422 which has DW MMC controller) the next week
so I will test it on this board too to catch any regressions.
Eugeniy Paltsev (2):
dw_mmc: revert removal multislot support
dw_m
more than welcome.
--
Eugeniy Paltsev
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
This patch adds documentation of device tree bindings for the Synopsys
DesignWare AXI DMA controller.
Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
---
Changes v2->v3:
* None.
.../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 41 ++
1 file ch
This patch adds support for the DW AXI DMAC controller.
DW AXI DMAC is a part of HSDK development board from Synopsys.
In this driver implementation only DMA_MEMCPY transfers are
supported.
Signed-off-by: Eugeniy Paltsev <eugeniy.palt...@synopsys.com>
---
Changes v2->v3 (suggeste
On Mon, 2018-02-26 at 18:42 +0200, Andy Shevchenko wrote:
> On Mon, Feb 26, 2018 at 4:56 PM, Eugeniy Paltsev
> <eugeniy.palt...@synopsys.com> wrote:
>
> > + chip->core_clk = devm_clk_get(chip->dev, "core-clk");
>
> Does the name come fr
On Mon, 2018-02-26 at 18:42 +0200, Andy Shevchenko wrote:
> On Mon, Feb 26, 2018 at 4:56 PM, Eugeniy Paltsev
> <eugeniy.palt...@synopsys.com> wrote:
> > +static int parse_device_properties(struct axi_dma_chip *chip)
> > +{
> > + ret = device_property_r
tor axi_chan_get_xfer_width function.
* Fix timeout calculation in dma_chan_pause.
* Add record to MAINTAINERS in correct alphabetical order.
Eugeniy Paltsev (2):
dmaengine: Introduce DW AXI DMAC driver
dt-bindings: Document the Synopsys DW AXI DMA bindings
.../devicetree/bindings/dma/snps,dw-
201 - 300 of 442 matches
Mail list logo