Re: pnpacpi : exceeded the max number of IO resources

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dave Young <hidave.darkstar@...>
Cc: Shaohua Li <shaohua.li@...>, Rene Herman <rene.herman@...>, <yakui.zhao@...>, Chris Holvenstot <cholvenstot@...>, <linux-kernel@...>, <trenn@...>, Andrew Morton <akpm@...>
Date: Wednesday, December 5, 2007 - 4:39 pm

On Monday 03 December 2007 06:15:40 pm Dave Young wrote:

I don't think we can increase PNP_MAX_PORT to 128.  Only one or two
devices need that many, so just bumping the max wastes a LOT of space.
A struct resource is seven longs, so on a 32-bit system with sixteen
PNP devices, we'd be wasting (128-24)*7*4*16 = almost 47Kbytes.

In hindsight, I should not have removed drivers/acpi/motherboard.c
until we had dynamic PNP resource tables.  We could revert that
change [1], but the driver's been gone since 2.6.21, so I don't
think it's that urgent.  It's just that we used to silently ignore
resources past the limits, and in -mm, we now print a KERN_ERR message.

So I think we should either remove the message altogether (so we're
exactly like 2.6.23 in this regard), or at least tone it down to
a KERN_WARN or something.

And we need to get Thomas' dynamic patch into -mm ASAP :-)

Bjorn

[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=5eca33...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
re: pnpacpi : exceeded the max number of IO resources, Chris Holvenstot, (Fri Nov 30, 9:14 am)
Re: pnpacpi : exceeded the max number of IO resources, Rene Herman, (Fri Nov 30, 6:22 pm)
Re: pnpacpi : exceeded the max number of IO resources, Rene Herman, (Wed Jan 9, 10:47 am)
Re: pnpacpi : exceeded the max number of IO resources, Bjorn Helgaas, (Sat Jan 19, 2:38 pm)
Re: pnpacpi : exceeded the max number of IO resources, Rene Herman, (Wed Jan 16, 4:00 am)
Re: pnpacpi : exceeded the max number of IO resources, Rene Herman, (Wed Jan 16, 9:04 am)
Re: pnpacpi : exceeded the max number of IO resources, Bjorn Helgaas, (Wed Dec 5, 4:39 pm)
Re: pnpacpi : exceeded the max number of IO resources, Chris Holvenstot, (Mon Dec 3, 6:51 pm)