16 May, 2008

1 commit

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] fix personality(PER_LINUX32) performance issue
    [IA64] Properly unregister legacy interrupts
    [IA64] Remove NULL pointer check for argument never passed as NULL.
    [IA64] trivial cleanup for perfmon.c
    [IA64] trivial cleanup for entry.S
    [IA64] fix interrupt masking for pending works on kernel leave
    [IA64] allow user to force_pal_cache_flush
    [IA64] Don't reserve crashkernel memory > 4 GB
    [IA64] machvec support for SGI UV platform
    [IA64] Add header files for SGI UV platform

    Linus Torvalds
     

15 May, 2008

5 commits

  • cio_msg= is gone, also remove it from kernel-parameters.txt.

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • Schedule a removal for this driver. Alternative driver is available for
    a while now.

    Signed-off-by: Sebastian Siewior
    Acked-by: Greg Ungerer
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sebastian Siewior
     
  • The sequence executed in check_sal_cache_flush:

    - pend a timer interrupt
    - call SAL_CACHE_FLUSH
    - see if interrupt is still pending

    can hang HP machines with buggy SAL_CACHE_FLUSH implementations.

    Provide a kernel command-line argument to allow users skip this
    check if desired. Using this parameter will force ia64_sal_cache_flush
    to call ia64_pal_cache_flush() instead of SAL_CACHE_FLUSH.

    Signed-off-by: Alex Chiang
    Signed-off-by: Tony Luck

    Alex Chiang
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (70 commits)
    V4L/DVB (7900): pvrusb: Fix Kconfig if DVB=m V4L_core=y
    V4L/DVB (7899): Fixes a few remaining Kbuild issues at common/tuners
    V4L/DVB (7898): Fix VIDEO_MEDIA Kconfig logic
    V4L/DVB (7895): tveeprom: update Hauppauge analog audio and video decoders
    V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system
    V4L/DVB (7891): cx18/ivtv: fix open() kernel oops
    V4L/DVB (7890): cx18: removed bogus and confusing conditional
    V4L/DVB (7889): cx18: improve HVR-1600 detection.
    V4L/DVB (7888): cx18: minor card definition updates.
    V4L/DVB (7887): cx18: fix Compro H900 analog support.
    V4L/DVB (7881): saa7134: fixed a compile warning in saa7134-core.c
    V4L/DVB (7880): saa7134: remove explicit GPIO initialization
    V4L/DVB(7879): Adding cx18 Support for mxl5005s
    V4L/DVB(7878): mxl55005s: Makefile and Kconfig additions
    V4L/DVB(7877): mxl5005s: Ensure debug is off
    V4L/DVB(7876): mxl5005s: Remove incorrect copyright holders
    V4L/DVB(7875): mxl5005s: Remove redundant functions
    V4L/DVB(7874): mxl5005s: Fix function statics
    V4L/DVB(7873): mxl5005s: Fix header includes.
    V4L/DVB(7872): mxl5005s: checkpatch.pl compliance
    ...

    Linus Torvalds
     
  • read_barrie_depends has always been a noop (not a compiler barrier) on all
    architectures except SMP alpha. This brings UP alpha and frv into line with all
    other architectures, and fixes incorrect documentation.

    Signed-off-by: Nick Piggin
    Acked-by: Paul E. McKenney
    Signed-off-by: Linus Torvalds

    Nick Piggin
     

14 May, 2008

2 commits


13 May, 2008

2 commits


12 May, 2008

2 commits

  • Attempt to make the documentation about the I2C/SMBus functionality
    checking API clearer.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Improve the smbus-protocol documentation file somewhat:

    - Use the names of the SMBus protocol operations (from the 2.0
    specification), not made-up-for-Linux names.

    - Add the name of the call used to execute each operation ... and
    point out that there are mismatches, where functions execute
    different protocol operations than their names specify.

    The most confusing examples are that "Read Byte" isn't executed by
    i2c_smbus_read_byte(), and that "Write Byte" isn't executed by
    i2c_smbus_write_byte(). When coding, that's not as bad as it may
    seem; but that case would seem to be worth fixing.

    Signed-off-by: David Brownell
    Signed-off-by: Jean Delvare

    David Brownell
     

07 May, 2008

2 commits

  • The only sporadically used CIO_DEBUG messages are replaced by ordinary
    CIO_MSG_EVENT messages. The CIO_MSG_EVENT messages debug levels are
    consolidated.

    Signed-off-by: Michael Ernst
    Signed-off-by: Martin Schwidefsky

    Michael Ernst
     
  • And with that last patch to affs killing the last put_inode instance we
    can finally, after many years of transition kill this racy and awkward
    interface.

    (It's kinda funny that even the description in
    Documentation/filesystems/vfs.txt was entirely wrong..)

    Also remove a very misleading comment above the defintion of
    struct super_operations.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     

06 May, 2008

5 commits

  • …linux-2.6-sched-fixes

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched-fixes:
    sched: default to n for GROUP_SCHED and FAIR_GROUP_SCHED
    sched: add optional support for CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
    sched, x86: add HAVE_UNSTABLE_SCHED_CLOCK
    sched: fix cpu clock
    sched: fair-group: fix a Div0 error of the fair group scheduler
    sched: fix missing locking in sched_domains code
    sched: make clock sync tunable by architecture code
    sched: fix debugging
    sched: fix sched_info_switch not being called according to documentation
    sched: fix hrtick_start_fair and CPU-Hotplug
    sched: fix SCHED_FAIR wake-idle logic error
    sched: fix RT task-wakeup logic
    sched: add statics, don't return void expressions
    sched: add debug checks to idle functions
    sched: remove old sched doc
    sched: make rt_sched_class, idle_sched_class static
    sched: optimize calc_delta_mine()
    sched: fix normalized sleeper

    Linus Torvalds
     
  • Fabio Checconi noticed that Documentation/scheduler/sched-design.txt was
    a stale copy of the old scheduler. Remove it.

    Reported-by: Fabio Checconi
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    x86 PCI: call dmi_check_pciprobe()
    x86/pci: add pci=skip_isa_align command lines.
    x86/pci: remove flag in pci_cfg_space_size_ext
    x86: fix section mismatch in pci_scan_bus

    Linus Torvalds
     
  • Remove the rest of the old mac_esp driver. Also ditch the rest of the
    machw mechanism, it needs to be replaced by a fake openfirmware tree.

    Signed-off-by: Finn Thain
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Finn Thain
     
  • so we don't align the io port start address for pci cards.

    also move out dmi check out acpi.c, because it has nothing to do with acpi.
    it could spare some calling when we have several peer root buses.

    Signed-off-by: Yinghai Lu
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Jesse Barnes

    Yinghai Lu
     

05 May, 2008

2 commits


04 May, 2008

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: #ifdef simplification
    slabinfo: Support printout of the number of fallbacks
    slub: Whitespace cleanup and use of strict_strtoul

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Bolt in SLB entry for kernel stack on secondary cpus
    [POWERPC] PS3: Update ps3_defconfig
    [POWERPC] PS3: Remove unsupported wakeup sources
    [POWERPC] PS3: Make ps3_virq_setup and ps3_virq_destroy static
    [POWERPC] PS3: Add time include to lpm
    [POWERPC] Fix slb.c compile warnings
    [POWERPC] Xilinx: Fix compile warnings
    [POWERPC] Squash build warning for print of resource_size_t in fsl_soc.c
    [RAPIDIO] fix current kernel-doc notation
    [POWERPC] 86xx: mpc8610_hpcd: add support for PCI Express x8 slot
    Fix a potential issue in mpc52xx uart driver
    [POWERPC] mpc5200: Allow for fixed speed MII configurations
    [POWERPC] 86xx: Fix the wrong serial1 interrupt for 8610 board

    Linus Torvalds
     

03 May, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6:
    [SCSI] aic94xx: fix section mismatch
    [SCSI] u14-34f: Fix 32bit only problem
    [SCSI] dpt_i2o: sysfs code
    [SCSI] dpt_i2o: 64 bit support
    [SCSI] dpt_i2o: move from virt_to_bus/bus_to_virt to dma_alloc_coherent
    [SCSI] dpt_i2o: use standard __init / __exit code
    [SCSI] megaraid_sas: fix suspend/resume sections
    [SCSI] aacraid: Add Power Management support
    [SCSI] aacraid: Fix jbod operations scan issues
    [SCSI] aacraid: Fix warning about macro side-effects
    [SCSI] add support for variable length extended commands
    [SCSI] Let scsi_cmnd->cmnd use request->cmd buffer
    [SCSI] bsg: add large command support
    [SCSI] aacraid: Fix down_interruptible() to check the return value correctly
    [SCSI] megaraid_sas; Update the Version and Changelog
    [SCSI] ibmvscsi: Handle non SCSI error status
    [SCSI] bug fix for free list handling
    [SCSI] ipr: Rename ipr's state scsi host attribute to prevent collisions
    [SCSI] megaraid_mbox: fix Dell CERC firmware problem

    Linus Torvalds
     

