All of lore.kernel.org
 help / color / mirror / Atom feed
* IOREQ server on Arm
@ 2018-09-25 22:39 Julien Grall
  2018-09-26  8:08 ` Jan Beulich
  0 siblings, 1 reply; 23+ messages in thread
From: Julien Grall @ 2018-09-25 22:39 UTC (permalink / raw)
  To: Paul Durrant, xen-devel
  Cc: Andrew Cooper, Stefano Stabellini, Jan Beulich, Roger Pau Monné

Hi Paul,

I am looking at porting the IOREQ server infrastructure on Arm. I didn't 
need much modification to make it run for Arm. Although, the 
implementation could be simplified over the x86 implementation.

I noticed some issue while trying to implement the hypercall 
XENMEM_acquire_resource. Per my understanding, all the page mapped via 
that hypercall will use the type p2m_mapping_foreign.

This will result to trigger the ASSERT(fdom != dom) in get_page_from_gfn 
(asm-arm/p2m.h) because the IOREQ page has been allocated to the 
emulator domain and mapped to it. AFAICT x86 has the same assert in 
p2m_get_page_from_gfn(...).

IHMO, the ASSERT makes sense because you are only meant to map page 
belonging to other domain with that type.

So I am wondering whether IOREQ server running in PVH Dom0 has been 
tested? What would be the best course of action to fix the issue?

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2018-10-01 15:56 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 22:39 IOREQ server on Arm Julien Grall
2018-09-26  8:08 ` Jan Beulich
2018-09-26  9:14   ` Paul Durrant
2018-09-26 10:32     ` Julien Grall
2018-09-26 10:38       ` Andrew Cooper
2018-09-26 10:49       ` Paul Durrant
2018-10-01 15:56       ` Roger Pau Monné
2018-09-26 10:41   ` Julien Grall
2018-09-26 10:51     ` Paul Durrant
2018-09-26 10:58       ` Jan Beulich
2018-09-26 11:02         ` Paul Durrant
2018-09-26 11:57           ` Jan Beulich
2018-09-26 12:01             ` Paul Durrant
2018-09-26 21:32               ` Julien Grall
2018-09-27  6:10                 ` Jan Beulich
2018-09-27  8:38                 ` Paul Durrant
2018-09-27  9:41                   ` Julien Grall
2018-09-27 10:16                     ` Paul Durrant
2018-09-27 10:31                       ` Julien Grall
2018-09-27 10:46                         ` Paul Durrant
2018-09-27 10:55                           ` Julien Grall
2018-09-26 11:01       ` Julien Grall
2018-09-26 11:07         ` Paul Durrant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.