]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 15 Feb 2016 12:42:38 +0000 (12:42 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 15 Feb 2016 12:42:38 +0000 (12:42 +0000)
commitcfb71989fbc9454cfd4e573fa8fd864639afdee6
tree9d77cb792ac4ccf28aa687942d1c6f1adaf5dd67
parentfb4a5f699e5c795e5e424aed0a082a00b2994181
iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts

According to the VT-d specification we need to clear the PPR bit in
the Page Request Status register when handling page requests, or the
hardware won't generate any more interrupts.

This wasn't actually necessary on SKL/KBL (which may well be the
subject of a hardware erratum, although it's harmless enough). But
other implementations do appear to get it right, and we only ever get
one interrupt unless we clear the PPR bit.

Reported-by: CQ Tang <cq.tang@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@vger.kernel.org
drivers/iommu/intel-svm.c
include/linux/intel-iommu.h