Catalin Marinas
4ea57ce428
microblaze: move the ARCH_{DMA,SLAB}_MINALIGN definitions to asm/cache.h
...
The microblaze architecture defines ARCH_DMA_MINALIGN in asm/page.h. Move
it to asm/cache.h to allow a generic ARCH_DMA_MINALIGN definition in
linux/cache.h without redefine errors/warnings.
While at it, also move ARCH_SLAB_MINALIGN to asm/cache.h for
consistency.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected] >
Cc: Michal Simek <[email protected] >
Cc: Christophe Leroy <[email protected] >
Cc: John Paul Adrian Glaubitz <[email protected] >
Cc: kernel test robot <[email protected] >
Cc: Michael Ellerman <[email protected] >
Cc: Nicholas Piggin <[email protected] >
Cc: Rich Felker <[email protected] >
Cc: Vlastimil Babka <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
2023-06-19 16:19:24 -07:00
Michal Simek
4726dd6082
microblaze: Convert headers to SPDX license
...
Covert all headers to SPDX.
Signed-off-by: Michal Simek <[email protected] >
Reviewed-by: Stefan Asserhall <[email protected] >
Reviewed-by: Arnd Bergmann <[email protected] >
2020-02-25 12:33:19 +01:00
Michal Simek
598acab44d
microblaze: Define correct L1_CACHE_SHIFT value
...
Microblaze cacheline length is configurable and current cpu
uses two cacheline length 4 and 8.
We are taking conservative maximum value to be sure that cacheline
alignment is satisfied for all cases.
Here is the calculation for cacheline lenght 8 32bit=4Byte values
which is corresponding with SHIFT 5.
Signed-off-by: Michal Simek <[email protected] >
2010-05-06 11:21:59 +02:00
Michal Simek
a1f55113ca
microblaze: Move cache macro from cache.h to cacheflush.h
...
Signed-off-by: Michal Simek <[email protected] >
2009-12-14 08:45:00 +01:00
Michal Simek
ceb8944b3a
microblaze: Remove uncache shadow condition
...
Uncached shadow feature is not supported in current
kernel code that's why I removed it.
Signed-off-by: Michal Simek <[email protected] >
2009-04-23 16:09:16 +02:00
Michal Simek
8beb8503bf
microblaze_v8: cache support
...
Reviewed-by: Ingo Molnar <[email protected] >
Acked-by: Stephen Neuendorffer <[email protected] >
Acked-by: John Linn <[email protected] >
Acked-by: John Williams <[email protected] >
Signed-off-by: Michal Simek <[email protected] >
2009-03-27 14:25:16 +01:00