Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-27 Thread Florian Fainelli
On 03/25/2017 03:06 AM, Marc Zyngier wrote: > On Fri, Mar 24 2017 at 07:02:05 PM, Florian Fainelli > wrote: >> On 03/24/2017 11:31 AM, Mark Rutland wrote: >>> Hi Florian, >>> >>> On Fri, Mar 24, 2017 at 10:53:48AM -0700, Florian Fainelli wrote: On 03/24/2017 10:35 AM, Mark Rutland wrote: >>>

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-25 Thread Marc Zyngier
On Fri, Mar 24 2017 at 07:02:05 PM, Florian Fainelli wrote: > On 03/24/2017 11:31 AM, Mark Rutland wrote: >> Hi Florian, >> >> On Fri, Mar 24, 2017 at 10:53:48AM -0700, Florian Fainelli wrote: >>> On 03/24/2017 10:35 AM, Mark Rutland wrote: On Fri, Mar 24, 2017 at 09:48:40AM -0700, Doug Ber

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Florian Fainelli
On 03/24/2017 11:31 AM, Mark Rutland wrote: > Hi Florian, > > On Fri, Mar 24, 2017 at 10:53:48AM -0700, Florian Fainelli wrote: >> On 03/24/2017 10:35 AM, Mark Rutland wrote: >>> On Fri, Mar 24, 2017 at 09:48:40AM -0700, Doug Berger wrote: On 03/24/2017 08:16 AM, Mark Rutland wrote: > On

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Mark Rutland
Hi Florian, On Fri, Mar 24, 2017 at 10:53:48AM -0700, Florian Fainelli wrote: > On 03/24/2017 10:35 AM, Mark Rutland wrote: > > On Fri, Mar 24, 2017 at 09:48:40AM -0700, Doug Berger wrote: > >> On 03/24/2017 08:16 AM, Mark Rutland wrote: > >>> On Fri, Mar 24, 2017 at 07:46:26AM -0700, Doug Berger

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Florian Fainelli
On 03/24/2017 10:35 AM, Mark Rutland wrote: > On Fri, Mar 24, 2017 at 09:48:40AM -0700, Doug Berger wrote: >> On 03/24/2017 08:16 AM, Mark Rutland wrote: >>> On Fri, Mar 24, 2017 at 07:46:26AM -0700, Doug Berger wrote: > >> If you would consider an alternative implementation where we scrap >> the

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Mark Rutland
On Fri, Mar 24, 2017 at 09:48:40AM -0700, Doug Berger wrote: > On 03/24/2017 08:16 AM, Mark Rutland wrote: > >On Fri, Mar 24, 2017 at 07:46:26AM -0700, Doug Berger wrote: > If you would consider an alternative implementation where we scrap > the SError handler (i.e. maintain the ugliness in our do

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Doug Berger
On 03/24/2017 08:16 AM, Mark Rutland wrote: On Fri, Mar 24, 2017 at 07:46:26AM -0700, Doug Berger wrote: This commit adds support for minimal handling of SError aborts and allows them to be hooked by a driver or other part of the kernel to install a custom SError abort handler. The hook functio

Re: [PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Mark Rutland
On Fri, Mar 24, 2017 at 07:46:26AM -0700, Doug Berger wrote: > This commit adds support for minimal handling of SError aborts and > allows them to be hooked by a driver or other part of the kernel to > install a custom SError abort handler. The hook function returns > the previously registered han

[PATCH 3/9] arm64: mm: install SError abort handler

2017-03-24 Thread Doug Berger
This commit adds support for minimal handling of SError aborts and allows them to be hooked by a driver or other part of the kernel to install a custom SError abort handler. The hook function returns the previously registered handler so that handlers may be chained if desired. The handler should