powerpc32: memcpy/memset: only use dcbz once cache is enabled
Status from this message: Applied to powerpc fixes, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesApplied
- v3 posting 2/21 patch 5 repliesSuperseded
- v3 posting 1/21 patch 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 5 replies | Superseded | |
| v1 | 1 patch | 3 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | powerpc32: memcpy: only use dcbz once cache is enabledarch/ arch/ | +8 | 1 reply | |
| 2/2 | powerpc32: memset: only use dcbz once cache is enabledarch/ arch/ | +9 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] powerpc32: memcpy/memset: only use dcbz once cache is enabled
memcpy() and memset() use instruction dcbz to speed up copy by not wasting time loading cache lines with data that will be overwritten. Some platform like mpc52xx do no have cache active at startup and can therefore not use memcpy(). Allthough no part of the code explicitly uses memcpy() and memset(), GCC makes calls to them.
Christophe Leroy (2):
powerpc32: memcpy: only use dcbz once cache is enabled
powerpc32: memset: only use dcbz once cache is enabled
arch/powerpc/kernel/setup_32.c | 6 ++++++ arch/powerpc/lib/copy_32.S | 11 +++++++++++ 2 files changed, 17 insertions(+)
Signature · 1 line
2.1.0