02 May, 2008

4 commits


01 May, 2008

4 commits

  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
    hwmon: (adt7473) minor cleanup / refactoring
    hwmon: (asb100) Remove some dead code
    hwmon: (lm75) Fix an incorrect comment
    hwmon: (w83793) VID and VRM handling cleanups
    hwmon: (w83l785ts) Don't ask the user to report failures
    hwmon: (smsc47b397) add a new chip id (0x8c)

    Linus Torvalds
     
  • The extended crashkernel syntax is a little confusing in the way it handles
    ranges. eg:

    crashkernel=512M-2G:64M,2G-:128M

    Means if the machine has between 512M and 2G of memory the crash region should
    be 64M, and if the machine has 2G of memory the region should be 64M. Only if
    the machine has more than 2G memory will 128M be allocated.

    Although that semantic is correct, it is somewhat baffling. Instead I propose
    that the end of the range means the first address past the end of the range,
    ie: 512M up to but not including 2G.

    [bwalle@suse.de: clarify inclusive/exclusive in crashkernel commandline in documentation]
    Signed-off-by: Michael Ellerman
    Acked-by: Bernhard Walle
    Cc: "Eric W. Biederman"
    Cc: Simon Horman
    Signed-off-by: Bernhard Walle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Ellerman
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (179 commits)
    ACPI: Fix acpi_processor_idle and idle= boot parameters interaction
    acpi: fix section mismatch warning in pnpacpi
    intel_menlo: fix build warning
    ACPI: Cleanup: Remove unneeded, multiple local dummy variables
    ACPI: video - fix permissions on some proc entries
    ACPI: video - properly handle errors when registering proc elements
    ACPI: video - do not store invalid entries in attached_array list
    ACPI: re-name acpi_pm_ops to acpi_suspend_ops
    ACER_WMI/ASUS_LAPTOP: fix build bug
    thinkpad_acpi: fix possible NULL pointer dereference if kstrdup failed
    ACPI: check a return value correctly in acpi_power_get_context()
    #if 0 acpi/bay.c:eject_removable_drive()
    eeepc-laptop: add hwmon fan control
    eeepc-laptop: add backlight
    eeepc-laptop: add base driver
    ACPI: thinkpad-acpi: bump up version to 0.20
    ACPI: thinkpad-acpi: fix selects in Kconfig
    ACPI: thinkpad-acpi: use a private workqueue
    ACPI: thinkpad-acpi: fluff really minor fix
    ACPI: thinkpad-acpi: use uppercase for "LED" on user documentation
    ...

    Fixed conflicts in drivers/acpi/video.c and drivers/misc/intel_menlow.c
    manually.

    Linus Torvalds
     
  • …-9916', 'ec', 'eeepc', 'idle', 'misc', 'pm-legacy', 'sysfs-links-2.6.26', 'thermal', 'thinkpad' and 'video' into release

    Len Brown
     

30 Apr, 2008

