03 Jul, 2006

1 commit


01 Jul, 2006

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
    Remove obsolete #include
    remove obsolete swsusp_encrypt
    arch/arm26/Kconfig typos
    Documentation/IPMI typos
    Kconfig: Typos in net/sched/Kconfig
    v9fs: do not include linux/version.h
    Documentation/DocBook/mtdnand.tmpl: typo fixes
    typo fixes: specfic -> specific
    typo fixes in Documentation/networking/pktgen.txt
    typo fixes: occuring -> occurring
    typo fixes: infomation -> information
    typo fixes: disadvantadge -> disadvantage
    typo fixes: aquire -> acquire
    typo fixes: mecanism -> mechanism
    typo fixes: bandwith -> bandwidth
    fix a typo in the RTC_CLASS help text
    smb is no longer maintained

    Manually merged trivial conflict in arch/um/kernel/vmlinux.lds.S

    Linus Torvalds
     
  • Signed-off-by: Jörn Engel
    Signed-off-by: Adrian Bunk

    Jörn Engel
     

30 Jun, 2006

3 commits

  • Conflicts:

    drivers/acpi/acpi_memhotplug.c

    Len Brown
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6:
    [PATCH] i386: export memory more than 4G through /proc/iomem
    [PATCH] 64bit Resource: finally enable 64bit resource sizes
    [PATCH] 64bit Resource: convert a few remaining drivers to use resource_size_t where needed
    [PATCH] 64bit resource: change pnp core to use resource_size_t
    [PATCH] 64bit resource: change pci core and arch code to use resource_size_t
    [PATCH] 64bit resource: change resource core to use resource_size_t
    [PATCH] 64bit resource: introduce resource_size_t for the start and end of struct resource
    [PATCH] 64bit resource: fix up printks for resources in misc drivers
    [PATCH] 64bit resource: fix up printks for resources in arch and core code
    [PATCH] 64bit resource: fix up printks for resources in pcmcia drivers
    [PATCH] 64bit resource: fix up printks for resources in video drivers
    [PATCH] 64bit resource: fix up printks for resources in ide drivers
    [PATCH] 64bit resource: fix up printks for resources in mtd drivers
    [PATCH] 64bit resource: fix up printks for resources in pci core and hotplug drivers
    [PATCH] 64bit resource: fix up printks for resources in networks drivers
    [PATCH] 64bit resource: fix up printks for resources in sound drivers
    [PATCH] 64bit resource: C99 changes for struct resource declarations

    Fixed up trivial conflict in drivers/ide/pci/cmd64x.c (the printk that
    was changed by the 64-bit resources had been deleted in the meantime ;)

    Linus Torvalds
     
  • This patch-queue improves the generic IRQ layer to be truly generic, by adding
    various abstractions and features to it, without impacting existing
    functionality.

    While the queue can be best described as "fix and improve everything in the
    generic IRQ layer that we could think of", and thus it consists of many
    smaller features and lots of cleanups, the one feature that stands out most is
    the new 'irq chip' abstraction.

    The irq-chip abstraction is about describing and coding and IRQ controller
    driver by mapping its raw hardware capabilities [and quirks, if needed] in a
    straightforward way, without having to think about "IRQ flow"
    (level/edge/etc.) type of details.

    This stands in contrast with the current 'irq-type' model of genirq
    architectures, which 'mixes' raw hardware capabilities with 'flow' details.
    The patchset supports both types of irq controller designs at once, and
    converts i386 and x86_64 to the new irq-chip design.

    As a bonus side-effect of the irq-chip approach, chained interrupt controllers
    (master/slave PIC constructs, etc.) are now supported by design as well.

    The end result of this patchset intends to be simpler architecture-level code
    and more consolidation between architectures.

    We reused many bits of code and many concepts from Russell King's ARM IRQ
    layer, the merging of which was one of the motivations for this patchset.

    This patch:

    rename desc->handler to desc->chip.

    Originally i did not want to do this, because it's a big patch. But having
    both "desc->handler", "desc->handle_irq" and "action->handler" caused a
    large degree of confusion and made the code appear alot less clean than it
    truly is.

    I have also attempted a dual approach as well by introducing a
    desc->chip alias - but that just wasnt robust enough and broke
    frequently.

    So lets get over with this quickly. The conversion was done automatically
    via scripts and converts all the code in the kernel.

    This renaming patch is the first one amongst the patches, so that the
    remaining patches can stay flexible and can be merged and split up
    without having some big monolithic patch act as a merge barrier.

    [akpm@osdl.org: build fix]
    [akpm@osdl.org: another build fix]
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

