Re: [PATCH] fsl_pci: Correct fsl_pci_mcheck_exception

2017-11-21 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 19:19 +, Leo Li wrote: > > -Original Message- > > From: York Sun > > Sent: Wednesday, September 06, 2017 10:34 AM > > To: Leo Li > > Cc: Joakim Tjernlund ; linuxppc-dev linuxppc- > > dev > > Subject: Re: [PATCH]

ppc32: semctl fails

2017-12-06 Thread Joakim Tjernlund
This test, taken from perl Configure, fails on my ppc32, should it? semctl IPC_STAT failed: errno = Bad Address is what I get, kernel is 4.1.43 - #include #include #include #include #ifndef S_IRUSR # ifdef S_IREAD #define S_IRUSR S_IREAD #define S_IWUSR S_IWRITE #define S

Re: ppc32: semctl fails

2017-12-06 Thread Joakim Tjernlund
On Wed, 2017-12-06 at 23:56 +0100, Andreas Schwab wrote: > > On Dez 06 2017, Joakim Tjernlund wrote: > > > st = semctl(sem, 0, IPC_STAT, &arg); > > This is not a valid use of IPC_STAT. The fourth argument must be a > object of type union semun (not a po

Re: [PATCH 3/3] powerpc/corenet: add support for the kmcent2 board

2016-12-15 Thread Joakim Tjernlund
On Thu, 2016-12-15 at 14:22 +0100, Valentin Longchamp wrote: > This board is built around Freescale's T1040 SoC. > > The peripherals used by this design are: > - DDR3 RAM with SPD support > - parallel NOR Flash as boot medium > - 1 PCIe bus (PCIe1 x1) > - 3 FMAN Ethernet devices (FMAN1 DTSEC1/2/5)

Re: Time to get rid of CPU6 ERRATA on powerpc/8xx ?

2018-01-07 Thread Joakim Tjernlund
On Sun, 2018-01-07 at 17:23 +0100, christophe leroy wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Today, Linux kernel includes a workaround for CPU6 ERRATA

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-15 Thread Joakim Tjernlund
vice > back 2 back to a known good machine and determine what is broken - Rx/Tx? > Is there another software version that does work on these machines? Hi, just saw this and thought of a small patch I just wrote for mdio bus, o idea if it is relevant but here goes: From fe0b98d54a797794827006

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-16 Thread Joakim Tjernlund
ll patch I just wrote for mdio bus, o > > idea > > if it is relevant but here goes: > > > > From fe0b98d54a79779482700676331b4d10a0f3cada Mon Sep 17 00:00:00 2001 > > From: Joakim Tjernlund > > Date: Sun, 14 Jan 2018 21:27:20 +0100 >

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-17 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Andrew Lunn wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > > > You appear to be using an old kernel. Take a look at: > >

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-17 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Madalin-cristian Bucur wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > > -Original Message-

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-18 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Joakim Tjernlund wrote: > On Thu, 1970-01-01 at 00:00 +, Madalin-cristian Bucur wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you recognize the sender and know

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-19 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Madalin-cristian Bucur wrote: > > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Tuesday, January 16, 2018 7:58 PM > > To: and...@lunn.ch > > Subject: Re: DPAA Ethernet tr

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-01-19 Thread Joakim Tjernlund
On Thu, 1970-01-01 at 00:00 +, Andrew Lunn wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > > > commit 4d8ee1935bcd666360311dfdadeee235d682d69a > > > Autho

Re: [PATCH 0/5] DPAA Ethernet fixes

2018-03-14 Thread Joakim Tjernlund
On Wed, 2018-03-14 at 08:37 -0500, Madalin Bucur wrote: > Hi, > > This patch set is addressing several issues in the DPAA Ethernet > driver suite: > > - module unload crash caused by wrong reference to device being left >in the cleanup code after the DSA related changes > - scheduling wile

Re: [PATCH 12/17] powerpc/8xx: Remove PTE_ATOMIC_UPDATES

2018-05-04 Thread Joakim Tjernlund
On Fri, 2018-05-04 at 14:34 +0200, Christophe Leroy wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > commit 1bc54c03117b9 ("powerpc: rework 4xx PTE access and

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-07 Thread Joakim Tjernlund
IQ platforms. Nice to see DPAA support soon entering the kernel(not a day too early:) I would like to see BQL supported from day one though, if possible.  Regards           Joakim Tjernlund

Re: [Patch v2 5/5] drivers/net: support hdlc function for QE-UCC

2016-06-02 Thread Joakim Tjernlund
On Thu, 2016-06-02 at 09:45 +0800, Zhao Qiang wrote: > The driver add hdlc support for Freescale QUICC Engine. > It support NMSI and TSA mode. > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - remove useless code. > - remove Unnecessary casts > - return IRQ_NONE when the

Machine Check in P2010(e500v2)

2017-09-01 Thread Joakim Tjernlund
I am trying to debug a Machine Check for a P2010 (e500v2) CPU: [ 28.111816] Caused by (from MCSR=10008): Bus - Read Data Bus Error [ 28.117998] Oops: Machine check, sig: 7 [#1] [ 28.122263] P1010 RDB [ 28.124529] Modules linked in: linux_bcm_knet(PO) linux_user_bde(PO) linux_kernel_bde(PO

Re: Machine Check in P2010(e500v2)

2017-09-05 Thread Joakim Tjernlund
07006000 132f9fa8 [ 28.275547] NIP [10a4e2f4] 0x10a4e2f4 [ 28.279204] LR [10a4e404] 0x10a4e404 [ 28.282772] Call Trace: [ 28.285213] ---[ end trace 9f8b64ab1e83f449 ]--- [ 28.289825] Jocke On Fri, 2017-09-01 at 13:32 +0200, Joakim Tjernlund wrote: > I am t

[PATCH] fsl_pci: Correct fsl_pci_mcheck_exception

2017-09-05 Thread Joakim Tjernlund
get_user() had it args reversed causing NIP to be NULL:ed instead of fixing up the PCI access. Note: This still hangs my P1020 Freescale CPU hard, but at least I get a NIP now. Signed-off-by: Joakim Tjernlund --- arch/powerpc/sysdev/fsl_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: Machine Check in P2010(e500v2)

2017-09-06 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 10:05 +, Laurentiu Tudor wrote: > Hi Jocke, > > On 09/01/2017 02:32 PM, Joakim Tjernlund wrote: > > I am trying to debug a Machine Check for a P2010 (e500v2) CPU: > > > > [ 28.111816] Caused by (from MCSR=10008): Bus - Read Data Bus Er

UIO memmap of PCi devices not working?

2017-09-06 Thread Joakim Tjernlund
Having problems to mmap PCI UIO devices and stumbeled over this page: http://billfarrow.blogspot.se/2010/09/userspace-access-to-pci-memory.html it claims some adjustments are needed for UIO mmap over PCI to work. These are #if 0 ATM and trying to enable them fails build. Can this be fixed to at l

Re: Machine Check in P2010(e500v2)

2017-09-06 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 19:31 +, Leo Li wrote: > > -Original Message- > > From: York Sun > > Sent: Wednesday, September 06, 2017 10:38 AM > > To: Joakim Tjernlund ; linuxppc- > > d...@lists.ozlabs.org; Leo Li > > Subject: Re: Machine Check in P2010

Re: Machine Check in P2010(e500v2)

2017-09-06 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 20:28 +, Leo Li wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Wednesday, September 06, 2017 3:17 PM > > To: linuxppc-dev@lists.ozlabs.org; Leo Li ; York Sun > > > >

Re: Machine Check in P2010(e500v2)

2017-09-06 Thread Joakim Tjernlund
On Wed, 2017-09-06 at 21:13 +, Leo Li wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Wednesday, September 06, 2017 3:54 PM > > To: linuxppc-dev@lists.ozlabs.org; Leo Li ; York Sun > > > >

Re: UIO memmap of PCi devices not working?

2017-09-07 Thread Joakim Tjernlund
On Thu, 2017-09-07 at 17:16 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2017-09-06 at 15:20 +0000, Joakim Tjernlund wrote: > > Having problems to mmap PCI UIO devices and stumbeled over this page: > > http://billfarrow.blogspot.se/2010/09/userspace-access-to-pci-memory.html >

Re: Machine Check in P2010(e500v2)

2017-09-07 Thread Joakim Tjernlund
On Thu, 2017-09-07 at 00:50 +0200, Joakim Tjernlund wrote: > On Wed, 2017-09-06 at 21:13 +, Leo Li wrote: > > > -Original Message- > > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > > Sent: Wednesday, September 06, 2017

Re: UIO memmap of PCi devices not working?

2017-09-07 Thread Joakim Tjernlund
On Thu, 2017-09-07 at 18:33 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2017-09-07 at 07:22 +0000, Joakim Tjernlund wrote: > > On Thu, 2017-09-07 at 17:16 +1000, Benjamin Herrenschmidt wrote: > > > On Wed, 2017-09-06 at 15:20 +, Joakim Tjernlund wrote: > > > &g

Re: UIO memmap of PCi devices not working?

2017-09-07 Thread Joakim Tjernlund
On Thu, 2017-09-07 at 10:59 +0200, Joakim Tjernlund wrote: > On Thu, 2017-09-07 at 18:33 +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2017-09-07 at 07:22 +0000, Joakim Tjernlund wrote: > > > On Thu, 2017-09-07 at 17:16 +1000, Benjamin Herrenschmidt wrote: > > > &g

Re: Machine Check in P2010(e500v2)

2017-09-08 Thread Joakim Tjernlund
On Thu, 2017-09-07 at 18:54 +, Leo Li wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Thursday, September 07, 2017 3:41 AM > > To: linuxppc-dev@lists.ozlabs.org; Leo Li ; York Sun > > > >

Re: Machine Check in P2010(e500v2)

2017-09-08 Thread Joakim Tjernlund
On Fri, 2017-09-08 at 11:54 +0200, Joakim Tjernlund wrote: > On Thu, 2017-09-07 at 18:54 +, Leo Li wrote: > > > -Original Message- > > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > > Sent: Thursday, September 07, 2017

Re: Machine Check in P2010(e500v2)

2017-09-09 Thread Joakim Tjernlund
On Fri, 2017-09-08 at 22:27 +, Leo Li wrote: > > -Original Message- > > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > > Sent: Friday, September 08, 2017 7:51 AM > > To: linuxppc-dev@lists.ozlabs.org; Leo Li ; York Sun > > > >

Re: Machine Check in P2010(e500v2)

2017-09-14 Thread Joakim Tjernlund
On Sat, 2017-09-09 at 14:59 +0200, Joakim Tjernlund wrote: > On Sat, 2017-09-09 at 14:45 +0200, Joakim Tjernlund wrote: > > On Fri, 2017-09-08 at 22:27 +, Leo Li wrote: > > > > -Original Message- > > > > From: Joakim Tjernlund [mailto:joakim.tjernl...@i

<    3   4   5   6   7   8