13 May, 2008

1 commit


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

17 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
     
  • Provide a place in sysfs (/sys/class/bdi) for the backing_dev_info object.
    This allows us to see and set the various BDI specific variables.

    In particular this properly exposes the read-ahead window for all relevant
    users and /sys/block//queue/read_ahead_kb should be deprecated.

    With patient help from Kay Sievers and Greg KH

    [mszeredi@suse.cz]

    - split off NFS and FUSE changes into separate patches
    - document new sysfs attributes under Documentation/ABI
    - do bdi_class_init as a core_initcall, otherwise the "default" BDI
    won't be initialized
    - remove bdi_init_fmt macro, it's not used very much

    [akpm@linux-foundation.org: fix ia64 warning]
    Signed-off-by: Peter Zijlstra
    Cc: Kay Sievers
    Acked-by: Greg KH
    Cc: Trond Myklebust
    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • There are some places that are known to operate on tasks'
    global pids only:

    * the rest_init() call (called on boot)
    * the kgdb's getthread
    * the create_kthread() (since the kthread is run in init ns)

    So use the find_task_by_pid_ns(..., &init_pid_ns) there
    and schedule the find_task_by_pid for removal.

    [sukadev@us.ibm.com: Fix warning in kernel/pid.c]
    Signed-off-by: Pavel Emelyanov
    Cc: "Eric W. Biederman"
    Signed-off-by: Sukadev Bhattiprolu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Emelyanov
     
  • Don't refer to file that no longer exists:
    docproc: linux-2.6.25-git14/arch/powerpc/kernel/rio.c: No such file or directory

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Update the Version and Changelog for megaraid_sas Driver

    Signed-off-by: Bo Yang
    Signed-off-by: James Bottomley

    bo yang
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (28 commits)
    V4L-DVB(7789a): cx18: fix symbol conflict with ivtv driver
    V4L/DVB (7789): tuner: remove static dependencies on analog tuner sub-modules
    V4L/DVB (7785): [2.6 patch] make mt9{m001,v022}_controls[] static
    V4L/DVB (7786): cx18: new driver for the Conexant CX23418 MPEG encoder chip
    V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix
    V4L/DVB (7782): pvrusb2: Driver is no longer experimental
    V4L/DVB (7781): pvrusb2-dvb: include dvb support by default and update Kconfig help text
    V4L/DVB (7780): pvrusb2: always enable support for OnAir Creator / HDTV USB2
    V4L/DVB (7779): pvrusb2-dvb: quiet down noise in kernel log for feed debug
    Rename common tuner Kconfig names to use the same
    Fix V4L/DVB core help messages
    V4L/DVB (7769): Move other terrestrial tuners to common/tuners
    V4L/DVB (7768): reorganize some DVB-S Kconfig items
    V4L/DVB(7767): Move tuners to common/tuners
    V4L/DVB (7766): saa7134: add another PCI ID for Beholder M6
    V4L/DVB (7765): Add support for Beholder BeholdTV H6
    V4L/DVB (7763): ivtv: add tuner support for the AverMedia M116
    V4L/DVB (7762): ivtv: fix tuner detection for PAL-N/Nc
    V4L/DVB (7761): ivtv: increase the DMA timeout from 100 to 300 ms
    V4L/DVB (7759): ivtv: increase version number to 1.2.1
    ...

    Linus Torvalds
     
  • Many thanks to Steve Toth from Hauppauge and Nattu Dakshinamurthy from
    Conexant for their support. I am in particular thankful to Hauppauge
    since without their help this driver would not exist. It should also
    be noted that Steve did the work to get the DVB part up and running.
    Thank you!

    Signed-off-by: Hans Verkuil
    Signed-off-by: Steven Toth
    Signed-off-by: Michael Krufky
    Signed-off-by: G. Andrew Walls
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Signed-off-by: Igor Kuznetsov
    Signed-off-by: Mauro Carvalho Chehab

    Igor Kuznetsov
     
  • Signed-off-by: Igor Kuznetsov
    Signed-off-by: Mauro Carvalho Chehab

    Igor Kuznetsov
     
  • Based on earlier work by Jon Smirl and Jochen Friedrich.

    This patch allows new-style i2c chip drivers to have alias names using
    the official kernel aliasing system and MODULE_DEVICE_TABLE(). At this
    point, the old i2c driver binding scheme (driver_name/type) is still
    supported.

    Signed-off-by: Jean Delvare
    Cc: Jochen Friedrich
    Cc: Jon Smirl
    Cc: Kay Sievers

    Jean Delvare