qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, patches@linaro.org
Subject: [Qemu-devel] [PATCH v3 0/6] ARM: enable TZ in the GIC
Date: Fri,  4 Sep 2015 17:22:56 +0100	[thread overview]
Message-ID: <1441383782-24378-1-git-send-email-peter.maydell@linaro.org> (raw)

This patchset enables the TZ support in the GIC for the systems
where we enable TZ support in the CPU. In practice that means
just the "virt" and "vexpress" boards, since all the others
disable the CPU TZ support.

There are no changes since v3, I've just rebased this all on
top of current target-arm.next (which will be in master early
next week as I've just sent out the pullreq).

These have already been reviewed by Peter C, but when I spoke
to Edgar at KVM Forum he said he hadn't been able to sort out
which tree these would apply to, so I figured I'd better resend
them so there's a chance for further review/testing if desired.

thanks
-- PMM

Changes since v2:
 * rebased onto target-arm.next
Changes since v1:
 * New patch which switches the default for the 'virt' board from
   "enable TZ" to "disable TZ". The UEFI blob can't handle TZ being
   fully enabled, so I had a choice of breaking it or breaking code
   which assumes TZ. As far as I know only the TZ test suite falls
   in the latter category. -machine secure=on will give you the
   old behaviour back.
 * rather than the property on the GIC, we take the approach Peter C
   suggested of defining an interface for devices to implement if
   they need to do firmware-equivalent setup. The API is a little
   different from Peter C's RFC patch, but the principle is the same.



Peter Crosthwaite (1):
  qom: Add recursive version of object_child_for_each

Peter Maydell (5):
  hw/arm: new interface for devices which need to behave differently for
    kernel boot
  hw/intc/arm_gic_common: Configure IRQs as NS if doing direct NS kernel
    boot
  hw/cpu/{a15mpcore,a9mpcore}: enable TrustZone in GIC if it is enabled
    in CPUs
  hw/arm/virt: Default to not providing TrustZone support
  hw/arm/virt: Enable TZ extensions on the GIC if we are using them

 hw/arm/boot.c                    | 34 +++++++++++++++++++++++++++
 hw/arm/virt.c                    | 14 +++++++----
 hw/cpu/a15mpcore.c               | 13 ++++++++++
 hw/cpu/a9mpcore.c                | 11 +++++++++
 hw/intc/arm_gic_common.c         | 51 +++++++++++++++++++++++++++++++++++++---
 include/hw/arm/linux-boot-if.h   | 43 +++++++++++++++++++++++++++++++++
 include/hw/intc/arm_gic_common.h |  1 +
 include/qom/object.h             | 15 ++++++++++++
 qom/object.c                     | 25 +++++++++++++++++---
 9 files changed, 197 insertions(+), 10 deletions(-)
 create mode 100644 include/hw/arm/linux-boot-if.h

-- 
1.9.1

             reply	other threads:[~2015-09-04 16:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-04 16:22 Peter Maydell [this message]
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 1/6] qom: Add recursive version of object_child_for_each Peter Maydell
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 2/6] hw/arm: new interface for devices which need to behave differently for kernel boot Peter Maydell
2015-09-07 12:19   ` Sergey Fedorov
2015-09-07 13:17     ` Peter Maydell
2015-09-07 13:52       ` Sergey Fedorov
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 3/6] hw/intc/arm_gic_common: Configure IRQs as NS if doing direct NS " Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 4/6] hw/cpu/{a15mpcore, a9mpcore}: enable TrustZone in GIC if it is enabled in CPUs Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 5/6] hw/arm/virt: Default to not providing TrustZone support Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 6/6] hw/arm/virt: Enable TZ extensions on the GIC if we are using them Peter Maydell
2015-09-04 23:18 ` [Qemu-devel] [PATCH v3 0/6] ARM: enable TZ in the GIC Edgar E. Iglesias

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=1441383782-24378-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=edgar.iglesias@gmail.com \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.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).