07 Aug, 2008

5 commits

  • The it8705 chip supports 16-bit fan tachometers in revisions at least
    >= 0x03 (Version G). This patch enables 16-bit fan readings on all
    revisions >= 0x03 just like the it8712, it8716, and it8718 chips.

    Signed-off-by: Andrew Paprocki
    Signed-off-by: Jean Delvare

    Andrew Paprocki
     
  • The it8712 chip supports 16-bit fan tachometers in revisions >= 0x07.
    Revisions >= 0x08 dropped support for 8-bit fan divisor registers. The
    patch enables 16-bit fan readings on all revisions >= 0x07 just like
    the it8716 and it8718 chips.

    Signed-off-by: Andrew Paprocki
    Signed-off-by: Jean Delvare

    Andrew Paprocki
     
  • Drop the reset parameter of the w83627hf driver. It seems it wasn't
    that useful. It was dropped from the Linux 2.4 version of this driver
    back in July 2004.

    The only users who have reported that they were still using this
    parameter, needed it to switch the chip from automatic fan speed
    control back to manual mode. Now that the driver creates pwmN_enable
    sysfs files, users will be able to use these files instead, which is
    way less agressive.

    Signed-off-by: Jean Delvare
    Acked-by: Dominik Geyer

    Jean Delvare
     
  • Update w83791d with fan bits in vbat mon register (7.48 of the
    datasheet). This change allows all fans to have a divisor of 128,
    and fixes a problem with incorrectly reported fan speeds.

    Signed-off-by: Marc Hulsman
    Signed-off-by: Jean Delvare

    Marc Hulsman
     
  • Add support for the SCH5027. The differences to the DME1737 are:
    - No support for programmable temp offsets
    - In auto mode, PWM outputs stay on min value if temp goes below low threshold
    and can't be programmed to fully turn off
    - Different voltage scaling
    - No VID input

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare

    Juerg Haefliger
     

06 Aug, 2008

3 commits


05 Aug, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (29 commits)
    sh: enable maple_keyb in dreamcast_defconfig.
    SH2(A) cache update
    nommu: Provide vmalloc_exec().
    add addrespace definition for sh2a.
    sh: Kill off ARCH_SUPPORTS_AOUT and remnants of a.out support.
    sh: define GENERIC_HARDIRQS_NO__DO_IRQ.
    sh: define GENERIC_LOCKBREAK.
    sh: Save NUMA node data in vmcore for crash dumps.
    sh: module_alloc() should be using vmalloc_exec().
    sh: Fix up __bug_table handling in module loader.
    sh: Add documentation and integrate into docbook build.
    sh: Fix up broken kerneldoc comments.
    maple: Kill useless private_data pointer.
    maple: Clean up maple_driver_register/unregister routines.
    input: Clean up maple keyboard driver
    maple: allow removal and reinsertion of keyboard driver module
    sh: /proc/asids depends on MMU.
    arch/sh/boards/mach-se/7343/irq.c: removed duplicated #include
    arch/sh/boards/board-ap325rxa.c: removed duplicated #include
    sh/boards/Makefile typo fix
    ...

    Linus Torvalds
     

04 Aug, 2008

2 commits


02 Aug, 2008

