arm64: hyperv: Add panic handler
authorMichael Kelley <mikelley@microsoft.com>
Wed, 4 Aug 2021 15:52:36 +0000 (08:52 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 4 Aug 2021 16:54:36 +0000 (16:54 +0000)
commit512c1117fb2eeb944df1b88bff6e0c002990b369
tree06ebf825df3c249ff4ca2db89bddd0fabd2a2036
parent57d276bbbd322409bb6f7c6446187a29953f8ded
arm64: hyperv: Add panic handler

Add a function to inform Hyper-V about a guest panic.

This code is built only when CONFIG_HYPERV is enabled.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/1628092359-61351-3-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/arm64/hyperv/hv_core.c