summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJay Cornwall <jay@jcornwall.me>2016-02-10 15:48:01 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-09 15:34:51 -0800
commitad0f9dade9912224326fcac1e09ed4846b41f7c9 (patch)
treedf21356cfdcb501dc20ac64830cda1eddaa59f5d /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd1c623c9c264c6cb045015900f8ce1e60b4d2c7d (diff)
iommu/amd: Apply workaround for ATS write permission check
commit 358875fd52ab8f00f66328cbf1a1d2486f265829 upstream. The AMD Family 15h Models 30h-3Fh (Kaveri) BIOS and Kernel Developer's Guide omitted part of the BIOS IOMMU L2 register setup specification. Without this setup the IOMMU L2 does not fully respect write permissions when handling an ATS translation request. The IOMMU L2 will set PTE dirty bit when handling an ATS translation with write permission request, even when PTE RW bit is clear. This may occur by direct translation (which would cause a PPR) or by prefetch request from the ATC. This is observed in practice when the IOMMU L2 modifies a PTE which maps a pagecache page. The ext4 filesystem driver BUGs when asked to writeback these (non-modified) pages. Enable ATS write permission check in the Kaveri IOMMU L2 if BIOS has not. Signed-off-by: Jay Cornwall <jay@jcornwall.me> Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions