Re: -mm: pnp-do-not-stop-start-devices-in-suspend-resume-path.patch breaks resuming isapnp cards

2008-01-12 Thread Bjorn Helgaas
27;t really need the pnp_stop_dev() which the above mentioned patch > also removes but with the pnp_start_dev() restored it seems pnp_stop_dev() > should also stay. Bjorn Helgaas should decide -- currently the patch as > you have it breaks drivers though. Could you drop it? Yes, please drop pnp

Re: -mm: pnp-do-not-stop-start-devices-in-suspend-resume-path.patch breaks resuming isapnp cards

2008-01-14 Thread Bjorn Helgaas
On Saturday 12 January 2008 11:13:35 pm Rene Herman wrote: > ... And, now that I have your attention, while it's > not important to the issue anymore with the tests removed as the submitted > patch did, do you have an opinion on (include/linux/pnp.h): > > /* pnp driver flags */ > #define PNP_DRI

[patch 0/2] serial: explicitly request ttyS0-3 for COM1-4

2008-01-16 Thread Bjorn Helgaas
When 8250_pnp discovers COM ports, we only get the correct ttyS names by accident -- we rely on serial8250_isa_init_ports(), which discovers the COM ports earlier using the addresses in SERIAL_PORT_DFNS. These two patches remove the dependency on SERIAL_PORT_DFNS by explicitly requesting the desir

[patch 1/2] 8250: add serial8250_register_port_at() for requesting specific ttyS lines

2008-01-16 Thread Bjorn Helgaas
Add an interface for registering a new UART with a specific ttyS name. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: work5/include/linux/serial_8250.h === --- work5.orig/include/linux/serial_8250.h 2008-01-15

[patch 2/2] 8250_pnp: register x86 COM ports at the conventional ttyS names

2008-01-16 Thread Bjorn Helgaas
ff-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: work5/drivers/serial/8250_pnp.c === --- work5.orig/drivers/serial/8250_pnp.c2008-01-16 09:29:33.0 -0700 +++ work5/drivers/serial/8250_pnp.c 2008-01-16 09:51:0

Re: -mm: pnp-do-not-stop-start-devices-in-suspend-resume-path.patch breaks resuming isapnp cards

2008-01-16 Thread Bjorn Helgaas
On Tuesday 15 January 2008 12:51:35 am Jaroslav Kysela wrote: > On Mon, 14 Jan 2008, Bjorn Helgaas wrote: > > On Saturday 12 January 2008 11:13:35 pm Rene Herman wrote: > > > ... And, now that I have your attention, while it's > > > not important to the issue anymo

Re: [PATCH] ia64 aliasing-test: fix gcc warnings on non-ia64

2008-01-16 Thread Bjorn Helgaas
ap <[EMAIL PROTECTED]> Acked-by: Bjorn Helgaas <[EMAIL PROTECTED]> Thanks, Randy. > --- > Documentation/ia64/aliasing-test.c | 15 +-- > 1 file changed, 9 insertions(+), 6 deletions(-) > > --- linux-2.6.24-rc7.orig/Documentation/ia64/aliasing-test.c &

Re: [patch 2/2] 8250_pnp: register x86 COM ports at the conventional ttyS names

2008-01-16 Thread Bjorn Helgaas
On Wednesday 16 January 2008 11:44:37 am H. Peter Anvin wrote: > Bjorn Helgaas wrote: > > x86 users expect COM1-COM4 ports at the conventional ioport addresses > > to be named ttyS0-ttyS3. For PNP devices, the BIOS determines the > > order we discover them, so we might disc

Re: [patch 0/2] serial: explicitly request ttyS0-3 for COM1-4

2008-01-16 Thread Bjorn Helgaas
On Wednesday 16 January 2008 11:39:34 am Russell King wrote: > On Wed, Jan 16, 2008 at 10:05:41AM -0700, Bjorn Helgaas wrote: > > When 8250_pnp discovers COM ports, we only get the correct ttyS names > > by accident -- we rely on serial8250_isa_init_ports(), which discovers &g

Re: [patch 0/2] serial: explicitly request ttyS0-3 for COM1-4

2008-01-17 Thread Bjorn Helgaas
On Wednesday 16 January 2008 01:14:38 pm Russell King wrote: > On Wed, Jan 16, 2008 at 12:59:27PM -0700, Bjorn Helgaas wrote: > > On Wednesday 16 January 2008 11:39:34 am Russell King wrote: > > > On Wed, Jan 16, 2008 at 10:05:41AM -0700, Bjorn Helgaas wrote: > > > &g

Re: [patch 0/2] serial: explicitly request ttyS0-3 for COM1-4

2008-01-17 Thread Bjorn Helgaas
On Thursday 17 January 2008 09:16:51 am Russell King wrote: > On Thu, Jan 17, 2008 at 09:07:29AM -0700, Bjorn Helgaas wrote: > > On Wednesday 16 January 2008 01:14:38 pm Russell King wrote: > > > On Wed, Jan 16, 2008 at 12:59:27PM -0700, Bjorn Helgaas wrote: > > > > O

[Bug 9514] it87 probe failure in 2.6.24-rc -- what now?

2008-01-17 Thread Bjorn Helgaas
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 reserv

Re: [lm-sensors] 2.6.24-rc4 hwmon it87 probe fails

2007-12-17 Thread Bjorn Helgaas
On Sunday 16 December 2007 06:59:39 pm Shaohua Li wrote: > On Sun, 2007-12-09 at 23:02 -0500, Mike Houston wrote: > > On Mon, 10 Dec 2007 10:31:27 +0800 > > Shaohua Li <[EMAIL PROTECTED]> wrote: > > > This should exist in previous kernel (before we remove acpi > > > motherboard driver) too. Basical

[patch 2/3] PCI: use dev_printk in quirk messages

2007-12-17 Thread bjorn . helgaas
device or subordinate bus Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> --- drivers/pci/quirks.c | 110 +++--- drivers/usb/host/pci-quirks.c | 13 +--- 2 files changed, 56 insertions(+),

[patch 1/3] PCI: print quirk name in debug messages

2007-12-17 Thread bjorn . helgaas
style used in do_initcalls() and pnp_fixup_device(). Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: w/drivers/pci/quirks.c === --- w.orig/drivers/pci/quirks.c 2007-12-17 14:09:01.0 -0700 +++ w/drivers/pci/qu

[patch 3/3] PCI: use dev_printk in x86 quirk messages

2007-12-17 Thread bjorn . helgaas
Convert quirk printks to dev_printk(). Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> --- arch/x86/kernel/quirks.c | 42 ++ arch/x86/pci/fixup.c | 22 +++--- 2 files changed, 33 insertions(+), 31 deletions(-) Index: w/ar

[patch 0/3] use dev_printk in PCI quirks

2007-12-17 Thread bjorn . helgaas
No functional changes here; these only use dev_printk when possible. In a few cases, I tweaked message wordings to make them more consistent. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vg

Re: PCI resource problems caused by improper address rounding

2007-12-18 Thread Bjorn Helgaas
On Tuesday 18 December 2007 02:09:15 pm Linus Torvalds wrote: > > On Tue, 18 Dec 2007, Richard Henderson wrote: > > > > I've added dmesg, /proc/iomem, and lspci -v output to that bug. > > > > Basically, we have > > > > c000-cfff : free > > ddf0-dfef : PCI Bus #04 > >

Re: [lm-sensors] 2.6.24-rc4 hwmon it87 probe fails

2007-12-19 Thread Bjorn Helgaas
On Sunday 09 December 2007 09:02:11 pm Mike Houston wrote: > On Mon, 10 Dec 2007 10:31:27 +0800 > Shaohua Li <[EMAIL PROTECTED]> wrote: > > This should exist in previous kernel (before we remove acpi > > motherboard driver) too. Basically it's a broken BIOS. Could below > > patch work around it? >

Re: [lm-sensors] 2.6.24-rc4 hwmon it87 probe fails

2007-12-19 Thread Bjorn Helgaas
On Tuesday 18 December 2007 10:59:18 am Jean Delvare wrote: > The real cause is pretty clear here: broken BIOS. In an ideal world we > would ask the manufacturer for a fixed BIOS and they would give that to > us, unfortunately my experience is that it won't happen. So, unless we > accept that idea

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-15 Thread Bjorn Helgaas
On Sun, 2005-03-13 at 16:14 +0100, Grzegorz Kulewski wrote: > On Fri, 11 Mar 2005, Bjorn Helgaas wrote: > > So here's another patch to try (revert the first one, then apply this). > > > > = drivers/acpi/pci_irq.c 1.37 vs edited = > > --- 1.37/drivers/acpi/p

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-16 Thread Bjorn Helgaas
On Tue, 2005-03-15 at 16:02 -0700, Zwane Mwaikambo wrote: > On Tue, 15 Mar 2005, Bjorn Helgaas wrote: > > That seems awfully suspicious to me. So the following is > > probably safe as far as it goes, but not sufficient for all > > cases. > > VIA bridges allow

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-17 Thread Bjorn Helgaas
On Thu, 2005-03-17 at 09:33 +0800, Li Shaohua wrote: > The comments in previous quirk said it's required only in PIC mode. ... > I feel we concerned too much. Changing the interrupt line isn't harmful, > right? Linux actually ignored interrupt line. Maybe just a > PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-18 Thread Bjorn Helgaas
On Fri, 2005-03-18 at 09:09 +0800, Li Shaohua wrote: > On Fri, 2005-03-18 at 02:08, Bjorn Helgaas wrote: > > On Thu, 2005-03-17 at 09:33 +0800, Li Shaohua wrote: > > > The comments in previous quirk said it's required only in PIC mode. > > ... > > > I fe

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-21 Thread Bjorn Helgaas
On Fri, 2005-03-18 at 11:07 -0700, Bjorn Helgaas wrote: > OK. Try this one for size. It differs from what's currently in > the tree in these ways: > > - It's a quirk, so we don't have to clutter acpi_pci_irq_enable() > and pirq_enable_irq() with Vi

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-22 Thread Bjorn Helgaas
> Your patch applied with some problems: > > patching file arch/i386/pci/irq.c > Hunk #2 succeeded at 1081 with fuzz 2 (offset 1 line). > patching file drivers/acpi/pci_irq.c > patching file drivers/pci/quirks.c > Hunk #1 succeeded at 678 (offset -5 lines). These indicate minor differences in thes

[PATCH] Netmos parallel/serial/combo support

2005-03-22 Thread Bjorn Helgaas
IAL to OTHER to prevent serial driver from claiming them. 8250: Add init hook to discover the number of serial ports present. This prevents us from poking at unused BARs. pci_ids: Add Netmos 9745, 9845, and sort. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> diff -u -r 2.6.12-

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-22 Thread Bjorn Helgaas
> On Wed, 2005-03-23 at 04:57, Bjorn Helgaas wrote: >> Great. Shaohua, where should we go from here? Do you have more >> concerns with the current patch, or should we ask Andrew to put it >> in -mm? If you do have concerns, would you like to propose an >> alternate p

[PATCH] pci_raw_ops should use unsigned args

2005-02-03 Thread Bjorn Helgaas
- arch/x86_64/pci/mmconfig.c |8 -- include/linux/pci.h|6 +++-- 7 files changed, 51 insertions(+), 46 deletions(-) Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> = arch/i386/pci/direct.c 1.19 vs edited = --- 1.19/arch/i386/pci/direct.c 2004-0

[PATCH] de214x.c uses uninitialized pci_dev->irq

2005-02-07 Thread Bjorn Helgaas
Don't use pci_dev->irq until after pci_enable_device(). Andy Esten reported that his NIC stopped working in 2.6.10 because of this problem. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> = drivers/net/tulip/de2104x.c 1.33 vs edited = --- 1.33/drivers/net/tulip/de2104x.c

[PATCH] [SERIAL] add TP560 data/fax/modem support

2005-02-07 Thread Bjorn Helgaas
from /proc/pci and stuff it into an unused port using setserial. That doesn't work reliably anymore because pci_enable_device() is never called, so the IRQ may not be enabled. Thanks to Evan Clarke for reporting and helping debug this problem. Signed-off-by: Bjorn Helgaas <[EM

Re: [PATCH] [SERIAL] add TP560 data/fax/modem support

2005-02-07 Thread Bjorn Helgaas
On Mon, 2005-02-07 at 15:12 -0500, linux-os wrote: > I thought somebody promised to add a pci_route_irq(dev) or some > such so that the device didn't have to be enabled before > the IRQ was correct. > > I first reported this bad IRQ problem back in December of 2004. > Has the new function been adde

Re: [PATCH] [SERIAL] add TP560 data/fax/modem support

2005-02-09 Thread Bjorn Helgaas
On Tue, 2005-02-08 at 07:25 -0500, linux-os wrote: > On Mon, 7 Feb 2005, Bjorn Helgaas wrote: > > > On Mon, 2005-02-07 at 15:12 -0500, linux-os wrote: > >> I thought somebody promised to add a pci_route_irq(dev) or some > >> such so that the device didn't hav

[PATCH] tone down pci=routeirq message

2005-02-11 Thread Bjorn Helgaas
Tone down the message about using "pci=routeirq". I do still get a few reports, but most are now prompted just by the fact that my email address appears in dmesg in an "error-type" message. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> = arch/i386/pci/acpi.c 1.1

[PATCH] Remove unused get_resource_list() declaration

2005-02-18 Thread Bjorn Helgaas
Remove unused get_resource_list() declaration. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> = include/linux/ioport.h 1.15 vs edited = --- 1.15/include/linux/ioport.h 2004-10-07 20:11:55 -06:00 +++ edited/include/linux/ioport.h 2005-02-15 15:27:49 -07:00 @@ -91,8

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-11 Thread Bjorn Helgaas
On Fri, 2005-03-11 at 00:08 +0100, Grzegorz Kulewski wrote: > Anything new about it? > > Can I provide more usefull info? Can you check to see whether there are any BIOS updates available for your box? It looks to me like your USB controllers are wired to IRQ9, and that's how the BIOS is leaving

Re: AGP bogosities

2005-03-11 Thread Bjorn Helgaas
On Fri, 2005-03-11 at 08:39 -0800, Jesse Barnes wrote: > On Thursday, March 10, 2005 8:30 pm, Benjamin Herrenschmidt wrote: > > On Thu, 2005-03-10 at 20:02 -0800, Jesse Barnes wrote: > > > On Thursday, March 10, 2005 6:38 pm, Benjamin Herrenschmidt wrote: > > > > That one is even worse... from what

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-11 Thread Bjorn Helgaas
On Fri, 2005-03-11 at 20:36 +0100, Grzegorz Kulewski wrote: > On Fri, 11 Mar 2005, Bjorn Helgaas wrote: > > Can you check to see whether there are any BIOS updates available > > for your box? It looks to me like your USB controllers are wired > > to IRQ9, and that's ho

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-11 Thread Bjorn Helgaas
Can you do an "lspci -vvn"? I'm looking at quirk_via_irqpic() in 2.6.9, which is what printed this: > >PCI: Via IRQ fixup for :00:07.2, from 9 to 10 > >PCI: Via IRQ fixup for :00:07.3, from 9 to 10 but it looks like it should only run for PCI_DEVICE_ID_VIA_82C586_2, PCI_DEVICE_ID

Re: AGP bogosities

2005-03-11 Thread Bjorn Helgaas
On Sat, 2005-03-12 at 09:43 +1100, Paul Mackerras wrote: > On PPC/PPC64 machines, the host bridges generally do not appear as PCI > devices either. *However*, the AGP spec requires a set of registers > in PCI config space for controlling the target (host) side of the AGP > bus. In other words you

Re: [ACPI] Re: Fw: Anybody? 2.6.11 (stable and -rc) ACPI breaks USB

2005-03-24 Thread Bjorn Helgaas
4. In PIC mode, some Via devices update IRQ routing when PCI_INTERRUPT_LINE is written. So if we've updated the device's IRQ, we also need to update PCI_INTERRUPT_LINE. This also restores the mysterious "udelay(15)" before the update because we don't know whether it's neces

Re: [PATCH] Netmos parallel/serial/combo support

2005-03-24 Thread Bjorn Helgaas
On Thu, 2005-03-24 at 23:40 +0300, Michael Tokarev wrote: > So, do you expect 9[78]35 cards to work? ;) Yes, I expect them all to work. Thanks very much for testing yours! > With this patch applied, my 9835 card now works when loading 8250_pci > module. But things does not completely work still

Re: Interesting tidbit: NetMos 9835 card, IRQ, and ACPI

2005-03-25 Thread Bjorn Helgaas
On Thursday 24 March 2005 12:54 pm, Michael Tokarev wrote: > Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled > ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > ACPI: PCI interrupt :01:00.0[A] -> GSI 18 (level, low) -> IRQ 193 > ttyS4 at I/O 0xa400 (irq = 193) is a 16550A > tt

Re: [PATCH 0/5][RFC] Physical PCI slot objects

2007-11-13 Thread Bjorn Helgaas
On Tuesday 13 November 2007 02:30:49 pm Greg KH wrote: > On Tue, Nov 13, 2007 at 01:36:45PM -0700, Alex Chiang wrote: > > * Greg KH <[EMAIL PROTECTED]>: > > > IBM sells a program that does this for server rooms. It's > > > probably part of some Tivoli package somewhere, sorry I don't > > > remembe

Re: [PATCH 0/5][RFC] Physical PCI slot objects

2007-11-14 Thread Bjorn Helgaas
On Tuesday 13 November 2007 03:59:36 pm Kristen Carlson Accardi wrote: > On Tue, 13 Nov 2007 12:26:32 -0800 Greg KH <[EMAIL PROTECTED]> wrote: > > And isn't there some other tool that dumps the raw ACPI tables? I > > thought the acpi developers used it all the time when debugging things > > with u

Re: [PATCH]: PNP: Increase the value of PNP constant

2007-11-16 Thread Bjorn Helgaas
e patch, I think enlarging the tables is safer. The space analysis above was based on increasing PNP_MAX_PORT from 8 to 32 and PNP_MAX_IRQ from 2 to 4 (total increase of 26 resources per device). Shaohua's patch adds 16 port and 8 mem resources for an increase of 24, so will use slightly less

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 >

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

2007-10-26 Thread Bjorn Helgaas
On Friday 26 October 2007 4:45:20 am Thomas Renninger wrote: > On Thu, 2007-10-25 at 21:59 -0600, Bjorn Helgaas wrote: > > On Thursday 25 October 2007 4:55:07 pm Thomas Renninger wrote: > > > Also the BIOS developers seem to choose the regions in a very dump way > > >

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