28 Jun, 2006

5 commits


27 Jun, 2006

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
    typo fixes
    Clean up 'inline is not at beginning' warnings for usb storage
    Storage class should be first
    i386: Trivial typo fixes
    ixj: make ixj_set_tone_off() static
    spelling fixes
    fix paniced->panicked typos
    Spelling fixes for Documentation/atomic_ops.txt
    move acknowledgment for Mark Adler to CREDITS
    remove the bouncing email address of David Campbell

    Linus Torvalds
     
  • CC drivers/pci/msi-apic.o
    In file included from include/asm/msi.h:11,
    from drivers/pci/msi.h:71,
    from drivers/pci/msi-apic.c:8:
    include/asm/smp.h:103: error: syntax error before '->' token

    akpm: nasty. It appears to be

    static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask)

    conflicting with include/asm-x86_64/mach_apic.h's

    #define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)

    And I don't know which patch in rc4-mm1 triggered this.

    Fixing this in the .c file seems wrong.

    Including asm/smp.h instead of linux/smp.h seems wrong too. Need that
    .config.

    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Christian Kujau
     
  • acquired (aquired)
    contiguous (contigious)
    successful (succesful, succesfull)
    surprise (suprise)
    whether (weather)
    some other misspellings

    Signed-off-by: Andreas Mohr
    Signed-off-by: Adrian Bunk

    Andreas Mohr
     

22 Jun, 2006

