b/arch/powerpc/include/asm/fsl_pamu.h
new file mode 100644
@@ -0,0 +1,193 @@
> +
> +#define CONFIG_NUM_PAMU 16
> +#define NUM_PPAACT_ENTRIES 512
> +#define NUM_SPAACT_ENTRIES 128
>
Aren't these values variable, depending on the platform?
> +
> +/* PAMU_OFFSET to the next pamu space in ccsr */
> +#define PAMU_OFFSET 0x1000
> +
> +#define PAMU_TABLE_ALIGNMENT 0x00001000
> +
> +#define PAMU_PAGE_SHIFT 12
> +#define PAMU_PAGE_SIZE 4096U
> +
> +#define PAACE_M_COHERENCE_REQ 0x01
> +
> +#define PAACE_DA_HOST_CR 0x80
> +#define PAACE_DA_HOST_CR_SHIFT 7
> +
> +#define PAACE_AF_PT 0x00000002
> +#define PAACE_AF_PT_SHIFT 1
> +
> +#define PAACE_PT_PRIMARY 0x0
> +#define PAACE_PT_SECONDARY 0x1
> +
> +#define PPAACE_AF_WBAL 0xfffff000
> +#define PPAACE_AF_WBAL_SHIFT 12
> +
> +#define OME_NUMBER_ENTRIES 16 /* based on P4080 2.0 silicon
> plan */
>
...Is this P4080-specific?
Andy