[PATCH v2 0/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD

Rasmus Villemoes rasmus.villemoes at prevas.dk
Tue Apr 13 21:38:25 CEST 2021


Back in June, I sent a patch [1] to reduce the number of WATCHDOG_RESET
calls in flush_cache() to one per 64K. Wolfgang rejected that, saying
that the threshold should be configurable.

So here's a new version which introduces a config knob. When left at
its default, the generated code is binary identical to what one gets
before these patches.

I stumbled on the CONFIG_5xx and thought I ought to make the config
knob depend on !CONFIG_5xx, but it turns out it's better to just
remove that piece of legacy, hence the first janitorial patch.

[1] https://lists.denx.de/pipermail/u-boot/2020-June/414852.html

Rasmus Villemoes (2):
  powerpc: lib: remove leftover CONFIG_5xx
  powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD

 arch/powerpc/Kconfig     |  1 +
 arch/powerpc/lib/Kconfig |  9 +++++++++
 arch/powerpc/lib/cache.c | 16 ++++++++++++----
 3 files changed, 22 insertions(+), 4 deletions(-)
 create mode 100644 arch/powerpc/lib/Kconfig

-- 
2.29.2



More information about the U-Boot mailing list