Re: Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Sarbojit Ganguly
:30) Title : Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange On Mon, Oct 05, 2015 at 01:10:53PM +, Sarbojit Ganguly wrote: > My sincere apologies for the format issue. This was due to the e-mail editor > which reformats the text. > I am reposting the patch, plea

Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Will Deacon
On Mon, Oct 05, 2015 at 01:10:53PM +, Sarbojit Ganguly wrote: > My sincere apologies for the format issue. This was due to the e-mail editor > which reformats the text. > I am reposting the patch, please let me know if it is ok this time. > > > v1-->v2 : Extended the guard code to cover the b

Re: Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Sarbojit Ganguly
break; +#endif case 4: asm volatile("@ __xchg4\n" "1: ldrex %0, [%3]\n" -- 1.9.1 --- Original Message --- Sender : Will Deacon Date : Oct 05, 2015 18:19 (GMT+05:30) Title : Re: [PATCH v2] arm: Adding support for

Re: [PATCH v2] arm: Adding support for atomic half word exchange

2015-10-05 Thread Will Deacon
On Mon, Oct 05, 2015 at 03:07:57AM +, Sarbojit Ganguly wrote: > This is my second version of the patch which covers the byte exclusive > case as pointed out by you. > Please share your opinion on this. The patch you posted is corrupted (the whitespace looks completely off) so it can't be appli

[PATCH v2] arm: Adding support for atomic half word exchange

2015-10-04 Thread Sarbojit Ganguly
Hello Will, This is my second version of the patch which covers the byte exclusive case as pointed out by you. Please share your opinion on this. v1-->v2 : Extended the guard code to cover the byte exchange case as well following opinion of Will Deacon. Checkpatch has been run and issues were

[PATCH v2] arm: Adding support for atomic half word exchange

2015-09-03 Thread Sarbojit Ganguly
Hello, This is the second version of the patch previously posted. v1-->v2 : Extended the guard code to cover the byte exchange case as well following opinion of Will Deacon. Checkpatch has been run and issues were taken care of. From: Sarbojit Ganguly Date: Thu, 3 Sep 2015 13:00:27 +0530 Subjec