08 Mar, 2008

3 commits


07 Mar, 2008

1 commit


06 Mar, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6: (27 commits)
    [SCSI] mpt fusion: don't oops if NumPhys==0
    [SCSI] iscsi class: regression - fix races with state manipulation and blocking/unblocking
    [SCSI] qla4xxx: regression - add start scan callout
    [SCSI] qla4xxx: fix host reset dpc race
    [SCSI] tgt: fix build errors when dprintk is defined
    [SCSI] tgt: set the data length properly
    [SCSI] tgt: stop zero'ing scsi_cmnd
    [SCSI] ibmvstgt: set up scsi_host properly before __scsi_alloc_queue
    [SCSI] docbook: fix fusion source files
    [SCSI] docbook: fix scsi source file
    [SCSI] qla2xxx: Update version number to 8.02.00-k9.
    [SCSI] qla2xxx: Correct usage of inconsistent timeout values while issuing ELS commands.
    [SCSI] qla2xxx: Correct discrepancies during OVERRUN handling on FWI2-capable cards.
    [SCSI] qla2xxx: Correct needless clean-up resets during shutdown.
    [SCSI] arcmsr: update version and changelog
    [SCSI] ps3rom: disable clustering
    [SCSI] ps3rom: fix wrong resid calculation bug
    [SCSI] mvsas: fix phy sas address
    [SCSI] gdth: fix to internal commands execution
    [SCSI] gdth: bugfix for the at-exit problems
    ...

    Linus Torvalds
     

05 Mar, 2008

6 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6:
    pci: hotplug: pciehp: fix error code path in hpc_power_off_slot
    PCI: Add DECLARE_PCI_DEVICE_TABLE macro
    PCI: fix up error messages for pci_bus registering
    PCI: fix section mismatch warning in pci_scan_child_bus
    PCI: consolidate duplicated MSI enable functions
    PCI: use dev_printk in quirk messages

    Linus Torvalds
     
  • Rename Memory Controller to Memory Resource Controller. Reflect the same
    changes in the CONFIG definition for the Memory Resource Controller. Group
    together the config options for Resource Counters and Memory Resource
    Controller.

    Signed-off-by: Balbir Singh
    Cc: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Balbir Singh
     
  • Move kprobes examples from Documentation/kprobes.txt to under samples/.
    Patch originally by Randy Dunlap.

    o Updated the patch to apply on 2.6.25-rc3
    o Modified examples code to build on multiple architectures. Currently,
    the kprobe and jprobe examples code works for x86 and powerpc
    o Cleaned up unneeded #includes
    o Cleaned up Kconfig per Sam Ravnborg's suggestions to fix build break
    on archs that don't have kretprobes
    o Implemented suggestions by Mathieu Desnoyers on CONFIG_KRETPROBES
    o Included Andrew Morton's cleanup based on x86-git
    o Modified kretprobe_example to act as a arch-agnostic module to
    determine routine execution times:
    Use 'modprobe kretprobe_example func=' to determine
    execution time of func_name in nanoseconds.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Ananth N Mavinakayanahalli
    Acked-by: Mathieu Desnoyers
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ananth N Mavinakayanahalli
     
  • Add a defining fail/warn stubs for GPIO calls on platforms that
    don't support the GPIO programming interface. That includes the arch-specific
    implementation glue otherwise.

    This facilitates a new model for GPIO usage: drivers that can use GPIOs if
    they're available, but don't require them. One example of such a driver is
    NAND driver for various FreeScale chips. On platforms update with GPIO
    support, they can be used instead of a worst-case delay to verify that the
    BUSY signal is off.

    (Also includes a couple minor unrelated doc updates.)

    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     
  • The memory controller has a requirement that while writing values, we need
    to use echo -n. This patch fixes the problem and makes the UI more consistent.

    Signed-off-by: Balbir Singh
    Cc: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Balbir Singh
     
  • The definitions of struct pci_device_id arrays should generally follow
    the same pattern across the entire kernel. This macro defines this
    array as const and puts it into the __devinitconst section.

    There are currently many definitions scattered about the kernel that
    omit the __devinitdata modifier despite the documentation stating that
    it should always be there. These definitions really also should have
    been const, which wasn't possible before but has become so with the
    addition of the __devinitconst attribute.

    Furthermore, there are definitions that use "const" and __devinitdata,
    which is explicitly wrong but the compiler doesn't catch section
    mismatches if there's only one such one case in the module (which is
    often the case).

    Adding the __devinitconst modifier where there was nothing before buys
    us memory. Adding the const modifier gives the compiler a chance to do
    its thing. Changing __devinitdata to __devinitconst where it was wrong
    actually fixes some compiler errors in older (mid-release) kernels that
    were patched over by "removing" the section attribute altogether (which
    wastes memory).

    This macro makes it pretty difficult to get this definition wrong in
    the future...

    Signed-off-by: Jonas Bonn
    Signed-off-by: Greg Kroah-Hartman

    Jonas Bonn
     

04 Mar, 2008

2 commits

  • kernel-doc for block/:
    - add missing parameters
    - fix one function's parameter list (remove blank line)
    - add 2 source files to docbook for non-exported kernel-doc functions

    Signed-off-by: Randy Dunlap
    Signed-off-by: Jens Axboe

    Randy Dunlap
     
  • The fix up from Daniel Drake for replacing GFP_DMA with something
    more sensible has gone in here:

    commit 69e562c234440fb7410877b5b24f4b29ef8521d1
    Author: Daniel Drake
    Date: Wed Feb 20 13:29:05 2008 +0000

    [SCSI] arcmsr: fix message allocation

    add a change log and update the version for this.

    Signed-off-by: Nick Cheng
    Signed-off-by: James Bottomley

    Nick Cheng
     

01 Mar, 2008

2 commits

  • delay the removal of this symbol export by one more kernel release,
    giving external modules such as VirtualBox a chance to stop using it.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    ide: remove stale comments from ide-dma.c (take 2)
    ide: remove ide-tape documentation from Documentation/ide.txt
    qd65xx: remove commented out code
    ide-tape: schedule driver for removal after 6 months
    ide-disk: add missing printk() KERN_* levels
    ide: fix sparse warning about shadowing 'flags' symbol
    ide-cd: fix CD/DVD burning
    ide-cd: fix 'ireason' handling for REQ_TYPE_ATA_PC requests
    qd65xx: fix setup of QD6580 Control register
    ide: skip probing port if "hdx=noprobe" was used for both devices on it
    ide: remove redundant comment from ide_unregister()
    hpt366: fix section mismatch warnings
    ide-cd: Enable audio play quirk for Optiarc DVD RW AD-5200A drive

    Linus Torvalds
     

27 Feb, 2008

3 commits


26 Feb, 2008

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire: fix NULL pointer deref. and resource leak
    Documentation: correction to debugging-via-ohci1394
    ieee1394: sbp2: fix rescan-scsi-bus
    firewire: fw-sbp2: fix NULL pointer deref. in scsi_remove_device
    firewire: fw-sbp2: fix NULL pointer deref. in slave_alloc
    firewire: fw-sbp2: (try to) avoid I/O errors during reconnect
    firewire: fw-sbp2: enforce a retry of __scsi_add_device if bus generation changed
    firewire: fw-sbp2: sort includes
    firewire: fw-sbp2: logout and login after failed reconnect
    firewire: fw-sbp2: don't add scsi_device twice
    firewire: fw-sbp2: log bus_id at management request failures
    firewire: fw-sbp2: wait for completion of fetch agent reset
    ieee1394: sbp2: add INQUIRY delay workaround
    firewire: fw-sbp2: add INQUIRY delay workaround
    firewire: log GUID of new devices
    firewire: fw-sbp2: don't retry login or reconnect after unplug
    firewire: fix "kobject_add failed for fw* with -EEXIST"
    firewire: fw-sbp2: fix logout before login retry
    firewire: fw-sbp2: unsigned int vs. unsigned

    Linus Torvalds
     

25 Feb, 2008

1 commit


24 Feb, 2008

5 commits

  • (sorry for being offtpoic, but while experts are here...)

    A "typical" implementation of atomic_add_unless() can return 0 immediately
    after the first atomic_read() (before doing cmpxchg). In that case it doesn't
    provide any barrier semantics. See include/asm-ia64/atomic.h as an example.

    We should either change the implementation, or fix the docs.

    Signed-off-by: Oleg Nesterov
    Acked-by: Nick Piggin
    Signed-off-by: Linus Torvalds

    Oleg Nesterov
     
  • - remove trailing " Bytes"s in the demonstration
    - remove section 4.4 (feature control_type has been removed)
    - fix reference section

    Signed-off-by: Li Zefan
    Acked-by: KAMEZAWA Hiroyuki
    Acked-by: Balbir Singh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • Misc fixes and updates, make the doc consistent with current cgroup
    implementation.

    Signed-off-by: Li Zefan
    Acked-by: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • Current implementation of cpuset track N_HIGH_MEMORY instead N_MEMORY.
    (N_MEMORY doesn't exist in current implementation)

    Signed-off-by: KOSAKI Motohiro
    Acked-by: Paul Jackson
    Cc: Christoph Lameter
    Cc: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KOSAKI Motohiro
     
  • During the last step of hibernation in the "platform" mode (with the
    help of ACPI) we use the suspend code, including the devices'
    ->suspend() methods, to prepare the system for entering the ACPI S4
    system sleep state.

    But at least for some devices the operations performed by the
    ->suspend() callback in that case must be different from its operations
    during regular suspend.

    For this reason, introduce the new PM event type PM_EVENT_HIBERNATE and
    pass it to the device drivers' ->suspend() methods during the last phase
    of hibernation, so that they can distinguish this case and handle it as
    appropriate. Modify the drivers that handle PM_EVENT_SUSPEND in a
    special way and need to handle PM_EVENT_HIBERNATE in the same way.

    These changes are necessary to fix a hibernation regression related
    to the i915 driver (ref. http://lkml.org/lkml/2008/2/22/488).

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Tested-by: Jeff Chua
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

22 Feb, 2008

5 commits

  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
    hwmon: normal_i2c arrays should be const
    hwmon: New driver for Analog Devices ADT7473 sensor chip
    hwmon: (coretemp) Add Penryn CPU to coretemp
    hwmon: (coretemp) Add TjMax detection for mobile CPUs
    hwmon: (applesmc) sensors set for MacBook2
    hwmon: (thmc50) Storage class should be before const qualifier
    hwmon: (coretemp) fix section mismatch warning
    hwmon: (coretemp) Add maximum cooling temperature readout
    hwmon: (adm1026) Properly terminate sysfs groups
    hwmon: (vt8231) Update maintainer email address
    hwmon: (vt8231) Add individual alarm files
    hwmon: (via686a) Add individual alarm files
    hwmon: (smsc47m1) Add individual alarm files
    hwmon: (max1619) Add individual alarm and fault files
    hwmon: (lm92) Add individual alarm files

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (26 commits)
    PM: Make suspend_device() static
    PCI ACPI: Fix comment describing acpi_pci_choose_state
    Hibernation: Handle DEBUG_PAGEALLOC on x86
    ACPI: fix build warning
    ACPI: TSC breaks atkbd suspend
    ACPI: remove is_processor_present prototype
    acer-wmi: Add DMI match for mail LED on Acer TravelMate 4200 series
    ACPI: sparse fix, replace macro with static function
    ACPI: thinkpad-acpi: add tablet-mode reporting
    ACPI: thinkpad-acpi: minor hotkey_radio_sw fixes
    ACPI: thinkpad-acpi: improve thinkpad-acpi input device documentation
    ACPI: thinkpad-acpi: issue input events for tablet swivel events
    ACPI: thinkpad-acpi: make the video output feature optional
    ACPI: thinkpad-acpi: synchronize input device switches
    ACPI: thinkpad-acpi: always track input device open/close
    ACPI: thinkpad-acpi: trivial fix to documentation
    ACPI: thinkpad-acpi: trivial fix to module_desc typo
    intel_menlo: extract return values using PTR_ERR
    ACPI video: check for error from thermal_cooling_device_register
    ACPI thermal: extract return values using PTR_ERR
    ...

    Linus Torvalds
     
  • stable_kernel_rules: fix must already be in mainline

    Signed-off-by: Stefan Richter
    Signed-off-by: Greg Kroah-Hartman

    Stefan Richter
     
  • I keep running upstream and mm kernels and the location of the slab
    directory is different since upstream still uses /sys/slab. This patch
    makes slabinfo check /sys/slab if /sys/kernel/slab is not there. Makes
    slabinfo work on any kernel.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Christoph Lameter
     
  • Fix the UTF-8 broken encodings in the ja_JP version of stable_kernel_rules.txt

    From: Tsugikazu Shibata
    Signed-off-by: Greg Kroah-Hartman

    Tsugikazu Shibata
     

21 Feb, 2008

2 commits


20 Feb, 2008

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: (32 commits)
    x86: fix page_is_ram() thinko
    x86: fix WARN_ON() message: teach page_is_ram() about the special 4Kb bios data page
    x86: i8259A: remove redundant irq_descinitialization
    x86: fix vdso_install breaks user "make install"
    x86: change IO delay back to 0x80
    x86: lds - Use THREAD_SIZE instead of numeric constant
    x86: lds - Use PAGE_SIZE instead of numeric constant
    x86 cleanup: suspend_asm_64.S - use X86_CR4_PGE instead of numeric value
    x86: docs fixes to Documentation/i386/IO-APIC.txt
    x86: fix printout ugliness in cpu info printk
    x86: clean up csum-wrappers_64.c some more
    x86: coding style fixes in arch/x86/lib/csum-wrappers_64.c
    x86: coding style fixes in arch/x86/lib/io_64.c
    x86: exclude vsyscall files from stackprotect
    x86: add pgd_large() on 64-bit, for consistency
    x86: minor cleanup of comments in processor.h
    x86: annotate pci/common.s:pci_scan_bus_with_sysdata with __devinit
    x86: fix section mismatch in head_64.S:initial_code
    x86: fix section mismatch in srat_64.c:reserve_hotadd
    x86: fix section mismatch warning in topology.c:arch_register_cpu
    ...

    Linus Torvalds
     
  • Rectify a factoid about firewire-ohci.

    Acked-by: Ingo Molnar

    Also fix a typo spotted by Bernhard Kaindl.

    Signed-off-by: Stefan Richter

    Stefan Richter
     

19 Feb, 2008

4 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (60 commits)
    [NIU]: Bump driver version and release date.
    [NIU]: Fix BMAC alternate MAC address indexing.
    net: fix kernel-doc warnings in header files
    [IPV6]: Use BUG_ON instead of if + BUG in fib6_del_route.
    [IPV6]: dst_entry leak in ip4ip6_err. (resend)
    bluetooth: do not move child device other than rfcomm
    bluetooth: put hci dev after del conn
    [NET]: Elminate spurious print_mac() calls.
    [BLUETOOTH] hci_sysfs.c: Kill build warning.
    [NET]: Remove MAC_FMT
    net/8021q/vlan_dev.c: Use print_mac.
    [XFRM]: Fix ordering issue in xfrm_dst_hash_transfer().
    [BLUETOOTH] net/bluetooth/hci_core.c: Use time_* macros
    [IPV6]: Fix hardcoded removing of old module code
    [NETLABEL]: Move some initialization code into __init section.
    [NETLABEL]: Shrink the genl-ops registration code.
    [AX25] ax25_out: check skb for NULL in ax25_kick()
    [TCP]: Fix tcp_v4_send_synack() comment
    [IPV4]: fix alignment of IP-Config output
    Documentation: fix tcp.txt
    ...

    Linus Torvalds
     
  • Clean up spelling and grammar of IO-APIC.txt

    Signed-off-by: Nick Andrew
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Nick Andrew
     
  • This patch removes the mca-pentium boot option that was a noop.

    besides the source code cleanup factor, this saves some text as well:

    arch/x86/kernel/cpu/bugs.o:
    text data bss dec hex filename
    651 77 4 732 2dc bugs.o.before
    631 53 4 688 2b0 bugs.o.after

    Signed-off-by: Adrian Bunk
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Adrian Bunk
     
  • This driver reports voltage, temperature and fan sensor readings
    on an ADT7473 chip.

    Signed-off-by: Darrick J. Wong
    Signed-off-by: Mark M. Hoffman

    Darrick J. Wong
     

18 Feb, 2008

2 commits