21 commits

  • The nVidia CK804 PCI-E chipset supports the AER extended capability
    but sometimes fails to link it (with some BIOS or after a warm reboot).
    It makes the AER cap invisible to pci_find_ext_capability().

    The patch adds a quirk to set the missing bit that controls the
    linking of the capability.
    By the way, it removes the corresponding code in the myri10ge driver.

    Signed-off-by: Brice Goglin
    Signed-off-by: Loic Prylli
    Signed-off-by: Greg Kroah-Hartman

    Brice Goglin
     
  • From: Doug Thompson

    This patch adds the 'broken_parity_status' sysfs attribute file to a PCI device.
    Reading this attribute a userland program can determine if PCI device provides false
    positives (value of 1) in its generation of PCI Parity status, or not (value of 0).
    As PCI devices are found to be 'bad' in this regard, userland programs can also set
    the appropriate value (root access only) of a faulty device. This per device
    information will be used in the EDAC PCI Parity scanner code in a future patch once
    this interface becomes available.

    Signed-off-by: Doug Thompson
    Signed-off-by: Greg Kroah-Hartman

    Doug Thompson
     
  • Be more selective when running the MSI-K8T-Neo2Fir soundcard PCI quirk so
    as not to run this on hardware where it's probably not needed.

    Signed-off-by: Chris Wedgwood
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Chris Wedgwood
     
  • pci_walk_bus has a race with pci_destroy_dev. When cb is called
    in pci_walk_bus, pci_destroy_dev might unlink the dev pointed by next.
    Later on in the next loop, pointer next becomes NULL and cause
    kernel panic.

    Below patch against 2.6.17-rc4 fixes it by changing pci_bus_lock (spin_lock)
    to pci_bus_sem (rw_semaphore).

    Signed-off-by: Zhang Yanmin
    Signed-off-by: Greg Kroah-Hartman

    Zhang Yanmin
     
  • The code is really not needed.
    Roland Dreier/Greg KH removed the release_mem_region() calls that
    were the only consumers of phys_addr:
    http://www.ussg.iu.edu/hypermail/linux/kernel/0503.0/1540.html

    patch below deletes the "dead" code.

    Signed-off-by: Grant Grundler
    Signed-off-by: Greg Kroah-Hartman

    Grant Grundler
     
  • A recent Stratus x86_64 platform uses a system ioapic that is a PCI device
    located below a PCI bridge. Other platforms like this may exist.

    This patch fixes a problem wherein the kernel's PCI setup code moves
    the ioapic to an address other than that assigned by the BIOS. It simply
    adds another exclusion (which already includes classless devices and host
    bridges) to the function pbus_assign_resources_sorted so that it will not
    move the ioapic.

    If the ioapic is moved, the fixmap mapping to it is broken, so the OS should
    leave it alone.

    From: Kimball Murray
    Signed-off-by: Greg Kroah-Hartman

    Kimball Murray
     
  • In IA64 platform, msi driver does not use irq_vector variable, and in
    x86 platform LAST_DEVICE_VECTOR should one before FIRST_SYSTEM_VECTOR,
    this patch modify this.

    Signed-off-by: bibo, mao
    Signed-off-by: Greg Kroah-Hartman

    bibo,mao
     
  • Brice said the pci_save_msi_state breaks his driver in his special usage
    (not in suspend/resume), as pci_save_msi_state will disable msi mode. In
    his usage, pci_save_state will be called at runtime, and later (after
    the device operates for some time and has an error) pci_restore_state
    will be called.
    In another hand, suspend/resume needs disable msi mode, as device should
    stop working completely. This patch try to workaround this issue.
    Drivers are expected call pci_disable_device in suspend time after
    pci_save_state.

    Signed-off-by: Shaohua Li
    Signed-off-by: Greg Kroah-Hartman

    Shaohua Li
     
  • We recently ran into a problem where the e1000 device failed to
    work properly on the kexec kernel. MSI was enabled for the
    device in the main kernel when it crashed. The e1000 driver
    tried to enable MSI on the kexec kernel, but the code bailed
    early when it found that MSI was already enabled in the hardware,
    even though the software state was not properly set up in the
    kexec'd kernel. This patch fixes the problem by moving the
    early return to after making sure that the software state
    is properly initialized.

    Signed-off-by: Rajesh Shah
    Signed-off-by: Greg Kroah-Hartman

    Rajesh Shah
     
  • The PCI_BUS_FLAGS_NO_MSI bus flags does not appear do be inherited
    correctly from the amd8131 MSI quirk to its parent busses. It makes
    devices behind a bridge behind amd8131 try to enable MSI while the
    amd8131 does not support it.
    We fix this by looking at flags of all parent busses in
    pci_enable_msi() and pci_enable_msix().

    By the way, also add the missing dev->no_msi check in pci_enable_msix()

    Signed-off-by: Brice Goglin
    Signed-off-by: Greg Kroah-Hartman

    Brice Goglin
     
  • Currently, the EDAC (error detection and correction) modules that are in
    the kernel contain some features that need to be moved. After some good
    feedback on the PCI Parity detection code and interface
    (http://www.ussg.iu.edu/hypermail/linux/kernel/0603.1/0897.html) this
    patch ADDs an new attribute to the pci_dev structure: Namely the
    'broken_parity_status' bit.

    When set this indicates that the respective hardware generates false
    positives of Parity errors.

    The EDAC "blacklist" solution was inferior and will be removed in a
    future patch.

    Also in this patch is a PCI quirk.c entry for an Infiniband PCI-X card
    which generates false positive parity errors.

    I am requesting comments on this AND on the possibility of a exposing
    this 'broken_parity_status' bit to userland via the PCI device sysfs
    directory for devices. This access would allow for enabling of this
    feature on new devices and for old devices that have their drivers
    updated. (SLES 9 SP3 did this on an ATI motherboard video device). There
    is a need to update such a PCI attribute between kernel releases.

    This patch just adds a storage place for the attribute and a quirk entry
    for a known bad PCI device. PCI Parity reaper/harvestor operations are
    in EDAC itself and will be refactored to use this PCI attribute instead
    of its own mechanisms (which are currently disabled) in the future.

    Signed-off-by: Doug Thompson
    Signed-off-by: Greg Kroah-Hartman

    Doug Thompson
     
  • There were two instances of pci_acpi_init(), one in
    drivers/pci/pci-acpi.c and another in arch/i386/pci/acpi.c.
    Rename the one in pci-acpi.c and make it consistent with
    other names in the same file.

    Signed-off-by: Muthukumar R
    Signed-off-by: Greg Kroah-Hartman

    Muthu Kumar
     
  • If a device is already enabled, don't bother reenabling it.

    Signed-off-by: Kristen Carlson Accardi
    Acked-By: Arjan van de Ven
    Signed-off-by: Greg Kroah-Hartman

    Kristen Accardi
     
  • …e (Xorg) to enable devices without doing foul direct access

    This patch adds an "enable" sysfs attribute to each PCI device. When read it
    shows the "enabled-ness" of the device, but you can write a "0" into it to
    disable a device, and a "1" to enable it.

    This later is needed for X and other cases where userspace wants to enable
    the BARs on a device (typical example: to run the video bios on a secundary
    head). Right now X does all this "by hand" via bitbanging, that's just evil.
    This allows X to no longer do that but to just let the kernel do this.

    Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
    CC: Peter Jones <pjones@redhat.com>
    Acked-by: Dave Airlie <airlied@linux.ie>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    Arjan van de Ven
     
  • PCI: Add pci_assign_resource_fixed -- allow fixed address assignments

    On some embedded systems the PCI address for hotplug devices are not only
    known a priori but are required to be at a given PCI address for other
    master in the system to be able to access.

    An example of such a system would be an FPGA which is setup from user space
    after the system has booted. The FPGA may be access by DSPs in the system
    and those DSPs expect the FPGA at a fixed PCI address.

    Added pci_assign_resource_fixed() as a way to allow assignment of the PCI
    devices's BARs at fixed PCI addresses.

    Signed-off-by: Kumar Gala
    Signed-off-by: Greg Kroah-Hartman

    Kumar Gala
     
  • When we detect a 64-bit pre-set address in a BAR on a 32-bit platform,
    we disable it and treat it as if it had been unset, thus allowing the
    general address assignment code to assign a new address to it when the
    device is enabled. This can happen either if the firmware assigns
    64-bit addresses; additionally, some cards have been found "in the
    wild" which do not come out of reset with all the BAR registers set to
    zero.

    Unfortunately, the patch that implemented this tested the low part of
    the address instead of the high part of the address. This patch fixes
    that.

    Signed-off-by: Bjorn Helgaas
    Signed-off-by: H. Peter Anvin
    Signed-off-by: Greg Kroah-Hartman

    Bjorn Helgaas
     
  • [pci] Ignore pre-set 64-bit BARs on 32-bit platforms

    Currently, Linux always rejects a device which has a pre-set 64-bit
    address on a 32-bit platform. On systems which do not do PCI
    initialization in firmware, this causes some devices which don't
    correctly power up with all BARs zero to fail.

    This patch makes the kernel automatically zero out such an address
    (thus treating it as if it had not been set at all, meaning it will
    assign an address if necessary).

    I have done this only for devices, not bridges. It seems potentially
    hazardous to do for bridges.

    Signed-off-by: H. Peter Anvin
    Signed-off-by: Greg Kroah-Hartman

    H. Peter Anvin
     
  • MSI callouts for altix. Involves a fair amount of code reorg in sn irq.c
    code as well as adding some extensions to the altix PCI provider abstaction.

    Signed-off-by: Mark Maule
    Signed-off-by: Greg Kroah-Hartman

    Mark Maule
     
  • Abstract IA64_FIRST_DEVICE_VECTOR/IA64_LAST_DEVICE_VECTOR since SN platforms
    use a subset of the IA64 range. Implement this by making the above macros
    global variables which the platform can override in it setup code.

    Also add a reserve_irq_vector() routine used by SN to mark a vector's as
    in-use when that weren't allocated through assign_irq_vector().

    Signed-off-by: Mark Maule
    Signed-off-by: Greg Kroah-Hartman

    Mark Maule
     
  • Abstract portions of the MSI core for platforms that do not use standard
    APIC interrupt controllers. This is implemented through a new arch-specific
    msi setup routine, and a set of msi ops which can be set on a per platform
    basis.

    Signed-off-by: Mark Maule
    Signed-off-by: Greg Kroah-Hartman

    Mark Maule
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (30 commits)
    [PATCH] PCI Hotplug: Fix recovery path from errors during pcie_init()
    [PATCH] PCI Hotplug: fake NULL pointer dereferences in IBM Hot Plug Controller Driver
    [PATCH] shpchp: Cleanup improper info messages
    [PATCH] shpchp: Remove Unused hpc_evelnt_lock
    [PATCH] shpchp: Cleanup interrupt polling timer
    [PATCH] shpchp: Cleanup SHPC commands
    [PATCH] shpchp: Cleanup interrupt handler
    [PATCH] shpchp: Remove unnecessary hpc_ctlr_handle check
    [PATCH] pciehp: Implement get_address callback
    [PATCH] pciehp: Add missing pci_dev_put
    [PATCH] pciehp: Replace pci_find_slot() with pci_get_slot()
    [PATCH] SGI Hotplug: Incorrect power status
    [PATCH] shpchp: Create shpchpd at controller probe time
    [PATCH] shpchp: Mask Global SERR and Intr at controller release time
    [PATCH] SHPC: Fix SHPC Contoller SERR-INT Register bits access
    [PATCH] SHPC: Fix SHPC Logical Slot Register bits access
    [PATCH] SHPC: Cleanup SHPC Logical Slot Register bits access
    [PATCH] SHPC: Cleanup SHPC Logical Slot Register access
    [PATCH] SHPC: Cleanup SHPC register access
    [PATCH] pciehp: Fix programming hotplug parameters
    ...

    Linus Torvalds
     

20 Jun, 2006

5 commits