[RFC] [PATCH]:Obtain FSB ratio from model string

2007-10-25 Thread Zhao Yakui
Hi, all According to the document of 253369(intel), the ratio is undefined in MSR_FBC_REGSITER_ID. The following calculation is inappropriate. if (c->x86_model < 2) mult = msr_lo >> 27; There are two ways to fix this problem. a. use the following patch. the ratio is obtained from m

[PATCH] fujitsu-laptop: kzalloc and autoload

2007-10-25 Thread Stephen Hemminger
A couple of minor changes to the fujitsu laptop acpi driver. 1. use kzalloc. 2. add dmi aliases to get the driver to autoload. note: use both spellings since different fujtisu laptop's seem to capitialize differently. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/drivers/mi

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Bjorn Helgaas
On Thursday 25 October 2007 4:55:07 pm Thomas Renninger wrote: > On Thu, 2007-10-25 at 09:06 -0600, Bjorn Helgaas wrote: > > Isn't the real problem that we have a bunch of drivers that use some of > > the same resources, and if ACPI reserved all the right resources, all > > those drivers would brea

Re: ACPI Exception triggered by pata_amd driver in 2.6.24, is this an ACPI bug?

2007-10-25 Thread Tejun Heo
Thomas Renninger wrote: On Wed, 2007-10-24 at 19:00 +0100, Andrew wrote: Hi, This is probably nothing since there seems to be no ill effects but I thought someone should know because...well it bothers me. Heres a diff of the kernel boot log between 2.6.23 and 2.6.24: scsi4 : pata_amd scsi5

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Thomas Renninger
On Thu, 2007-10-25 at 09:06 -0600, Bjorn Helgaas wrote: > On Wednesday 24 October 2007 08:31:59 am Thomas Renninger wrote: > > In ACPI, AML can define accesses to IO ports and System Memory by > > Operation Regions. Those are not registered as done by PNPACPI using > > resource templates (and _CRS/

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Len Brown
This is one of the most imortant issues with ACPI in Linux, and I too thank you, Thomas and Jean, for your hard work seeking the right solution. 1, 2 and 3 of 5 applied to acpi-test. thanks, -Len On Wednesday 24 October 2007 10:31, Thomas Renninger wrote: > Hi, > > it seems Len's test tree and

Re: new Linux/ACPI home page

2007-10-25 Thread Rafael J. Wysocki
On Thursday, 25 October 2007 22:29, Len Brown wrote: > On Thursday 25 October 2007 15:24, Alexey Starikovskiy wrote: > > Len Brown wrote: > > > > and going away), and the DSDT databse -- which I believe > > > is also somewhat of a historical artifact. > > > DSDT database or better acpidump.out da

Re: new Linux/ACPI home page

2007-10-25 Thread Peter Clifton
On Thu, 2007-10-25 at 16:29 -0400, Len Brown wrote: > On Thursday 25 October 2007 15:24, Alexey Starikovskiy wrote: > > Len Brown wrote: > > > > and going away), and the DSDT databse -- which I believe > > > is also somewhat of a historical artifact. > > > DSDT database or better acpidump.out da

Re: [2.6 patch] acpi/battery.c: remove dead code

2007-10-25 Thread Len Brown
Applied. thanks, -len On Wednesday 24 October 2007 13:18, Alexey Starikovskiy wrote: > Adrian Bunk wrote: > > After commit f1d4661abe05d0a2c014166042d15ed8b69ae8f2 this was dead > > code. > > > > Spotted by the Coverity checker. > > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Acked. T

Re: [2.6 patch] acpi/ec.c: fix use-after-free

2007-10-25 Thread Len Brown
Applied. thanks, -Len On Wednesday 24 October 2007 13:30, Alexey Starikovskiy wrote: > Adrian Bunk wrote: > > On Wed, Oct 24, 2007 at 09:15:18PM +0400, Alexey Starikovskiy wrote: > >> Adrian, > >> > >> commit 30c08574da0ead1a47797ce028218ce5b2de61c7 can not introduce > >> use-after-free. > >> >

Re: new Linux/ACPI home page

2007-10-25 Thread Len Brown
On Thursday 25 October 2007 15:24, Alexey Starikovskiy wrote: > Len Brown wrote: > > and going away), and the DSDT databse -- which I believe > > is also somewhat of a historical artifact. > DSDT database or better acpidump.out database might be very useful, > if could be searched for particular

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Andrew Morton
On Thu, 25 Oct 2007 15:51:35 +0200 Jean Delvare <[EMAIL PROTECTED]> wrote: > On Wed, 24 Oct 2007 20:57:23 -0700, Andrew Morton wrote: > > On Wed, 24 Oct 2007 16:31:59 +0200 Thomas Renninger <[EMAIL PROTECTED]> > > wrote: > > > > > it seems Len's test tree and Linus tree diverged a bit, at least