6 commits

  • I asked legal about the licensing of ftrace.txt, and they told me that,
    unless the Documentation directory is specifically set up to handle non
    GPL licenses (which it does not appear to be), then it would be best to
    put ftrace.txt under the GPL.

    This patch adds a dual license to ftrace.txt such that it is under both
    the FDL and the GPL.

    Signed-off-by: Steven Rostedt
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
    [PATCH] ocfs2: Release mutex in error handling code
    [PATCH] ocfs2: Fix oops when racing files truncates with writes into an mmap region
    [PATCH 2/2] ocfs2: Fix race between mount and recovery
    [PATCH 1/2] ocfs2: Add counter in struct ocfs2_dinode to track journal replays
    [PATCH] configfs: Convenience macros for attribute definition.
    [PATCH] configfs: Pin configfs subsystems separately from new config_items.
    [PATCH] configfs: Fix open directory making rmdir() fail
    [PATCH] configfs: Lock new directory inodes before removing on cleanup after failure
    [PATCH] configfs: Prevent userspace from creating new entries under attaching directories
    [PATCH] configfs: Fix failing symlink() making rmdir() fail
    [PATCH] configfs: Fix symlink() to a removing item
    [PATCH] configfs: Include linux/err.h in linux/configfs.h

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb:
    kgdb: fix gdb serial thread queries
    kgdb: fix kgdb_validate_break_address to perform a mem write
    kgdb: remove the requirement for CONFIG_FRAME_POINTER

    Linus Torvalds
     
  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
    hwmon: needs new maintainer
    hwmon: (lm85) Simplify device initialization function
    hwmon: (lm85) Misc cleanups
    hwmon: (lm85) Don't write back cached values
    hwmon: (lm85) Drop dead code
    hwmon: (lm85) Coding-style cleanups
    hwmon: (lm75) add new-style driver binding
    hwmon: (lm75) cleanup/reorg
    hwmon: (adt7473) clarify an awkward bit of code
    hwmon: (adt7473) Remove unused defines
    hwmon: (dme1737) fix voltage scaling
    hwmon: (dme1737) probe all addresses
    hwmon: (dme1737) demacrofy for readability

    Linus Torvalds
     
  • * 'reg-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6:
    regulator: TI bq24022 Li-Ion Charger driver
    regulator: maintainers - add maintainers for regulator framework.
    regulator: documentation - ABI
    regulator: documentation - machine
    regulator: documentation - regulator driver
    regulator: documentation - consumer interface
    regulator: documentation - overview
    regulator: core kbuild files
    regulator: regulator test harness
    regulator: add support for fixed regulators.
    regulator: regulator framework core
    regulator: fixed regulator interface
    regulator: machine driver interface
    regulator: regulator driver interface
    regulator: consumer device interface

    Linus Torvalds
     
  • * git://git.infradead.org/battery-2.6:
    power_supply: Sharp SL-6000 (tosa) batteries support
    power_supply: fix up CHARGE_COUNTER output to be more precise
    power_supply: add CHARGE_COUNTER property and olpc_battery support for it
    power_supply: bump EC version check that we refuse to run with in olpc_battery
    power_supply: cleanup of the OLPC battery driver
    power_supply: add eeprom dump file to olpc_battery's sysfs
    power_supply: Support serial number in olpc_battery

    Linus Torvalds
     

01 Aug, 2008

5 commits

  • A regression to the kgdb core was found in the case of using the
    CONFIG_DEBUG_RODATA kernel option. When this option is on, a breakpoint
    cannot be written into any readonly memory page. When an external
    debugger requests a breakpoint to get set, the
    kgdb_validate_break_address() was only checking to see if the address
    to place the breakpoint was readable and lacked a write check.

    This patch changes the validate routine to try reading (via the
    breakpoint set request) and also to try immediately writing the break
    point. If either fails, an error is correctly returned and the
    debugger behaves correctly. Then an end user can make the
    descision to use hardware breakpoints.

    Also update the documentation to reflect that using
    CONFIG_DEBUG_RODATA will inhibit the use of software breakpoints.

    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • There is no technical reason that the kgdb core requires frame
    pointers. It is up to the end user of KGDB to decide if they need
    them or not.

    [ anemo@mba.ocn.ne.jp: removed frame pointers on mips ]

    Signed-off-by: Jason Wessel

    Jason Wessel
     
  • Drop a lot of useless register defines, conversion macros, data structure
    members and update code. All these register values were read from the
    device but nothing is done out of them, so this is all dead code in
    practice.

    Signed-off-by: Jean Delvare
    Acked-by: Juerg Haefliger
    Signed-off-by: Mark M. Hoffman

    Jean Delvare
     
  • This patch adds a module load parameter to enable probing of
    non-standard LPC addresses 0x162e and 0x164e when scanning for supported
    ISA chips.

    Signed-Off-By: Juerg Haefliger
    Acked-by: Jean Delvare
    Signed-off-by: Mark M. Hoffman

    Juerg Haefliger
     
  • Sysfs has the _ATTR() and _ATTR_RO() macros to make defining extended
    form attributes easier. configfs should have something similiar.

    - _CONFIGFS_ATTR() and _CONFIGFS_ATTR_RO() are the counterparts to the
    sysfs macros.
    - CONFIGFS_ATTR_STRUCT() creates the extended form attribute structure.
    - CONFIGFS_ATTR_OPS() defines the show_attribute()/store_attribute()
    operations that call the show()/store() operations of the extended
    form configfs_attributes.

    Signed-off-by: Joel Becker
    Signed-off-by: Mark Fasheh

    Joel Becker
     

31 Jul, 2008

