Re: [PATCHv2] staging: tidspbridge: configure full L1 MMU range

From: Ramirez Luna, Omar
Date: Thu Jan 13 2011 - 20:39:31 EST


Hi,

On Wed, Jan 5, 2011 at 3:25 PM, Fernando Guzman Lugo
<fernando.lugo@xxxxxx> wrote:
> From: Guzman Lugo, Fernando <fernando.lugo@xxxxxx>
>
> IVA MMU can manage up to 4GB of address space through its page tables,
> given that it's L1 is divided into 1MB sections it requires at least
> 16KB for its table which represents 4096 entries of 32 bits each.
>
> Previously, only 1GB was being handled by setting the page table size
> to 4KB, any virtual address beyond of the L1 size used, would fall
> into memory that does not belong to L1 translation tables, leading to
> unpredictable results.
>
> So, set the L1 table size to cover the entire MMU range (4GB) whether
> is meant to be used or not.
>
> Reported-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>
> Signed-off-by: Fernando Guzman Lugo <fernando.lugo@xxxxxx>
> Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>

Nice fix, pushed to for-gkh-2.6.38 branch.

Regards,

Omar
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/