/* SPDX-License-Identifier: GPL-2.0 */1/*2* Cache operations3*4* Copyright (C) 2007-2009 Michal Simek <[email protected]>5* Copyright (C) 2007-2009 PetaLogix6* Copyright (C) 2003 John Williams <[email protected]>7*/89#ifndef _ASM_MICROBLAZE_CACHE_H10#define _ASM_MICROBLAZE_CACHE_H1112#include <asm/registers.h>1314#define L1_CACHE_SHIFT 515/* word-granular cache in microblaze */16#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)1718#define SMP_CACHE_BYTES L1_CACHE_BYTES1920/* MS be sure that SLAB allocates aligned objects */21#define ARCH_DMA_MINALIGN L1_CACHE_BYTES2223#define ARCH_SLAB_MINALIGN L1_CACHE_BYTES2425#endif /* _ASM_MICROBLAZE_CACHE_H */262728