[PATCH] arm64: defconfig: enable Generic on-chip SRAM driver
Sudeep Holla
sudeep.holla at arm.com
Mon Jun 20 09:39:19 PDT 2016
On 20/06/16 17:34, Jon Medhurst (Tixy) wrote:
> On Mon, 2016-06-20 at 16:41 +0100, Sudeep Holla wrote:
>> Most of the ARM SoCs have small SRAM memory used for various purposes
>> that require faster access to data compared to normal DDR.
>>
>> This patch enables the Generic on-chip SRAM driver on ARM64.
>
> Would this cause things in the kernel to automatically start using SRAM
> found in device-tree, or would each use need to be added explicitly?
> I'm just wondering if we might start seeing new bugs caused by firmware
> using SRAM for special purposes but that memory not being properly
> reserved or hidden from the kernel.
>
No only the unreserved part of SRAM will be used by generic allocator
and the users/drivers needing this have to explicitly request for the
same(my understanding based on some usage I have seen on ARM32
platforms). The reserved part is not touched by the generic allocator.
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list