Re: new Linux/ACPI home page

2007-10-25 Thread Alexey Starikovskiy
Len Brown wrote: > and going away), and the DSDT databse -- which I believe > is also somewhat of a historical artifact. DSDT database or better acpidump.out database might be very useful, if could be searched for particular feature -- absence of EC, use of SBS, etc. Alex. - To unsubscribe from th

new Linux/ACPI home page

2007-10-25 Thread Len Brown
The home page for the Linux/ACPI project is moving here: http://www.lesswatts.org/projects/acpi/ (Thank you to the lesswatts project for supplying webmaster and hosting resources for us:-) I conjured up most of the content -- so please send any feedback on content to me. Don't sweat the format

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Jean Delvare
Hi Mark, On Thu, 25 Oct 2007 08:04:38 -0400, Mark M. Hoffman wrote: > Hi Thomas: > > I recently told someone in private that ACPI vs. hwmon conflicts are the > biggest open problems for the hwmon subsystem. Thank you (and Jean) for > doing this. > > * Thomas Renninger <[EMAIL PROTECTED]> [2007-

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Bjorn Helgaas
On Wednesday 24 October 2007 08:31:59 am Thomas Renninger wrote: > In ACPI, AML can define accesses to IO ports and System Memory by > Operation Regions. Those are not registered as done by PNPACPI using > resource templates (and _CRS/_SRS methods). > The IO ports and System Memory regions may get

Re: [Fwd: [PATCH 3/5] Export acpi_check_resource_conflict]

2007-10-25 Thread Thomas Renninger
On Thu, 2007-10-25 at 15:48 +0200, Jean Delvare wrote: > Hi Andrew, > > On Wed, 24 Oct 2007 20:53:47 -0700, Andrew Morton wrote: > > On Wed, 24 Oct 2007 16:33:07 +0200 Thomas Renninger <[EMAIL PROTECTED]> > > wrote: > > > > > From: Thomas Renninger <[EMAIL PROTECTED]> > > > To: linux-acpi > > >

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Jean Delvare
On Wed, 24 Oct 2007 20:57:23 -0700, Andrew Morton wrote: > On Wed, 24 Oct 2007 16:31:59 +0200 Thomas Renninger <[EMAIL PROTECTED]> wrote: > > > it seems Len's test tree and Linus tree diverged a bit, at least with > > this patch set things do not apply cleanly. > > > > Therefore I post these for

Re: [Fwd: [PATCH 3/5] Export acpi_check_resource_conflict]

2007-10-25 Thread Jean Delvare
Hi Andrew, On Wed, 24 Oct 2007 20:53:47 -0700, Andrew Morton wrote: > On Wed, 24 Oct 2007 16:33:07 +0200 Thomas Renninger <[EMAIL PROTECTED]> wrote: > > > From: Thomas Renninger <[EMAIL PROTECTED]> > > To: linux-acpi > > Cc: linux-kernel <[EMAIL PROTECTED]>, Len Brown <[EMAIL PROTECTED]>, Andrew

Re: Resume problems

2007-10-25 Thread Gabriel C
Rafael J. Wysocki wrote: >> >> After all I think all this problems may be some who ACPI related >> but the question is why they get triggered by Suspend/Hibernation. > > They certainly are ACPI-related, because the only difference between level 4 > and level 3 suspend testing is that some global

Re: [PATCH 0/5] Detect hwmon and i2c bus drivers interfering with ACPI Operation Region resources

2007-10-25 Thread Mark M. Hoffman
Hi Thomas: I recently told someone in private that ACPI vs. hwmon conflicts are the biggest open problems for the hwmon subsystem. Thank you (and Jean) for doing this. * Thomas Renninger <[EMAIL PROTECTED]> [2007-10-24 16:31:59 +0200]: > Hi, > > it seems Len's test tree and Linus tree diverged

Re: ACPI Exception triggered by pata_amd driver in 2.6.24, is this an ACPI bug?

2007-10-25 Thread Thomas Renninger
On Wed, 2007-10-24 at 19:00 +0100, Andrew wrote: > Hi, > > This is probably nothing since there seems to be no ill effects > but I thought someone should know because...well it bothers me. > > Heres a diff of the kernel boot log between 2.6.23 and 2.6.24: > > scsi4 : pata_amd > scsi5 : pata_am

Re: 2.6.24-rc1 acpi battery driver -> sysfs interface does not update correctly

2007-10-25 Thread Ash Milsted
On 25/10/2007, Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: > Ash Milsted wrote: > > On 25/10/2007, Ash Milsted <[EMAIL PROTECTED]> wrote: > >> On 24/10/2007, Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: > >>> Ash Milsted wrote: > On 24/10/2007, Alexey Starikovskiy <[EMAIL PROTECTED]> wrot