From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: [RFC 00/14] xen/arm: Add support for XSM Date: Wed, 12 Mar 2014 16:15:55 +0000 Message-ID: <1394640969-25583-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WNlpM-0007Bl-DQ for xen-devel@lists.xenproject.org; Wed, 12 Mar 2014 16:16:20 +0000 Received: by mail-we0-f169.google.com with SMTP id w62so11643939wes.14 for ; Wed, 12 Mar 2014 09:16:18 -0700 (PDT) List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: stefano.stabellini@citrix.com, Daniel De Graaf , Julien Grall , tim@xen.org, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Hello all, This patch series aims to add support for XSM on ARM. I've tried to boot Xen on my board with the policy provided in the repository (see tools/flask/policy). It boots with few warnings because some hypercall are not describe in the policy. The series is divided following: - #1-2: It's unrelated to this series, but the function copy_paddr will be used later - #3: Define correctly size_t on ARM - #4: Bug fix when xen is booting with XSM blob and without initrd - #5-6: XSM movement to be able to use it on ARM - #7-11: Compilation fix for ARM - #12-13: Rework XSM initialization - #14: Add XSM support for ARM A working tree can be found here: git://xenbits.xen.org/people/julieng/xen-unstable.git branch xsm Sincerely yours, Cc: Daniel De Graaf Julien Grall (14): xen/arm: kernel: Don't harcode flash address xen/arm: Remove the parameter "attrindx" in copy_paddr xen/arm: Correctly define size_t xen/arm: next_module: Skip module if the size is 0 xen/xsm: xsm functions for PCI passthrough is not x86 specific xen/xsm: xsm_do_mca is x86 specific xen/xsm: flask: Fix compilation when CONFIG_COMPAT=y xen/xsm: flask: Rename variable "bool" in "b" xen/xsm: flask: MSI is PCI specific xen/xsm: flask: flask_copying_string is taking a XEN_GUEST_HANDLE as first param xen/xsm: flask: Add missing header in hooks.c xen/xsm: Don't use multiboot by default to initialize XSM xen/xsm: Add support for device tree xen/arm: Add support for XSM docs/misc/arm/device-tree/booting.txt | 1 + xen/arch/arm/domain_build.c | 2 +- xen/arch/arm/kernel.c | 40 +++--- xen/arch/arm/kernel.h | 1 - xen/arch/arm/setup.c | 7 +- xen/arch/arm/traps.c | 1 + xen/arch/x86/setup.c | 2 +- xen/common/device_tree.c | 2 + xen/include/asm-arm/setup.h | 2 +- xen/include/asm-arm/types.h | 4 + xen/include/asm-x86/config.h | 2 + xen/include/xen/device_tree.h | 3 +- xen/include/xsm/dummy.h | 15 ++- xen/include/xsm/xsm.h | 51 ++++++-- xen/xsm/dummy.c | 4 +- xen/xsm/flask/flask_op.c | 4 +- xen/xsm/flask/hooks.c | 228 +++++++++++++++++++-------------- xen/xsm/flask/include/conditional.h | 4 +- xen/xsm/flask/ss/services.c | 14 +- xen/xsm/xsm_core.c | 46 ++++++- xen/xsm/xsm_policy.c | 47 ++++++- 21 files changed, 317 insertions(+), 163 deletions(-) -- 1.7.10.4