linux-mips
[Top] [All Lists]

Re: [PATCH 01/10] MIPS: Add core files for MIPS SEAD-3 development platf

To: sjhill@mips.com
Subject: Re: [PATCH 01/10] MIPS: Add core files for MIPS SEAD-3 development platform.
From: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Date: Tue, 08 May 2012 13:01:04 +0900
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, douglas@mips.com, chris@mips.com
In-reply-to: <31E06A9FC96CEC488B43B19E2957C1B8011469208F@exchdb03.mips.com>
References: <1333817315-30091-1-git-send-email-sjhill@mips.com> <1333817315-30091-2-git-send-email-sjhill@mips.com> <4F8386C8.9020401@renesas.com> <31E06A9FC96CEC488B43B19E2957C1B8011469208F@exchdb03.mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
Hi Steven-san,

On 5/8/2012 5:16 AM, Hill, Steven wrote:
> I will certainly remove CONFIG_CPU_HAS_LLSC, thank you. I attempted to
> enable 'cpu_has_clo_clz' for SEAD-3, but it breaks my microMIPS-only
> kernel builds. Specifically, since microMIPS LL/SC instructions do
> not have 16-bit address offsets, in the '__cmpxchg_asm' macro function
> I get constraint errors because then the assembler has to use the %LO
> register in order to calculate the offset address. I am going to hold
> off on enabling the option until after the 3.5 release and then
> revisit for a solution. Thank you.

Got it, find no problems with your plan.  It seems there must be other
issues with optimization on microMIPS-only kernels :-)
-- 
Shinya Kuribayashi
Renesas Electronics

<Prev in Thread] Current Thread [Next in Thread>