8 commits

  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Fix crashkernel= handling when no crashkernel= specified
    [POWERPC] Make emergency stack safe for current_thread_info() use
    [POWERPC] spufs: add .gitignore for spu_save_dump.h & spu_restore_dump.h
    [POWERPC] spufs: trace spu_acquire_saved events
    [POWERPC] spufs: fix marker name for find_victim
    [POWERPC] spufs: add marker for destroy_spu_context
    [POWERPC] spufs: add sputrace marker parameter names
    [POWERPC] spufs: add context switch notification log
    [POWERPC] mpc5200: defconfigs for CM5200, Lite5200B, Motion-PRO and TQM5200
    [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format
    [POWERPC] mpc5200: Fix FEC error handling on FIFO errors
    [POWERPC] mpc5200: add Phytec pcm030 board support
    [POWERPC] mpc5200: add gpiolib support for mpc5200
    [POWERPC] mpc5200: add interrupt type function
    [POWERPC] mpc5200: Fix unterminated of_device_id table

    Linus Torvalds
     
  • Add a DocBook for debugobjects.

    Signed-off-by: Thomas Gleixner
    Acked-by: Ingo Molnar
    Cc: Greg KH
    Cc: Randy Dunlap
    Cc: Kay Sievers
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • We can see an ever repeating problem pattern with objects of any kind in the
    kernel:

    1) freeing of active objects
    2) reinitialization of active objects

    Both problems can be hard to debug because the crash happens at a point where
    we have no chance to decode the root cause anymore. One problem spot are
    kernel timers, where the detection of the problem often happens in interrupt
    context and usually causes the machine to panic.

    While working on a timer related bug report I had to hack specialized code
    into the timer subsystem to get a reasonable hint for the root cause. This
    debug hack was fine for temporary use, but far from a mergeable solution due
    to the intrusiveness into the timer code.

    The code further lacked the ability to detect and report the root cause
    instantly and keep the system operational.

    Keeping the system operational is important to get hold of the debug
    information without special debugging aids like serial consoles and special
    knowledge of the bug reporter.

    The problems described above are not restricted to timers, but timers tend to
    expose it usually in a full system crash. Other objects are less explosive,
    but the symptoms caused by such mistakes can be even harder to debug.

    Instead of creating specialized debugging code for the timer subsystem a
    generic infrastructure is created which allows developers to verify their code
    and provides an easy to enable debug facility for users in case of trouble.

    The debugobjects core code keeps track of operations on static and dynamic
    objects by inserting them into a hashed list and sanity checking them on
    object operations and provides additional checks whenever kernel memory is
    freed.

    The tracked object operations are:
    - initializing an object
    - adding an object to a subsystem list
    - deleting an object from a subsystem list

    Each operation is sanity checked before the operation is executed and the
    subsystem specific code can provide a fixup function which allows to prevent
    the damage of the operation. When the sanity check triggers a warning message
    and a stack trace is printed.

    The list of operations can be extended if the need arises. For now it's
    limited to the requirements of the first user (timers).

    The core code enqueues the objects into hash buckets. The hash index is
    generated from the address of the object to simplify the lookup for the check
    on kfree/vfree. Each bucket has it's own spinlock to avoid contention on a
    global lock.

    The debug code can be compiled in without being active. The runtime overhead
    is minimal and could be optimized by asm alternatives. A kernel command line
    option enables the debugging code.

    Thanks to Ingo Molnar for review, suggestions and cleanup patches.

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Cc: Greg KH
    Cc: Randy Dunlap
    Cc: Kay Sievers
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Gleixner
     
  • This adds a minimalistic braille screen reader support. This is meant to
    be used by blind people e.g. on boot failures or when / cannot be mounted
    etc and thus the userland screen readers can not work.

    [akpm@linux-foundation.org: fix exports]
    Signed-off-by: Samuel Thibault
    Cc: Jiri Kosina
    Cc: Dmitry Torokhov
    Acked-by: Alan Cox
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samuel Thibault
     
  • A few fields in /proc/meminfo were not documented. Fix.

    Signed-off-by: Miklos Szeredi
    Cc: Peter Zijlstra
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Move BDI statistics to debugfs:

    /sys/kernel/debug/bdi//stats

    Use postcore_initcall() to initialize the sysfs class and debugfs,
    because debugfs is initialized in core_initcall().

    Update descriptions in ABI documentation.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Add "max_ratio" to /sys/class/bdi. This indicates the maximum percentage of
    the global dirty threshold allocated to this bdi.

    [mszeredi@suse.cz]

    - fix parsing in max_ratio_store().
    - export bdi_set_max_ratio() to modules
    - limit bdi_dirty with bdi->max_ratio
    - document new sysfs attribute

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • Under normal circumstances each device is given a part of the total write-back
    cache that relates to its current avg writeout speed in relation to the other
    devices.

    min_ratio - allows one to assign a minimum portion of the write-back cache to
    a particular device. This is useful in situations where you might want to
    provide a minimum QoS. (One request for this feature came from flash based
    storage people who wanted to avoid writing out at all costs - they of course
    needed some pdflush hacks as well)

    max_ratio - allows one to assign a maximum portion of the dirty limit to a
    particular device. This is useful in situations where you want to avoid one
    device taking all or most of the write-back cache. Eg. an NFS mount that is
    prone to get stuck, or a FUSE mount which you don't trust to play fair.

    Add "min_ratio" to /sys/class/bdi. This indicates the minimum percentage of
    the global dirty threshold allocated to this bdi.

    [mszeredi@suse.cz]

    - fix parsing in min_ratio_store()
    - document new sysfs attribute

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra