Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756629AbYAQUil (ORCPT ); Thu, 17 Jan 2008 15:38:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752759AbYAQUib (ORCPT ); Thu, 17 Jan 2008 15:38:31 -0500 Received: from g1t0027.austin.hp.com ([15.216.28.34]:5510 "EHLO g1t0027.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752473AbYAQUia (ORCPT ); Thu, 17 Jan 2008 15:38:30 -0500 From: Bjorn Helgaas To: Jean Delvare Subject: [Bug 9514] it87 probe failure in 2.6.24-rc -- what now? Date: Thu, 17 Jan 2008 13:38:57 -0700 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: bugme-daemon@bugzilla.kernel.org, "Shaohua Li" , "Mike Houston" , "Adrian Bunk" , "Elvis Pranskevichus" , "Mark M. Hoffman" , "Adam Belay" , "Zhao Yakui" , "Thomas Renninger" , lenb@kernel.org, Robert Hancock , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org, linux-acpi@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801171339.00887.bjorn.helgaas@hp.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2252 Lines: 47 Where are we with this problem? (http://bugzilla.kernel.org/show_bug.cgi?id=9514) I think (correct me if I'm misremembering), we started reserving more motherboard resources, and then we started seeing conflicts between some of those resources and something it87 needs. We can't fix this by reserving fewer motherboard resources. We really want to reserve *all* the motherboard resources to prevent conflicts. We could fiddle with the PNP system driver to make it ignore resources that overlap other resources (http://lkml.org/lkml/2007/12/9/186). The system device has 0x290-0x29f and 0x290-0x294 ranges, and this patch ignores the second. I'm reluctant to do this because it just seems like a hack in the system driver. Also, Mike Houston found that Windows lists both, and I think we should do the same (http://lkml.org/lkml/2007/12/9/170). The second option I see is to use my patch (http://bugzilla.kernel.org/attachment.cgi?id=14267&action=view) to make it87 request only the ports it uses. Jean rightly believes a platform device should reflect all the ports a chip decodes, and my patch goes the other direction. But in an ACPI system, the BIOS has the responsibility of listing all the address space that is in use, so I don't think we really should *have* platform devices unless they come from ACPI. Since we don't know how to get the it87 functionality the "correct" way (i.e., via some ACPI device), we have to kludge things a bit, and I think a reasonable start is to rely on ACPI to tell us what address space is in use and change the it87 driver to request only the ports it uses. Whatever we do, it'd be nice to have a fix in 2.6.24, and I think my patch is the least evil for now. Possibly the situation could actually be improved slightly by removing the platform device stuff from it87 altogether, at least for ACPI systems, though I think this is a post-2.6.24 question. Jean, you own the it87 driver, so do you want to chime in? Any other possibilities for a 2.6.24 fix? -- 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/