summaryrefslogtreecommitdiff
path: root/include/hyperv
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-01-20 20:58:35 +0300
committerMark Brown <broonie@kernel.org>2026-01-20 20:58:35 +0300
commite73eb6a73c209e63f5f239337bda4b938d75a1f7 (patch)
tree29adbbdadc04337708d392b840ba4bb5ce5a9350 /include/hyperv
parent8f7745fcb443f9223ccfb17e02cbe06e80b72d78 (diff)
parentc3608162a95a259c669cf9fdccf900782fa8d902 (diff)
downloadlinux-e73eb6a73c209e63f5f239337bda4b938d75a1f7.tar.xz
spi: xilinx: make IRQs optional
Merge series from Abdurrahman Hussain <abdurrahman@nexthop.ai>: Additionally, make interrupts optional to allow the driver to fall back to its existing polling mode on systems where interrupts are either missing or broken.
Diffstat (limited to 'include/hyperv')
-rw-r--r--include/hyperv/hvgdk_mini.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/hyperv/hvgdk_mini.h b/include/hyperv/hvgdk_mini.h
index 04b18d0e37af..30fbbde81c5c 100644
--- a/include/hyperv/hvgdk_mini.h
+++ b/include/hyperv/hvgdk_mini.h
@@ -578,9 +578,12 @@ struct hv_tlb_flush { /* HV_INPUT_FLUSH_VIRTUAL_ADDRESS_LIST */
struct hv_tlb_flush_ex {
u64 address_space;
u64 flags;
- struct hv_vpset hv_vp_set;
- u64 gva_list[];
+ __TRAILING_OVERLAP(struct hv_vpset, hv_vp_set, bank_contents, __packed,
+ u64 gva_list[];
+ );
} __packed;
+static_assert(offsetof(struct hv_tlb_flush_ex, hv_vp_set.bank_contents) ==
+ offsetof(struct hv_tlb_flush_ex, gva_list));
struct ms_hyperv_tsc_page { /* HV_REFERENCE_TSC_PAGE */
volatile u32 tsc_sequence;