summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-01-26 09:50:29 -0800
committerMark Brown <broonie@kernel.org>2026-01-30 13:53:15 +0000
commitbf4528ab28e2bf112c3a2cdef44fd13f007781cd (patch)
treebf4daa22dcc9fb82e954804451f14efec63d3ae3 /tools/perf/scripts/python/bin/task-analyzer-record
parentf5a4d7f5e32ba163cff893493ec1cbb0fd2fb0d5 (diff)
downloadkernel-bf4528ab28e2bf112c3a2cdef44fd13f007781cd.tar.gz
spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer
The curr_xfer field is read by the IRQ handler without holding the lock to check if a transfer is in progress. When clearing curr_xfer in the combined sequence transfer loop, protect it with the spinlock to prevent a race with the interrupt handler. Protect the curr_xfer clearing at the exit path of tegra_qspi_combined_seq_xfer() with the spinlock to prevent a race with the interrupt handler that reads this field. Without this protection, the IRQ handler could read a partially updated curr_xfer value, leading to NULL pointer dereference or use-after-free. Fixes: b4e002d8a7ce ("spi: tegra210-quad: Fix timeout handling") Signed-off-by: Breno Leitao <leitao@debian.org> Tested-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260126-tegra_xfer-v2-4-6d2115e4f387@debian.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
tag 'powerpc-4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds 2018-01-31Merge tag 'dma-mapping-4.16' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds 2018-01-21Merge branch 'fixes' into nextMichael Ellerman 2018-01-16powerpc: Cosmetic cleanup of cpuinfo_opBenjamin Herrenschmidt 2018-01-16powerpc: Make newline in cpuinfo unconditionalBenjamin Herrenschmidt 2018-01-16powerpc: make use of for_each_node_by_type() instead of open-coding itDmitry Torokhov 2018-01-10powerpc: rename dma_direct_ to dma_nommu_Christoph Hellwig 2018-01-11powerpc: Don't preempt_disable() in show_cpuinfo()Benjamin Herrenschmidt 2017-12-05Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier"David Gibson 2017-11-13powerpc/64s: mm_context.addr_limit is only used on hashNicholas Piggin 2017-11-10Merge branch 'fixes' into nextMichael Ellerman 2017-11-06powerpc/64s: Replace CONFIG_PPC_STD_MMU_64 with CONFIG_PPC_BOOK3S_64Michael Ellerman 2017-10-03powerpc/4xx: Fix compile error with 64K pages on 40x, 44xChristian Lamparter 2017-09-08treewide: make "nr_cpu_ids" unsignedAlexey Dobriyan 2017-08-31powerpc: Do not call ppc_md.panic in fadump panic notifierNicholas Piggin 2017-08-23powerpc: Convert to using %pOF instead of full_nameRob Herring 2017-08-16powerpc/mm/hugetlb: Add support for reserving gigantic huge pages via kernel ...Aneesh Kumar K.V 2017-07-03Merge branch 'fixes' into nextMichael Ellerman 2017-06-27powerpc: Fix /proc/cpuinfo revision for POWER9 DD2Michael Neuling 2017-06-08powerpc/mm/4k: Limit 4k page size config to 64TB virtual address spaceAneesh Kumar K.V 2017-05-12Merge tag 'powerpc-4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds 2017-05-09powerpc: Don't print cpu_spec->cpu_name if it's NULLNicholas Piggin 2017-05-08powerpc/fadump: remove dependency with CONFIG_KEXECHari Bathini 2017-04-11powerpc: Create asm/debugfs.h and move powerpc_debugfs_root thereMichael Ellerman 2017-04-01powerpc/mm: Enable mappings above 128TBAneesh Kumar K.V 2017-04-01powerpc/mm: Add addr_limit to mm_context and use it to derive max slice indexAneesh Kumar K.V 2017-02-06powerpc: Move {d,i,u}cache_bsize definitions to a common placeBenjamin Herrenschmidt 2016-12-02powerpc/iommu: Pass mm_struct to init/cleanup helpersAlexey Kardashevskiy