cache_llc.h 475 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2016 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0
  5. * https://spdx.org/licenses
  6. */
  7. #ifndef _CACHE_LLC_H_
  8. #define _CACHE_LLC_H_
  9. /* Armada-7K/8K last level cache */
  10. #define MVEBU_A8K_REGS_BASE_MSB 0xf000
  11. #define LLC_BASE_ADDR 0x8000
  12. #define LLC_CACHE_SYNC 0x700
  13. #define LLC_CACHE_SYNC_COMPLETE 0x730
  14. #define LLC_FLUSH_BY_WAY 0x7fc
  15. #define LLC_WAY_MASK 0xffffffff
  16. #define LLC_CACHE_SYNC_MASK 0x1
  17. #endif /* _CACHE_LLC_H_ */