Skip to contentSkip to conversation

arm: Add for atomic half word exchange

RFC Sarbojit Ganguly 2 participants 2 messages Jun 5, 2015

lore
Share & tools
lore
#0 lore raw

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=y
CONFIG_CPU_V6K=y
CONFIG_CPU_32v6=y
CONFIG_CPU_32v6K=y

and

# TI OMAP/AM/DM/DRA Family
#
CONFIG_ARCH_OMAP2=y
CONFIG_ARCH_OMAP2PLUS=y

and

#
# MX31 platforms:
#
CONFIG_MACH_MX31ADS=y
CONFIG_MACH_MX31LILLY=y
CONFIG_MACH_MX31LITE=y
CONFIG_MACH_PCM037=y
CONFIG_MACH_PCM037_EET=y
CONFIG_MACH_MX31_3DS=y
CONFIG_MACH_MX31MOBOARD=y
CONFIG_MACH_QONG=y
CONFIG_MACH_ARMADILLO5X0=y
CONFIG_MACH_KZM_ARM11_01=y
CONFIG_MACH_BUG=y
CONFIG_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¥

#1 lore raw
Quoted 2 lines · 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