lkml.org 
[lkml]   [2004]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI memory reservation failure - 2.4/2.6
Alec H. Peterson wrote:

> + #if 1
> + if (!(type & IORESOURCE_IO) && (((end - start) <
> BRIDGE_SIZE_MIN) ||
> + (start & (end - start))))
> + {
> + printk(KERN_INFO "yenta %s: Preassigned resource start
> %lx end %lx too small or not aligned.\n", socket->dev->slot_name,
> start, end);
> + res->start = res->end = 0;
> + }

I'm not sure if this is the right approach - what if a bios
intentionally assigns a small area? It's dangerous to override the BIOS
setting.
I'd prefer a kernel command line parameter / module parameter / dmi
based override instead of an unconditional override based on the minimum
size.
I'll think about it.

--
Manfred

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

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.056 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site