aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKlaus Jensen <[email protected]>2022-12-13 09:58:07 +0100
committerChristoph Hellwig <[email protected]>2022-12-21 09:05:21 +0100
commitb5f96cb719d8ba220b565ddd3ba4ac0d8bcfb130 (patch)
treeb01751c12dca89b04d77382965de5deb116e356f /tools/perf/scripts/python/stackcollapse.py
parent53eab8e76667b124615a943a033cdf97c80c242a (diff)
nvme-pci: fix doorbell buffer value endianness
When using shadow doorbells, the event index and the doorbell values are written to host memory. Prior to this patch, the values written would erroneously be written in host endianness. This causes trouble on big-endian platforms. Fix this by adding missing endian conversions. This issue was noticed by Guenter while testing various big-endian platforms under QEMU[1]. A similar fix required for hw/nvme in QEMU is up for review as well[2]. [1]: https://lore.kernel.org/qemu-devel/[email protected]/ [2]: https://lore.kernel.org/qemu-devel/[email protected]/ Fixes: f9f38e33389c ("nvme: improve performance for virtual NVMe devices") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Klaus Jensen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions