[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFECyb-qVOk0ysYgFP9KkBFrLbiyWCZU=nssq6H4x9W-wb91Lg@mail.gmail.com>
Date: Fri, 30 Aug 2013 07:16:20 -0700
From: Roy Franz <roy.franz@...aro.org>
To: Grant Likely <grant.likely@...retlab.ca>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-efi@...r.kernel.org,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, matt.fleming@...el.com,
Leif Lindholm <leif.lindholm@...aro.org>,
Dave P Martin <dave.martin@....com>,
Mark Salter <msalter@...hat.com>
Subject: Re: [PATCH 14/16] Add strstr to compressed string.c for ARM.
On Fri, Aug 30, 2013 at 7:02 AM, Grant Likely <grant.likely@...retlab.ca> wrote:
> On Fri, Aug 30, 2013 at 2:47 PM, Russell King - ARM Linux
> <linux@....linux.org.uk> wrote:
>> On Fri, Aug 30, 2013 at 02:43:25PM +0100, Grant Likely wrote:
>>> On Fri, 9 Aug 2013 16:26:15 -0700, Roy Franz <roy.franz@...aro.org> wrote:
>>> > The shared efi-stub-helper.c functions require a strstr
>>> > implementation.
>>> > Implementation copied from arch/x86/boot/string.c
>>> >
>>> > Signed-off-by: Roy Franz <roy.franz@...aro.org>
>>>
>>> Okay, but at some point arch/arm/boot/compressed/string.c should be
>>> reworked into a common place.
>>
>> Only if the common place can be built with arch specific compile options,
>> like -fpic, without impacting the rest of the kernel.
>
> agreed. It would be a bit of a science project to see how feasible.
>
> g.
The strstr implemtation here is pretty generic, but some architectures like
x86 use inline ASM for some of these string functions, so there are
some additional
complications to unifying this code across architectures.
Roy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists