[PATCH] hyperv: Add missing field to hv_output_map_device_interrupt

Nuno Das Neves posted 1 patch 1 month, 3 weeks ago
include/hyperv/hvhdk_mini.h | 1 +
1 file changed, 1 insertion(+)
[PATCH] hyperv: Add missing field to hv_output_map_device_interrupt
Posted by Nuno Das Neves 1 month, 3 weeks ago
This field is unused, but the correct structure size is needed
when computing the amount of space for the output argument to
reside, so that it does not cross a page boundary.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
---
 include/hyperv/hvhdk_mini.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hyperv/hvhdk_mini.h b/include/hyperv/hvhdk_mini.h
index 42e7876455b5..858f6a3925b3 100644
--- a/include/hyperv/hvhdk_mini.h
+++ b/include/hyperv/hvhdk_mini.h
@@ -301,6 +301,7 @@ struct hv_input_map_device_interrupt {
 /* HV_OUTPUT_MAP_DEVICE_INTERRUPT */
 struct hv_output_map_device_interrupt {
 	struct hv_interrupt_entry interrupt_entry;
+	u64 ext_status_deprecated[5];
 } __packed;
 
 /* HV_INPUT_UNMAP_DEVICE_INTERRUPT */
-- 
2.34.1
Re: [PATCH] hyperv: Add missing field to hv_output_map_device_interrupt
Posted by Wei Liu 1 month, 2 weeks ago
On Wed, Aug 13, 2025 at 11:20:57AM -0700, Nuno Das Neves wrote:
> This field is unused, but the correct structure size is needed
> when computing the amount of space for the output argument to
> reside, so that it does not cross a page boundary.
> 
> Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>

There doesn't seem to be a need to rush this through hyperv-fixes.

Queued into hyperv-next before Michael's patches.

> ---
>  include/hyperv/hvhdk_mini.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/hyperv/hvhdk_mini.h b/include/hyperv/hvhdk_mini.h
> index 42e7876455b5..858f6a3925b3 100644
> --- a/include/hyperv/hvhdk_mini.h
> +++ b/include/hyperv/hvhdk_mini.h
> @@ -301,6 +301,7 @@ struct hv_input_map_device_interrupt {
>  /* HV_OUTPUT_MAP_DEVICE_INTERRUPT */
>  struct hv_output_map_device_interrupt {
>  	struct hv_interrupt_entry interrupt_entry;
> +	u64 ext_status_deprecated[5];
>  } __packed;
>  
>  /* HV_INPUT_UNMAP_DEVICE_INTERRUPT */
> -- 
> 2.34.1
>