+ All Categories
Home > Technology > Lcu14 110- xen & acpi- status & challenges

Lcu14 110- xen & acpi- status & challenges

Date post: 13-Jun-2015
Category:
Upload: linaro
View: 303 times
Download: 1 times
Share this document with a friend
Description:
LCU14-110: Xen & ACPI: Status & Challenges --------------------------------------------------- Speaker: N. Bhat, P. Dixit, & C. Dall Date: September 15, 2014 --------------------------------------------------- ★ Session Summary ★ In this development and hacking session, we will be working out development issues relating to the developing a prototype of running the Xen hypervisor and Dom0 on platforms with only ACPI support. Supporting Xen on ACPI platforms is particularly challenging, because the Xen hypervisor consumes parts of the ACPI data and accesses a few hardware resources, whereas Dom0 accesses the remaining hardware resources and accesses the rest of the ACPI data, but cannot access all of the hardware. This session is targeted at developers actively working on ACPI and/or Xen, and we will be discussing current development challenges and specifically validate the feasibility of using the _STA methods to override hardware descriptors consumed or modified by Dom0. --------------------------------------------------- ★ Resources ★ Zerista: http://lcu14.zerista.com/event/member/137713 Google Event: https://plus.google.com/u/0/events/c0htmuiop2udr5u9bqjj20jvchs Presentation: http://www.slideshare.net/linaroorg/lcu14-110-xen-acpi-status-challenges Video: https://www.youtube.com/watch?v=XHmaNFOd08g&list=UUIVqQKxCyQLJS6xvSmfndLA Etherpad: http://pad.linaro.org/p/lcu14-110 --------------------------------------------------- ★ Event Details ★ Linaro Connect USA - #LCU14 September 15-19th, 2014 Hyatt Regency San Francisco Airport --------------------------------------------------- http://www.linaro.org http://connect.linaro.org
Popular Tags:
16
LCU14 BURLINGAME N. Bhat, P. Dixit, & C. Dall, LCU14 LCU14-110: Xen & ACPI: Status & Challenges
Transcript
Page 1: Lcu14 110- xen & acpi- status & challenges

LCU14 BURLINGAME

N. Bhat, P. Dixit, & C. Dall, LCU14

LCU14-110: Xen & ACPI: Status & Challenges

Page 2: Lcu14 110- xen & acpi- status & challenges

The Problem

ACPI on diverse ARM platforms is a non-trivial problem.

Page 3: Lcu14 110- xen & acpi- status & challenges

● Xen is minimal (no AML)● Xen needs to dynamically

hide certain devices in the hardware-provided ACPI block

● Xen needs to add new devices to ACPI

● Dom0 needs a modified ACPI blob - no iASL in Xen.

Xen Architecture with UEFI and ACPI

Hardware

Xen Hypervisor

VM 1DomU

Xen ArchitectureDom0

Xen PVDrivers

VM 2DomU

Xen PVDrivers

UEFIACPI

ACPI

Page 4: Lcu14 110- xen & acpi- status & challenges

Status - Tracked in CARD-1291

Page 5: Lcu14 110- xen & acpi- status & challenges

● Xen boots with ACPI on:● FVP Base model (UEFI)● Foundation Model (boot-wrapper with ACPI hack, memory in DT node)

● Support for● GIC● Timers● CPUs (SMP)● Memory (from UEFI)● UART

Status for humans

Page 6: Lcu14 110- xen & acpi- status & challenges

● _STA is a method implicitly defined for all resources in ACPI.● bit[0]: present, if set● bit[1]: enabled and decoding, if set● bit[2]: show in OSPM UI, if set● bit[3]: device functioning properly, if set● bit[4]: battery present, if set

● The _STA method is respected by Linux

_STA method status

Page 7: Lcu14 110- xen & acpi- status & challenges

● Proposal for Citrix/Linaro sponsored table

● Contains devices where the _STA method should be overridden

● Xen creates static STAO table

● Need to add Dom0 (Linux) support for STAO as RFC, experimental

STAO Table Status

Page 8: Lcu14 110- xen & acpi- status & challenges

● Has anything been reviewed?

● Action plan?

Upstream patch review status

Page 9: Lcu14 110- xen & acpi- status & challenges

Let’s get down to business

There are still a few unanswered questions left...

Page 10: Lcu14 110- xen & acpi- status & challenges

● Does Dom0 need access to runtime services?

● Do we run a separate instance of UEFI for Dom0?

Question #1

Page 11: Lcu14 110- xen & acpi- status & challenges

● Are we covering all devices needed by Xen?

● SMMU?

● PCIe?

Question #2

Page 12: Lcu14 110- xen & acpi- status & challenges

● Current STAO method only hides devices from the DSDT.

● Do we need to add new (modified) devices with AML?

Question #3

Page 13: Lcu14 110- xen & acpi- status & challenges

● Can we envision any devices described by AML that needs modifications?

● If so, any solution suggestions?

Question #4

Page 14: Lcu14 110- xen & acpi- status & challenges

● Do we need to copy the ACPI blob for Dom0 or just modify the hardware one and be done with it?

● Is rebooting Dom0 a case for copying it?

Question #5

Page 15: Lcu14 110- xen & acpi- status & challenges

● [Since this is an ongoing development, these slides may be expanded up until the day before the presentation with remaining development issues.]

Question #...

Page 16: Lcu14 110- xen & acpi- status & challenges

More about Linaro Connect: connect.linaro.org Linaro members: www.linaro.org/membersMore about Linaro: www.linaro.org/about/


Recommended