Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Alistair Popple
On Monday, 18 June 2018 2:46:33 PM AEST Benjamin Herrenschmidt wrote: > On Mon, 2018-06-18 at 14:09 +1000, Alistair Popple wrote: > > On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > > > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > > > > > We

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Alistair Popple
On Monday, 18 June 2018 2:46:33 PM AEST Benjamin Herrenschmidt wrote: > On Mon, 2018-06-18 at 14:09 +1000, Alistair Popple wrote: > > On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > > > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > > > > > We

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Benjamin Herrenschmidt
On Mon, 2018-06-18 at 14:09 +1000, Alistair Popple wrote: > On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > > > We have everything that cronus needs and more than pdbg needs afaik :-) > > Yep, has

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Benjamin Herrenschmidt
On Mon, 2018-06-18 at 14:09 +1000, Alistair Popple wrote: > On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > > > We have everything that cronus needs and more than pdbg needs afaik :-) > > Yep, has

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Alistair Popple
On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > We have everything that cronus needs and more than pdbg needs afaik :-) Yep, has what we need and more (such as put scom under mask and indirect

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-17 Thread Alistair Popple
On Sunday, 17 June 2018 11:22:11 AM AEST Benjamin Herrenschmidt wrote: > On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > > > We have everything that cronus needs and more than pdbg needs afaik :-) Yep, has what we need and more (such as put scom under mask and indirect

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > We have everything that cronus needs and more than pdbg needs afaik :-) > > That said, cronus does a bunch of other stupid things that I'm still > trying to figure out how to fix. > > We might need to create a /dev/cfam rather

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > We have everything that cronus needs and more than pdbg needs afaik :-) > > That said, cronus does a bunch of other stupid things that I'm still > trying to figure out how to fix. > > We might need to create a /dev/cfam rather

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sat, 2018-06-16 at 14:34 +0930, Joel Stanley wrote: > On 12 June 2018 at 14:49, Benjamin Herrenschmidt > wrote: > > This was too hard to split ... this adds a number of features > > to the SCOM user interface: > > > > - Support for indirect SCOMs > > > > - read()/write() interface now

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sat, 2018-06-16 at 14:34 +0930, Joel Stanley wrote: > On 12 June 2018 at 14:49, Benjamin Herrenschmidt > wrote: > > This was too hard to split ... this adds a number of features > > to the SCOM user interface: > > > > - Support for indirect SCOMs > > > > - read()/write() interface now

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-15 Thread Joel Stanley
On 12 June 2018 at 14:49, Benjamin Herrenschmidt wrote: > This was too hard to split ... this adds a number of features > to the SCOM user interface: > > - Support for indirect SCOMs > > - read()/write() interface now handle errors and retries > > - New ioctl() "raw" interface for use by

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-15 Thread Joel Stanley
On 12 June 2018 at 14:49, Benjamin Herrenschmidt wrote: > This was too hard to split ... this adds a number of features > to the SCOM user interface: > > - Support for indirect SCOMs > > - read()/write() interface now handle errors and retries > > - New ioctl() "raw" interface for use by

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-14 Thread Eddie James
On 06/13/2018 06:00 PM, Benjamin Herrenschmidt wrote: On Wed, 2018-06-13 at 09:57 -0500, Eddie James wrote: On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: This was too hard to split ... this adds a number of features to the SCOM user interface: - Support for indirect SCOMs -

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-14 Thread Eddie James
On 06/13/2018 06:00 PM, Benjamin Herrenschmidt wrote: On Wed, 2018-06-13 at 09:57 -0500, Eddie James wrote: On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: This was too hard to split ... this adds a number of features to the SCOM user interface: - Support for indirect SCOMs -

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-13 Thread Benjamin Herrenschmidt
On Wed, 2018-06-13 at 09:57 -0500, Eddie James wrote: > > On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: > > This was too hard to split ... this adds a number of features > > to the SCOM user interface: > > > > - Support for indirect SCOMs > > > > - read()/write() interface now

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-13 Thread Benjamin Herrenschmidt
On Wed, 2018-06-13 at 09:57 -0500, Eddie James wrote: > > On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: > > This was too hard to split ... this adds a number of features > > to the SCOM user interface: > > > > - Support for indirect SCOMs > > > > - read()/write() interface now

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-13 Thread Eddie James
On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: This was too hard to split ... this adds a number of features to the SCOM user interface: - Support for indirect SCOMs - read()/write() interface now handle errors and retries - New ioctl() "raw" interface for use by debuggers

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-13 Thread Eddie James
On 06/12/2018 12:19 AM, Benjamin Herrenschmidt wrote: This was too hard to split ... this adds a number of features to the SCOM user interface: - Support for indirect SCOMs - read()/write() interface now handle errors and retries - New ioctl() "raw" interface for use by debuggers