Re: [RFC/PATCH 4/4] firmware: Support requesting firmware directly into DMA memory
From: Mark Brown
Date: Tue Mar 08 2016 - 21:29:39 EST
On Tue, Mar 08, 2016 at 09:42:17PM +0800, Ming Lei wrote:
> On Tue, Mar 8, 2016 at 5:22 PM, Stephen Boyd <stephen.boyd@xxxxxxxxxx> wrote:
> > This design creates needless memory pressure and delays loading
> > because we have to copy from kernel memory to somewhere else.
> Given firmware request can't be a frequent operation, I don't think it is
> a big deal about the so called memory pressure and delay.
Boot time is a very important metric for some embedded product classes
and is obviously one of the most common times when we need to load lots
of firmware. Some mobile platforms have some individual firmwares that
are getting on for 100M in size, holding a copy of one of them in RAM is
a substantial proportion of the available memory in a system with 1-2G
total especially when the system is also busy with other things.
Description: PGP signature