On 2014/11/11 23:11, Pawel Moll wrote:
On Tue, 2014-11-04 at 09:35 +, Shannon Zhao wrote:
As the current virtio-mmio only support single irq,
so some advanced features such as vhost-net with irqfd
are not supported. And the net performance is not
the best without vhost-net and irqfd
On 2014/11/13 2:33, Pawel Moll wrote:
On Wed, 2014-11-12 at 08:32 +, Shannon Zhao wrote:
On 2014/11/11 23:11, Pawel Moll wrote:
On Tue, 2014-11-04 at 09:35 +, Shannon Zhao wrote:
As the current virtio-mmio only support single irq,
so some advanced features such as vhost-net with irqfd
On 2014/11/6 19:09, Michael S. Tsirkin wrote:
On Thu, Nov 06, 2014 at 05:54:54PM +0800, Shannon Zhao wrote:
On 2014/11/6 17:34, Michael S. Tsirkin wrote:
On Tue, Nov 04, 2014 at 05:35:12PM +0800, Shannon Zhao wrote:
As the current virtio-mmio only support single irq,
so some advanced features
? is there other ways to
make virtio-mmio support multiple irq? Hope for feedback.
Thanks.
Signed-off-by: Shannon Zhao zhaoshengl...@huawei.com
---
drivers/virtio/virtio_mmio.c | 234 --
1 files changed, 203 insertions(+), 31 deletions(-)
diff --git
On 2014/11/4 17:35, Shannon Zhao wrote:
As the current virtio-mmio only support single irq,
so some advanced features such as vhost-net with irqfd
are not supported. And the net performance is not
the best without vhost-net and irqfd supporting.
Hi Joel, Peter, Mst,
Some virtio-net
to the
HOST to see how far we are from a native configuration...
Agree!
Also, I assume a pending Qemu patch is necessary to assign multiple irqs ?
I'm correct ?
Yes, the patch is on it's way :)
Thanks a lot,
Best regards
Rémy
-Message d'origine-
De : Shannon Zhao [mailto:zhaoshengl
On 2014/11/5 16:43, Eric Auger wrote:
On 10/27/2014 12:23 PM, Li Liu wrote:
On 2014/10/27 17:37, Peter Maydell wrote:
On 25 October 2014 09:24, john.liuli john.li...@huawei.com wrote:
To get the interrupt reason to support such VIRTIO_NET_F_STATUS
features I add a new register offset
On 2014/11/5 23:27, Joel Schopp wrote:
On 11/05/2014 03:12 AM, Shannon Zhao wrote:
Hi Rémy,
On 2014/11/5 16:26, GAUGUEY Rémy 228890 wrote:
Hi Shannon,
Type of backend bandwith(GBytes/sec)
virtio-net 0.66
vhost-net 1.49
vhost-net with irqfd2.01
On 2014/11/6 17:34, Michael S. Tsirkin wrote:
On Tue, Nov 04, 2014 at 05:35:12PM +0800, Shannon Zhao wrote:
As the current virtio-mmio only support single irq,
so some advanced features such as vhost-net with irqfd
are not supported. And the net performance is not
the best without vhost-net
On 2015/2/25 16:40, Hanjun Guo wrote:
From: Graeme Gregory graeme.greg...@linaro.org
Add documentation for the guidelines of how to use ACPI
on ARM64.
Reviewed-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com
Reviewed-by: Yi Li phoenix.l...@huawei.com
Reviewed-by: Mark Langsdorf
On 2015/2/27 16:37, Hanjun Guo wrote:
Hi Timur,
On 2015年02月27日 11:20, Timur Tabi wrote:
On 02/25/2015 02:39 AM, Hanjun Guo wrote:
Changes since v8:
I'm still debugging it, but v9 on the 4.0-rc1 kernel crashes after
calling the UEFI boot time services exit function. That is, this line:
On 2015/2/27 18:53, Shannon Zhao wrote:
On 2015/2/25 16:40, Hanjun Guo wrote:
From: Graeme Gregory graeme.greg...@linaro.org
Add documentation for the guidelines of how to use ACPI
on ARM64.
Reviewed-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com
Reviewed-by: Yi Li phoenix.l
On 2015/2/25 16:40, Hanjun Guo wrote:
+Authors
+---
+Al Stone al.st...@linaro.org
+Graeme Gregory graeme.greg...@linaro.org
+Hanjun Guo hanjun@linaro.org
+
+Grant Likely grant.lik...@linaro.org, for the Why ACPI on ARM? section
+
It's here at the end of the file. Redundant blank
On 2015/2/25 16:40, Hanjun Guo wrote:
+Not yet implemented are:
+
+ -- Section 10: power source and power meter devices
+
+ -- Section 11: thermal management
+
+ -- Section 12: embedded controllers interface
+
+ -- Section 13: SMBus interfaces
+
+ -- Section 17: NUMA
On 2015/7/29 5:10, Peter Maydell wrote:
On 28 July 2015 at 21:28, G Gregory graeme.greg...@linaro.org wrote:
On 28 July 2015 at 21:12, Peter Maydell peter.mayd...@linaro.org wrote:
Mmm. I'm not terribly happy about stuff being in QEMU before the
ACPI spec for it has been finalised. We
On 2015/7/30 3:16, Michael S. Tsirkin wrote:
ACPI spec 5.0 allows the use of PCI vendor IDs.
But virtio-mmio is not a PCI device, it's a platform device.
Why do we drop the previous way using QEMU? Something I missed?
Since we have one for virtio, it seems neater to use that
rather
On 2015/7/30 16:04, Michael S. Tsirkin wrote:
On Thu, Jul 30, 2015 at 09:23:20AM +0800, Shannon Zhao wrote:
On 2015/7/30 3:16, Michael S. Tsirkin wrote:
ACPI spec 5.0 allows the use of PCI vendor IDs.
But virtio-mmio is not a PCI device, it's a platform device.
Yes. ACPI spec 5.0 says
On 2015/9/30 18:38, Graeme Gregory wrote:
As discussed when Shannon Zhao sent a patch to add platform_device support
to pl061 driver. Russel and other maintainers prefered that ACPI learned
how to create AMBA devices rather than converting/adding platform_device
support to AMBA drivers.
http
From: Shannon Zhao <shannon.z...@linaro.org>
These EFI stub parameters are used to internal communication between EFI
stub and Linux kernel and EFI stub creates these parameters. But for Xen
on ARM when booting with UEFI, Xen will create a minimal DT providing
these parameters for Dom0 an
ove this patch forward? Then I could continue working on
adding ARM ACPI support on Xen.
Any comments?
Thanks,
--
Shannon
On 2015/9/10 16:41, Shannon Zhao wrote:
> From: Shannon Zhao <shannon.z...@linaro.org>
>
> These EFI stub parameters are used to internal communication
expected
>> state of the firmware, i.e., that ExitBootServices() has been called,
>> and that the memory map has been populated with virtual address, which
>> have been installed using SetVirtualAddressMap() if they differ from
>> the physical addresses. (The curren
On 2015/9/14 17:09, Ard Biesheuvel wrote:
> On 14 September 2015 at 10:42, Shannon Zhao <zhaoshengl...@huawei.com> wrote:
> [..]
>
>>
>> It only needs to apply following patch to fix a bug in Linux kernel when
>> mapping EFI_MEMORY_RUNTIME memory.
>&g
From: Shannon Zhao <shannon.z...@linaro.org>
Move xlated_setup_gnttab_pages to common place, so it can be reused by
ARM to setup grant table.
Rename it to xen_xlate_map_ballooned_pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Sync the changes of HVM_PARAM_CALLBACK_VIA ABI introduced by
Xen commit (public/hvm: export the HVM_PARAM_CALLBACK_VIA
ABI in the API).
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
When running on Xen hypervisor, runtime services are supported through
hypercall. Add a Xen specific function to initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Sometimes it needs to check if there is a node in FDT by full path.
Introduce this helper to get the specified name subnode if it exists.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
CC: Rob Herring <r...@kernel.org>
---
From: Shannon Zhao <shannon.z...@linaro.org>
Move x86 specific codes to architecture directory and export those EFI
runtime service functions. This will be useful for initializing runtime
service on ARM later.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new function to parse DT parameters for Xen specific UEFI just
like the way for normal UEFI. Then it could reuse the existing codes.
If Xen supports EFI, initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@l
From: Shannon Zhao <shannon.z...@linaro.org>
Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could
scan this to get the UEFI information.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Rob Herring <r...@kernel.org>
---
CC:
From: Shannon Zhao <shannon.z...@linaro.org>
When it's a Xen domain0 booting with ACPI, it will supply a /chosen and
a /hypervisor node in DT. So check if it needs to enable ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new type of Xen map space for Dom0 to map device's MMIO region.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
include/xen/interface/memory.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/xen/interfac
From: Shannon Zhao <shannon.z...@linaro.org>
Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't
rely on DT or ACPI to pass the start address and size of grant table.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
ACPI on ARM64 design document could be found from [1].
This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI
information. Introduce a bus
From: Shannon Zhao <shannon.z...@linaro.org>
Make xen_xlate_map_ballooned_pages work with 64K pages. In that case
Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns
refer to 4K pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for AMBA bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
--
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for platform bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
From: Shannon Zhao <shannon.z...@linaro.org>
When booting with ACPI, it could get the event-channel irq through
HVM_PARAM_CALLBACK_IRQ.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
---
arch/arm/xe
From: Shannon Zhao <shannon.z...@linaro.org>
ACPI 6.0 introduces a new table STAO to list the devices which are used
by Xen and can't be used by Dom0. On Xen virtual platforms, the physical
UART is used by Xen. So here it hides UART from Dom0.
Signed-off-by: Shannon Zhao <shannon.z...@l
From: Shannon Zhao <shannon.z...@linaro.org>
Move xen_early_init() before efi_init(), then when calling efi_init()
could initialize Xen specific UEFI.
Check if it runs on Xen hypervisor through the flat dts.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new delivery type:
val[63:56] == 3: val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 0 stands the interrupt mode is edge(1) or level(0) and
bit 1 stands the interrupt polarity is active low(1) or high(0).
Signed-off-by: Shanno
On 2016/1/26 19:31, Stefano Stabellini wrote:
> On Tue, 26 Jan 2016, Shannon Zhao wrote:
>> > On 2016/1/26 0:44, Stefano Stabellini wrote:
>>> > > On Sat, 23 Jan 2016, Shannon Zhao wrote:
>>>>> > >> > From: Shannon Zhao <shannon.z...@linar
On 2016/1/26 20:11, Stefano Stabellini wrote:
> On Sat, 23 Jan 2016, Shannon Zhao wrote:
>> > From: Shannon Zhao <shannon.z...@linaro.org>
>> >
>> > Sometimes it needs to check if there is a node in FDT by full path.
>> > Introduce this helper t
On 2016/1/26 0:44, Stefano Stabellini wrote:
> On Sat, 23 Jan 2016, Shannon Zhao wrote:
>> > From: Shannon Zhao <shannon.z...@linaro.org>
>> >
>> > Move x86 specific codes to architecture directory and export those EFI
>> > runtime service functions.
On 2016/2/9 13:04, Rob Herring wrote:
> On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao <zhaoshengl...@huawei.com> wrote:
>> From: Shannon Zhao <shannon.z...@linaro.org>
>>
>> Sometimes it needs to check if there is a node in FDT by full path.
>
> I'm c
> On Mon, 8 Feb 2016, Rafael J. Wysocki wrote:
>>>>> > > > > On Monday, February 08, 2016 10:57:01 AM Stefano Stabellini wrote:
>>>>>> > > > > > On Sat, 6 Feb 2016, Rafael J. Wysocki wrote:
>>>>>>> > >
On 2016/1/19 1:03, Stefano Stabellini wrote:
> On Fri, 15 Jan 2016, Shannon Zhao wrote:
>> > From: Shannon Zhao <shannon.z...@linaro.org>
>> >
>> > When running on Xen hypervisor, runtime services are supported through
>> > hypercall. So call Xen spe
On 2016/1/27 16:27, Hanjun Guo wrote:
> Hi Shannon,
>
> On 2016/1/23 11:19, Shannon Zhao wrote:
>> From: Shannon Zhao <shannon.z...@linaro.org>
>>
>> When it's a Xen domain0 booting with ACPI, it will supply a /chosen and
>> a /hypervisor node in
From: Shannon Zhao <shannon.z...@linaro.org>
This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
ACPI on ARM64 design document could be found from [1].
This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI
information. Introduce a bus
From: Shannon Zhao <shannon.z...@linaro.org>
Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could
scan this to get the UEFI information.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Rob Herring <r...@kernel.org>
---
CC:
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new delivery type:
val[63:56] == 3: val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 0 stands the interrupt mode is edge(1) or level(0) and
bit 1 stands the interrupt polarity is active low(1) or high(0).
Signed-off-by: Shanno
From: Shannon Zhao <shannon.z...@linaro.org>
Move xen_early_init() before efi_init(), then when calling efi_init()
could initialize Xen specific UEFI.
Check if it runs on Xen hypervisor through the flat dts.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
arch/arm/xen
From: Shannon Zhao <shannon.z...@linaro.org>
Use page_to_xen_pfn in case of 64KB page.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
drivers/xen/xlate_mmu.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/drivers/xen/x
From: Shannon Zhao <shannon.z...@linaro.org>
When it's a Xen domain0 booting with ACPI, it will supply a /chosen and
a /hypervisor node in DT. So check if it needs to enable ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
CC: Hanjun Guo <hanjun@linaro.org&g
From: Shannon Zhao <shannon.z...@linaro.org>
Sometimes it needs to check if there is a node in FDT by full path.
Introduce this helper to get the specified name subnode if it exists.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
CC: Rob Herring <r...@kernel.org>
---
From: Shannon Zhao <shannon.z...@linaro.org>
Move x86 specific codes to architecture directory and export those EFI
runtime service functions. This will be useful for initializing runtime
service on ARM later.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
arch/x86/xen/ef
From: Shannon Zhao <shannon.z...@linaro.org>
When running on Xen hypervisor, runtime services are supported through
hypercall. Add a Xen specific function to initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
arch/arm64/include/asm/xen/xe
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new function to parse DT parameters for Xen specific UEFI just
like the way for normal UEFI. Then it could reuse the existing codes.
If Xen supports EFI, initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.or
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new type of Xen map space for Dom0 to map device's MMIO region.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
include/xen/interface/memory.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/xen/interfac
From: Shannon Zhao <shannon.z...@linaro.org>
Sync the changes of HVM_PARAM_CALLBACK_VIA ABI introduced by
Xen commit (public/hvm: export the HVM_PARAM_CALLBACK_VIA
ABI in the API).
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
include/xen/interface/hvm/p
From: Shannon Zhao <shannon.z...@linaro.org>
Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't
rely on DT or ACPI to pass the start address and size of grant table.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for platform bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for AMBA bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
--
From: Shannon Zhao <shannon.z...@linaro.org>
Move xlated_setup_gnttab_pages to common place, so it can be reused by
ARM to setup grant table.
Rename it to xen_xlate_map_ballooned_pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
When booting with ACPI, it could get the event-channel irq through
HVM_PARAM_CALLBACK_IRQ.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
---
arch/arm/xen/enlighten.c | 36 +++-
1 file changed, 3
From: Shannon Zhao <shannon.z...@linaro.org>
ACPI 6.0 introduces a new table STAO to list the devices which are used
by Xen and can't be used by Dom0. On Xen virtual platforms, the physical
UART is used by Xen. So here it hides UART from Dom0.
Signed-off-by: Shannon Zhao <shannon.z...@l
From: Shannon Zhao <shannon.z...@linaro.org>
Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could
scan this to get the UEFI information.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Rob Herring <r...@kernel.org>
Rev
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new function to parse DT parameters for Xen specific UEFI just
like the way for normal UEFI. Then it could reuse the existing codes.
If Xen supports EFI, initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@l
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for AMBA bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
--
From: Shannon Zhao <shannon.z...@linaro.org>
Sometimes it needs to check if there is a subnode of given node in FDT
by given name. Introduce this helper to get the subnode if it exists.
CC: Rob Herring <r...@kernel.org>
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
From: Shannon Zhao <shannon.z...@linaro.org>
Move x86 specific codes to architecture directory and export those EFI
runtime service functions. This will be useful for initializing runtime
service on ARM later.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
ACPI 6.0 introduces a new table STAO to list the devices which are used
by Xen and can't be used by Dom0. On Xen virtual platforms, the physical
UART is used by Xen. So here it hides UART from Dom0.
Signed-off-by: Shannon Zhao <shannon.z...@l
From: Shannon Zhao <shannon.z...@linaro.org>
Make xen_xlate_map_ballooned_pages work with 64K pages. In that case
Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns
refer to 4K pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Move xlated_setup_gnttab_pages to common place, so it can be reused by
ARM to setup grant table.
Rename it to xen_xlate_map_ballooned_pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for platform bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
From: Shannon Zhao <shannon.z...@linaro.org>
When running on Xen hypervisor, runtime services are supported through
hypercall. Add a Xen specific function to initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
ACPI on ARM64 design document could be found from [1].
This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI
information. Introduce a bus
From: Shannon Zhao <shannon.z...@linaro.org>
When booting with ACPI, it could get the event-channel irq through
HVM_PARAM_CALLBACK_IRQ.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
---
arch/arm/xe
From: Shannon Zhao <shannon.z...@linaro.org>
This new delivery type which is for ARM shares the same value with
HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86.
val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and
bit 9
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new function to parse DT parameters for Xen specific UEFI just
like the way for normal UEFI. Then it could reuse the existing codes.
If Xen supports EFI, initialize runtime services.
CC: Matt Fleming <m...@codeblueprint.co.uk>
From: Shannon Zhao <shannon.z...@linaro.org>
When running on Xen hypervisor, runtime services are supported through
hypercall. Add a Xen specific function to initialize runtime services.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
ACPI on ARM64 design document could be found from [1].
This patch set adds a new FDT node "uefi" under /hypervisor to pass UEFI
information. Introduce a bus
From: Shannon Zhao <shannon.z...@linaro.org>
When it's a Xen domain0 booting with ACPI, it will supply a /chosen and
a /hypervisor node in DT. So check if it needs to enable ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't
rely on DT or ACPI to pass the start address and size of grant table.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Move x86 specific codes to architecture directory and export those EFI
runtime service functions. This will be useful for initializing runtime
service on ARM later.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for platform bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
From: Shannon Zhao <shannon.z...@linaro.org>
Add a bus_notifier for AMBA bus device in order to map the device
mmio regions when DOM0 booting with ACPI.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
R
From: Shannon Zhao <shannon.z...@linaro.org>
Sometimes it needs to check if there is a subnode of given node in FDT
by given name. Introduce this helper to get the subnode if it exists.
CC: Rob Herring <r...@kernel.org>
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
From: Shannon Zhao <shannon.z...@linaro.org>
ACPI 6.0 introduces a new table STAO to list the devices which are used
by Xen and can't be used by Dom0. On Xen virtual platforms, the physical
UART is used by Xen. So here it hides UART from Dom0.
CC: "Rafael J. Wysocki" <
From: Shannon Zhao <shannon.z...@linaro.org>
This new delivery type which is for ARM shares the same value with
HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86.
val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and
bit 9
From: Shannon Zhao <shannon.z...@linaro.org>
Add a new type of Xen map space for Dom0 to map device's MMIO region.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Julien Grall <julien.gr...@arm.com>
---
include/xen/interface/memory.h | 1 +
1 file ch
From: Shannon Zhao <shannon.z...@linaro.org>
Move xlated_setup_gnttab_pages to common place, so it can be reused by
ARM to setup grant table.
Rename it to xen_xlate_map_ballooned_pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Make xen_xlate_map_ballooned_pages work with 64K pages. In that case
Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns
refer to 4K pages.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefan
From: Shannon Zhao <shannon.z...@linaro.org>
Sync the changes of HVM_PARAM_CALLBACK_VIA ABI introduced by
Xen commit (public/hvm: export the HVM_PARAM_CALLBACK_VIA
ABI in the API).
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
From: Shannon Zhao <shannon.z...@linaro.org>
Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could
scan this to get the UEFI information.
CC: Rob Herring <r...@kernel.org>
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Rob Herrin
From: Shannon Zhao <shannon.z...@linaro.org>
Move xen_early_init() before efi_init(), then when calling efi_init()
could initialize Xen specific UEFI.
Check if it runs on Xen hypervisor through the flat dts.
Cc: Russell King <li...@arm.linux.org.uk>
Signed-off-by: Shannon Zha
From: Shannon Zhao <shannon.z...@linaro.org>
The kernel will get the event-channel IRQ through
HVM_PARAM_CALLBACK_IRQ.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Reviewed-by: Julien Grall <
On 2016/4/7 18:32, Julien Grall wrote:
> Hi Shannon,
>
> On 07/04/16 02:37, Shannon Zhao wrote:
>>
>>
>> On 2016/4/6 20:16, Julien Grall wrote:
>>>> +gpfns[j] = XEN_PFN_DOWN(r->start) + j;
>>>
Hi Julien,
On 2016/4/6 19:32, Julien Grall wrote:
> Hi Shannon,
>
> On 01/04/2016 16:48, Shannon Zhao wrote:
>> This patch set adds ACPI support for Xen Dom0 on ARM64. The relevant Xen
>> ACPI on ARM64 design document could be found from [1].
>>
>> This patch set
On 2016/4/6 20:16, Julien Grall wrote:
>> +gpfns[j] = XEN_PFN_DOWN(r->start) + j;
>> +idxs[j] = XEN_PFN_DOWN(r->start) + j;
>> +}
>> +
>> +xatp.domid = DOMID_SELF;
>> +xatp.size = nr;
>> +xatp.space = XENMAPSPACE_dev_mmio;
>> +
>> +
From: Shannon Zhao <shannon.z...@linaro.org>
Use xen_xlate_map_ballooned_pages to setup grant table. Then it doesn't
rely on DT or ACPI to pass the start address and size of grant table.
Signed-off-by: Shannon Zhao <shannon.z...@linaro.org>
Acked-by: Stefano Stabellini <
1 - 100 of 410 matches
Mail list logo