|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] RT Xen on ARM - R-Car series
Hi, On 01/02/2019 16:53, Roger Pau Monné wrote: On Thu, Jan 31, 2019 at 11:14:37PM +0000, Julien Grall wrote:On 1/31/19 9:56 PM, Stefano Stabellini wrote:On Thu, 31 Jan 2019, Julien Grall wrote:On 31/01/2019 12:00, Andrii Anisov wrote:On 31.01.19 13:37, Julien Grall wrote:So, I've got a hacky patch to 'fix' this on x86, by taking a reference to the mfn behind the virtual address provided when setting up the hypercall and mapping it in Xen. That was the idea I had in mind :). Hopefully, no guest is modifying the mapping (i.e the virtual address point to a different physical address) afterwards. This however doesn't work on ARM due to the lack of paging_gva_to_gfn. I guess there's something similar to translate a guest virtual address into a gfn or a mfn? get_page_from_gva should to the job for you. get_gfn would need to be implemented on Arm. This looks wrong, you seem to mix address and frame. I think you might want: if ( gfn_eq(gfn_add(gfn, PFN_DOWN(size)), gfn) ) Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |