Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Julien Grall
Hi, On 19/07/2022 11:45, Dmytro Firsov wrote: On 19.07.22 12:50, Julien Grall wrote: Hi Dmytro, On 19/07/2022 09:52, Dmytro Firsov wrote: This commit fixes issue with usage of Xen hypervisor shared info page. Previously U-boot did not unmap it at the end of OS boot process. It leads to

Re: [PATCH] drivers: xen: unmap Enlighten page before jumping to Linux

2022-07-19 Thread Julien Grall
_info(); } [1] https://github.com/xen-troops/u-boot/commit/f759b151116af204a5ab02ace82c09300cd6233a# -- Julien Grall

Re: [PATCH v2 00/18] Add new board: Xen guest for ARM64

2020-07-30 Thread Julien Grall
contains the series and instruction how to use it? Best regards, -- Julien Grall

Re: [PATCH 05/17] xen: Port Xen hypervizor related code from mini-os

2020-07-03 Thread Julien Grall
Hi, On 03/07/2020 13:21, Anastasiia Lukianenko wrote: Hi Julien, On Wed, 2020-07-01 at 18:46 +0100, Julien Grall wrote: Title: s/hypervizor/hypervisor/ Thank you for pointing :) I will fix it in the next version. On 01/07/2020 17:29, Anastasiia Lukianenko wrote: From: Oleksandr

Re: [PATCH 05/17] xen: Port Xen hypervizor related code from mini-os

2020-07-02 Thread Julien Grall
tems Inc. + */ +#ifndef XEN_HVM_H__ +#define XEN_HVM_H__ + +#include +#include +#include + +extern struct shared_info *HYPERVISOR_shared_info; + +int hvm_get_parameter(int idx, uint64_t *value); +int hvm_get_parameter_maintain_dcache(int idx, uint64_t *value); +int hvm_set_parameter(int idx, uint64_t value); + +struct shared_info *map_shared_info(void *p); +void unmap_shared_info(void); +void do_hypervisor_callback(struct pt_regs *regs); +void mask_evtchn(uint32_t port); +void unmask_evtchn(uint32_t port); +void clear_evtchn(uint32_t port); + +#endif /* XEN_HVM_H__ */ Cheers, -- Julien Grall

Re: [PATCH 11/17] xen: Port Xen grant table driver from mini-os

2020-07-02 Thread Julien Grall
rc); + BUG_ON(rc != 0); + } + + setup.dom = DOMID_SELF; + setup.nr_frames = 0; + + HYPERVISOR_grant_table_op(GNTTABOP_setup_table, &setup, 1); + if (setup.status) { + printf("GNTTABOP_setup_table failed; status = %s\n", + gnttabop_error(setup.status)); + BUG(); + } The hypercall doesn't do any clean-up in Xen. So why are you calling this from fini_gnttab()? Cheers, -- Julien Grall

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-06-24 Thread Julien Grall
uniphier: add weird workaround code for LD20") Reported-by: Oleksandr Andrushchenko Suggested-by: Julien Grall Please use jul...@xen.org :). Signed-off-by: Volodymyr Babchuk CC: Tom Rini CC: Masahiro Yamada CC: Stefano Stabellini Reviewed-by: Julien Grall -

Re: [U-Boot] [Xen-devel] [For knowledge-sake] Understanding of couple of things under the hood

2018-05-01 Thread Julien Grall
le@0 reg <${kernel_addr_r} 0x${filesize} > filesize will contain the size of the latest binary load in memory. The udpate will be done by fatload command. Cheers, -- Julien Grall ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot