All of lore.kernel.org
 help / color / mirror / Atom feed
From: sudeep.holla@arm.com (Sudeep Holla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: defconfig: enable Generic on-chip SRAM driver
Date: Mon, 20 Jun 2016 17:39:19 +0100	[thread overview]
Message-ID: <57681C37.9050109@arm.com> (raw)
In-Reply-To: <1466440489.2833.41.camel@linaro.org>



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

      reply	other threads:[~2016-06-20 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 15:41 [PATCH] arm64: defconfig: enable Generic on-chip SRAM driver Sudeep Holla
2016-06-20 16:34 ` Jon Medhurst (Tixy)
2016-06-20 16:39   ` Sudeep Holla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57681C37.9050109@arm.com \
    --to=sudeep.holla@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.