On Thu, 16 Sep 2021 17:01:42 +0100, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
From: Marc Zyngier maz@kernel.org
[ Upstream commit db75f1a33f82ad332b6e139c5960e01999969d2c ]
We already have the option to attach a callback to an interrupt to retrieve its pending state. As we are planning to expand this facility, move this callback into its own data structure.
This will limit the size of individual interrupts as the ops structures can be shared across multiple interrupts.
Signed-off-by: Marc Zyngier maz@kernel.org Signed-off-by: Sasha Levin sashal@kernel.org
arch/arm64/kvm/arch_timer.c | 8 ++++++-- arch/arm64/kvm/vgic/vgic.c | 14 +++++++------- include/kvm/arm_vgic.h | 28 +++++++++++++++++----------- 3 files changed, 30 insertions(+), 20 deletions(-)
As I replied to Sasha earlier, I don't see a good reason to backport this, as it doesn't improve anything on its own. Unless there is a compelling reason to get this backported, I'd rather see it dropped.
Thanks,
M.