Re: [PATCH V4 2/5] PCI: hv: Export hv_build_devid_type_pci() and change return type

From: Easwar Hariharan

Date: Fri Nov 06 2026 - 14:40:52 EST


On 11/4/2026 18:01, Mukesh R wrote:
> On Hyper-V, most hypercalls related to device domain management like
> attach device to a device domain, or to map/unmap regions, interrupts,
> etc need a device ID as a parameter. So, make hv_build_devid_type_pci()
> public and change return type to u64 to enforce its size.
>
> Signed-off-by: Mukesh R <mrathor@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Souradeep Chakrabarti <schakrabarti@xxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/hyperv/irqdomain.c | 9 +++++----
> arch/x86/include/asm/mshyperv.h | 6 ++++++
> 2 files changed, 11 insertions(+), 4 deletions(-)
>
Reviewed-by: Easwar Hariharan <easwar.hariharan@xxxxxxxxxxxxxxxxxxx>