Re: [PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-10-03 Thread Punit Agrawal
Will Deacon writes: > On Fri, Sep 23, 2016 at 05:07:10PM +0100, Will Deacon wrote: >> On Tue, Sep 13, 2016 at 11:16:06AM +0100, Punit Agrawal wrote: >> > From: Mark Rutland >> > >> > As with dsb() and isb(), add a __tlbi() helper so that we can avoid >> > distracting asm boilerplate every time

Re: [PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-28 Thread Will Deacon
On Fri, Sep 23, 2016 at 05:07:10PM +0100, Will Deacon wrote: > On Tue, Sep 13, 2016 at 11:16:06AM +0100, Punit Agrawal wrote: > > From: Mark Rutland > > > > As with dsb() and isb(), add a __tlbi() helper so that we can avoid > > distracting asm boilerplate every time we want a TLBI. As some TLBI

Re: [PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-23 Thread Will Deacon
On Tue, Sep 13, 2016 at 11:16:06AM +0100, Punit Agrawal wrote: > From: Mark Rutland > > As with dsb() and isb(), add a __tlbi() helper so that we can avoid > distracting asm boilerplate every time we want a TLBI. As some TLBI > operations take an argument while others do not, some pre-processor i

[PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-13 Thread Punit Agrawal
From: Mark Rutland As with dsb() and isb(), add a __tlbi() helper so that we can avoid distracting asm boilerplate every time we want a TLBI. As some TLBI operations take an argument while others do not, some pre-processor is used to handle these two cases with different assembly blocks. The exi

Re: [RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-06 Thread Will Deacon
On Mon, Sep 05, 2016 at 05:31:34PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > As with dsb() and isb(), add a __tlbi() helper so that we can avoid > distracting asm boilerplate every time we want a TLBI. As some TLBI > operations take an argument while others do not, some pre-processor i

Re: [RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-06 Thread Christoffer Dall
On Tue, Sep 06, 2016 at 11:05:17AM +0100, Punit Agrawal wrote: > Christoffer Dall writes: > > > On Mon, Sep 05, 2016 at 05:31:34PM +0100, Punit Agrawal wrote: > >> From: Mark Rutland > >> > >> As with dsb() and isb(), add a __tlbi() helper so that we can avoid > >> distracting asm boilerplate e

Re: [RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-06 Thread Punit Agrawal
Christoffer Dall writes: > On Mon, Sep 05, 2016 at 05:31:34PM +0100, Punit Agrawal wrote: >> From: Mark Rutland >> >> As with dsb() and isb(), add a __tlbi() helper so that we can avoid >> distracting asm boilerplate every time we want a TLBI. As some TLBI >> operations take an argument while o

Re: [RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:34PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > As with dsb() and isb(), add a __tlbi() helper so that we can avoid > distracting asm boilerplate every time we want a TLBI. As some TLBI > operations take an argument while others do not, some pre-processor i

[RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-05 Thread Punit Agrawal
From: Mark Rutland As with dsb() and isb(), add a __tlbi() helper so that we can avoid distracting asm boilerplate every time we want a TLBI. As some TLBI operations take an argument while others do not, some pre-processor is used to handle these two cases with different assembly blocks. The exi

Re: [RFC PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-08-19 Thread Punit Agrawal
Will Deacon writes: > On Tue, Aug 16, 2016 at 11:45:09AM +0100, Punit Agrawal wrote: >> From: Mark Rutland >> >> As with dsb() and isb(), add a __tbli() helper so that we can avoid > > Minor typo: s/__tbli/__tlbi/ Thanks for spotting. I've fixed this locally now. > >> distracting asm boilerpl

Re: [RFC PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-08-19 Thread Will Deacon
On Tue, Aug 16, 2016 at 11:45:09AM +0100, Punit Agrawal wrote: > From: Mark Rutland > > As with dsb() and isb(), add a __tbli() helper so that we can avoid Minor typo: s/__tbli/__tlbi/ > distracting asm boilerplate every time we want a TLBI. As some TLBI > operations take an argument while othe

[RFC PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-08-16 Thread Punit Agrawal
From: Mark Rutland As with dsb() and isb(), add a __tbli() helper so that we can avoid distracting asm boilerplate every time we want a TLBI. As some TLBI operations take an argument while others do not, some pre-processor is used to handle these two cases with different assembly blocks. The exi