summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2025-08-08 11:34:56 +0100
committerMatthew Auld <matthew.auld@intel.com>2025-08-11 17:41:02 +0100
commit17593a69b75f098280ad88b625f2d8c5bfe4c6a1 (patch)
tree86e8cf35b161377d062524e247edfede97b1114a /tools/perf/scripts/python/stackcollapse.py
parentedb660ad79ffe81a982c2eca02360a6ffac83e46 (diff)
downloadkernel-17593a69b75f098280ad88b625f2d8c5bfe4c6a1.tar.gz
drm/xe: rework PDE PAT index selection
For non-leaf paging structures we end up selecting a random index between [0, 3], depending on the first user if the page-table is shared, since non-leaf structures only have two bits in the HW for encoding the PAT index, and here we are just passing along the full user provided index, which can be an index as large as ~31 on xe2+. The user provided index is meant for the leaf node, which maps the actual BO pages where we have more PAT bits, and not the non-leaf nodes which are only mapping other paging structures, and so only needs a minimal PAT index range. Also the chosen index might need to consider how the driver mapped the paging structures on the host side, like wc vs wb, which is separate from the user provided index. With that move the PDE PAT index selection under driver control. For now just use a coherent index on platforms with page-tables that are cached on host side, and incoherent otherwise. Using a coherent index could potentially be expensive, and would be overkill if we know the page-table is always uncached on host side. v2 (Stuart): - Add some documentation and split into separate helper. BSpec: 59510 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Stuart Summers <stuart.summers@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Link: https://lore.kernel.org/r/20250808103455.462424-2-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
tin only, not modularBjorn Helgaas 2013-06-25powerpc/pseries: Enable PSTORE in pseries_defconfigAruna Balakrishnaiah 2013-02-15powerpc: Add transactional memory to pseries and ppc64 defconfigsMichael Neuling 2013-01-10powerpc: Enable devtmpfs, EFI partition support and tmpfs ACLs on pseries, pp...Anton Blanchard 2013-01-10powerpc: Cleanup NLS config options on pseries, ppc64 and ppc64e defconfigAnton Blanchard 2013-01-10powerpc: Run savedefconfig over pseries, ppc64 and ppc64e defconfigAnton Blanchard 2012-11-15powerpc/pseries: Double NR_CPUS in defconfigNishanth Aravamudan 2012-10-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds 2012-09-17powerpc: Add denormalisation exception handling for POWER6/7Michael Neuling 2012-08-01powerpc/crypto: rework KconfigSeth Jennings 2012-07-27powerpc: Enable pseries hardware RNG and crypto modulesAnton Blanchard 2012-07-03powerpc: Enable jump label supportAnton Blanchard 2012-03-29irqdomain/powerpc: updated defconfigs for VIRQ_DEBUG renameGrant Likely 2011-12-08powerpc: Enable squashfs as a moduleAnton Blanchard 2011-11-08powerpc: Add KVM as module to defconfigsMichael Neuling 2011-07-19powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigsAnton Blanchard 2011-07-19powerpc: Add mpt2sas driver to pseries and ppc64 defconfigAnton Blanchard