From: Slavisa Petrovic
This patch implements copy_to_guest/copy_from_guest functions for RISC-V.
These functions are designed to facilitate data exchange between guest and
hypervisor.
Signed-off-by: Milan Djokic
Signed-off-by: Slavisa Petrovic
---
Tested on qemu with xcp-ng latest branch
switching in the Xen environment, allowing further development and
integration.
Signed-off-by: Milan Djokic
Signed-off-by: Slavisa Petrovic
---
arch/riscv/Kbuild| 1 +
arch/riscv/Kconfig | 19 +++
arch/riscv/include/asm/cpu.h | 1
From: Nikola Jelic
Adapted x86 efi parser and mkreloc utility to use generic PE header
(efi/pe.h), instead of locally defined structures for each component.
Signed-off-by: Nikola Jelic
Signed-off-by: Milan Djokic
---
Changes in V3:
- Add xen/include among include dirs for mkreloc, instead
From: Nikola Jelic
Adapted x86 efi parser and mkreloc utility to use generic PE header
(efi/pe.h), instead of locally defined structures for each component.
Signed-off-by: Nikola Jelic
Signed-off-by: Milan Djokic
---
Changes in V2:
- Using pe header constants instead of hardcoded values
structure member
comments.
Also, COFF relocation and win cert structures are ommited, since these are not
relevant for Xen.
Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
36e4fc57fc16
Signed-off-by: Nikola Jelic
Signed-off-by: Milan Djokic
---
This header is split into a
structure member
comments.
Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
36e4fc57fc16
Signed-off-by: Nikola Jelic
Signed-off-by: Milan Djokic
---
This header is split into a separate commit following discussion from
https://lists.xenproject.org/archives/html/xen-devel/2024
/runtime services
and system table handling are yet to be implemented.
Tested on both QEMU and StarFive VisionFive 2 with OpenSBI->U-Boot->xen->dom0
boot chain.
Signed-off-by: Nikola Jelic
Signed-off-by: Milan Djokic
---
Changes since v3:
* pe.h structures clarification
---
Changes
c
Signed-off-by: Milan Djokic
---
Changes since v2:
* Restructured EFI image headers - generic PE/COFF headers moved to
xen/include/efi/pe.h, riscv image header left in arch specific dir
(riscv/include/asm/riscv-image-header.h)
* EFI PE/COFF header section moved to separate file (efi-head