From: Dave.Martin@arm.com (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [Ksummit-2013-discuss] [ARM ATTEND] Trustzone-based security solution for ARM Linux
Date: Fri, 16 Aug 2013 12:14:01 +0100 [thread overview]
Message-ID: <20130816111401.GB2909@localhost.localdomain> (raw)
In-Reply-To: <CAGsJ_4yjZQ9a+VAXk-c5DGFpz-SpGrqm=p7zfYq2C=vTCz8X+w@mail.gmail.com>
On Fri, Aug 16, 2013 at 10:39:20AM +0800, Barry Song wrote:
> >> >>
> >> >> Isn't that up to the hardware? Nothing that Linux can do about that.
> >> >
> >> > right. but linux need to assign interrupts to right group in GIC
> >> > hardware. now it doesn't care.
> >>
> >> I strongly hope that whatever is the secure OS is setting up these
> >> routings, and the HW prevents the non-secure OS from modifying them and
> >> hence never attempts to. Otherwise, the non-secure OS is able to affect
> >> the functioning of the secure OS, which seems like a bad thing.
> >
> > Typically, the master controls are hard-wired for Secure-only access in
> > hardware: so assigning GIC interrupts to groups is something the secure
> > OS/firmware has to take care of.
> >
> > Of course, if Linux is acting as secure OS, it might have to understand
> > what controls exist and to do some of that configuration itself.
>
> that is just what i want. linux need to realize whether it is running
> in security or non-security.
> for example, if one irq is assigned to security, even though users
> want to get it in non-security, linux should make it fail.
> linux need security/non-security realization in GIC.
For just telling Linux where it is and what peripherals are available,
DT feels like the right answer: if Linux is booted Secure, it would have
a different DT from the one it would be given in the Normal World.
The DT provided to Linux in the Normal World might depend on configuration
choices made in the Secure World -- so it might be generated from the
Secure World DT and passed to the Normal World boot stack. But initially
it's simpler to keep all that stuff static.
Cheers
---Dave
next prev parent reply other threads:[~2013-08-16 11:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-15 3:44 [ARM ATTEND] Trustzone-based security solution for ARM Linux Barry Song
2013-08-15 4:28 ` [Ksummit-2013-discuss] " Greg KH
2013-08-15 5:14 ` Jassi Brar
2013-08-15 7:45 ` Barry Song
2013-08-15 8:05 ` Greg KH
2013-08-15 8:22 ` Barry Song
2013-08-15 16:01 ` Greg KH
2013-08-16 2:08 ` Barry Song
2013-08-15 8:24 ` Ard Biesheuvel
2013-08-15 15:56 ` Greg KH
2013-08-15 17:41 ` Ard Biesheuvel
2013-08-15 18:26 ` Greg KH
2013-08-15 18:33 ` Russell King - ARM Linux
2013-08-15 18:44 ` Greg KH
2013-08-15 8:17 ` Jassi Brar
2013-08-15 8:36 ` Barry Song
2013-08-15 7:36 ` Barry Song
2013-08-15 16:03 ` Stephen Warren
2013-08-15 17:43 ` Dave Martin
2013-08-16 2:39 ` Barry Song
2013-08-16 11:14 ` Dave Martin [this message]
2013-08-16 11:17 ` Jassi Brar
2013-08-19 23:31 ` Barry Song
2013-08-15 9:05 ` Barry Song
2013-08-15 7:57 ` Ben Dooks
2013-08-15 8:06 ` Barry Song
2013-08-15 14:08 ` Dave Martin
2013-08-16 2:49 ` Barry Song
[not found] <20130816110446.GA2909@localhost.localdomain>
2013-08-19 23:13 ` [Ksummit-2013-discuss] " Barry Song
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=20130816111401.GB2909@localhost.localdomain \
--to=dave.martin@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).