2007-10-28 Thread Bjorn Helgaas
On Saturday 27 October 2007 9:09:47 am Matthew Garrett wrote: > On Thu, Oct 25, 2007 at 09:06:22AM -0600, Bjorn Helgaas wrote: > > But we really *should* reserve things used by opregions, shouldn't > > we? After all, the whole point of resource reservation is to prevent > &

[RFC] [PATCH] PNP: request ioport and iomem resources used by active devices

2007-10-29 Thread Bjorn Helgaas
PNP reports 8042 controller data register 0061-0061 : 00:03 <-- PNP reports AT-style speaker 0064-0064 : 00:04 <-- PNP reports 8042 controller status register 0070-0073 : 00:06 0070-0071 : rtc Signed-off-by: Bjorn Helgaas <[EMAIL PROTEC

PNP: request ioport and iomem resources used by active devices

2007-11-01 Thread Bjorn Helgaas
s 8042 controller data register 0061-0061 : 00:03 <-- PNP reports AT-style speaker 0064-0064 : 00:04 <-- PNP reports 8042 controller status register 0070-0073 : 00:06 0070-0071 : rtc Signed-off-by: Bjorn Helgaas <[EMAIL PROTEC

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-24 Thread Bjorn Helgaas
On Tuesday 24 July 2007 08:28:05 am Sébastien Dugué wrote: > your commit 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26 broke the serial console > on my box. Adding 'legacy_serial.force=1' to my boot param as a workaround > solves the issue, but this may be hiding bugs in Linux PnP support or > in my fi

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-24 Thread Bjorn Helgaas
On Tuesday 24 July 2007 12:17:36 pm Maciej W. Rozycki wrote: > On Tue, 24 Jul 2007, Jeff Garzik wrote: > > > It seems clear from this report that we cannot, should not, trust BIOS for > > something (a) so simple and (b) that has been working for over a decade. > > And (c) something BIOS writers

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-24 Thread Bjorn Helgaas
On Tuesday 24 July 2007 02:13:49 pm Jeff Garzik wrote: > Bjorn Helgaas wrote: > > - Linux enumerates CPUs with the MADT; I think Windows uses the ACPI > > namespace. Sometimes there are multiple MADTs, and sometimes Linux > > uses the wrong one. > > Colo

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-24 Thread Bjorn Helgaas
On Tuesday 24 July 2007 02:40:42 pm Jeff Garzik wrote: > Please go back and fix the original issue! > > If you are having problems caused by double-probing, the fix is NOT to > remove one the probes. The fix is to ensure use of proper resource > reservation, and in some cases, add co-driver-awa

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-24 Thread Bjorn Helgaas
On Tuesday 24 July 2007 02:33:05 pm Yinghai Lu wrote: > I have a system that has the same problem, and it turns out that FW > missed PNP0501 is DSDT for uart. and add that it into DSDT works well. Is this FW that has been shipped? Can you give any more details, like DMI info and a copy of the DSD

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Tuesday 24 July 2007 10:27:26 pm Yinghai Lu wrote: > On 7/24/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > On Tuesday 24 July 2007 02:33:05 pm Yinghai Lu wrote: > > > I have a system that has the same problem, and it turns out that FW > > > missed PNP0501

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Wednesday 25 July 2007 01:45:54 am Sébastien Dugué wrote: > looks like the commit was dropped, nevertheless here is some more info > to try and understand what may be going on so it may benefit the posterity ;-) Thank you very much. Your machine does indeed describe both UARTs in ACPI, and t

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Wednesday 25 July 2007 09:48:08 am Alan Cox wrote: > That isn't the problem with the IR stuff. In many cases the user wants > the port to be showing up as a serial port for SIR usage. We need a clean > automatic SIR/FIR switching for them. It has nothing to do with whether > the ACPI data is tru

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Wednesday 25 July 2007 09:57:47 am Yinghai Lu wrote: > On 7/25/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > On Tuesday 24 July 2007 10:27:26 pm Yinghai Lu wrote: > > > or we can make legacy_serial.force=1 is default at this point. > > > > At which point

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Wednesday 25 July 2007 07:32:53 am Sébastien Dugué wrote: > On Wed, 25 Jul 2007 07:16:44 -0600 Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > The _DDN is a "DOS device name", and the _UID is a "logical device ID > > that does not change across re

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-25 Thread Bjorn Helgaas
On Wednesday 25 July 2007 08:21:06 pm Shaohua Li wrote: > On Wed, 2007-07-25 at 17:37 -0700, Yinghai Lu wrote: > > On 7/25/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > Yinghai, you mentioned the same issue on boxes with multiple root > > > bridges. Any chanc

Re: [1/2] 2.6.23-rc3: known regressions with patches: 8250 claims nonexisting device blocking IO port

2007-08-29 Thread Bjorn Helgaas
y : ? > Handled-By : Bjorn Helgaas <[EMAIL PROTECTED]> > Patch : http://lkml.org/lkml/2007/8/21/291 > Status : patch was suggested The following patch fixes this regression (confirmed by Andrey). Please queue it for 2.6.23. I'll come back late

Re: Fwd: PNP: Lindent all source files

2007-07-27 Thread Bjorn Helgaas
On Thursday 26 July 2007 05:05:54 pm Simon Arlott wrote: > Does anyone ever review what Lindent does? There's a fix up patch after this > but it missed this at the very top of the patch and the labels. I think you answered your own question. Did I miss some things in the fixup patch? Yes; unfor

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-27 Thread Bjorn Helgaas
On Wednesday 25 July 2007 08:21:06 pm Shaohua Li wrote: > On Wed, 2007-07-25 at 17:37 -0700, Yinghai Lu wrote: > > On 7/25/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > > On Wednesday 25 July 2007 07:32:53 am Sébastien Dugué wrote: > > > > On Wed, 25 J

[patch] x86, serial: always probe for legacy COM ports

2007-07-27 Thread Bjorn Helgaas
eports COM2 first, then COM1 in the ACPI namespace. 8250_pnp currently registers devices in namespace order. On this machine, that makes ttyS0=COM2 and ttyS1=COM1, the reverse of what we want. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: w/arch/i386/kernel/leg

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-27 Thread Bjorn Helgaas
On Friday 27 July 2007 12:38:56 pm Yinghai Lu wrote: > On 7/27/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > On Wednesday 25 July 2007 08:21:06 pm Shaohua Li wrote: > > That doesn't help with Yinghai's PCI root ordering issue, of course. > > I could >

Re: [patch] x86, serial: always probe for legacy COM ports

2007-07-27 Thread Bjorn Helgaas
On Friday 27 July 2007 12:05:51 pm Jeff Garzik wrote: > Bjorn Helgaas wrote: > > Andrew, if you drop > > revert-x86-serial-convert-legacy-com-ports-to-platform-devices.patch > > and apply this, we should have the previous behavior. I think the > > conversion t

Re: [patch] x86, serial: always probe for legacy COM ports

2007-07-27 Thread Bjorn Helgaas
On Friday 27 July 2007 02:21:55 pm Jeff Garzik wrote: > Bjorn Helgaas wrote: > > On Friday 27 July 2007 12:05:51 pm Jeff Garzik wrote: > >> This is still incomplete, as repeatedly stated. Here is the email, again. > > > OK, uncle! I'll work on your helpful advi

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-27 Thread Bjorn Helgaas
On Friday 27 July 2007 02:35:30 pm Yinghai Lu wrote: > On 7/27/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > Can you give a more detailed example? Maybe that would help me understand > > the problem you're seeing. > > > > And why is udev not suffic

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-27 Thread Bjorn Helgaas
On Friday 27 July 2007 07:28:09 am [EMAIL PROTECTED] wrote: > Looks like the problematic code is in tpm_tis.c tpm_tis_init() near here: > > for (i = 3; i < 16 && chip->vendor.irq == 0; i++) { > iowrite8(i, chip->vendor.iobase + >

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-30 Thread Bjorn Helgaas
On Friday 27 July 2007 04:43:13 pm Bjorn Helgaas wrote: > On Friday 27 July 2007 07:28:09 am [EMAIL PROTECTED] wrote: > > Looks like the problematic code is in tpm_tis.c tpm_tis_init() near here: > > > > for (i = 3; i < 16 &am

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-31 Thread Bjorn Helgaas
On Tuesday 31 July 2007 12:48:29 pm [EMAIL PROTECTED] wrote: > Scratch that. When I wrote the first note, I was at home, and the TPM chip > did its PNP thing and became 00:0e. I failed to notice that in my reply, > I was at work, and the printer port on the docking station became 00:0e and > the

Re: 2.6.23-rc1-mm1 - seems OK on Dell Latitude D820, except for tpm_tis

2007-07-31 Thread Bjorn Helgaas
On Tuesday 31 July 2007 03:31:43 pm [EMAIL PROTECTED] wrote: > On Tue, 31 Jul 2007 14:01:21 MDT, Bjorn Helgaas said: > > So, the BIOS is telling us that at least as currently configured, the > > TPM can't use interrupts. /sys/devices/pnp0/00:0f/options should have > &

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-08-13 Thread Bjorn Helgaas
On Saturday 11 August 2007 12:39:35 pm Andrey Borzenkov wrote: > This stopped working again in 2.6.23-rc. In 2.6.22 we decided to disable PnP > by default; it is apparently enabled now and fails to activte IrDA > completely. So it moves to post-2.6.22 regressions :) > > let me know which informa

Re: Serial ports rearranged in 2.6.22?

2007-08-13 Thread Bjorn Helgaas
On Saturday 11 August 2007 09:49:25 am Michael Mauch wrote: > Yinghai Lu wrote: > > > On 8/10/07, Michael Mauch <[EMAIL PROTECTED]> wrote: > > > until 2.6.21, I had the normal assignments for ttyS0 and ttyS1: > > > > > > 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > > > 00:09: ttyS0 at I/O 0x3

Re: Serial ports rearranged in 2.6.22?

2007-08-13 Thread Bjorn Helgaas
On Monday 13 August 2007 04:28:00 pm Michael Mauch wrote: > Bjorn Helgaas wrote: > > > On Saturday 11 August 2007 09:49:25 am Michael Mauch wrote: > > > Yinghai Lu wrote: > > > > > > > On 8/10/07, Michael Mauch <[EMAIL PROTECTED]> wrote: > >

Re: [PATCH] (for review and testing first) Implement dynamic allocated array for pnp port/io resources

2007-08-15 Thread Bjorn Helgaas
On Wednesday 15 August 2007 08:03:24 am Thomas Renninger wrote: > This is not a real feature, more a fix. > Without, PNP IO ports might not get considered. This mainly affects ACPI > system board devices with HID PNP0C02 (at least I saw this on my and > some other machines, but it may affect more..

PCMCIA driver resource allocation

2007-10-19 Thread Bjorn Helgaas
Question 1: Does the linux-pcmcia list still exist? It's in MAINTAINERS: PCMCIA SUBSYSTEM P: Linux PCMCIA Team L: [EMAIL PROTECTED] L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia T: git kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git S:

Re: PCMCIA driver resource allocation

2007-10-22 Thread Bjorn Helgaas
On Friday 19 October 2007 04:40:22 pm Russell King wrote: > On Fri, Oct 19, 2007 at 10:51:51AM -0600, Bjorn Helgaas wrote: > > + priv->io_resource = request_region(link->io.BasePort1, > > + link->io.NumPorts1, DRIVER_NAME); > &

Re: [HP ProLiant WatchDog driver] hpwdt HP WatchDog Patch

2007-10-23 Thread Bjorn Helgaas
On Monday 22 October 2007 05:09:51 pm [EMAIL PROTECTED] wrote: > +config HP_WATCHDOG > +tristate "Hewlett-Packard watchdog" > +depends on WATCHDOG && X86 I wouldn't be surprised if this device someday turned up on non-x86 systems. I know there's some x86 firmware stuff in there th

[patch 0/2] RTC fixes

2007-10-23 Thread Bjorn Helgaas
Here are two fixes: - Minor bugfix on error path for mips. - If resource request fails, fall back to requesting only the ioports we actually use. This is not a problem yet, but it will be if the PNP core claims resources before drivers attach. -- - To unsubscribe from this list: send

[patch 2/2] rtc: fallback to requesting only the ports we actually use

2007-10-23 Thread Bjorn Helgaas
0070-0073 : 00:06 <-- PNP device 00:06 responds to 70-73 0070-0071 : rtc <-- RTC driver uses only 70-71 instead of the current: 0070-0077 : rtc <-- RTC_IO_EXTENT == 8 Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> In

[patch 1/2] rtc: release correct region in error path

2007-10-23 Thread Bjorn Helgaas
The misc_register() error path always released an I/O port region, even if the region was memory-mapped (only mips uses memory-mapped RTC, as far as I can see). Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: w/drivers/char

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: [RFC] [PATCH] PNP: request ioport and iomem resources used by active devices

2007-11-07 Thread Bjorn Helgaas
On Wednesday 07 November 2007 06:22:48 am Maciej W. Rozycki wrote: > On Mon, 29 Oct 2007, Bjorn Helgaas wrote: > > > -001f : dma1<-- built-in resource includes 2 > > controllers > > -000f : 00:02 <-- PNP r

Re: [PATCH] EFI x86: pass firmware call parameters on the stack

2007-01-30 Thread Bjorn Helgaas
On Tuesday 30 January 2007 12:01, Frédéric Riss wrote: > When calling into an EFI firmware, the parameters need to be passed on > the stack. The recent change to use -mregparm=3 breaks x86 EFI support. > This patch is needed to allow the new Intel-based Macs to suspend to ram > when run in EFI mode

workqueue deadlock

2006-12-06 Thread Bjorn Helgaas
I'm seeing a workqueue-related deadlock. This is on an ia64 box running SLES10, but it looks like the same problem should be possible in current upstream on any architecture. Here are the two tasks involved: events/4: schedule __down __lock_cpu_hotplug lock_cpu_hotplug flus

Re: Sony Vaio VGN-SZ340 (was Re: sonypc with Sony Vaio VGN-SZ1VP)

2007-01-05 Thread Bjorn Helgaas
On Friday 05 January 2007 11:10, Len Brown wrote: > On Friday 05 January 2007 12:24, MoRpHeUz wrote: > > > What workaround are you using? > > > > This one: http://bugzilla.kernel.org/show_bug.cgi?id=7465 > > Ah yes, the duplicate MADT issue is clearly a BIOS bug. > It is possible that we can twe

Re: KDB blindly reads keyboard port

2006-11-16 Thread Bjorn Helgaas
On Wednesday 15 November 2006 21:02, Keith Owens wrote: > I implemented this in my kdb tree, but it has a very nasty side effect, > it stops you from debugging that part of the boot process between kdb > startup and when the i8042 is probed. KDB starts up very early so we > can debug the boot proc

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-19 Thread Bjorn Helgaas
On Saturday 16 June 2007 10:38:56 am Andrey Borzenkov wrote: > it appears that quirk is not even applied because PnP tells us device is not > active: > > [ 571.118483] pnp: PnP ACPI init > [ 571.118611] ACPI: bus type pnp registered > [ 571.158828] quirk_smc_enable: active = 0 > [ 571.182090]

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-10 Thread Bjorn Helgaas
On Sunday 10 June 2007 02:03:03 am Andrey Borzenkov wrote: > > Can you set CONFIG_ACPI_DEBUG=y, make it so smsc-ircc2 isn't loaded > > automatically, and try this (along with my previous patch to swap > > FIR and SIR): > > > > # dmesg -n 8 > > # echo 0x200 > /sys/module/acpi/parameters/debug_le

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-10 Thread Bjorn Helgaas
On Sunday 10 June 2007 12:47:07 am Andrey Borzenkov wrote: > > Maybe we should also run the legacy probe when the PnP one fails. I > > don't know how the preconfiguration stuff will behave with the device > > being PnP enabled, but with your patch Andrey will still need to > > modprobe smsc-ircc wi

Re: [KJ] [PATCH] drivers/acpi: sizeof/sizeof array size calculations replaced with ARRAY_SIZE

2007-06-10 Thread Bjorn Helgaas
On Sunday 10 June 2007 04:57:12 am Pavel Machek wrote: > > > > > Any reason to not just replace ACPI_RSD_TABLE_SIZE with ARRAY_SIZE? > > > > > > Probably because ARRAY_SIZE doesn't exist in ACPICA, which is > > > where this code comes from... > > > > > > When we change syntax in ACPICA files in L

Re: [KJ] [PATCH] drivers/acpi: sizeof/sizeof array size calculations replaced with ARRAY_SIZE

2007-06-12 Thread Bjorn Helgaas
On Tuesday 12 June 2007 12:41:05 pm Andi Drebes wrote: > First off: sorry for my late answer. > > > I agree the ACPI CA is a nuisance. But in this case, we're making > > a mountain out of a molehill. I suspect that if somebody spent the > > 15 minutes to make the ARRAY_SIZE patch work in both th

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-14 Thread Bjorn Helgaas
uot;, we do the legacy device probe, including manual bridge preconfiguration, as before. Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]> Index: w/drivers/net/irda/smsc-ircc2.c === --- w.orig/drivers/net/irda/smsc-ircc2.c 2007-06-06 1

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-15 Thread Bjorn Helgaas
On Friday 15 June 2007 07:44:41 am Andrey Borzenkov wrote: > On Friday 15 June 2007, Bjorn Helgaas wrote: > > Hi Andrey, > > > > If you have a chance, can you try the attached two patches? The > > smsc-preconfig patch makes the HP nx5000 work, and the smsc-quirk > &

Re: [PATCH] Enable legacy support for serial ports when SERIAL_8250_PNP is disabled

2007-07-09 Thread Bjorn Helgaas
On Saturday 07 July 2007 05:33:00 pm Luca Tettamanti wrote: > your patch: > > commit 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26 > Author: Bjorn Helgaas <[EMAIL PROTECTED]> > Date: Tue May 8 00:36:07 2007 -0700 > > x86, serial: convert legacy COM ports to pla

Re: [PATCH] Enable legacy support for serial ports when SERIAL_8250_PNP is disabled

2007-07-09 Thread Bjorn Helgaas
On Monday 09 July 2007 11:30:59 am Luca wrote: > On 7/9/07, Bjorn Helgaas <[EMAIL PROTECTED]> wrote: > > On Saturday 07 July 2007 05:33:00 pm Luca Tettamanti wrote: > > > your patch: > > > > > > commit 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26 >

Re: [PATCH] serial: do not add port that is not initialized

2007-07-11 Thread Bjorn Helgaas
On Wednesday 11 July 2007 01:17:42 am Russell King wrote: > On Tue, Jul 10, 2007 at 05:03:35PM -0700, Yinghai Lu wrote: > > [PATCH] serial: do not add port that is not initialized > > > > if the port is not initialized with correct iobase, and membase, we don't > > need to add that port. > > for x

<    5   6   7   8   9   10   11   12   13   14   >