aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2024-05-29 14:34:39 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2024-06-28 18:38:30 +0100
commit2488444274c70038eb6b686cba5f1ce48ebb9cdd (patch)
treebf492dcc7e6d47487b4bb6f29e14a9380d6af0ca /tools/perf/scripts/python/event_analyzing_sample.py
parentarm64: acpi: Move get_cpu_for_acpi_id() to a header (diff)
downloadlinux-2488444274c70038eb6b686cba5f1ce48ebb9cdd.tar.gz
linux-2488444274c70038eb6b686cba5f1ce48ebb9cdd.zip
arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
In a review discussion of the changes to support vCPU hotplug where a check was added on the GICC being enabled if was online, it was noted that there is need to map back to the cpu and use that to index into a cpumask. As such, a valid ID is needed. If an MPIDR check fails in acpi_map_gic_cpu_interface() it is possible for the entry in cpu_madt_gicc[cpu] == NULL. This function would then cause a NULL pointer dereference. Whilst a path to trigger this has not been established, harden this caller against the possibility. Reviewed-by: Gavin Shan <gshan@redhat.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20240529133446.28446-13-Jonathan.Cameron@huawei.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
/span> 2018-07-27block: reset bi_iter.bi_done after splitting bioGreg Edwards1-0/+1 2018-07-26kvm, mm: account shadow page tables to kmemcgShakeel Butt1-1/+1 2018-07-26zswap: re-check zswap_is_full() after do zswap_shrink()Li Wang1-0/+9 2018-07-26include/linux/eventfd.h: include linux/errno.hArnd Bergmann1-0/+1 2018-07-26mm: fix vma_is_anonymous() false-positivesKirill A. Shutemov5-0/+15 2018-07-26mm: use vma_init() to initialize VMAs on stack and data segmentsKirill A. Shutemov10-7/+17 2018-07-26mm: introduce vma_init()Kirill A. Shutemov2-4/+8 2018-07-26mm: fix exports that inadvertently make put_page() EXPORT_SYMBOL_GPLDan Williams1-2/+2 2018-07-26ipc/sem.c: prevent queue.status tearing in semopDavidlohr Bueso1-1/+1 2018-07-26mm: disallow mappings that conflict for devm_memremap_pages()Dave Jiang1-1/+17 2018-07-26kasan: only select SLUB_DEBUG with SYSFS=yArnd Bergmann1-1/+1 2018-07-26delayacct: fix crash in delayacct_blkio_end() after delayacct init failureTejun Heo1-1/+1 2018-07-26block: bio_iov_iter_get_pages: pin more pages for multi-segment IOsMartin Wilck1-3/+32 2018-07-26blkdev: __blkdev_direct_IO_simple: fix leak in error caseMartin Wilck1-4/+5 2018-07-26block: bio_iov_iter_get_pages: fix size of last iovecMartin Wilck1-10/+8 2018-07-26PCI/AER: Work around use-after-free in pcie_do_fatal_recovery()Thomas Tai1-0/+2 2018-07-26kthread, tracing: Don't expose half-written comm when creating kthreadsSnild Dolkow1-1/+7 2018-07-25tracing: Quiet gcc warning about maybe unused link variableSteven Rostedt (VMware)1-2/+4 2018-07-25tracing: Fix possible double free in event_enable_trigger_func()Steven Rostedt (VMware)1-1/+5 2018-07-25drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.Clint Taylor4-5/+33 2018-07-25gpu: drm: amdgpu: Replace mdelay with msleep in cik_pcie_gen3_enable()Jia-Ju Bai1-1/+1 2018-07-25drm/amdgpu/gmc9: clarify GPUVM fault error messageAlex Deucher1-1/+1 2018-07-25drm/scheduler: remove sched field from the entityNayan Deshmukh6-19/+16 2018-07-25drm/scheduler: modify API to avoid redundancyNayan Deshmukh13-42/+30 2018-07-25drm/amdgpu: reduce the number of placements for a BOChristian König2-1/+4 2018-07-25drm/amdgpu: consistenly name amdgpu_bo_ functionsChristian König10-38/+39 2018-07-25MAINTAINERS: add entry for AMD PP codeChristian König1-0/+8 2018-07-25MAINTAINERS: Add separate section for DCChristian König1-0/+8 2018-07-25MAINTAINERS: add new TTM maintainersChristian König1-1/+2 2018-07-25drm/amdgpu: expose only the first UVD instance for nowChristian König2-15/+7 2018-07-25drm/amdgpu: clean up coding style a bitChristian König1-10/+10 2018-07-25tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failureArtem Savkov1-2/+11