public inbox for linux-hyperv@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] ARM64 support for doorbell and intercept SINTs
@ 2026-02-25 12:44 Anirudh Rayabharam
  2026-02-25 12:44 ` [PATCH v6 1/2] mshv: refactor synic init and cleanup Anirudh Rayabharam
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Anirudh Rayabharam @ 2026-02-25 12:44 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 hypervisor exposes a synthetic register that can be read
to find the INTID that should be used for SINTs. This INTID is in the
PPI range.

Changes in v6:
  - Rebase on latest hyperv-next.
  - Consistent init/exit & setup/cleanup function naming.
  - Pick up Reviewed-by tags.

v5: https://lore.kernel.org/linux-hyperv/20260223140159.1627229-1-anirudh@anirudhrb.com/
Changes in v5:
  - Better align with coding-style.rst guidelines.

v4: https://lore.kernel.org/linux-hyperv/?t=20260211170747
Changes in v4:
  - Hypervisor now exposes a synthetic register to read the SINT vector
    instead of using an ACPI platform device. So make changes to accomodate that.

Changes in v3:
  - Moved the hv_root_partition() check into the reboot notifier
    to avoid doing it multiple times.

v2: https://lore.kernel.org/linux-hyperv/20260202182706.648192-1-anirudh@anirudhrb.com/
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 |  64 ++----------
 drivers/hv/mshv_synic.c     | 188 +++++++++++++++++++++++++++++++++---
 include/hyperv/hvgdk_mini.h |   2 +
 4 files changed, 185 insertions(+), 74 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-02-25 19:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25 12:44 [PATCH v6 0/2] ARM64 support for doorbell and intercept SINTs Anirudh Rayabharam
2026-02-25 12:44 ` [PATCH v6 1/2] mshv: refactor synic init and cleanup Anirudh Rayabharam
2026-02-25 19:05   ` Wei Liu
2026-02-25 12:44 ` [PATCH v6 2/2] mshv: add arm64 support for doorbell & intercept SINTs Anirudh Rayabharam
2026-02-25 19:49 ` [PATCH v6 0/2] ARM64 support for doorbell and " Wei Liu

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