diff options
| author | Valentin Caron <[email protected]> | 2024-01-12 10:53:00 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 19:04:11 -0800 |
| commit | 5d207f62cec8d6e6f0fb6f35495723bf3960daf7 (patch) | |
| tree | a54f0ffbc51476eb8150ae086d46d61e05f1bddc /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 7be985bd7cd5c6c605ec710e691620b8afb983fd (diff) | |
serial: stm32: get FIFO size from hwcfg register
Since STM32MP25, FIFO size could vary regarding the STM32MPxx version.
So we get this size from "hwcfgr1" register and compute threshold values
corresponding to the ratio given by reference manual.
As STM32MP1x, STM32MP25 and STM32H7 share the same compatible and STM32H7
doesn't have a register to get FIFO size, we force FIFO size to 16 in case
of zero read from hwcfgr1 register.
Signed-off-by: Valentin Caron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions