summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRaju Rangoju <Raju.Rangoju@amd.com>2024-09-25 16:36:41 +0300
committerMark Brown <broonie@kernel.org>2024-09-30 02:11:54 +0300
commitd97735d42ab00e2f9ac4bf7cd374249cde9cb193 (patch)
tree2889e7bcb4622d25d69bb7ca570e61ecc3e463f7 /tools/perf/scripts/python/stackcollapse.py
parent8cd9141ad4e053d361c854cc24a18a9ca050e0a1 (diff)
downloadlinux-d97735d42ab00e2f9ac4bf7cd374249cde9cb193.tar.xz
spi: spi_amd: Optimize IO operations
Read and write the maximum number of data bytes at once, rather than byte by byte. This improves AMD SPI controller driver performance by reducing the time required to access FIFO registers. For example, with the new changes, 64 bytes of data from the FIFO queue can be read in 8 read calls (8 bytes per call) instead of 64 read calls(1 byte per call). Co-developed-by: Krishnamoorthi M <krishnamoorthi.m@amd.com> Signed-off-by: Krishnamoorthi M <krishnamoorthi.m@amd.com> Co-developed-by: Akshata MukundShetty <akshata.mukundshetty@amd.com> Signed-off-by: Akshata MukundShetty <akshata.mukundshetty@amd.com> Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com> Link: https://patch.msgid.link/20240925133644.2922359-6-Raju.Rangoju@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions