lkml.org 
[lkml]   [2008]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86, pci-hotplug, calgary / rio: fix EBDA ioremap()

* Arjan van de Ven <arjan@linux.intel.com> wrote:

>>>
>>> mapping the EBDA is rather ... un-nice from that driver, so i guess
>>> you check does the right thing in flagging possible crap.
>>
>> it does:
>>
>> addr: 0x9f800
>> end: 0xaf5e7
>> p->start: 0x9f800
>> p->end: 0x9ffff
>>
>> resources are laid out like this:
>>
>> 0009f800-0009ffff : reserved
>> 000a0000-000bffff : Video RAM area
>>
>> so the driver over-maps into the Video RAM...
>
> ... and makes that uncachable (while it probably was WC before)

ah, neat angle, i did not consider that. One more entry into the '10
good reasons why ioremap-ing RAM is bad' list.

Ingo


\
 
 \ /
  Last update: 2008-09-27 18:39    [W:0.042 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site