[PATCH v1] spi: spi-ppc4xx: include missing platform_device.h

2024-02-09 Thread Christian Lamparter
ore similar errors) it was working with 6.7. Looks like it only needed the include and its compiling fine! Signed-off-by: Christian Lamparter --- drivers/spi/spi-ppc4xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 03aab661b

Re: [PATCH v3 0/5] powerpc: apm82181: adding customer devices

2021-07-23 Thread Christian Lamparter
Hi Andy! On 23/07/2021 21:19, Andy Shevchenko wrote: On Sun, Sep 06, 2020 at 12:06:10AM +0200, Christian Lamparter wrote: I've been holding on to these devices dts' for a while now. But ever since the recent purge of the PPC405, I'm feeling the urge to move forward. The devices in question

Re: [PATCH v3 2/5] powerpc: apm82181: create shared dtsi for APM bluestone

2020-09-27 Thread Christian Lamparter
On Tue, Sep 22, 2020 at 9:14 PM Rob Herring wrote: > > On Sat, Sep 19, 2020 at 2:23 PM Christian Lamparter > wrote: > > > > On 2020-09-15 03:05, Rob Herring wrote: > > > On Sun, Sep 06, 2020 at 12:06:12AM +0200, Christian Lamparter wrote: > > >> Thi

[PATCH v1 2/2] usb: dwc2: add support for APM82181 USB OTG

2020-09-19 Thread Christian Lamparter
TA is used concurrently. Because the predecessor (PPC460EX (Canyonlands)) already had the same problem, this SoC can make use of the existing dwc2_set_amcc_params() function. Signed-off-by: Christian Lamparter --- drivers/usb/dwc2/params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc

[PATCH v1 1/2] dt-bindings: usb: dwc2: add support for APM82181 SoCs USB OTG HS and FS

2020-09-19 Thread Christian Lamparter
adds the specific compatible string for the DWC2 IP found in the APM82181 SoCs. The APM82181's USB-OTG seems like it was taken from its direct predecessor: the PPC460EX (canyonlands). Signed-off-by: Christian Lamparter --- Documentation/devicetree/bindings/usb/dwc2.yaml | 1 + 1 file changed, 1

Re: [PATCH v3 2/5] powerpc: apm82181: create shared dtsi for APM bluestone

2020-09-19 Thread Christian Lamparter
On 2020-09-15 03:05, Rob Herring wrote: On Sun, Sep 06, 2020 at 12:06:12AM +0200, Christian Lamparter wrote: This patch adds an DTSI-File that can be used by various device-tree files for APM82181-based devices. Some of the nodes (like UART, PCIE, SATA) are used by the uboot and need to stick

Re: [PATCH] powerpc/boot/dts: Fix dtc "pciex" warnings

2020-09-11 Thread Christian Lamparter
Hello, On 2020-09-08 20:52, Christian Lamparter wrote: On Tue, Sep 8, 2020 at 9:12 AM Michael Ellerman wrote: Christian Lamparter writes: On 2020-06-23 15:03, Michael Ellerman wrote: With CONFIG_OF_ALL_DTBS=y, as set by eg. allmodconfig, we see lots of warnings about our dts files

Re: [PATCH] powerpc/boot/dts: Fix dtc "pciex" warnings

2020-09-08 Thread Christian Lamparter
Hello, On Tue, Sep 8, 2020 at 9:12 AM Michael Ellerman wrote: > Christian Lamparter writes: > > On 2020-06-23 15:03, Michael Ellerman wrote: > >> With CONFIG_OF_ALL_DTBS=y, as set by eg. allmodconfig, we see lots of > >> warnings about our dts files, such as: > &g

[PATCH v3 4/5] powerpc: apm82181: add Meraki MR24 AP

2020-09-05 Thread Christian Lamparter
Atheros AR8035 Ready to go images and install instruction can be found @OpenWrt. Signed-off-by: Chris Blake Signed-off-by: Christian Lamparter --- rfc v1 -> v2: - use new led naming scheme - space-vs-tab snafu cleanup - remove led-aliases (openwrt speci

[PATCH v3 5/5] powerpc: apm82181: integrate bluestone.dts

2020-09-05 Thread Christian Lamparter
> "4c" For now, this has been kept as-is. Signed-off-by: Christian Lamparter --- rfc -> v1: - no changes v2 -> v3: - incorporated pcie@d node-name switch --- arch/powerpc/boot/dts/bluestone.dts | 458 +++- 1 file changed, 104 insertions(+

[PATCH v3 3/5] powerpc: apm82181: add WD MyBook Live NAS

2020-09-05 Thread Christian Lamparter
/disable the nodes for the device. This device boots from a u-boot on a 512 KiB NOR Flash onto a Linux image stored on one of the harddrives. Ready to go images and install instruction can be found @OpenWrt.org Signed-off-by: Christian Lamparter --- rfc v1 -> v2: - use new LED naming sch

[PATCH v3 2/5] powerpc: apm82181: create shared dtsi for APM bluestone

2020-09-05 Thread Christian Lamparter
-by: Chris Blake Signed-off-by: Christian Lamparter --- rfc v1 -> v2: - removed PKA (this CryptoPU will need driver) - stick with compatibles, nodes, ... from either Bluestone (APM82181) or Canyonlands (PPC460EX). - add labels for NAND and NOR to help with access.

[PATCH v3 0/5] powerpc: apm82181: adding customer devices

2020-09-05 Thread Christian Lamparter
Hello, I've been holding on to these devices dts' for a while now. But ever since the recent purge of the PPC405, I'm feeling the urge to move forward. The devices in question have been running with OpenWrt since around 2016/2017. Back then it was linux v4.4 and required many out-of-tree patches

[PATCH v3 1/5] dt-bindings: powerpc: define apm,apm82181 binding

2020-09-05 Thread Christian Lamparter
make a binding for the various boards based on the AppliedMicro/APM APM82181 SoC. Signed-off-by: Christian Lamparter --- .../bindings/powerpc/4xx/apm,apm82181.yaml| 29 +++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/powerpc/4xx

Re: [PATCH] powerpc/boot/dts: Fix dtc "pciex" warnings

2020-09-03 Thread Christian Lamparter
On 2020-06-23 15:03, Michael Ellerman wrote: With CONFIG_OF_ALL_DTBS=y, as set by eg. allmodconfig, we see lots of warnings about our dts files, such as: arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d: node name is not "pci" or "pcie" The

[PATCH v2 4/4] powerpc: apm82181: integrate bluestone.dts

2020-08-22 Thread Christian Lamparter
> "4c" For now, this has been kept as-is. Signed-off-by: Christian Lamparter --- arch/powerpc/boot/dts/bluestone.dts | 458 +++- 1 file changed, 104 insertions(+), 354 deletions(-) diff --git a/arch/powerpc/boot/dts/bluestone.dts b/arch/powerpc/boot/dts/

[PATCH v2 3/4] powerpc: apm82181: add Meraki MR24 AP

2020-08-22 Thread Christian Lamparter
Atheros AR8035 Ready to go images and install instruction can be found @OpenWrt. Signed-off-by: Chris Blake Signed-off-by: Christian Lamparter --- - rfc v1 -> v2: - use new led naming scheme - space-vs-tab snafu cleanup - remove led-aliases (openwrt speci

[PATCH v2 2/4] powerpc: apm82181: add WD MyBook Live NAS

2020-08-22 Thread Christian Lamparter
/disable the nodes for the device. This device boots from a u-boot on a 512 KiB NOR Flash onto a Linux image stored on one of the harddrives. Ready to go images and install instruction can be found @OpenWrt.org Signed-off-by: Christian Lamparter --- - rfc v1 -> v2: - use new LED naming sch

[PATCH v2 1/4] powerpc: apm82181: create shared dtsi for APM bluestone

2020-08-22 Thread Christian Lamparter
dge' Signed-off-by: Chris Blake Signed-off-by: Christian Lamparter --- - rfc v1 -> v2: - removed PKA (this CryptoPU will need driver) - stick with compatibles, nodes, ... from either Bluestone (APM82181) or Canyonlands (PPC460EX). - add labels for NAND and NOR to

[PATCH v2 0/4] powerpc: apm82181: adding customer devices

2020-08-22 Thread Christian Lamparter
AR8327 Note2: I do have a stash of extensive APM82181 related documentation. Christian Lamparter (4): powerpc: apm82181: create shared dtsi for APM bluestone powerpc: apm82181: add WD MyBook Live NAS powerpc: apm82181: add Meraki MR24 AP powerpc: apm82181: integrate bluestone.dts arch/

[PATCH v2] dt-bindings: vendor-prefixes: Add Cisco Meraki vendor prefix

2020-08-22 Thread Christian Lamparter
Signed-off-by: Christian Lamparter --- v1 -> v2: Split from Meraki MR32 upstreaming attempt. (Florian Fainelli) (This patch will be needed for the MR24 upstreaming series as well) --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+

[RFC PATCH v1 1/4] powerpc: apm82181: create shared dtsi for APM bluestone

2020-08-12 Thread Christian Lamparter
d prerequisite > 'pci_bridge' Signed-off-By: Chris Blake Signed-off-by: Christian Lamparter --- arch/powerpc/boot/dts/apm82181.dtsi | 485 1 file changed, 485 insertions(+) create mode 100644 arch/powerpc/boot/dts/apm82181.dtsi diff --git a/arch/powerpc/boot/d

[RFC PATCH v1 3/4] powerpc: apm82181: add Meraki MR24 AP

2020-08-12 Thread Christian Lamparter
This patch adds the device-tree definitions for Meraki MR24 Accesspoint devices. Ready to go images and install instruction can be found @OpenWrt. Signed-off-By: Chris Blake Signed-off-by: Christian Lamparter --- arch/powerpc/boot/dts/meraki-mr24.dts | 237 + arch

[RFC PATCH v1 0/4] powerpc: apm82181: adding customer devices

2020-08-12 Thread Christian Lamparter
60 - (Could be next) Netgear WNDR4700 - Needs DSA for the AR8327 Note2: I do have a stash of extensive APM82181 related documentation. Christian Lamparter (4): powerpc: apm82181: create shared dtsi for APM bluestone powerpc: apm82181: add WD MyBook Live NAS powerpc: apm82181: add Merak

[RFC PATCH v1 4/4] powerpc: apm82181: integrate bluestone.dts

2020-08-12 Thread Christian Lamparter
> "4c" For now, this has been kept alone. Signed-off-by: Christian Lamparter --- arch/powerpc/boot/dts/bluestone.dts | 456 +++- 1 file changed, 109 insertions(+), 347 deletions(-) diff --git a/arch/powerpc/boot/dts/bluestone.dts b/arch/powerpc/boot/dts/

[RFC PATCH v1 2/4] powerpc: apm82181: add WD MyBook Live NAS

2020-08-12 Thread Christian Lamparter
to go images and install instruction can be found @OpenWrt.org Signed-off-by: Christian Lamparter --- arch/powerpc/boot/dts/wd-mybooklive.dts| 199 + arch/powerpc/platforms/44x/ppc44x_simple.c | 3 +- 2 files changed, 201 insertions(+), 1 deletion(-) create mode 100644 arch

Re: [PATCH 0/2] powerpc: Remove support for ppc405/440 Xilinx platforms

2020-03-28 Thread Christian Lamparter
(Sorry for the bounces, yes my smarthost mail setup breaks from time to time and I had to cut the CC since it complained about the length.) On Saturday, 28 March 2020 12:17:58 CET Christophe Leroy wrote: > > Le 27/03/2020 à 15:14, Andy Shevchenko a écrit : >> On Fri, Mar 27, 2020 at 02:22:55PM

[PATCH] powerpc/4xx/uic: clear pending interrupt after irq type/pol change

2019-06-15 Thread Christian Lamparter
irq's type and polarity. Signed-off-by: Christian Lamparter --- arch/powerpc/platforms/4xx/uic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/4xx/uic.c b/arch/powerpc/platforms/4xx/uic.c index 31f12ad37a98..36fb66ce54cf 100644 --- a/arch/powerpc/platforms/4xx/uic.c

Re: [PATCH] powerpc: Enable kernel XZ compression option on PPC_85xx

2019-06-14 Thread Christian Lamparter
th > >>> simpleImage on TP-Link TL-WDR4900 (Freescale P1014 processor). > >>> > >>> Suggested-by: Christian Lamparter > >>> Signed-off-by: Pawel Dembicki > >>> --- > >>> arch/powerpc/Kconfig | 2 +- > >>> 1 file change

Re: powerpc: Enable kernel XZ compression option on 44x

2019-02-08 Thread Christian Lamparter
On Friday, February 8, 2019 2:02:41 PM CET Michael Ellerman wrote: > On Thu, 2019-01-31 at 20:59:04 UTC, Christian Lamparter wrote: > > Enable kernel XZ compression option on 44x. > > Tested on a Western Digital - MyBook Live NAS. > > It takes 22 seconds for the 800

[PATCH] powerpc: Enable kernel XZ compression option on 44x

2019-01-31 Thread Christian Lamparter
Enable kernel XZ compression option on 44x. Tested on a Western Digital - MyBook Live NAS. It takes 22 seconds for the 800 MHz CPU to decompress and boot a 2.63 MiB XZ-compressed kernel simpleImage. Signed-off-by: Christian Lamparter --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion

Re: [1/2] powerpc/4xx/ocm: Fix phys_addr_t printf warnings

2019-01-08 Thread Christian Lamparter
On Tuesday, January 8, 2019 10:54:28 AM CET Michael Ellerman wrote: > Christian Lamparter writes: > > On Wednesday, January 2, 2019 12:31:50 PM CET Michael Ellerman wrote: > >> On Tue, 2019-01-01 at 03:56:00 UTC, Michael Ellerman wrote: > >> > Currently the code

Re: [1/2] powerpc/4xx/ocm: Fix phys_addr_t printf warnings

2019-01-04 Thread Christian Lamparter
On Wednesday, January 2, 2019 12:31:50 PM CET Michael Ellerman wrote: > On Tue, 2019-01-01 at 03:56:00 UTC, Michael Ellerman wrote: > > Currently the code produces several warnings, eg: > > > > arch/powerpc/platforms/4xx/ocm.c:240:38: error: format '%llx' > > expects argument of type 'long

[PATCH v2] powerpc/4xx/ocm: fix compilation error

2018-12-22 Thread Christian Lamparter
operands to binary | | (have ‘int’ and ‘pgprot_t’ {aka ‘struct ’}) |_PAGE_EXEC | PAGE_KERNEL); | ^ Fixes: 56f3c1413f5c ("powerpc/mm: properly set PAGE_KERNEL flags in ioremap()") Signed-off-by: Christian Lamparter --- arch/powerpc/platforms/4xx/ocm.c | 4 ++

Re: [PATCH] powerpc/4xx/ocm: fix compiler error

2018-12-22 Thread Christian Lamparter
On Saturday, December 22, 2018 2:08:02 PM CET christophe leroy wrote: > > Le 22/12/2018 à 12:27, Christian Lamparter a écrit : > > On Saturday, December 22, 2018 11:59:04 AM CET christophe leroy wrote: > >> > >> Le 22/12/2018 à 11:09, Christian Lamparter a écrit : &

Re: [PATCH] powerpc/4xx/ocm: fix compiler error

2018-12-22 Thread Christian Lamparter
On Saturday, December 22, 2018 11:59:04 AM CET christophe leroy wrote: > > Le 22/12/2018 à 11:09, Christian Lamparter a écrit : > > This patch fixes a recent regression in ocm: > > > > ocm.c: In function ‘ocm_init_node’: > > ocm.c:182:18: error: invalid operand

[PATCH] powerpc/4xx/ocm: fix compiler error

2018-12-22 Thread Christian Lamparter
This patch fixes a recent regression in ocm: ocm.c: In function ‘ocm_init_node’: ocm.c:182:18: error: invalid operands to binary | ocm.c:197:17: error: invalid operands to binary | Fixes: 56f3c1413f5c ("powerpc/mm: properly set PAGE_KERNEL flags in ioremap()") Signed-off-by: Christian

Re: [PATCH 3/8] crypto4xx_core: don't abuse __dma_sync_page

2018-12-19 Thread Christian Lamparter
s-compiled vanilla 4.20-rc7. I can report that the box didn't crash, though I would have liked to test with DMA_DEBUG. Tested-by: Christian Lamparter > --- > drivers/crypto/amcc/crypto4xx_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers

Re: [PATCH 3/8] crypto4xx_core: don't abuse __dma_sync_page

2018-12-16 Thread Christian Lamparter
On Sunday, December 16, 2018 6:19:46 PM CET Christoph Hellwig wrote: > This function is internal to the DMA API implementation. Instead use the > DMA API to properly unmap. Note that the DMA API usage in this driver > is a disaster and urgently needs some work - it is missing all the unmaps, >

[PATCH v2] ppc4xx: ocm: fix errnous "failed to create file" errors

2018-11-04 Thread Christian Lamparter
fixes both the debugfs_create_dir() and debugfs_create_file() check, so this will work as expected. Signed-off-by: Christian Lamparter --- arch/powerpc/platforms/4xx/ocm.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/4xx/ocm.c b/arch/powerpc/platforms

Re: [PATCH] ppc4xx: ocm: fix errnous "failed to create file" errors

2018-11-04 Thread Christian Lamparter
On Thursday, November 1, 2018 12:45:00 PM CET Michael Ellerman wrote: > Hi Christian, > > Christian Lamparter writes: > > Previously, the kernel would complain: > > > > | debugfs ppc4xx ocm: failed to create file > > > > But the "info" file w

[PATCH] ppc4xx: ocm: fix errnous "failed to create file" errors

2018-10-28 Thread Christian Lamparter
fixes both the debugfs_create_dir() and debugfs_create_file() check, so this will work as expected. Signed-off-by: Christian Lamparter --- arch/powerpc/platforms/4xx/ocm.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/4xx/ocm.c b/arch/powerpc/platforms/4xx/o

[PATCH v3] powerpc: fix compile error on 64K pages on 40x, 44x

2017-10-02 Thread Christian Lamparter
ation." C99 defines in 6.7.8.10 that: " If an object that has static storage duration is not initialized explicitly, then: - if it has pointer type, it is initialized to a null pointer [...] " Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- arch/powerpc/kernel/setu

Re: [PATCH v2] powerpc: fix compile error on 64K pages on 40x, 44x

2017-10-02 Thread Christian Lamparter
On Saturday, September 30, 2017 10:25:45 AM CEST christophe leroy wrote: > > Le 28/09/2017 à 20:32, Christian Lamparter a écrit : > > The mmu context on the 40x, 44x does not define pte_frag > > entry. This causes gcc abort the compilation due to: > > > > setup-com

[PATCH v2] powerpc: fix compile error on 64K pages on 40x, 44x

2017-09-28 Thread Christian Lamparter
the initialization to just platforms that define the pte_frag variable in the mmu context. Signed-off-by: Christian Lamparter <chunk...@googlemail.com> --- arch/powerpc/kernel/setup-common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/setup-common.c

Re: [PATCH] powerpc: fix compile error on 64K pages on 40x, 44x

2017-09-26 Thread Christian Lamparter
On Tuesday, September 26, 2017 9:25:30 PM CEST Christophe LEROY wrote: > > Le 26/09/2017 à 21:03, Christian Lamparter a écrit : > > The mmu context on the 40x, 44x does not define pte_frag > > entry. This causes gcc abort the compilation due to: > > > > setup-com

[PATCH] powerpc: fix compile error on 64K pages on 40x, 44x

2017-09-26 Thread Christian Lamparter
the initialization to just platforms that define the pte_frag variable in the mmu context. Signed-off-by: Christian Lamparter <chunk...@googlemail.com> --- arch/powerpc/kernel/setup-common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/setup-common.c

Re: [PATCH v2 2/4] usb: dwc2: Add binding for AHB burst

2016-11-22 Thread Christian Lamparter
On Monday, November 21, 2016 7:32:30 PM CET John Youn wrote: > On 11/21/2016 1:10 PM, Christian Lamparter wrote: > > On Monday, November 21, 2016 12:16:31 PM CET John Youn wrote: > >> On 11/18/2016 12:18 PM, Christian Lamparter wrote: > >>> On Friday, November 18, 2

Re: [PATCH v2 2/4] usb: dwc2: Add binding for AHB burst

2016-11-21 Thread Christian Lamparter
Hello John, On Monday, November 21, 2016 12:16:31 PM CET John Youn wrote: > On 11/18/2016 12:18 PM, Christian Lamparter wrote: > > On Friday, November 18, 2016 8:16:08 AM CET Rob Herring wrote: > >> On Thu, Nov 17, 2016 at 04:35:10PM +0100, Stefan Wahren wrote: > >&g

Re: [PATCH 1/2] usb: dwc2: add amcc,dwc-otg support

2016-11-11 Thread Christian Lamparter
On Friday, November 11, 2016 2:20:42 PM CET John Youn wrote: > On 11/11/2016 2:05 PM, Christian Lamparter wrote: > > On Friday, November 11, 2016 1:22:16 PM CET John Youn wrote: > >> On 11/11/2016 12:59 PM, Christian Lamparter wrote: > >>> This patch adds support

Re: [PATCH 1/2] usb: dwc2: add amcc,dwc-otg support

2016-11-11 Thread Christian Lamparter
Hello, On Friday, November 11, 2016 1:22:16 PM CET John Youn wrote: > On 11/11/2016 12:59 PM, Christian Lamparter wrote: > > This patch adds support for the "amcc,usb-otg" device > > which is found in the PowerPC Canyonlands' dts. > > > > The devic

[PATCH 1/2] usb: dwc2: add amcc,dwc-otg support

2016-11-11 Thread Christian Lamparter
x.intel.com> Cc: John Youn <johny...@synopsys.com> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- v1->v2 - moved definitons to params.c - removed dma_enable / host_dma parameter - added dma_desc_fs_enable parameter --- Documentation/devicetree/bind

[PATCH 2/2] usb: dwc2: fixes host_dma logic

2016-11-11 Thread Christian Lamparter
Cc: Felipe Balbi <felipe.ba...@linux.intel.com> Signed-off-by: Christian Lamparter <chunk...@gmail.com> --- drivers/usb/dwc2/params.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 5d822c5..222a83c 1

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-18 Thread Christian Lamparter via Linuxppc-dev
On Tuesday, May 17, 2016 04:50:48 PM John Youn wrote: > On 5/14/2016 6:11 AM, Christian Lamparter wrote: > > On Thursday, May 12, 2016 11:40:28 AM John Youn wrote: > >> On 5/12/2016 6:30 AM, Christian Lamparter wrote: > >>> On Thursday, May 12, 2016 0

Re: [PATCH v4] usb: dwc2: fix regression on big-endian PowerPC/ARM systems

2016-05-14 Thread Christian Lamparter via Linuxppc-dev
On Friday, May 13, 2016 03:52:27 PM Arnd Bergmann wrote: > A patch that went into Linux-4.4 to fix big-endian mode on a Lantiq > MIPS system unfortunately broke big-endian operation on PowerPC > APM82181 as reported by Christian Lamparter, and likely other > systems. > > It a

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-12 Thread Christian Lamparter via Linuxppc-dev
On Thursday, May 12, 2016 11:40:28 AM John Youn wrote: > On 5/12/2016 6:30 AM, Christian Lamparter wrote: > > On Thursday, May 12, 2016 01:55:44 PM Arnd Bergmann wrote: > >> On Thursday 12 May 2016 11:58:18 Christian Lamparter wrote: > >>>>>> Detecti

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-12 Thread Christian Lamparter via Linuxppc-dev
On Thursday, May 12, 2016 01:55:44 PM Arnd Bergmann wrote: > On Thursday 12 May 2016 11:58:18 Christian Lamparter wrote: > > > > > Detecting the endianess of the > > > > > device is probably the best future-proof solution, but it's also > > > >

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-12 Thread Christian Lamparter via Linuxppc-dev
t would break the one big-endian > MIPS machine we know about. > > > > Detecting the endianess of the > > > device is probably the best future-proof solution, but it's also > > > considerably more work to do in the driver, and comes with a > > > tiny runtime o

[PATCH] gpio: dt-bindings: add ibm,ppc4xx-gpio binding

2016-05-11 Thread Christian Lamparter via Linuxppc-dev
ain driver (i.e. drives to zero, threestated if output bit is 1) " The ppc4xx_gpio.c driver is part of the platform/sysdev drivers in arch/powerpc/sysdev. Signed-off-by: Christian Lamparter <chunk...@googlemail.com> --- I looked into arch/powerpc/sysdev/ppc4xx_gpio.c driver a

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-08 Thread Christian Lamparter via Linuxppc-dev
On Sunday, May 08, 2016 08:40:55 PM Benjamin Herrenschmidt wrote: > On Sun, 2016-05-08 at 00:54 +0200, Christian Lamparter via Linuxppc-dev > wrote: > > I've been looking in getting the MyBook Live Duo's USB OTG port > > to function. The SoC is a APM82181. Which has

usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-07 Thread Christian Lamparter via Linuxppc-dev
Hello, I've been looking in getting the MyBook Live Duo's USB OTG port to function. The SoC is a APM82181. Which has a PowerPC 464 core and related to the supported canyonlands architecture in arch/powerpc/. Currently in -next the dwc2 module doesn't load: dwc2 4bff8.usbotg:

Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again

2016-04-24 Thread Christian Lamparter via Linuxppc-dev
On Sunday, April 24, 2016 09:05:43 AM Julian Margetson wrote: > On 4/23/2016 3:41 PM, Christian Lamparter wrote: > > There's a known errata for the 460EX, with the CPU lockup upon > > high AHB traffic: > > <http://lists.denx.de/pipermail/u-boot/2008-June/036078.html> >

Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again

2016-04-23 Thread Christian Lamparter via Linuxppc-dev
On Saturday, April 23, 2016 11:44:09 AM Julian Margetson wrote: > On 4/23/2016 8:02 AM, Julian Margetson wrote: > > On 4/22/2016 7:06 AM, Christian Lamparter wrote: > >> On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote: > >>> On 4/21/2016 4:25

Re: [PATCH v1 08/23] ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands

2016-04-22 Thread Christian Lamparter via Linuxppc-dev
On Friday, April 22, 2016 11:32:00 AM David Laight wrote: > From: Andy Shevchenko > > Sent: 21 April 2016 19:15 > > ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it > > for > > them. Do call ata_bmdma_qc_issue() instead for this case. >

Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again

2016-04-22 Thread Christian Lamparter via Linuxppc-dev
On Friday, April 22, 2016 06:50:44 AM Julian Margetson wrote: > On 4/21/2016 4:25 PM, Christian Lamparter wrote: > > On Thursday, April 21, 2016 09:15:21 PM Andy Shevchenko wrote: > >> The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to > >> gen

Re: [PATCH v1 00/23] ata: sata_dwc_460ex: make it working again

2016-04-21 Thread Christian Lamparter via Linuxppc-dev
lied all the patches in this series on top of the topic/dw branch of Vinod Koul: <https://git.kernel.org/cgit/linux/kernel/git/vkoul/slave-dma.git/> Tested-by: Christian Lamparter <chunk...@googlemail.com> --- results for my old ST3808110AS HDD. filesystem is ext4. # hdparm -t /dev/sd

Re: crash in ppc4xx-rng on canyonland

2016-04-18 Thread Christian Lamparter via Linuxppc-dev
On Monday, April 18, 2016 05:59:39 PM Herbert Xu wrote: > Christian Lamparter <chunk...@googlemail.com> wrote: > > > > I tried to move ppc4xx-rng into crypto4xx (see attachment - patch #1). > > The driver works as is. But I can't come up with a way to attach the > &g

Re: crash in ppc4xx-rng on canyonland

2016-04-08 Thread Christian Lamparter via Linuxppc-dev
On Tuesday, April 05, 2016 08:11:19 PM Herbert Xu wrote: > Christian Lamparter <chunk...@googlemail.com> wrote: > > > > The crash is caused by a bad read in ppc4xx_rng_enable [0]. From what I > > can tell, the driver is mapping the crypto control registers. The > >

crash in ppc4xx-rng on canyonland

2016-03-25 Thread Christian Lamparter via Linuxppc-dev
he trng [see patch]. I would like to move the trng into the crypto-ppc4xx, but given that this breaks some of the DTS out there I'm not sure. Regards, Christian --- From 2159e200fcb68f88a94b1d5570d6000c100133a8 Mon Sep 17 00:00:00 2001 From: Christian Lamparter <chunk...@googlemail.com> Dat