Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-12 Thread Ferruh Yigit
; Satha Koteswara Rao Kottidi ; Pavan Nikhilesh Bhagavatula ; Kiran Kumar Kokkilagadda ; Satheesh Paul ; Anoob Joseph ; Akhil Goyal Subject: Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc On 1/11/2022 12:26 PM, Ashwin Sekhar Thalakalath Kottilveetil wrote: CAS is

Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-12 Thread Ferruh Yigit
; Satha Koteswara Rao Kottidi ; Pavan Nikhilesh Bhagavatula ; Kiran Kumar Kokkilagadda ; Satheesh Paul ; Anoob Joseph ; Akhil Goyal ; nd Subject: RE: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc -Original Message- From: Ferruh Yigit Sent: Tuesday, January

RE: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-11 Thread Ruifeng Wang
; Satha > Koteswara Rao Kottidi ; Pavan Nikhilesh > Bhagavatula ; Kiran Kumar Kokkilagadda > ; Satheesh Paul ; > Anoob Joseph ; Akhil Goyal ; > nd > Subject: RE: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics > for batch alloc > > > -Original Message--

RE: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-11 Thread Ruifeng Wang
> Koteswara Rao Kottidi ; Pavan Nikhilesh > Bhagavatula ; Kiran Kumar Kokkilagadda > ; Satheesh Paul ; > Anoob Joseph ; Akhil Goyal > Subject: Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics > for batch alloc > > On 1/11/2022 12:26 PM, Ashwin Sekhar Thalak

Re: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-11 Thread Ferruh Yigit
On 1/11/2022 12:26 PM, Ashwin Sekhar Thalakalath Kottilveetil wrote: CAS is compare and swap. CASL is compare and swap with release semantics. What does 'release semantics' mean? What is functional difference in both? But on CNXK platform, the functionality of CAS* instructions is completely

RE: [EXT] Re: [PATCH] common/cnxk: use cas with release semantics for batch alloc

2022-01-11 Thread Ashwin Sekhar Thalakalath Kottilveetil
CAS is compare and swap. CASL is compare and swap with release semantics. But on CNXK platform, the functionality of CAS* instructions is completely different when it is done to specific addresses. These APIs are meant for use for such special cases. These cannot be made ARM generic. Ashwin Sek