Patch "iommu/amd: Enable ga_log_intr when enabling guest_mode" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
iommu/amd: Enable ga_log_intr when enabling guest_mode
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
iommu-amd-enable-ga_log_intr-when-enabling-guest_mode.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
efe6f241602cb61466895f6816b8ea6b90f04d4eMon Sep 17 00:00:00 2001
From: Suravee Suthikulpanit <[email protected]>
Date: Wed, 5 Jul 2017 21:29:59 -0500
Subject: iommu/amd: Enable ga_log_intr when enabling guest_mode
From: Suravee Suthikulpanit <[email protected]>
commit efe6f241602cb61466895f6816b8ea6b90f04d4e upstream.
IRTE[GALogIntr] bit should set when enabling guest_mode, which enables IOMMU to generate entry in GALog when IRTE[IsRun] is not set, and send an interrupt to notify IOMMU driver.
--- drivers/iommu/amd_iommu.c | 1 + 1 file changed, 1 insertion(+)
drivers/iommu/amd_iommu.c +1 -0
@@ -4294,6 +4294,7 @@ static int amd_ir_set_vcpu_affinity(stru/* Setting */ irte->hi.fields.ga_root_ptr = (pi_data->base >>12 ); irte->hi.fields.vector = vcpu_pi_info->vector; + irte->lo.fields_vapic.ga_log_intr =1 ; irte->lo.fields_vapic.guest_mode =1 ; irte->lo.fields_vapic.ga_tag = pi_data->ga_tag;
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/iommu-amd-enable-ga_log_intr-when-enabling-guest_mode.patch