arm: Add for atomic half word exchange
Since the compilation is also a success for CONFIG_CPU_V6 with the patch, I think we're good to go.
------- Original Message -------
Sender : Sarbojit Ganguly<[email protected]> Technical Lead/SRI-Bangalore-AP Systems 1/Samsung Electronics Date : Jun 02, 2015 20:11 (GMT+09:00)
Title : Re: Re: [RFC] arm: Add for atomic half word exchange
Yes, I have enabled :
#
# Processor Type
#CONFIG_CPU_V6=yCONFIG_CPU_V6K=y
CONFIG_CPU_32v6=y
CONFIG_CPU_32v6K=y
and
# TI OMAP/AM/DM/DRA Family
#CONFIG_ARCH_OMAP2=yCONFIG_ARCH_OMAP2PLUS=y
and
#
# MX31 platforms:
#CONFIG_MACH_MX31ADS=yCONFIG_MACH_MX31LILLY=yCONFIG_MACH_MX31LITE=yCONFIG_MACH_PCM037=yCONFIG_MACH_PCM037_EET=yCONFIG_MACH_MX31_3DS=yCONFIG_MACH_MX31MOBOARD=yCONFIG_MACH_QONG=yCONFIG_MACH_ARMADILLO5X0=yCONFIG_MACH_KZM_ARM11_01=yCONFIG_MACH_BUG=yCONFIG_MACH_IMX31_DT=y
The compilation is successful.
Regards,
Sarbojit
------- Original Message -------
Sender : Arnd Bergmann
Date : Jun 02, 2015 19:49 (GMT+09:00)
Title : Re: [RFC] arm: Add for atomic half word exchange
Quoted 5 lines · On Tuesday 02 June 2015 06:21:43 Sarbojit Ganguly wrote:
Hello Raghavendra,
That is exactly I had done albeit from menuconfig. Basically the whole point was to make sure my patch compiles against ARM11 architectures as well. Hence I ensured the .config contains the relevant flags on.
Most ARM11 implementations are ARMv6k, which has support for the instruction, but the older ARMv6 (without k) does not. From your description, I assume you only tested with ARMv6k, not ARMv6. Please enable the OMAP2 and IMX31 platforms to test ARMv6.
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¥
Quoted 2 lines · On Friday 05 June 2015 01:17:13 Sarbojit Ganguly wrote:
Since the compilation is also a success for
CONFIG_CPU_V6with 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