Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754816AbbGCOf2 (ORCPT ); Fri, 3 Jul 2015 10:35:28 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:45008 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754288AbbGCOfU (ORCPT ); Fri, 3 Jul 2015 10:35:20 -0400 X-AuditID: cbfee68d-f79106d00000728c-56-55969da74cba Date: Fri, 03 Jul 2015 14:35:19 +0000 (GMT) From: Sarbojit Ganguly Subject: Re: Re: [RFC] arm: Add for atomic half word exchange To: Sarbojit Ganguly , Arnd Bergmann Cc: Raghavendra K T , "linux-arm-kernel@lists.infradead.org" , SUNEEL KUMAR SURIMANI , VIKRAM MUPPARTHI , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "peterz@infradead.org" , "Waiman.Long@hp.com" , "oleg@redhat.com" , "linux-kernel@vger.kernel.org" , SHARAN ALLUR , "torvalds@linux-foundation.org" Reply-to: ganguly.s@samsung.com MIME-version: 1.0 X-MTR: 20150703143444385@ganguly.s Msgkey: 20150703143444385@ganguly.s X-EPLocale: en_US.utf-8 X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-MLAttribute: X-RootMTR: 20150703142807952@ganguly.s X-ParentMTR: 20150703142807952@ganguly.s X-ArchiveUser: X-CPGSPASS: Y X-ConfirmMail: N,general Content-type: text/plain; charset=utf-8 MIME-version: 1.0 Message-id: <1443721553.255761435934114382.JavaMail.weblogic@ep2mlwas05b> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEIsWRmVeSWpSXmKPExsWyRsSkTnf53GmhBq/O8Fhc3jWHzYHR4/Mm uQDGKC6blNSczLLUIn27BK6MO3dfsRQ8EKvYMNOngXGCWBcjB4eQgIpE36SILkZODgkBE4mN i1ayQ9hiEhfurWfrYuQCKlnKKPH01T1WmKIbz9+z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ifYX28GKeAUEJU7OfMICcoSEgJLEsTOKEGFliaOP9jNDHCEu8bfhEdRBvBIz2p+y QNhyEtO+roGqkZY4P2sDI8zRi78/horzSxy7vYMJwhaQmHrmIFSNusTEtRegajQlHv5Yzw5T v+vUcmaYXQ0bf0PFJSS2tjwB+5dZQFFiSvdDdpCTmYF61+/SR/UJiO0p8WjXNdYJjLKzkKRm IemehdCNrGQBI8sqRtHUguSC4qT0CiO94sTc4tK8dL3k/NxNjOAE9GzRDsZ/560PMQpwMCrx 8F44PTVUiDWxrLgy9xCjBAezkgjvhanTQoV4UxIrq1KL8uOLSnNSiw8xmgLjbCKzlGhyPjA5 5pXEGxqbmJsam1oYGJqbmymJ8/4/lxsiJJCeWJKanZpakFoE08fEwSnVwGgdPMFufdH6VTZ7 Hr5x2Rc6k3He7KUlTUpTZuu3yXCl9kr0SAWebqq9wusW7/FkcYjHrpIdFn/2tBcrfFjatDHn VUugb0y8wc1FvqendZWHCSmuai96sO7Vlo27cs4KNZWbbNHRWmHlr7w0IuNemKSNhvzlcD3W gqqDtWrMdXzTAmpsN9QYKrEUZyQaajEXFScCADVP40RWAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id t63EZVW0029447 Content-Length: 2241 Lines: 44 Sorry about that. I dug a bit deeper and found that the code was not getting executed and rectified that. The compilation indeed fails for the lack of ldrexh instruction support on ARMv6. Hence, my patch needs to be guarded with !CONFIG_CPU_V6 so as to allow the code run on >=6k and above. I will post the v2 soon. ------- Original Message ------- Sender : Arnd Bergmann Date : Jun 05, 2015 18:03 (GMT+05:30) Title : Re: [RFC] arm: Add for atomic half word exchange On Friday 05 June 2015 01:17:13 Sarbojit Ganguly wrote: > Since the compilation is also a success for CONFIG_CPU_V6 with the patch, > I think we're good to go. I'm not following your logic. Did you create a new patch that addresses compilation with CONFIG_CPU_V6? The original patch should cause a compile error on v6, if it does not, you either have a broken assembler or you forgot to enable the code that uses these instructions. Neither of them would be a reason to merge the patch. Please explain what is going on. Arnd 감사합니다 사보짓 선임 삼성 전자 ----------------------------------------------------------------------+ The Tao lies beyond Yin and Yang. It is silent and still as a pool of water. | It does not seek fame, therefore nobody knows its presence. | It does not seek fortune, for it is complete within itself. | It exists beyond space and time. | ----------------------------------------------------------------------+ 감사합니다 사보짓 선임 삼성 전자 ----------------------------------------------------------------------+ The Tao lies beyond Yin and Yang. It is silent and still as a pool of water. | It does not seek fame, therefore nobody knows its presence. | It does not seek fortune, for it is complete within itself. | It exists beyond space and time. | ----------------------------------------------------------------------+????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?