Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932496AbcCHKIA (ORCPT ); Tue, 8 Mar 2016 05:08:00 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36182 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753021AbcCHKHo convert rfc822-to-8bit (ORCPT ); Tue, 8 Mar 2016 05:07:44 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Alexander Stein , linux-kernel@vger.kernel.org From: Stephen Boyd In-Reply-To: <5879185.BRRaoAY1zb@ws-stein> Cc: linux-arm@lists.infradead.org, "Greg Kroah-Hartman" , "Robin Murphy" , "Laura Abbott" , "Arnd Bergmann" , "Marek Szyprowski" , "Mimi Zohar" , "Andrew Morton" , "Mark Brown" , "Catalin Marinas" , "Will Deacon" References: <1457428939-26659-1-git-send-email-stephen.boyd@linaro.org> <5879185.BRRaoAY1zb@ws-stein> Message-ID: <20160308100738.5222.1570@sboyd-linaro> User-Agent: alot/0.3.7 Subject: Re: [RFC/PATCH 0/4] request_firmware() on memory constrained devices Date: Tue, 08 Mar 2016 17:07:38 +0700 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 764 Lines: 17 Quoting Alexander Stein (2016-03-08 16:32:21) > On Tuesday 08 March 2016 16:22:15, Stephen Boyd wrote: > > Some systems are memory constrained but they need to load very > > large firmwares. > > Out of curiousity, about which sizes of memory and firmware are you talking about? > Hm.. I've seen an extreme case where there's around 100MB of a 128MB DDR part dedicated to non-Linux firmware. So attempting to load that firmware into DDR just doesn't work at all unless you have this patch series. This is the most extreme case I've seen though. Please also note that this is also about skipping the memcpy() step, which I should probably quantify how much that actually matters if at all. I'll make sure to do some loading time measurements in the next round.