public inbox for linux-hyperv@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM64 support for doorbell and intercept SINTs
@ 2026-02-02 18:27 Anirudh Rayabharam
  2026-02-02 18:27 ` [PATCH v2 1/2] mshv: refactor synic init and cleanup Anirudh Rayabharam
  2026-02-02 18:27 ` [PATCH v2 2/2] mshv: add arm64 support for doorbell & intercept SINTs Anirudh Rayabharam
  0 siblings, 2 replies; 8+ messages in thread
From: Anirudh Rayabharam @ 2026-02-02 18:27 UTC (permalink / raw)
  To: kys, haiyangz, wei.liu, decui, longli, linux-hyperv, linux-kernel; +Cc: anirudh

From: "Anirudh Rayabharam (Microsoft)" <anirudh@anirudhrb.com>

On x86, the HYPERVISOR_CALLBACK_VECTOR is used to receive synthetic
interrupts (SINTs) from the hypervisor for doorbells and intercepts.
There is no such vector reserved for arm64.

On arm64, the INTID for SINTs should be in the SGI or PPI range. The
hypervisor exposes a virtual device in the ACPI that reserves a
PPI for this use. Introduce a platform_driver that binds to this ACPI
device and obtains the interrupt vector that can be used for SINTs.

Changes in v2:
Addressed review comments:
  - Moved more stuff into mshv_synic.c
  - Code simplifications
  - Removed unnecessary debug prints

v1: https://lore.kernel.org/linux-hyperv/20260128160437.3342167-1-anirudh@anirudhrb.com/

Anirudh Rayabharam (Microsoft) (2):
  mshv: refactor synic init and cleanup
  mshv: add arm64 support for doorbell & intercept SINTs

 drivers/hv/mshv_root.h      |   5 +-
 drivers/hv/mshv_root_main.c |  59 ++-------
 drivers/hv/mshv_synic.c     | 232 ++++++++++++++++++++++++++++++++++--
 3 files changed, 230 insertions(+), 66 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-02-03 16:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 18:27 [PATCH v2 0/2] ARM64 support for doorbell and intercept SINTs Anirudh Rayabharam
2026-02-02 18:27 ` [PATCH v2 1/2] mshv: refactor synic init and cleanup Anirudh Rayabharam
2026-02-02 19:07   ` Stanislav Kinsburskii
2026-02-03  4:49     ` Anirudh Rayabharam
2026-02-03 16:57       ` Stanislav Kinsburskii
2026-02-02 18:27 ` [PATCH v2 2/2] mshv: add arm64 support for doorbell & intercept SINTs Anirudh Rayabharam
2026-02-02 19:13   ` Stanislav Kinsburskii
2026-02-03  4:40     ` Anirudh Rayabharam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox