21 Jul, 2010

1 commit


14 Jul, 2010

1 commit

  • via following scripts

    FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')

    sed -i \
    -e 's/lmb/memblock/g' \
    -e 's/LMB/MEMBLOCK/g' \
    $FILES

    for N in $(find . -name lmb.[ch]); do
    M=$(echo $N | sed 's/lmb/memblock/g')
    mv $N $M
    done

    and remove some wrong change like lmbench and dlmb etc.

    also move memblock.c from lib/ to mm/

    Suggested-by: Ingo Molnar
    Acked-by: "H. Peter Anvin"
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Linus Torvalds
    Signed-off-by: Yinghai Lu
    Signed-off-by: Benjamin Herrenschmidt

    Yinghai Lu
     

09 Jul, 2010

1 commit


02 Jul, 2010

1 commit


19 Jun, 2010

1 commit

  • Commit c7f486567c1d0acd2e4166c47069835b9f75e77b
    (PCI PM: PCIe PME root port service driver) causes the native PCIe
    PME signaling to be used by default, if the BIOS allows the kernel to
    control the standard configuration registers of PCIe root ports.
    However, the native PCIe PME is coupled to the native PCIe hotplug
    and calling pcie_pme_acpi_setup() makes some BIOSes expect that
    the native PCIe hotplug will be used as well. That, in turn, causes
    problems to appear on systems where the PCIe hotplug driver is not
    loaded. The usual symptom, as reported by Jaroslav Kameník and
    others, is that the ACPI GPE associated with PCIe hotplug keeps
    firing continuously causing kacpid to take substantial percentage
    of CPU time.

    To work around this issue, change the default so that the native
    PCIe PME signaling is only used if directly requested with the help
    of the pcie_pme= command line switch.

    Fixes https://bugzilla.kernel.org/show_bug.cgi?id=15924 , which is
    a listed regression from 2.6.33.

    Signed-off-by: Rafael J. Wysocki
    Reported-by: Jaroslav Kameník
    Tested-by: Antoni Grzymala
    Signed-off-by: Jesse Barnes

    Rafael J. Wysocki
     

12 Jun, 2010

2 commits


05 Jun, 2010

5 commits

  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    xfs: improve xfs_isilocked
    xfs: skip writeback from reclaim context
    xfs: remove done roadmap item from xfs-delayed-logging-design.txt
    xfs: fix race in inode cluster freeing failing to stale inodes
    xfs: fix access to upper inodes without inode64
    xfs: fix might_sleep() warning when initialising per-ag tree
    fs/xfs/quota: Add missing mutex_unlock
    xfs: remove duplicated #include
    xfs: convert more trace events to DEFINE_EVENT
    xfs: xfs_trace.c: remove duplicated #include
    xfs: Check new inode size is OK before preallocating
    xfs: clean up xlog_align
    xfs: cleanup log reservation calculactions
    xfs: be more explicit if RT mount fails due to config
    xfs: replace E2BIG with EFBIG where appropriate

    Linus Torvalds
     
  • * 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/i7core: (83 commits)
    i7core_edac: Better describe the supported devices
    Add support for Westmere to i7core_edac driver
    i7core_edac: don't free on success
    i7core_edac: Add support for X5670
    Always call i7core_[ur]dimm_check_mc_ecc_err
    i7core_edac: fix memory leak of i7core_dev
    EDAC: add __init to i7core_xeon_pci_fixup
    i7core_edac: Fix wrong device id for channel 1 devices
    i7core: add support for Lynnfield alternate address
    i7core_edac: Add initial support for Lynnfield
    i7core_edac: do not export static functions
    edac: fix i7core build
    edac: i7core_edac produces undefined behaviour on 32bit
    i7core_edac: Use a more generic approach for probing PCI devices
    i7core_edac: PCI device is called NONCORE, instead of NOCORE
    i7core_edac: Fix ringbuffer maxsize
    i7core_edac: First store, then increment
    i7core_edac: Better parse "any" addrmask
    i7core_edac: Use a lockless ringbuffer
    edac: Create an unique instance for each kobj
    ...

    Linus Torvalds
     
  • * 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (87 commits)
    V4L/DVB: ivtv: Timing tweaks and code re-order to try and improve stability
    V4L/DVB: ivtv: Avoid accidental video standard change
    V4L/DVB: ivtvfb : Module load / unload fixes
    V4L/DVB: cx2341x: Report correct temporal setting for log-status
    V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address
    V4L/DVB: drivers/media: Eliminate a NULL pointer dereference
    V4L/DVB: dvb-core: Fix ULE decapsulation bug
    V4L/DVB: Bug fix: make IR work again for dm1105
    V4L/DVB: media/IR: nec-decoder needs to select BITREV
    V4L/DVB: video/saa7134: change dprintk() to i2cdprintk()
    V4L/DVB: video/saa7134: remove duplicate break
    V4L/DVB: IR/imon: add auto-config for 0xffdc rf device
    V4L/DVB: IR/imon: clean up usage of bools
    V4L/DVB: em28xx: remove unneeded null checks
    V4L/DVB: ngene: remove unused #include
    V4L/DVB: ak881x needs slab.h
    V4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing
    V4L/DVB: Technotrend S2-3200 ships with a TT 1500 remote
    V4L/DVB: drivers/media: Use kzalloc
    V4L/DVB: m920x: Select simple tuner
    ...

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
    ACPI: Eliminate us to pm ticks conversion in common path
    ACPI: Fix the incorrect calculation about C-state idle time
    ACPI: update feature-removal.txt to reflect deleted acpi=ht option
    ACPI / EC / PM: Fix names of functions that block/unblock EC transactions
    ACPI / EC / PM: Fix race between EC transactions and system suspend

    Linus Torvalds
     
  • Alex Elder
     

04 Jun, 2010

1 commit


03 Jun, 2010

4 commits

  • * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (41 commits)
    drm/radeon/kms: make sure display hw is disabled when suspending
    drm/vmwgfx: Allow userspace to change default layout. Bump minor.
    drm/vmwgfx: Fix framebuffer modesetting
    drm/vmwgfx: Fix vga save / restore with display topology.
    vgaarb: use MIT license
    vgaarb: convert pr_devel() to pr_debug()
    drm: fix typos in Linux DRM Developer's Guide
    drm/radeon/kms/pm: voltage fixes
    drm/radeon/kms/pm: radeon_set_power_state fixes
    drm/radeon/kms/pm: patch default power state with default clocks/voltages on r6xx+
    drm/radeon/kms/pm: enable SetVoltage on r7xx/evergreen
    drm/radeon/kms/pm: add support for SetVoltage cmd table (V2)
    drm/radeon/kms/evergreen: add initial CS parser
    drm/kms: disable/enable poll around switcheroo on/off
    drm/nouveau: fixup confusion over which handle the DSM is hanging off.
    drm/nouveau: attempt to get bios from ACPI v3
    drm/nv50: cast IGP memory location to u64 before shifting
    drm/ttm: Fix ttm_page_alloc.c
    drm/ttm: Fix cached TTM page allocation.
    drm/vmwgfx: Remove some leftover debug messages.
    ...

    Linus Torvalds
     
  • Remove all trailing whitespace in Documentation/i2c.

    Signed-off-by: Andrea Gelmini
    Signed-off-by: Jean Delvare

    Andrea Gelmini
     
  • Signed-off-by: Christoph Hellwig
    Reviewed-by: Dave Chinner

    Christoph Hellwig
     
  • A few typos in the DRM Developer's Guide.

    Signed-off-by: Nicolas Kaiser
    Acked-by: Jesse Barnes
    Signed-off-by: Dave Airlie

    Nicolas Kaiser
     

02 Jun, 2010

2 commits


01 Jun, 2010

5 commits

  • * 'for-35' of git://repo.or.cz/linux-kbuild: (81 commits)
    kbuild: Revert part of e8d400a to resolve a conflict
    kbuild: Fix checking of scm-identifier variable
    gconfig: add support to show hidden options that have prompts
    menuconfig: add support to show hidden options which have prompts
    gconfig: remove show_debug option
    gconfig: remove dbg_print_ptype() and dbg_print_stype()
    kconfig: fix zconfdump()
    kconfig: some small fixes
    add random binaries to .gitignore
    kbuild: Include gen_initramfs_list.sh and the file list in the .d file
    kconfig: recalc symbol value before showing search results
    .gitignore: ignore *.lzo files
    headerdep: perlcritic warning
    scripts/Makefile.lib: Align the output of LZO
    kbuild: Generate modules.builtin in make modules_install
    Revert "kbuild: specify absolute paths for cscope"
    kbuild: Do not unnecessarily regenerate modules.builtin
    headers_install: use local file handles
    headers_check: fix perl warnings
    export_report: fix perl warnings
    ...

    Linus Torvalds
     
  • A trivial change to update my email address from my dead awalls@radix.net
    address to my current awalls@md.metrocast.net address.

    Signed-off-by: Andy Walls
    Signed-off-by: Mauro Carvalho Chehab

    Andy Walls
     
  • This change adds support for Avermedia M733A. The original version for
    linux 2.6.31 was sent to me from Avermedia, original author is unknown.
    I ported it to current kernels, expanded and fixed key code handling for
    RM-K6 remote control, and added an additional pci id also supported.

    [mchehab@redhat.com: make checkpatch.pl happier]
    Signed-off-by: Herton Ronaldo Krzesinski
    Signed-off-by: Mauro Carvalho Chehab

    Herton Ronaldo Krzesinski
     
  • Make explicit what should happen when the input signal is missing,
    unreliable or does not map to a supported preset.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Signed-off-by: Warren Bosworth Focke
    Signed-off-by: Jean-François Moine
    Signed-off-by: Mauro Carvalho Chehab

    Warren Bosworth Focke
     

29 May, 2010

4 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (27 commits)
    ACPI: Don't let acpi_pad needlessly mark TSC unstable
    drivers/acpi/sleep.h: Checkpatch cleanup
    ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
    ACPI: delete unused c-state promotion/demotion data strucutures
    ACPI: video: fix acpi_backlight=video
    ACPI: EC: Use kmemdup
    drivers/acpi: use kasprintf
    ACPI, APEI, EINJ injection parameters support
    Add x64 support to debugfs
    ACPI, APEI, Use ERST for persistent storage of MCE
    ACPI, APEI, Error Record Serialization Table (ERST) support
    ACPI, APEI, Generic Hardware Error Source memory error support
    ACPI, APEI, UEFI Common Platform Error Record (CPER) header
    Unified UUID/GUID definition
    ACPI Hardware Error Device (PNP0C33) support
    ACPI, APEI, PCIE AER, use general HEST table parsing in AER firmware_first setup
    ACPI, APEI, Document for APEI
    ACPI, APEI, EINJ support
    ACPI, APEI, HEST table parsing
    ACPI, APEI, APEI supporting infrastructure
    ...

    Linus Torvalds
     
  • Len Brown
     
  • * 'for-linus/2635-updates' of git://git.fluff.org/bjdooks/linux:
    ARM: S5PV210: serial: Fix section mismatch warning
    ARM: s3c2410_defconfig: Add new machines
    ARM: s3c6400_defconfig: Add framebuffer and basic LCD
    ARM: s3c6400_defconfig: Add RTC driver support
    ARM: s3c6400_defconfig: Enable USB host side
    ARM: s3c6400_defconfig: Add SPI driver
    ARM: s3c6400_defconfig: Update compiled machines
    ARM: S5P: Regoster clk_xusbxti clock for hsotg driver
    ARM: S3C64XX: Add USB OTG HCLK to the list of clocks
    ARM: SAMSUNG: gpio-cfg.h: update documentation
    ARM: SAMSUNG: Documentation: add documentation on GPIO code
    ARM: SAMSUNG: Fix documentation for s3c_gpio_cfgpin()
    ARM: S3C24XX: Documentation: add section on gpiolib changes
    ARM: S3C24XX: Documentation: update GPIO documentation
    ARM: S3C24XX: Documentation: update documentation overview
    ARM: SAMSUNG: Documentation: update directory layout
    ARM: SAMSUNG: Documentation: update the list of SoCs supported

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    remove detritus left by "mm: make read_cache_page synchronous"
    fix fs/sysv s_dirt handling
    fat: convert to use the new truncate convention.
    ext2: convert to use the new truncate convention.
    tmpfs: convert to use the new truncate convention
    fs: convert simple fs to new truncate
    kill spurious reference to vmtruncate
    fs: introduce new truncate sequence
    fs/super: fix kernel-doc warning
    fs/minix: bugfix, number of indirect block ptrs per block depends on block size
    rename the generic fsync implementations
    drop unused dentry argument to ->fsync
    fs: Add missing mutex_unlock
    Fix racy use of anon_inode_getfd() in perf_event.c
    get rid of the magic around f_count in aio
    VFS: fix recent breakage of FS_REVAL_DOT
    Revert "anon_inode: set S_IFREG on the anon_inode"

    Linus Torvalds
     

28 May, 2010

12 commits

  • Add some documentation in Documentation/arm/Samsung for the GPIO code
    and where to look for the necessary functions. Update the S3C24XX case
    as well.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add section to the S3C24XX GPIO documentation on the recent changes
    to move towards gpiolib integration.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Upate the S3C24XX GPIO documentation after the changes for gpiolib
    and show which calls are being replaced by gpiolib or the new s3c
    generic calls.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add the two new SoCs added in this release cycle and update the notes
    on the gpiolib conversion.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Update the directory layout in Documentation/arm/Samsung/Overview.txt
    to reflect the changes that have been made in the latest kernel
    updates.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Update the list of SoCs supported for the plat-s5p range.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Introduce a new truncate calling sequence into fs/mm subsystems. Rather than
    setattr > vmtruncate > truncate, have filesystems call their truncate sequence
    from ->setattr if filesystem specific operations are required. vmtruncate is
    deprecated, and truncate_pagecache and inode_newsize_ok helpers introduced
    previously should be used.

    simple_setattr is introduced for simple in-ram filesystems to implement
    the new truncate sequence. Eventually all filesystems should be converted
    to implement a setattr, and the default code in notify_change should go
    away.

    simple_setsize is also introduced to perform just the ATTR_SIZE portion
    of simple_setattr (ie. changing i_size and trimming pagecache).

    To implement the new truncate sequence:
    - filesystem specific manipulations (eg freeing blocks) must be done in
    the setattr method rather than ->truncate.
    - vmtruncate can not be used by core code to trim blocks past i_size in
    the event of write failure after allocation, so this must be performed
    in the fs code.
    - convert usage of helpers block_write_begin, nobh_write_begin,
    cont_write_begin, and *blockdev_direct_IO* to use _newtrunc postfixed
    variants. These avoid calling vmtruncate to trim blocks (see previous).
    - inode_setattr should not be used. generic_setattr is a new function
    to be used to copy simple attributes into the generic inode.
    - make use of the better opportunity to handle errors with the new sequence.

    Big problem with the previous calling sequence: the filesystem is not called
    until i_size has already changed. This means it is not allowed to fail the
    call, and also it does not know what the previous i_size was. Also, generic
    code calling vmtruncate to truncate allocated blocks in case of error had
    no good way to return a meaningful error (or, for example, atomically handle
    block deallocation).

    Cc: Christoph Hellwig
    Acked-by: Jan Kara
    Signed-off-by: Nick Piggin
    Signed-off-by: Al Viro

    npiggin@suse.de
     
  • Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    libata: implement dump_id force param
    libata: disable ATAPI AN by default
    libata-sff: make BMDMA optional
    libata-sff: kill dummy BMDMA ops from sata_qstor and pata_octeon_cf
    libata-sff: separate out BMDMA init
    libata-sff: separate out BMDMA irq handler
    libata-sff: ata_sff_irq_clear() is BMDMA specific
    sata_mv: drop unncessary EH callback resetting

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: (23 commits)
    hwmon: (lm75) Add support for the Texas Instruments TMP105
    hwmon: (ltc4245) Read only one GPIO pin
    hwmon: (dme1737) Add SCH5127 support
    hwmon: (tmp102) Don't always stop chip at exit
    hwmon: (tmp102) Fix suspend and resume functions
    hwmon: (tmp102) Various fixes
    hwmon: Driver for TI TMP102 temperature sensor
    hwmon: EMC1403 thermal sensor support
    hwmon: (applesmc) Add temperature sensor labels to sysfs interface
    hwmon: (applesmc) Add generic support for MacBook Pro 7
    hwmon: (applesmc) Add generic support for MacBook Pro 6
    hwmon: (applesmc) Add support for MacBook Pro 5,3 and 5,4
    hwmon: (tmp401) Reorganize code to get rid of static forward declarations
    hwmon: (tmp401) Use constants for sysfs file permissions
    hwmon: (adm1031) Allow setting update rate
    hwmon: Add description of the update_rate sysfs attribute
    hwmon: (lm90) Use programmed update rate
    hwmon: (f71882fg) Acquire I/O regions while we're working with them
    hwmon: (f71882fg) Code cleanup
    hwmon: (f71882fg) Use strict_stro(l|ul) instead of simple_strto$1
    ...

    Linus Torvalds
     
  • Read only one of the GPIO pins as an analog voltage. The ADC can be
    switched to a different GPIO pin at runtime, but this is not supported.

    Previously, this driver would report the analog voltage of the currently
    selected GPIO pin as all three GPIO voltages: in9_input, in10_input and
    in11_input.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org

    Ira W. Snyder
     
  • Add support for the hardware monitoring capabilities of the SCH5127
    chip to the dme1737 driver.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare
    Tested-by: Jeff Rickman

    Juerg Haefliger