aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2023-05-17 20:19:43 -0700
committerDan Williams <dan.j.williams@intel.com>2023-05-18 13:18:49 -0700
commiteb0764b822b9b26880b28ccb9100b2983e01bc17 (patch)
tree2f36af9d02fb292903e4c2795fbad46d669bc0c4 /tools/perf/scripts/python/bin/stackcollapse-report
parentLinux 6.4-rc2 (diff)
downloadlinux-eb0764b822b9b26880b28ccb9100b2983e01bc17.tar.gz
linux-eb0764b822b9b26880b28ccb9100b2983e01bc17.zip
cxl/port: Enable the HDM decoder capability for switch ports
Derick noticed, when testing hot plug, that hot-add behaves nominally after a removal. However, if the hot-add is done without a prior removal, CXL.mem accesses fail. It turns out that the original implementation of the port driver and region programming wrongly assumed that platform-firmware always enables the host-bridge HDM decoder capability. Add support turning on switch-level HDM decoders in the case where platform-firmware has not. The implementation is careful to only arrange for the enable to be undone if the current instance of the driver was the one that did the enable. This is to interoperate with platform-firmware that may expect CXL.mem to remain active after the driver is shutdown. This comes at the cost of potentially not shutting down the enable on kexec flows, but it is mitigated by the fact that the related HDM decoders still need to be enabled on an individual basis. Cc: <stable@vger.kernel.org> Reported-by: Derick Marks <derick.w.marks@intel.com> Fixes: 54cdbf845cf7 ("cxl/port: Add a driver for 'struct cxl_port' objects") Reviewed-by: Ira Weiny <ira.weiny@intel.com> Link: https://lore.kernel.org/r/168437998331.403037.15719879757678389217.stgit@dwillia2-xfh.jf.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
/+164 2017-09-06mm: replace TIF_MEMDIE checks by tsk_is_oom_victimMichal Hocko2-5/+6 2017-09-06mm, oom: do not rely on TIF_MEMDIE for memory reserves accessMichal Hocko3-23/+73 2017-09-06z3fold: use per-cpu unbuddied listsVitaly Wool1-135/+344 2017-09-06mm, swap: don't use VMA based swap readahead if HDD is used as swapHuang Ying2-6/+13 2017-09-06mm, swap: add sysfs interface for VMA based swap readaheadHuang Ying2-0/+106 2017-09-06mm, swap: VMA based swap readaheadHuang Ying5-25/+273 2017-09-06mm, swap: fix swap readahead markingHuang Ying1-7/+11 2017-09-06mm, swap: add swap readahead hit statisticsHuang Ying3-2/+15 2017-09-06mm/vmalloc.c: don't reinvent the wheel but use existing llist APIByungchul Park1-6/+4 2017-09-06mm/vmstat.c: fix wrong commentSeongJae Park1-1/+1 2017-09-06selftests/memfd: add memfd_create hugetlbfs selftestMike Kravetz3-86/+357 2017-09-06mm/shmem: add hugetlbfs support to memfd_create()Mike Kravetz2-6/+55 2017-09-06mm, devm_memremap_pages: use multi-order radix for ZONE_DEVICE lookupsDan Williams2-14/+39 2017-09-06mm/vmalloc.c: halve the number of comparisons performed in pcpu_get_vm_areas()Wei Yang1-7/+3 2017-09-06mm/vmstat: fix divide error at __fragmentation_indexWen Yang1-0/+3 2017-09-06mm, hugetlb: do not allocate non-migrateable gigantic pages from movable zonesMichal Hocko1-15/+20 2017-09-06userfaultfd: provide pid in userfault msg - add feat unionAndrea Arcangeli2-2/+4 2017-09-06userfaultfd: provide pid in userfault msgAlexey Perevalov2-5/+13 2017-09-06userfaultfd: call userfaultfd_unmap_prep only if __split_vma succeedsAndrea Arcangeli1-7/+15 2017-09-06userfaultfd: selftest: explicit failure if the SIGBUS test failedAndrea Arcangeli1-1/+3 2017-09-06userfaultfd: selftest: exercise UFFDIO_COPY/ZEROPAGE -EEXISTAndrea Arcangeli1-8/+140 2017-09-06userfaultfd: selftest: add tests for UFFD_FEATURE_SIGBUS featurePrakash Sangappa1-3/+124 2017-09-06mm: userfaultfd: add feature to request for a signal deliveryPrakash Sangappa2-1/+12 2017-09-06mm: rename global_page_state to global_zone_page_stateMichal Hocko9-25/+25 2017-09-06mm: shm: use new hugetlb size encoding definitionsMike Kravetz2-19/+29 2017-09-06mm: arch: consolidate mmap hugetlb size encodingsMike Kravetz8-74/+22