28 Apr, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (40 commits)
    [SCSI] jazz_esp, sgiwd93, sni_53c710, sun3x_esp: fix platform driver hotplug/coldplug
    [SCSI] aic7xxx: add const
    [SCSI] aic7xxx: add static
    [SCSI] aic7xxx: Update _shipped files
    [SCSI] aic7xxx: teach aicasm to not emit unused debug code/data
    [SCSI] qla2xxx: Update version number to 8.02.01-k2.
    [SCSI] qla2xxx: Correct regression in relogin code.
    [SCSI] qla2xxx: Correct misc. endian and byte-ordering issues.
    [SCSI] qla2xxx: make qla2x00_issue_iocb_timeout() static
    [SCSI] qla2xxx: qla_os.c, make 2 functions static
    [SCSI] qla2xxx: Re-register FDMI information after a LIP.
    [SCSI] qla2xxx: Correct SRB usage-after-completion/free issues.
    [SCSI] qla2xxx: Correct ISP84XX verify-chip response handling.
    [SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests.
    [SCSI] qla2xxx: Collapse RISC-RAM retrieval code during a firmware-dump.
    [SCSI] m68k: new mac_esp scsi driver
    [SCSI] zfcp: Add some statistics provided by the FCP adapter to the sysfs
    [SCSI] zfcp: Print some messages only during ERP
    [SCSI] zfcp: Wait for free SBAL during exchange config
    [SCSI] scsi_transport_fc: fc_user_scan correction
    ...

    Linus Torvalds
     

23 Apr, 2008

5 commits


22 Apr, 2008

3 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
    DOC: A couple corrections and clarifications in USB doc.
    Generate a slightly more informative error msg for bad HZ
    fix typo "is" -> "if" in Makefile
    ext*: spelling fix prefered -> preferred
    DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
    KEYS: Fix the comment to match the file name in rxrpc-type.h.
    RAID: remove trailing space from printk line
    DMA engine: typo fixes
    Remove unused MAX_NODES_SHIFT
    MAINTAINERS: Clarify access to OCFS2 development mailing list.
    V4L: Storage class should be before const qualifier (sn9c102)
    V4L: Storage class should be before const qualifier
    sonypi: Storage class should be before const qualifier
    intel_menlow: Storage class should be before const qualifier
    DVB: Storage class should be before const qualifier
    arm: Storage class should be before const qualifier
    ALSA: Storage class should be before const qualifier
    acpi: Storage class should be before const qualifier
    firmware_sample_driver.c: fix coding style
    MAINTAINERS: Add ati_remote2 driver
    ...

    Fixed up trivial conflicts in firmware_sample_driver.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
    SCSI: convert struct class_device to struct device
    DRM: remove unused dev_class
    IB: rename "dev" to "srp_dev" in srp_host structure
    IB: convert struct class_device to struct device
    memstick: convert struct class_device to struct device
    driver core: replace remaining __FUNCTION__ occurrences
    sysfs: refill attribute buffer when reading from offset 0
    PM: Remove destroy_suspended_device()
    Firmware: add iSCSI iBFT Support
    PM: Remove legacy PM (fix)
    Kobject: Replace list_for_each() with list_for_each_entry().
    SYSFS: Explicitly include required header file slab.h.
    Driver core: make device_is_registered() work for class devices
    PM: Convert wakeup flag accessors to inline functions
    PM: Make wakeup flags available whenever CONFIG_PM is set
    PM: Fix misuse of wakeup flag accessors in serial core
    Driver core: Call device_pm_add() after bus_add_device() in device_add()
    PM: Handle device registrations during suspend/resume
    block: send disk "change" event for rescan_partitions()
    sysdev: detect multiple driver registrations
    ...

    Fixed trivial conflict in include/linux/memory.h due to semaphore header
    file change (made irrelevant by the change to mutex).

    Linus Torvalds
     
  • The C99 specification states in section 6.11.5:

    The placement of a storage-class specifier other than at the
    beginning of the declaration specifiers in a declaration is an
    obsolescent feature.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Jesper Juhl

    Tobias Klauser
     

20 Apr, 2008

2 commits


18 Apr, 2008

2 commits

  • This patch adds in the ability to compile the kgdb internal test
    string into the kernel so as to run the tests at boot without changing
    the kernel boot arguments. This patch also changes all the error
    paths to invoke WARN_ON(1) which will emit the line number of the file
    and dump the kernel stack when an error occurs.

    You can disable the tests in a kernel that is built this way
    using "kgdbts="

    Signed-off-by: Jason Wessel
    Signed-off-by: Ingo Molnar

    Jason Wessel
     
  • This patch adds regression tests for testing the kgdb core and arch
    specific implementation.

    The kgdb test suite is designed to be built into the kernel and not as
    a module because it uses a number of low level kernel and kgdb
    primitives which should not be exported externally.

    The kgdb test suite is designed as a KGDB I/O module which
    simulates the communications that a debugger would have with kgdb.
    The tests are broken up in to a line by line and referenced here as
    a "get" which is kgdb requesting input and "put" which is kgdb
    sending a response.

    The kgdb suite can be invoked from the kernel command line
    arguments system or executed dynamically at run time. The test
    suite uses the variable "kgdbts" to obtain the information about
    which tests to run and to configure the verbosity level. The
    following are the various characters you can use with the kgdbts=
    line:

    When using the "kgdbts=" you only choose one of the following core
    test types:
    A = Run all the core tests silently
    V1 = Run all the core tests with minimal output
    V2 = Run all the core tests in debug mode

    You can also specify optional tests:
    N## = Go to sleep with interrupts of for ## seconds
    to test the HW NMI watchdog
    F## = Break at do_fork for ## iterations
    S## = Break at sys_open for ## iterations

    NOTE: that the do_fork and sys_open tests are mutually exclusive.

    To invoke the kgdb test suite from boot you use a kernel start
    argument as follows:
    kgdbts=V1 kgdbwait
    Or if you wanted to perform the NMI test for 6 seconds and do_fork
    test for 100 forks, you could use:
    kgdbts=V1N6F100 kgdbwait

    The test suite can also be invoked at run time with:
    echo kgdbts=V1N6F100 > /sys/module/kgdbts/parameters/kgdbts
    Or as another example:
    echo kgdbts=V2 > /sys/module/kgdbts/parameters/kgdbts

    When developing a new kgdb arch specific implementation or
    using these tests for the purpose of regression testing,
    several invocations are required.

    1) Boot with the test suite enabled by using the kernel arguments
    "kgdbts=V1F100 kgdbwait"
    ## If kgdb arch specific implementation has NMI use
    "kgdbts=V1N6F100

    2) After the system boot run the basic test.
    echo kgdbts=V1 > /sys/module/kgdbts/parameters/kgdbts

    3) Run the concurrency tests. It is best to use n+1
    while loops where n is the number of cpus you have
    in your system. The example below uses only two
    loops.

    ## This tests break points on sys_open
    while [ 1 ] ; do find / > /dev/null 2>&1 ; done &
    while [ 1 ] ; do find / > /dev/null 2>&1 ; done &
    echo kgdbts=V1S10000 > /sys/module/kgdbts/parameters/kgdbts
    fg # and hit control-c
    fg # and hit control-c
    ## This tests break points on do_fork
    while [ 1 ] ; do date > /dev/null ; done &
    while [ 1 ] ; do date > /dev/null ; done &
    echo kgdbts=V1F1000 > /sys/module/kgdbts/parameters/kgdbts
    fg # and hit control-c

    Signed-off-by: Jason Wessel
    Signed-off-by: Ingo Molnar

    Jason Wessel
     

16 Apr, 2008

1 commit

  • Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
    prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable 'misc'
    platform drivers, to re-enable auto loading.

    [dbrownell@users.sourceforge.net: bugfix, registration fixes]
    Signed-off-by: Kay Sievers
    Signed-off-by: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kay Sievers
     

31 Mar, 2008

1 commit


13 Mar, 2008

5 commits


12 Mar, 2008

2 commits


11 Mar, 2008

1 commit


05 Mar, 2008

1 commit

  • I used the wrong return convention on hotkey_get_tablet_mode(), breaking a lot
    of stuff. Bad Henrique!

    Fix it to return the status in the parameter-by-reference, and IO status on
    the function return value. Duh.

    Signed-off-by: Henrique de Moraes Holschuh
    Cc: Zdenek Kabelac
    Cc: "Rafael J. Wysocki"
    Cc: Lukas Hejtmanek
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Henrique de Moraes Holschuh
     

04 Mar, 2008

2 commits

  • Clocksource and clockevent device based on the Atmel TC blocks.

    The clockevent device handles both periodic and oneshot modes, so this
    enables NO_HZ and high res timers on some platforms that previously
    couldn't use those mechanisms.

    This works on both AVR32 and AT91 chips, given relevant patches for
    tclib support (always) and clockevents (or else this will only look
    like a higher precision clocksource). It's an updated and modularized
    version of an AT91-only patch that has circulated for some time now.

    Changes relative to the original patch:
    * Update to use new tclib API
    * Replace open-coded do-while loop using goto with a real do-while loop
    * Minor irq handler optimization: Load register base address from
    dev_id instead of a global variable.
    * Aggressively turn off clocks when the clockevent isn't being used
    * Include the clockevent code on AT91RM9200 as well. The rating is
    lower than the System Timer, so the clock will usually stay off.
    * Don't assume that the number of clocks is always equal to the
    number of irqs.

    Signed-off-by: David Brownell
    Signed-off-by: Haavard Skinnemoen

    David Brownell
     
  • Create based on and the
    at91sam9263 and at32ap7000 datasheets. Most AT91 and AT32 SOCs have one
    or two of these TC blocks, which include three 16-bit timers that can be
    interconnected in various ways.

    These TC blocks can be used for external interfacing (such as PWM and
    measurement), or used as somewhat quirky sixteen-bit timers.

    Changes relative to the original version:
    * Drop unneeded inclusion of
    * Support an arbitrary number of TC blocks
    * Return a struct with information about a TC block from
    atmel_tc_alloc() instead of using a combination of return values
    and "out" parameters.
    * ioremap() the I/O registers on allocation
    * Look up clocks and irqs for all channels
    * Add "name" parameter to atmel_tc_alloc() and use this when
    requesting the iomem resource.
    * Check if the platform provided the necessary resources at probe()
    time instead of when the TCB is allocated.

    Signed-off-by: David Brownell
    Signed-off-by: Haavard Skinnemoen

    David Brownell
     

21 Feb, 2008

3 commits

  • This patch fixes an off-by-one spotted by the Coverity checker.

    Signed-off-by: Adrian Bunk
    Acked-by: Mattia Dongili
    Signed-off-by: Len Brown

    Adrian Bunk
     
  • Fix following warnings:
    WARNING: vmlinux.o(.text+0x672615): Section mismatch in reference from the function acer_platform_remove() to the function .exit.text:acer_backlight_exit()
    WARNING: vmlinux.o(.devinit.text+0x1e859): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_led_init()
    WARNING: vmlinux.o(.devinit.text+0x1e878): Section mismatch in reference from the function acer_platform_probe() to the function .init.text:acer_backlight_init()

    Remove __exit annotation from acer_backlight_exit(). We cannot reference
    a __exit annotated function from non __exit functions.

    acer_led_init() and acer_backlight_init() where both annotated __init but
    used from a __devinit function. This would result in an oops should
    gcc drop their inlining and the module are hot plugged.

    Fix by annotating acer_led_init() and acer_backlight_init() __devinit.

    Signed-off-by: Sam Ravnborg
    Cc: Carlos Corbacho
    Signed-off-by: Len Brown

    Sam Ravnborg
     
  • …sc', 'suspend', 'thermal', 'thinkpad' and 'tsc' into release

    Len Brown
     

16 Feb, 2008

9 commits


14 Feb, 2008

1 commit


10 Feb, 2008

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    Merge branches 'release' and 'buildfix' into release
    acer-wmi - Add documentation
    sonypi - Move sonypi.txt to Documentation/laptops
    sony-laptop - Move sony-laptop.txt to Documentation/laptops
    thinkpad-acpi - Move thinkpad-acpi.txt to Documentation/laptops
    Documentation - Create laptops sub-directory
    ACPI: thermal: buildfix for CONFIG_THERMAL=n
    cpuidle: build fix for non-x86
    acer-wmi: Fix backlight on AMW0 (V1) laptops
    tc1100-wmi: Mark as experimental
    ACPI: SBS: Host controller must initialize before SBS.

    Linus Torvalds