|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall
On 31/01/17 13:19, Jaggi, Manish wrote: On 1/31/2017 6:13 PM, Julien Grall wrote:On 31/01/17 10:29, Jaggi, Manish wrote:From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxx> on behalf of Andre Przywara <andre.przywara@xxxxxxx> Sent: Tuesday, January 31, 2017 12:01 AM To: Stefano Stabellini; Julien Grall Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; Vijay Kilari Subject: [Xen-devel] [PATCH 09/28] ARM: GICv3 ITS: map device and LPIs to the ITS on physdev_op hypercall[snip] Thank you sherlock, if you had read my e-mail entirely you would have noticed I never said sbdf == DeviceID and actually provided insight on the problem and suggest solutions. I would recommend you to do the same in the future. It would help to get the code much faster in Xen. In case of ACPI, we should be able to get those informations from the IORT as the segment number is defined in the firmware tables. But for Device Tree, we would need DOM0 and Xen to agree on the segment number.Is there any agreement hypercall used with this series ?
From xen/include/public/physdev.h
struct physdev_manage_pci {
/* IN */
uint8_t bus;
uint8_t devfn;
};
struct physdev_manage_pci_ext {
/* IN */
uint8_t bus;
uint8_t devfn;
unsigned is_extfn;
unsigned is_virtfn;
struct {
uint8_t bus;
uint8_t devfn;
} physfn;
};
Let me know how you could encode a DeviceID in those hypercalls.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |