U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 3/3] bcm2835: Reserve the spin table in efi memory map
Date: Sun, 6 Nov 2016 05:27:25 -0500	[thread overview]
Message-ID: <1cb749ec-b41c-ef93-684f-bf1de27095c7@suse.de> (raw)
In-Reply-To: <991fd3a7-1af5-a71d-a730-dfd7b2543bf1@wwwdotorg.org>



On 05/11/2016 23:07, Stephen Warren wrote:
> On 11/02/2016 03:36 AM, Alexander Graf wrote:
>> Firmware provides a spin table on the raspberry pi. This table shouldn't
>> get overwritten by payloads, so we need to mark it as reserved.
>
> This is probably fine for now so,
> Acked-by: Stephen Warren <swarren@wwwdotorg.org>
>
> However in the long term I wonder if U-Boot shouldn't find out the spin
> table address from the FW-provided DTB, then boot all CPUs into a
> spin-table implementation that's provided by U-Boot. That would avoid
> having to hard-code the address/size of the spin table code/data in
> U-Boot, which in theory at least could change to an arbitrary location
> in a future FW release.

I think in the long term, it would make much more sense to use PSCI on 
the RPi3. Then we wouldn't have to worry about any of the above, except 
for an EL3 reserved memory region that we could also enquire using PSCI.

For 32bit systems, yes, probably :).


Alex

  reply	other threads:[~2016-11-06 10:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02  9:36 [U-Boot] [PATCH v3 0/3] Raspberry Pi EFI enablement Alexander Graf
2016-11-02  9:36 ` [U-Boot] [PATCH v3 1/3] ARM: bcm283x: Implement EFI RTS reset_system Alexander Graf
2016-11-06  3:01   ` Stephen Warren
2016-11-06 10:24     ` Alexander Graf
2016-11-08  3:26       ` Stephen Warren
2016-11-09 11:43         ` Alexander Graf
2016-11-09 15:50           ` Stephen Warren
2016-11-09 18:09             ` Alexander Graf
2016-11-06 10:32     ` Alexander Graf
2016-11-29 17:38   ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-11-02  9:36 ` [U-Boot] [PATCH v3 2/3] bcm2835 video: Map frame buffer as 32bpp Alexander Graf
2016-11-06  3:04   ` Stephen Warren
2016-11-29 17:39   ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-11-02  9:36 ` [U-Boot] [PATCH v3 3/3] bcm2835: Reserve the spin table in efi memory map Alexander Graf
2016-11-06  3:07   ` Stephen Warren
2016-11-06 10:27     ` Alexander Graf [this message]
2016-11-29 18:01   ` [U-Boot] [U-Boot, v3, " Tom Rini

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=1cb749ec-b41c-ef93-684f-bf1de27095c7@suse.de \
    --to=agraf@suse.de \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox