29 Aug, 2009

1 commit

  • Linux/ACPI core files using internal.h all PREFIX "ACPI: ",
    however, not all ACPI drivers use/want it -- and they
    should not have to #undef PREFIX to define their own.

    Add GPL commment to internal.h while we are there.

    This does not change any actual console output,
    asside from a whitespace fix.

    Signed-off-by: Len Brown

    Len Brown
     

24 Jun, 2009

1 commit


18 Jun, 2009

2 commits

  • There is no need to pass a segment/bus tuple to this API, as the callsite
    always has a struct pci_bus. We can derive segment/bus from the
    struct pci_bus, so let's take this opportunit to simplify the API and
    make life easier for the callers.

    Signed-off-by: Alex Chiang
    Acked-by: Bjorn Helgaas
    Signed-off-by: Len Brown

    Alexander Chiang
     
  • A PCI domain cannot change as you descend down subordinate buses, which
    makes the 'segment' argument to acpi_pci_irq_add_prt() useless.

    Change the interface to take a struct pci_bus *, from whence we can derive
    the bus number and segment. Reducing the number of arguments makes life
    simpler for callers.

    Signed-off-by: Alex Chiang
    Acked-by: Bjorn Helgaas
    Signed-off-by: Len Brown

    Alexander Chiang
     

28 Apr, 2009

1 commit

  • We want to use dev_to_node() later on, to be aware of the 'home node'
    of the GSI in question.

    [ Impact: cleanup, prepare the IRQ code to be more NUMA aware ]

    Signed-off-by: Yinghai Lu
    Acked-by: Len Brown
    Cc: Andrew Morton
    Cc: Suresh Siddha
    Cc: "Eric W. Biederman"
    Cc: Rusty Russell
    Cc: Len Brown
    Cc: Bjorn Helgaas
    Cc: Tony Luck
    Cc: linux-acpi@vger.kernel.org
    Cc: linux-ia64@vger.kernel.org
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Yinghai Lu
     

05 Apr, 2009

1 commit


04 Apr, 2009

1 commit


17 Mar, 2009

1 commit


31 Dec, 2008

20 commits


17 Jul, 2008

1 commit

  • Convert printks to use dev_printk(). The most obvious change will
    be messages like this:

    -ACPI: PCI Interrupt 0000:00:04.0[A] -> GSI 31 (level, low) -> IRQ 31
    +cciss 0000:00:04.0: PCI INT A -> GSI 31 (level, low) -> IRQ 31

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Len Brown
    Signed-off-by: Andi Kleen

    Bjorn Helgaas
     

26 Mar, 2008

1 commit

  • This fixes the builtin RTL8139 NIC on the Medion MD9580-F laptop. The
    BIOS reports the interrupt routing incorrectly. I recently added a
    quirk to work around this, and this patch fixes a typo in the quirk.

    We pad every ACPI pathname component to four characters, so ".ISA." will
    never match anything. We need ".ISA_." instead.

    Thank you Johann-Nikolaus Andreae
    for patiently testing this patch.

    See http://bugzilla.kernel.org/show_bug.cgi?id=4773

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     

12 Mar, 2008

1 commit

  • This patch works around incorrect _PRT (PCI interrupt routing)
    information from firmware. This does not fix any regressions
    and can wait for the next kernel release.

    On the Medion MD9580-F laptop, the BIOS says the builtin RTL8139
    NIC interrupt at 00:09.0[A] is connected to \_SB.PCI0.ISA.LNKA, but
    it's really connected to \_SB.PCI0.ISA.LNKB. Before this patch,
    the workaround was to use "pci=routeirq". More details at
    http://bugzilla.kernel.org/show_bug.cgi?id=4773.

    On the Dell OptiPlex GX1, the BIOS says the PCI slot interrupt
    00:0d[A] is connected to LNKB, but it's really connected to LNKA.
    Before this patch, the workaround was to use "pci=routeirq".
    Pierre Ossman tested a previous version of this patch and confirmed
    that it fixed the problem. More details at
    http://bugzilla.kernel.org/show_bug.cgi?id=5044.

    On the HP t5710 thin client, the BIOS says the builtin Radeon
    video interrupt at 01:00[A] is connected to LNK1, but it's really
    connected to LNK3. The previous workaround was to use a custom
    DSDT. I tested this patch and verified that it fixes the problem.
    More details at http://bugzilla.kernel.org/show_bug.cgi?id=10138.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Len Brown

    Bjorn Helgaas
     

07 Feb, 2008

3 commits

  • Conflicts:

    drivers/acpi/scan.c
    include/linux/acpi.h

    Signed-off-by: Len Brown

    Len Brown
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global code static:
    - drivers/acpi/bay.c:dev_attr_eject
    - drivers/acpi/bay.c:dev_attr_present
    - drivers/acpi/dock.c:dev_attr_docked
    - drivers/acpi/dock.c:dev_attr_flags
    - drivers/acpi/dock.c:dev_attr_uid
    - drivers/acpi/dock.c:dev_attr_undock
    - drivers/acpi/pci_bind.c:acpi_pci_unbind()
    - drivers/acpi/pci_link.c:acpi_link_lock
    - drivers/acpi/sbs.c:acpi_sbs_callback()
    - drivers/acpi/sbshc.c:acpi_smbus_transaction()
    - drivers/acpi/sleep/main.c:acpi_sleep_prepare()
    - #if 0 the following unused global functions:
    - drivers/acpi/numa.c:acpi_unmap_pxm_to_node()
    - remove the following unused EXPORT_SYMBOL's:
    - acpi_register_gsi
    - acpi_unregister_gsi
    - acpi_strict
    - acpi_bus_receive_event
    - register_acpi_bus_type
    - unregister_acpi_bus_type
    - acpi_os_printf
    - acpi_os_sleep
    - acpi_os_stall
    - acpi_os_read_pci_configuration
    - acpi_os_create_semaphore
    - acpi_os_delete_semaphore
    - acpi_os_wait_semaphore
    - acpi_os_signal_semaphore
    - acpi_os_signal
    - acpi_pci_irq_enable
    - acpi_get_pxm

    Signed-off-by: Adrian Bunk
    Acked-by: Alexey Starikovskiy
    Signed-off-by: Len Brown

    Adrian Bunk
     
  • Signed-off-by: Matthias Kaehlcke
    Signed-off-by: Andrew Morton
    Signed-off-by: Len Brown

    Matthias Kaehlcke
     

11 Jan, 2008

1 commit

  • When PCI IDE controller works in legacy mode and no PRT entry is found
    in ACPI PRT table, OSPM will neither read the irq number from the IDE
    PCI configuration space nor call the function of acpi_register_gsi to
    register gsi.

    http://bugzilla.kernel.org/show_bug.cgi?id=5637

    Signed-off-by: Alan Cox
    Signed-off-by: Zhao Yakui
    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Alan Cox