On 31 July 2015 at 00:01, Julien Grall wrote:
> Hi,
>
> On 30/07/15 19:02, Parth Dixit wrote:
>> instead of getting mmio information for individual
>> devices from dsdt, we will map all the non-ram regions described in
>> uefi. AML interpreter optio
wiki for the reasoning behind it.
regards
parth
On 30 July 2015 at 17:49, Shannon Zhao wrote:
>
>
> On 2015/7/5 21:30, Parth Dixit wrote:
>> +shannon
>>
>> On 15 June 2015 at 06:49, Julien Grall wrote:
>>> Hi Parth,
>>>
>>> On 14/06/2015 11:27
On 5 July 2015 at 23:09, Julien Grall wrote:
> Hi,
>
> On 05/07/2015 13:59, Parth Dixit wrote:
>>
>> +shannon
>
>
> I've just received ~50 mails "+shannon". Couldn't you have forward all the
> email privately rather replying to every single m
+shannon
On 8 June 2015 at 23:14, Julien Grall wrote:
> Hi,
>
> On 17/05/2015 21:04, Parth Dixit wrote:
>>
>> NOTE: This is a wrokaround to be fixed later.
>
>
> How do you plan to fix it?
>
>> Route all the irq's to Dom0 at the time of booting.
>
+shannon
On 18 May 2015 at 01:34, Parth Dixit wrote:
> From: Naresh Bhat
>
> Add ACPI support on arm64 xen hypervisor.
>
> Signed-off-by: Naresh Bhat
> ---
> config/arm64.mk | 1 +
> xen/include/asm-arm/config.h | 5 +
> 2 files changed, 6 ins
+shannon
On 8 June 2015 at 23:09, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 21:04, Parth Dixit wrote:
>>
>> Interrupt information is described in DSDT and is not available at
>> the time of booting. Configure the interrupts dynamically when requested
>> b
+shannon
On 20 May 2015 at 21:57, Jan Beulich wrote:
On 17.05.15 at 22:04, wrote:
>> @@ -104,6 +105,7 @@ static void __init parse_acpi_param(char *s)
>> else if ( !strcmp(s, "force") )
>> {
>> acpi_disabled = 0;
>> +efi_enabled = 1;
>
> What has "acpi=force" to do
+shannon
On 18 May 2015 at 01:34, Parth Dixit wrote:
> Create EFI table and populate it with DOM0 memory and address
> of RSDP. Fix device tree with correct addresses of EFI table
> and start of memory descriptor address.
>
> Signed-off-by: Parth Dixit
> ---
> xen/arch/arm
+shannon
On 8 June 2015 at 22:29, Julien Grall wrote:
> Hi,
>
> On 17/05/2015 21:04, Parth Dixit wrote:
>>
>> Add helper functions for calculating crc32.
>> This is required for computing crc of efi table.
>> These functions are copied from here
>> http://m
+shannon
On 18 May 2015 at 01:34, Parth Dixit wrote:
> XSDT table cannot be passed as is to DOM0 because xen creates additional
> tables which have to be added to XSDT table entry.
> Copy existing XSDT and modify table to add new entries.
> Create status override table,xen envir
+shannon
On 8 June 2015 at 22:24, Julien Grall wrote:
>
>
> On 17/05/2015 21:04, Parth Dixit wrote:
>>
>> Map acpi tables described in uefi table to DOM0 address space
>>
>> Signed-off-by: Parth Dixit
>> --
+shannon
On 15 June 2015 at 06:49, Julien Grall wrote:
> Hi Parth,
>
> On 14/06/2015 11:27, Parth Dixit wrote:
>>
>> On 8 June 2015 at 22:20, Julien Grall wrote:
>>>
>>> Hi Parth,
>>>
>>> On 17/05/2015 21:03, Parth Dixit wrote:
>&g
+shannon
On 8 June 2015 at 22:14, Julien Grall wrote:
> Hi Parth,
>
> I think it misses a ":" between acpi and estimate.
>
> On 17/05/2015 21:03, Parth Dixit wrote:
>>
>> Estimate the memory required for loading acpi/efi tablee
>> in DOM0. Initialize
+shannon
On 8 June 2015 at 21:49, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 21:03, Parth Dixit wrote:
>>
>> EFI table, memory description table and some of acpi tables
>> will reside in DOM0 memory. Add placeholder for starting
>> address for loading in D
+shannon
On 8 June 2015 at 21:39, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 21:03, Parth Dixit wrote:
>>
>> ACPI memory is seperate from conventional memory and should
>
>
> s/seperate/separate/
>
>> be marked as reserved while passing to DOM0. Cre
+shannon
On 20 May 2015 at 21:55, Jan Beulich wrote:
On 17.05.15 at 22:03, wrote:
>> add efi table and memory descriptor structures
>> to common efi header file and pass efi system table address
>> retrieved from uefi.This is required for
>> creating efi table and passing memory information
+shannon
On 8 June 2015 at 19:35, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 21:03, Parth Dixit wrote:
>>
>> creates a helper function for mapping with cached attributes
>>
>> Signed-off-by: Parth Dixit
>> ---
>> xen/arch/arm/p2m.c
+shannon
On 29 May 2015 at 16:13, Jan Beulich wrote:
On 29.05.15 at 12:31, wrote:
>> On Thu, 28 May 2015, Jan Beulich wrote:
>>> >>> On 28.05.15 at 14:12, wrote:
>>> > Could you please make a concrete suggestion with table names and fields?
>>>
>>> I already pointed you at 6.0's new FADT f
+shannon
On 18 May 2015 at 01:33, Parth Dixit wrote:
> Status override table is used to hide devices from DOM0
> that are used by xen
>
> Signed-off-by: Parth Dixit
> ---
> xen/include/acpi/actbl2.h | 14 ++
> 1 file changed, 14 insertions(+)
>
> di
+shannon
On 26 May 2015 at 13:51, Jan Beulich wrote:
On 24.05.15 at 08:30, wrote:
>> On 20 May 2015 at 21:46, Jan Beulich wrote:
>>
>>> >>> On 17.05.15 at 22:03, wrote:
>>> > --- a/xen/include/xen/efi.h
>>> > +++ b/xen/include/xen/efi.h
>>> > @@ -8,7 +8,7 @@
>>> > extern const bool_t efi
+shannon
On 2 June 2015 at 23:10, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> Create a chosen node for DOM0 with
>> - bootargs
>> - initrd
>
> I would have merge this patch with #22. It doesn't contain
> controversial/d
+shannon
On 2 June 2015 at 22:57, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> Create a DT for DOM0 for ACPI-case only.
>> DT contains minmal required informations such as
>
> s/minmal/minimal/
>
>> DOM0 bootargs, initrd, efi
+shannon
On 26 May 2015 at 20:34, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 22:03, Parth Dixit wrote:
>>
>> @@ -307,6 +308,54 @@ DT_DEVICE_START(pl011, "PL011 UART", DEVICE_SERIAL)
>> .init = dt_pl011_uart_init,
>> DT_DEVICE_END
>
+shannon
On 24 May 2015 at 13:18, Julien Grall wrote:
>
> On 24/05/2015 08:07, Parth Dixit wrote:
>>
>>
>>
>> On 21 May 2015 at 16:58, Julien Grall > <mailto:julien.gr...@citrix.com>> wrote:
>>
>> Hi Parth,
>>
>> On 1
+shannon
On 21 May 2015 at 17:59, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> ACPI on Xen hypervisor uses MADT table for proper GIC initialization.
>> It needs to parse GIC related subtables, collect CPU interface and
>> distributor
&
+shannon
On 25 May 2015 at 17:08, Parth Dixit wrote:
> On 25 May 2015 at 15:30, Julien Grall wrote:
>> Hi Parth,
>>
>> On 25/05/2015 07:58, Parth Dixit wrote:
>>>
>>> On 24 May 2015 at 13:10, Julien Grall wrote:
>>&
+shannon
On 21 May 2015 at 17:52, Julien Grall wrote:
> On 17/05/15 21:03, Parth Dixit wrote:
>> refactor gic related functions into dt and generic parts
>> this will be helpful when adding acpi support for gic
>>
>> Signed-off-by: Parth Dixit
>> -
+shannon
On 21 May 2015 at 14:50, Jan Beulich wrote:
On 21.05.15 at 11:14, wrote:
>> On 20 May 2015 at 21:43, Jan Beulich wrote:
>>
>>> >>> On 17.05.15 at 22:03, wrote:
>>> > add new function acpi_parse_entries which takes
>>> > acpi table as argument. This will avoid fetching table
>>> >
+shannon
On 24 May 2015 at 12:30, Parth Dixit wrote:
>
>
> On 20 May 2015 at 23:33, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > Parse GTDT (Generic Timer Descriptor Table) to initialize timer.
>> > Us
+shannon
On 20 May 2015 at 22:08, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> MADT contains the information for MPIDR which is essential for
>> SMP initialization, parse the GIC cpu interface structures to
>> get the MPIDR value an
+shannon
On 20 May 2015 at 22:51, Julien Grall wrote:
> Hi,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> set edge/level type information for an interrupt
>>
>> Signed-off-by: Parth Dixit
>> ---
>> xen/arch/arm/irq.c | 17 ++
+shannon
On 20 May 2015 at 21:13, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> +void __init smp_init_cpus(void)
>> +{
>> +int rc;
>
> Missing blank line here.
>
>> +/* initialize PSCI and set a global variable */
+shannon
On 24 May 2015 at 11:36, Parth Dixit wrote:
>
>
> On 18 May 2015 at 20:41, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > With ACPI 5.0, we got per-processor timer support in GTDT,
>> > and A
+shannon
On 24 May 2015 at 11:39, Parth Dixit wrote:
>
>
> On 18 May 2015 at 20:36, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > From: Naresh Bhat
>> >
>> > When MADT is parsed,
+shannon
On 18 May 2015 at 01:33, Parth Dixit wrote:
> Add Generic Interrupt and Distributor (ACPI 5.0) structure.
> Add new features for MADT introduced by ACPI 5.1.
> Comment on the GIC ID field of the GIC structure which is replaced
> by CPU Interface Number.
> Add new fields
+shannon
On 24 May 2015 at 11:35, Parth Dixit wrote:
>
>
> On 18 May 2015 at 20:28, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set,
>> > the
+shannon
On 24 May 2015 at 11:33, Parth Dixit wrote:
>
>
> On 18 May 2015 at 19:59, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > The Power State Coordination Interface (PSCI) defines an API that
>> >
+shannon
On 24 May 2015 at 11:32, Parth Dixit wrote:
>
>
> On 18 May 2015 at 19:41, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > acpi_boot_table_init() will be called in start_xen
>> > to get the RSDP a
+shannon
On 24 May 2015 at 13:01, Julien Grall wrote:
> Hi Parth,
>
> On 24/05/2015 07:40, Parth Dixit wrote:
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
>> > index 935999e..096e
+shannon
On 24 May 2015 at 11:29, Parth Dixit wrote:
>
>
> On 18 May 2015 at 18:42, Julien Grall wrote:
>>
>> Hi Parth,
>>
>> On 17/05/15 21:03, Parth Dixit wrote:
>> > +#ifndef _ASM_ARM64_ACPI_H
>> > +#define _ASM_ARM64_ACPI_H
>>
>>
+shannon
On 24 May 2015 at 11:40, Parth Dixit wrote:
>
>
> On 20 May 2015 at 20:42, Jan Beulich wrote:
>>
>> >>> On 17.05.15 at 22:03, wrote:
>> > Pmstat is currently not supported for arm in xen.
>> > Configure and build pmstat for x86 architect
+shannon
On 18 May 2015 at 18:33, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
>> add macros to emulate x86 style ports for arm.
>> This avoids modification in common code for acpi.
>
> This patch looks wrong to me. On ARM ioport a
+shannon
On 20 May 2015 at 22:01, Jan Beulich wrote:
On 20.05.15 at 17:49, wrote:
>> What about defining a new define HAVE_NUMA?
>
> That might be an acceptable compromise.
>
> Jan
>
___
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists
On 8 June 2015 at 22:20, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/2015 21:03, Parth Dixit wrote:
>>
>> In ACPI mmio regions are described in DSDT which requires
>> AML interpreter. Defer the mapping of mmio until DSDT is parsed in
>> DOM0 and map mmio
+xen dev list
On 24 February 2015 at 20:25, Stefano Stabellini
wrote:
> On Fri, 13 Feb 2015, Julien Grall wrote:
>> On 13/02/2015 11:44, Ard Biesheuvel wrote:
>> > On 13 February 2015 at 11:12, Julien Grall wrote:
>> > >
>> > >
>> > > On 13/02/2015 10:29, Stefano Stabellini wrote:
>> > > >
>> >
On 25 May 2015 at 15:30, Julien Grall wrote:
> Hi Parth,
>
> On 25/05/2015 07:58, Parth Dixit wrote:
>>
>> On 24 May 2015 at 13:10, Julien Grall wrote:
>>>
>>> On 24/05/2015 08:06, Parth Dixit wrote:
>>>>
>>>>
>>&
On 24 May 2015 at 13:10, Julien Grall wrote:
> Hi Parth,
>
>
> On 24/05/2015 08:06, Parth Dixit wrote:
>>
>> > +struct acpi_device_desc {
>> > +/* Device name */
>> > +const char *name;
>> > +/*
On 21 May 2015 at 17:11, Julien Grall wrote:
> On 21/05/15 12:38, Jan Beulich wrote:
> On 21.05.15 at 12:52, wrote:
> >> On 21/05/15 11:46, Jan Beulich wrote:
> >> On 21.05.15 at 12:34, wrote:
> On 21/05/15 07:22, Jan Beulich wrote:
> > The linked to document (on our wiki) is
On 21 May 2015 at 16:58, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > Rename dt-uart.c to arm-uart.c and create new generic uart init function.
> > move dt_uart_init to uart_init.Refactor pl011 driver to dt and common
> > initialization
On 21 May 2015 at 16:49, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > add generic way to use device from acpi similar to
> > the way it is supported in device tree.
> >
> > Signed-off-by: Parth Dixit
> > ---
On 20 May 2015 at 23:33, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > Parse GTDT (Generic Timer Descriptor Table) to initialize timer.
> > Using the information presented by GTDT to initialize the arch
> > timer (not memory-mapped).
&
On 18 May 2015 at 18:56, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
> > index 935999e..096e9ef 100644
> > --- a/xen/arch/arm/Makefile
> > +++ b/xen/arch/arm/Makefile
&
On 20 May 2015 at 21:46, Jan Beulich wrote:
> >>> On 17.05.15 at 22:03, wrote:
> > --- a/xen/include/xen/efi.h
> > +++ b/xen/include/xen/efi.h
> > @@ -8,7 +8,7 @@
> > extern const bool_t efi_enabled;
> >
> > #define EFI_INVALID_TABLE_ADDR (~0UL)
> > -
> > +#define EFI_MEM_DESC_V1 1
> > /* Add
On 20 May 2015 at 20:42, Jan Beulich wrote:
> >>> On 17.05.15 at 22:03, wrote:
> > Pmstat is currently not supported for arm in xen.
> > Configure and build pmstat for x86 architecture only.
>
> Same here as for patch 1. If the architecture can be expected to
> eventually support a feature, I'd
On 18 May 2015 at 20:36, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > From: Naresh Bhat
> >
> > When MADT is parsed, print GIC information to make the boot
> > log look pretty.
> >
> > Signed-off-by: Hanjun Guo
>
On 18 May 2015 at 20:41, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > With ACPI 5.0, we got per-processor timer support in GTDT,
> > and ACPI 5.1 introduced the support for platform (memory-mapped)
> > timers: GT Block and SBSA watchdog
On 18 May 2015 at 20:28, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > There are two flags: PSCI_COMPLIANT and PSCI_USE_HVC. When set,
> > the former signals to the OS that the hardware is PSCI compliant.
> > The latter selects the a
On 18 May 2015 at 19:59, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > The Power State Coordination Interface (PSCI) defines an API that
> > can be used to coordinate power control amongst the various supervisory
> > systems concurrentl
On 18 May 2015 at 19:41, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > acpi_boot_table_init() will be called in start_xen
> > to get the RSDP and all the table pointers. with this patch,
> > we can get ACPI boot-time tables from firmwa
On 18 May 2015 at 18:42, Julien Grall wrote:
> Hi Parth,
>
> On 17/05/15 21:03, Parth Dixit wrote:
> > +#ifndef _ASM_ARM64_ACPI_H
> > +#define _ASM_ARM64_ACPI_H
>
> s/_ASM_ARM64_ACPI_H/_ASM_ARM_ACPI_H/
>
> > +
> > +#include
> > +
> > +#de
On 20 May 2015 at 21:43, Jan Beulich wrote:
> >>> On 17.05.15 at 22:03, wrote:
> > add new function acpi_parse_entries which takes
> > acpi table as argument. This will avoid fetching table
> > everytime in acpi_table_parse_entries.
>
> This explanation doesn't make a lot of sense to me - I don'
On 18 May 2015 at 13:55, Jan Beulich wrote:
> >>> On 17.05.15 at 22:03, wrote:
> > Naresh Bhat (3):
> > arm/acpi: Build numa for x86 only
> > arm/acpi : Print GIC information when MADT is parsed
> > xen: arm64: Add ACPI support
> >
> > Pa
efi should be enabled to fetch the root pointer from uefi
Signed-off-by: Parth Dixit
---
xen/arch/arm/setup.c | 2 ++
xen/common/efi/runtime.c | 2 +-
xen/include/xen/efi.h| 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
Interrupt information is described in DSDT and is not available at
the time of booting. Configure the interrupts dynamically when requested
by Dom0
Signed-off-by: Parth Dixit
---
xen/arch/arm/vgic.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/xen/arch/arm/vgic.c b
ACPI will be disabled by default. Define new
command line parameter "acpi" for enabling it.
Signed-off-by: Parth Dixit
---
xen/arch/arm/setup.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 1b2d74
From: Naresh Bhat
Add ACPI support on arm64 xen hypervisor.
Signed-off-by: Naresh Bhat
---
config/arm64.mk | 1 +
xen/include/asm-arm/config.h | 5 +
2 files changed, 6 insertions(+)
diff --git a/config/arm64.mk b/config/arm64.mk
index e24c1d1..bce9107 100644
--- a/config/arm
NOTE: This is a wrokaround to be fixed later.
Route all the irq's to Dom0 at the time of booting.
Trigger and polarity will be set dyanmaically when
Dom0 request's for it.
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 20
1 file changed, 20
Create EFI table and populate it with DOM0 memory and address
of RSDP. Fix device tree with correct addresses of EFI table
and start of memory descriptor address.
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 106
1 file changed, 106
EFI table, memory description table and some of acpi tables
will reside in DOM0 memory. Add placeholder for starting
address for loading in DOM0 and get/set acpi size helpers.
Signed-off-by: Parth Dixit
---
xen/arch/arm/acpi/lib.c| 12
xen/arch/arm/kernel.c | 5 -
xen
ACPI memory is seperate from conventional memory and should
be marked as reserved while passing to DOM0. Create a new meminfo
structure to store all the acpi tables listed in uefi.
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 2 ++
xen/arch/arm/efi/efi-boot.h | 20
XSDT table cannot be passed as is to DOM0 because xen creates additional
tables which have to be added to XSDT table entry.
Copy existing XSDT and modify table to add new entries.
Create status override table,xen environment table.
Copy the tables to DOM0 memory.
Signed-off-by: Parth Dixit
Map acpi tables described in uefi table to DOM0 address space
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 59 -
1 file changed, 58 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
later
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 50 +
xen/include/xen/efi.h | 11 +-
2 files changed, 60 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index e688a78
Status override table is used to hide devices from DOM0
that are used by xen
Signed-off-by: Parth Dixit
---
xen/include/acpi/actbl2.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi/actbl2.h
index 25be429..9c8d807 100644
--- a/xen
creates a helper function for mapping with cached attributes
Signed-off-by: Parth Dixit
---
xen/arch/arm/p2m.c| 26 ++
xen/include/asm-arm/p2m.h | 10 ++
2 files changed, 36 insertions(+)
diff --git a/xen/arch/arm/p2m.c b/xen/arch/arm/p2m.c
index 903fa3f
Add helper functions for calculating crc32.
This is required for computing crc of efi table.
These functions are copied from here
http://mirrors.neusoft.edu.cn/rpi-kernel/lib/xz/xz_crc32.c
Original author's are Lasse Collin and Igor Pavlov.
Signed-off-by: Parth Dixit
---
xen/arc
Xen environment table is ACPI table that is used to pass grant table
and event channel interrupt information to dom0.
Signed-off-by: Parth Dixit
---
xen/include/acpi/actbl2.h | 20
1 file changed, 20 insertions(+)
diff --git a/xen/include/acpi/actbl2.h b/xen/include/acpi
In ACPI mmio regions are described in DSDT which requires
AML interpreter. Defer the mapping of mmio until DSDT is parsed in
DOM0 and map mmio's dynamically at the time of request.
Signed-off-by: Parth Dixit
---
xen/arch/arm/traps.c | 51 +
Estimate the memory required for loading acpi/efi tablee
in DOM0. Initialize the size of acpi/efi tables.
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 54 -
1 file changed, 53 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm
Create a chosen node for DOM0 with
- bootargs
- initrd
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 46 +
1 file changed, 46 insertions(+)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm
add efi table and memory descriptor structures
to common efi header file and pass efi system table address
retrieved from uefi.This is required for
creating efi table and passing memory information
to DOM0
Signed-off-by: Parth Dixit
---
xen/common/efi/boot.c | 2 ++
xen/include/xen/efi.h | 54
table to clear GICH and GICV which are not needed
in Dom0.
NOTE: This commit allow to initialize GICv2 only.
Signed-off-by: Tomasz Nowicki
Signed-off-by: Hanjun Guo
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/arch/arm/gic-v2.c | 132
Rename dt-uart.c to arm-uart.c and create new generic uart init function.
move dt_uart_init to uart_init. Refactor pl011 driver to dt and common
initialization parts. This will be useful later when acpi specific
uart initialization function is introduced.
Signed-off-by: Parth Dixit
---
xen/arch
ff-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/arch/arm/domain_build.c | 75 -
xen/include/asm-arm/acpi.h | 10 ++
2 files changed, 84 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index 1e
Parse ACPI SPCR (Serial Port Console Redirection table) table and
initialize the serial port pl011.
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/drivers/char/pl011.c | 49 +++
xen/include/acpi/actbl2.h | 5 +
2 files changed
refactor gic related functions into dt and generic parts
this will be helpful when adding acpi support for gic
Signed-off-by: Parth Dixit
---
xen/arch/arm/gic-v2.c | 13 ++---
xen/arch/arm/gic.c| 7 ++-
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/xen/arch
add generic way to use device from acpi similar to
the way it is supported in device tree.
Signed-off-by: Parth Dixit
---
xen/arch/arm/device.c| 19 +++
xen/arch/arm/xen.lds.S | 7 +++
xen/include/asm-arm/device.h | 30 ++
3 files
Parse GTDT (Generic Timer Descriptor Table) to initialize timer.
Using the information presented by GTDT to initialize the arch
timer (not memory-mapped).
Clear all el2 fields in GTDT table after initialization
for passing it to Dom0.
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
set edge/level type information for an interrupt
Signed-off-by: Parth Dixit
---
xen/arch/arm/irq.c | 17 +
xen/include/asm-arm/acpi.h | 26 ++
xen/include/asm-arm/irq.h | 2 ++
3 files changed, 45 insertions(+)
diff --git a/xen/arch/arm/irq.c b
add new function acpi_parse_entries which takes
acpi table as argument. This will avoid fetching table
everytime in acpi_table_parse_entries.
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/drivers/acpi/tables.c | 60 +--
xen/include
From: Naresh Bhat
When MADT is parsed, print GIC information to make the boot
log look pretty.
Signed-off-by: Hanjun Guo
Signed-off-by: Tomasz Nowicki
Signed-off-by: Naresh Bhat
---
xen/drivers/acpi/tables.c | 39 +++
1 file changed, 39 insertions(+)
diff
MSI frame and GICR.
Add flag definition for GICC flags.
Signed-off-by: Tomasz Nowicki
Signed-off-by: Hanjun Guo
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/include/acpi/actbl1.h | 62 +--
1 file changed, 60 insertions(+), 2 deletions
With ACPI 5.0, we got per-processor timer support in GTDT,
and ACPI 5.1 introduced the support for platform (memory-mapped)
timers: GT Block and SBSA watchdog timer, add the code needed
for the spec change.
Signed-off-by: Hanjun Guo
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
partition smp initialization functions into generic and dt
specific parts, this will be useful when introducing new
functions for smp initialization based on acpi
Signed-off-by: Parth Dixit
---
xen/arch/arm/arm64/smpboot.c | 7 ++-
xen/arch/arm/smpboot.c | 28
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Dixit
---
xen/arch/arm/acpi/boot.c | 135 +++
xen/arch/arm/arm64/smpboot.c | 7 ++-
xen/arch/arm/psci.c | 16 +
xen/arch/arm/smpboot.c | 7 ++-
xen/include/asm-arm/acpi.h | 2
ion less than 5.1,
OS will be messed up with those information, so disable ACPI if we
get an FADT table with version less that 5.1.
Modify FADT table before passing it to Dom0.
Set PSCI_COMPLIANT and PSCI_USE_HVC.
Signed-off-by: Hanjun Guo
Signed-off-by: Naresh Bhat
Signed-off-by: Parth Di
The Power State Coordination Interface (PSCI) defines an API that
can be used to coordinate power control amongst the various supervisory
systems concurrently running on a device. ACPI support for this
technology would require the addition of two flags: PSCI_COMPLIANT and
PSCI_USE_HVC. When set, th
add macros to emulate x86 style ports for arm.
This avoids modification in common code for acpi.
Signed-off-by: Parth Dixit
---
xen/include/asm-arm/arm64/io.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/xen/include/asm-arm/arm64/io.h b/xen/include/asm-arm/arm64/io.h
add architecture specific definitions and calls
required for acpi in new header file
Signed-off-by: Parth Dixit
---
xen/include/asm-arm/acpi.h | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 xen/include/asm-arm/acpi.h
diff --git a/xen/include
common acpi code for memory mapping is specific to x86.
Add a new helper function for mapping memory based on architecture.
Signed-off-by: Parth Dixit
---
xen/arch/arm/Makefile | 1 +
xen/arch/arm/acpi/Makefile | 1 +
xen/arch/arm/acpi/lib.c| 8
xen/arch/x86/acpi/lib.c
1 - 100 of 148 matches
Mail list logo