[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150224224257.GB9748@linux-mips.org>
Date: Tue, 24 Feb 2015 23:42:57 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: Andrew Bresticker <abrestic@...omium.org>
Cc: Arnd Bergmann <arnd@...db.de>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linux-MIPS <linux-mips@...ux-mips.org>,
Ezequiel Garcia <ezequiel.garcia@...tec.com>,
James Hartley <james.hartley@...tec.com>,
James Hogan <james.hogan@...tec.com>,
Lars-Peter Clausen <lars@...afoo.de>
Subject: Re: [PATCH 2/5] MIPS: Allow platforms to specify the decompressor
load address
On Tue, Feb 24, 2015 at 01:39:03PM -0800, Andrew Bresticker wrote:
> It is the same sort of issue, though I think the only way to solve it
> on MIPS would be to copy the image to the address it was linked at,
> which could be problematic if there's overlap. There's also the cache
> maintenance we'd have to do, which varies from CPU to CPU (and more so
> the ARM I believe).
On MIPS it's significantly less complex to implement than the in-kernel
cache maintenance code because only one flush operation needs to be
implemented that will be invoked only once so performance is less of
an issue. Also oddball hardware such as the S-caches controlled by
an external controller can be ignored for purpose of kernel decomporession.
That pretty much leaves to treat the standard R4000 style of caches
and a few oddballs like R2000 class processors.
Ralf
--
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