All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: "Alec H. Peterson" <ahp@hilander.com>
Cc: linux-kernel@vger.kernel.org, Dominik Brodowski <linux@brodo.de>,
	netdev@oss.sgi.com
Subject: Re: PCI memory reservation failure - 2.4/2.6
Date: Wed, 12 May 2004 23:07:29 +0200	[thread overview]
Message-ID: <40A29211.2010707@colorfullife.com> (raw)
In-Reply-To: <BDD74A21E0B47FEAC3AB8A10@[192.168.0.100]>

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


  reply	other threads:[~2004-05-12 21:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 13:07 PCI memory reservation failure - 2.4/2.6 Alec H. Peterson
2004-05-12 21:07 ` Manfred Spraul [this message]
2004-05-12 21:35   ` Alec H. Peterson
2004-05-15 19:34     ` Manfred Spraul
2004-05-17 13:49       ` Alec H. Peterson
  -- strict thread matches above, loose matches on Subject: below --
2004-05-08 14:30 Alec H. Peterson
     [not found] ` <200405081542.39712.s0348365@sms.ed.ac.uk>
2004-05-08 14:50   ` Alec H. Peterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40A29211.2010707@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=ahp@hilander.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@brodo.de \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.