summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Koskovich <AKoskovich@pm.me>2025-12-14 19:16:18 +0000
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-01-12 02:52:31 +0100
commit36b05629226413836cfbb3fbe6689cd188bca156 (patch)
treed93fbc7d005b1cbd1a064f3bb4c4e4b712305e81 /tools/perf/scripts/python
parent8d59cf3887fbabacef53bfba473e33e8a8d9d07b (diff)
downloadlinux-36b05629226413836cfbb3fbe6689cd188bca156.tar.gz
linux-36b05629226413836cfbb3fbe6689cd188bca156.zip
power: reset: nvmem-reboot-mode: respect cell size for nvmem_cell_write
Some platforms expose reboot mode cells that are smaller than an unsigned int, in which cases lead to write failures. Read the cell first to determine actual size and only write the number of bytes the cell can hold. Fixes: 7a78a7f7695b ("power: reset: nvmem-reboot-mode: use NVMEM as reboot mode write interface") Signed-off-by: Alexander Koskovich <akoskovich@pm.me> Link: https://patch.msgid.link/20251214191529.2470580-1-akoskovich@pm.me Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions