[PATCH 3/4] ARM: PL330: Fix the size of the dst_cache_ctrl field

Jassi Brar jaswinder.singh at linaro.org
Tue Nov 15 04:09:54 EST 2011


On 2 November 2011 20:00, Javi Merino <javi.merino at arm.com> wrote:
> dst_cache_ctrl affects bits 3, 1 and 0 of AWCACHE but it is a 3-bit
> field in the Channel Control Register (see Table 3-21 of the DMA-330
> Technical Reference Manual) and should be programmed as such.
>
> Signed-off-by: Javi Merino <javi.merino at arm.com>
> Cc: Jassi Brar <jassi.brar at samsung.com>
> ---
>  arch/arm/include/asm/hardware/pl330.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/include/asm/hardware/pl330.h b/arch/arm/include/asm/hardware/pl330.h
> index 575fa81..c182138 100644
> --- a/arch/arm/include/asm/hardware/pl330.h
> +++ b/arch/arm/include/asm/hardware/pl330.h
> @@ -41,7 +41,7 @@ enum pl330_dstcachectrl {
>        DCCTRL1, /* Bufferable only */
>        DCCTRL2, /* Cacheable, but do not allocate */
>        DCCTRL3, /* Cacheable and bufferable, but do not allocate */
> -       DINVALID1 = 8,
> +       DINVALID1,              /* AWCACHE = 0x1000 */
>        DINVALID2,
>        DCCTRL6, /* Cacheable write-through, allocate on writes only */
>        DCCTRL7, /* Cacheable write-back, allocate on writes only */
>
Acked-by: Jassi Brar <jassisinghbrar at gmail.com>



More information about the linux-arm-kernel mailing list