Re: [PATCHv2] sisfb: limit POST memory test according to PCI resource length
From: Paul Mundt <hidden>
Date: 2010-11-10 11:27:30
Also in:
lkml
From: Paul Mundt <hidden>
Date: 2010-11-10 11:27:30
Also in:
lkml
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@iki.fi> Cc: Thomas Winischhofer <thomas@winischhofer.net> --- v2: Add a check to sisfb_post_map_vram().
Queued for .37, thanks.