Re: [PATCHv2] sisfb: limit POST memory test according to PCI resource length
From: Paul Mundt
Date: Wed Nov 10 2010 - 06:27:37 EST
On Wed, Nov 10, 2010 at 01:04:19PM +0200, Aaro Koskinen wrote:
> If the POST memory test fails, the driver may access illegal
> memory areas. Instead of hard coding the maximum size, set it
> according to the PCI resource length (an additional check is needed in
> sisfb_post_map_vram() to ensure it's big enough). DRAM sizing will later
> adjust video_size to the correct value.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
> Cc: Thomas Winischhofer <thomas@xxxxxxxxxxxxxxxx>
> ---
>
> v2: Add a check to sisfb_post_map_vram().
>
Queued for .37, thanks.
--
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/