1 commit

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
    powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
    powerpc: Fix ptrace buffer size for VSX
    powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
    ide/powermac: Fix use of uninitialized pointer on media-bay
    powerpc: Allow non-hcall return values for lparcfg writes
    ipmi/powerpc: Use linux/of_{device,platform}.h instead of asm
    powerpc/fsl: proliferate simple-bus compatibility to soc nodes
    Documentation: remove old sbc8260 board specific information
    cpm2: Rework baud rate generators configuration to support external clocks.
    powerpc: rtc_cmos_setup: assign interrupts only if there is i8259 PIC
    cpm_uart: Add generic clock API support to set baudrates
    cpm_uart: Modem control lines support
    powerpc: implement GPIO LIB API on CPM1 Freescale SoC.
    cpm2: Implement GPIO LIB API on CPM2 Freescale SoC.
    powerpc: Fix 8xx build failure
    powerpc: clean up the Book-E HW watchpoint support

    Linus Torvalds
     

30 Jul, 2008

9 commits


29 Jul, 2008

8 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    lguest: turn Waker into a thread, not a process
    lguest: Enlarge virtio rings
    lguest: Use GSO/IFF_VNET_HDR extensions on tun/tap
    lguest: Remove 'network: no dma buffer!' warning
    lguest: Adaptive timeout
    lguest: Tell Guest net not to notify us on every packet xmit
    lguest: net block unneeded receive queue update notifications
    lguest: wrap last_avail accesses.
    lguest: use cpu capability accessors
    lguest: virtio-rng support
    lguest: Support assigning a MAC address
    lguest: Don't leak /dev/zero fd
    lguest: fix verbose printing of device features.
    lguest: fix switcher_page leak on unload
    lguest: Guest int3 fix
    lguest: set max_pfn_mapped, growl loudly at Yinghai Lu

    Linus Torvalds
     
  • lguest uses a Waker process to break it out of the kernel (ie.
    actually running the guest) when file descriptor needs attention.

    Changing this from a process to a thread somewhat simplifies things:
    it can directly access the fd_set of things to watch. More
    importantly, it means that the Waker can see Guest memory correctly,
    so /dev/vring file descriptors will work as anticipated (the
    alternative is to actually mmap MAP_SHARED, but you can't do that with
    /dev/zero).

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • With big packets, 128 entries is a little small.

    Guest -> Host 1GB TCP:
    Before: 8.43625 seconds xmit 95640 recv 198266 timeout 49771 usec 1252
    After: 8.01099 seconds xmit 49200 recv 102263 timeout 26014 usec 2118

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Guest -> Host 1GB TCP:
    Before 20.1974 seconds xmit 214510 recv 5 timeout 214491 usec 278
    After 8.43625 seconds xmit 95640 recv 198266 timeout 49771 usec 1252

    Host -> Guest 1GB TCP:
    Before: Seconds 9.98854 xmit 172166 recv 5344 timeout 172157 usec 251
    After: Seconds 5.72803 xmit 244322 recv 9919 timeout 244302 usec 156

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • This warning can happen a lot under load, and it should be warnx not
    warn anwyay.

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Since the correct timeout value varies, use a heuristic which adjusts
    the timeout depending on how many packets we've seen. This gives
    slightly worse results, but doesn't need tweaking when GSO is
    introduced.

    500 usec 19.1887 xmit 561141 recv 1 timeout 559657
    Dynamic (278) 20.1974 xmit 214510 recv 5 timeout 214491 usec 278

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • virtio_ring has the ability to suppress notifications. This prevents
    a guest exit for every packet, but we need to set a timer on packet
    receipt to re-check if there were any remaining packets.

    Here are the times for 1G TCP Guest->Host with different timeout
    settings (it matters because the TCP window doesn't grow big enough to
    fill the entire buffer):

    Timeout value Seconds Xmit/Recv/Timeout
    None (before) 25.3784 xmit 7750233 recv 1
    2500 usec 62.5119 xmit 207020 recv 2 timeout 207020
    1000 usec 34.5379 xmit 207003 recv 2 timeout 207003
    750 usec 29.2305 xmit 207002 recv 1 timeout 207002
    500 usec 19.1887 xmit 561141 recv 1 timeout 559657
    250 usec 20.0465 xmit 214128 recv 2 timeout 214110
    100 usec 19.2583 xmit 561621 recv 1 timeout 560153

    (Note that these values are sensitive to the GSO patches which come
    later, and probably other traffic-related variables, so take with a
    large grain of salt).

    Signed-off-by: Rusty Russell

    Rusty Russell
     
  • Number of exits transmitting 10GB Guest->Host before:
    network xmit 7858610 recv 118136

    After:
    network xmit 7750233 recv 1

    Signed-off-by: Rusty Russell

    Rusty Russell