23 Mar, 2011

11 commits

  • ADFS (FileCore) storage complies with the RISC OS filetype specification
    (12 bits of file type information is stored in the file load address,
    rather than using a file extension). The existing driver largely ignores
    this information and does not present it to the end user.

    It is desirable that stored filetypes be made visible to the end user to
    facilitate a precise copy of data and metadata from a hard disc (or image
    thereof) into a RISC OS emulator (such as RPCEmu) or to a network share
    which can be accessed by real Acorn systems.

    This patch implements a per-mount filetype suffix option (use -o
    ftsuffix=1) to present any filetype as a ,xyz hexadecimal suffix on each
    file. This type suffix is compatible with that used by RISC OS systems
    that access network servers using NFS client software and by RPCemu's host
    filing system.

    Signed-off-by: Stuart Swales
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stuart Swales
     
  • page-types.c doesn't supply a way to specify the debugfs path and the
    original debugfs path is not usual on most machines. This patch supplies
    a way to auto mount debugfs if needed.

    This patch is heavily inspired by tools/perf/utils/debugfs.c

    [akpm@linux-foundation.org: make functions static]
    [akpm@linux-foundation.org: fix debugfs_mount() signature]
    Signed-off-by: Chen Gong
    Reviewed-by: KOSAKI Motohiro
    Reviewed-by: Wu Fengguang
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chen Gong
     
  • I noticed the 'mcelog' program had no comment and then ended up "fixing"
    a few more things:

    * reiserfsck -V does not print "reiserfsprogs" (any more?)
    * is "udevinfo" still shipped? udevd certainly is
    * grub2 doesn't have a 'grub' binary
    * add a "# how to get the mcelog version" comment

    Signed-off-by: Christian Kujau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christian Kujau
     
  • There is a missing case for "Chapter 3: Placing Braces and Spaces". We
    often know we should not use braces where a single statement. The first
    case is:

    if (condition)
    action();

    Another case is:

    if (condition)
    do_this();
    else
    do_that();

    However, I can not find a description of the second case.

    Signed-off-by: Harry Wei
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harry Wei
     
  • On some architectures, the boot process involves de-registering the boot
    console (early boot), initialize drivers and then re-register the console.

    This mechanism introduces a window in which no printk can happen on the
    console and messages are buffered and then printed once the new console is
    available.

    If a kernel crashes during this window, all it's left on the boot console
    is "console [foo] enabled, bootconsole disabled" making debug of the crash
    rather 'interesting'.

    By adding "keep_bootcon" option, do not unregister the boot console, that
    will allow to printk everything that is happening up to the crash.

    The option is clearly meant only for debugging purposes as it introduces
    lots of duplicated info printed on console, but will make bug report from
    users easier as it doesn't require a kernel build just to figure out where
    we crash.

    Signed-off-by: Fabio M. Di Nitto
    Acked-by: David S. Miller
    Cc: Alan Cox
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fabio M. Di Nitto
     
  • When a cpu is considered stuck, instead of limping along and just printing
    a warning, it is sometimes preferred to just panic, let kdump capture the
    vmcore and reboot. This gets the machine back into a stable state quickly
    while saving the info that got it into a stuck state to begin with.

    Add a Kconfig option to allow users to set the hardlockup to panic
    by default. Also add in a 'nmi_watchdog=nopanic' to override this.

    [akpm@linux-foundation.org: fix strncmp length]
    Signed-off-by: Don Zickus
    Acked-by: Peter Zijlstra
    Reviewed-by: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Don Zickus
     
  • The oops=panic cmdline option is not x86 specific, move it to generic code.
    Update documentation.

    Signed-off-by: Olaf Hering
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • This is a configurable gadget. can be configured by configfs interface.
    Any IP available at PCIE bus can be programmed to be used by host
    controller.It supoorts both INTX and MSI.

    By default, the gadget is configured for INTX and SYSRAM1 is mapped to
    BAR0 with size 0x1000

    Signed-off-by: Pratyush Anand
    Cc: Randy Dunlap
    Cc: Jesse Barnes
    Cc: Viresh Kumar
    Cc: Shiraz Hashim
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pratyush Anand
     
  • There may be multiple ways of controlling the backlight on a given
    machine. Allow drivers to expose the type of interface they are
    providing, making it possible for userspace to make appropriate policy
    decisions.

    Signed-off-by: Matthew Garrett
    Cc: Richard Purdie
    Cc: Chris Wilson
    Cc: David Airlie
    Cc: Alex Deucher
    Cc: Ben Skeggs
    Cc: Zhang Rui
    Cc: Len Brown
    Cc: Jesse Barnes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Matthew Garrett
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
    rbd: use watch/notify for changes in rbd header
    libceph: add lingering request and watch/notify event framework
    rbd: update email address in Documentation
    ceph: rename dentry_release -> d_release, fix comment
    ceph: add request to the tail of unsafe write list
    ceph: remove request from unsafe list if it is canceled/timed out
    ceph: move readahead default to fs/ceph from libceph
    ceph: add ino32 mount option
    ceph: update common header files
    ceph: remove debugfs debug cruft
    libceph: fix osd request queuing on osdmap updates
    ceph: preserve I_COMPLETE across rename
    libceph: Fix base64-decoding when input ends in newline.

    Linus Torvalds
     
  • * 'for-linus/2639/i2c-2' of git://git.fluff.org/bjdooks/linux:
    i2c-pxa2xx: Don't clear isr bits too early
    i2c-pxa2xx: Fix register offsets
    i2c-pxa2xx: pass of_node from platform driver to adapter and publish
    i2c-pxa2xx: check timeout correctly
    i2c-pxa2xx: add support for shared IRQ handler
    i2c-pxa2xx: Add PCI support for PXA I2C controller
    ARM: pxa2xx: reorganize I2C files
    i2c-pxa2xx: use dynamic register layout
    i2c-mxs: set controller to pio queue mode after reset
    i2c-eg20t: support new device OKI SEMICONDUCTOR ML7213 IOH
    i2c/busses: Add support for Diolan U2C-12 USB-I2C adapter

    Linus Torvalds
     

22 Mar, 2011

13 commits

  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    kbuild: Make DEBUG_SECTION_MISMATCH selectable, but not on by default
    genksyms: Regenerate lexer and parser
    genksyms: Track changes to enum constants
    genksyms: simplify usage of find_symbol()
    genksyms: Add helpers for building string lists
    genksyms: Simplify printing of symbol types
    genksyms: Simplify lexer
    genksyms: Do not paste the bison header file to lex.c
    modpost: fix trailing comma
    KBuild: silence "'scripts/unifdef' is up to date."
    kbuild: Add extra gcc checks
    kbuild: reenable section mismatch analysis
    unifdef: update to upstream version 2.5

    Linus Torvalds
     
  • Signed-off-by: Sage Weil

    Sage Weil
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs: (23 commits)
    xfs: don't name variables "panic"
    xfs: factor agf counter updates into a helper
    xfs: clean up the xfs_alloc_compute_aligned calling convention
    xfs: kill support/debug.[ch]
    xfs: Convert remaining cmn_err() callers to new API
    xfs: convert the quota debug prints to new API
    xfs: rename xfs_cmn_err_fsblock_zero()
    xfs: convert xfs_fs_cmn_err to new error logging API
    xfs: kill xfs_fs_mount_cmn_err() macro
    xfs: kill xfs_fs_repair_cmn_err() macro
    xfs: convert xfs_cmn_err to xfs_alert_tag
    xfs: Convert xlog_warn to new logging interface
    xfs: Convert linux-2.6/ files to new logging interface
    xfs: introduce new logging API.
    xfs: zero proper structure size for geometry calls
    xfs: enable delaylog by default
    xfs: more sensible inode refcounting for ialloc
    xfs: stop using xfs_trans_iget in the RT allocator
    xfs: check if device support discard in xfs_ioc_trim()
    xfs: prevent leaking uninitialized stack memory in FSGEOMETRY_V1
    ...

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (ads1015) Make gain and datarate configurable
    hwmon: (ads1015) Drop dynamic attribute group
    hwmon: Add support for Texas Instruments ADS1015
    hwmon: New driver for SMSC SCH5627
    hwmon: (abituguru*) Update my email address
    hwmon: (lm75) Speed up detection
    hwmon: (lm75) Add detection of the National Semiconductor LM75A
    hp_accel: Fix driver name
    Move lis3lv02d drivers to drivers/misc
    Move hp_accel to drivers/platform/x86
    Let Kconfig handle lis3lv02d dependencies
    hwmon: (sht15) Fix integer overflow in humidity calculation
    hwmon: (sht15) Spelling fix
    hwmon: (w83795) Document pin mapping

    Linus Torvalds
     
  • /sys/fs is a somewhat strange way to tweak what could more
    obviously be tuned with a mount option.

    Suggested-by: Christoph Hellwig
    Signed-off-by: Tony Luck
    Signed-off-by: Linus Torvalds

    Luck, Tony
     
  • Configuration for ads1015 gain and datarate is possible via
    devicetree or platform data.

    This is a followup patch to previous ads1015 patches on Jean Delvares
    tree.

    Signed-off-by: Dirk Eibach
    Signed-off-by: Jean Delvare

    Dirk Eibach
     
  • Signed-off-by: Dirk Eibach
    Signed-off-by: Jean Delvare

    Dirk Eibach
     
  • SMSC SCH5627 Super I/O chips include complete hardware monitoring
    capabilities. They can monitor up to 5 voltages, 4 fans and 8
    temperatures.

    The hardware monitoring part of the SMSC SCH5627 is accessed by talking
    through an embedded microcontroller. An application note describing the
    protocol for communicating with the microcontroller is available upon
    request. Please mail me if you want a copy.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare

    Hans de Goede
     
  • Add support for detection of the National Semiconductor LM75A using the ID
    register value.

    Signed-off-by: Len Sorensen
    Signed-off-by: Jean Delvare

    Len Sorensen
     
  • The lis3lv02d drivers aren't hardware monitoring drivers, so the don't
    belong to drivers/hwmon. Move them to drivers/misc, short of a better
    home.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck
    Acked-by: Eric Piel
    Acked-by: Jonathan Cameron
    Tested-by: Eric Piel
    Tested-by: Takashi Iwai

    Jean Delvare
     
  • The hp_accel driver isn't a hardware monitoring driver, so it doesn't
    belong to drivers/hwmon. Move it to drivers/platform/x86, assuming HP
    doesn't ship non-x86 laptops.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck
    Acked-by: Eric Piel
    Acked-by: Jonathan Cameron
    Tested-by: Eric Piel
    Tested-by: Takashi Iwai

    Jean Delvare
     
  • Apparently users are interested in this information, so let's provide
    it.

    Signed-off-by: Jean Delvare
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/ptrace: Remove BUG_ON when full register set not available
    powerpc: Factoring mpic cpu id fetching into a function
    powerpc: Make MPIC honor the "pic-no-reset" device tree property
    powerpc: Document the Open PIC device tree binding
    powerpc/pci: Fix crash in PCI code on ppc64 when matching device nodes

    Linus Torvalds
     

21 Mar, 2011

2 commits

  • This binding documents several properties that have been in use for quite
    some time, and adds one new property 'pic-no-reset', which controls the
    runtime initialization behavior of the PIC. More specifically, the presence
    of 'pic-no-reset' mandates that the PIC shall not be reset during runtime
    initialization and that any initialization related to interrupt sources
    shall be limited to sources explicitly referenced in the device tree. This
    functionality is useful in AMP systems where multiple OSes are sharing the
    PIC and the reinitialization of the PIC can interfere with OSes that are
    already up and running.

    The interrupt specifier definition is based off of Stuart Yoder's FSL MPIC
    binding.

    Signed-off-by: Meador Inge
    Cc: Grant Likely
    Cc: Stuart Yoder
    Cc: Hollis Blanchard
    Signed-off-by: Benjamin Herrenschmidt

    Meador Inge
     
  • Ben Dooks
     

20 Mar, 2011

6 commits


19 Mar, 2011

8 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (53 commits)
    mmc: dw_mmc: support mmc power control with regulator
    mmc: dw_mmc: fix suspend/resume operation
    mmc: dw_mmc: add quirks for unreliable card detect, and capabilities
    mmc: tmio: fix address in kunmap_atomic() calls
    mmc: core: reset card voltage after power off
    mmc: core: export function mmc_do_release_host()
    mmc: sdio: remember new card RCA when redetecting card
    mmc: dw_mmc: Remove set-but-unused variable.
    mmc: sdhci-esdhc-imx: add card detect on custom GPIO for mx25/35
    mmc: sdhci-esdhc: broken card detection is not a default quirk
    mmc: sdhci-esdhc-imx: add write protect on custom GPIO on mx25/35
    mmc: msm_sdcc: remove needless cache flush after dma_unmap_sg()
    mmc: sh_mmcif: support aggressive clock gating
    mmc: check if mmc cards < 2GB do sector addressing
    mmc: core: comment on why sdio_reset is done at init time
    mmc: dw_mmc: support DDR mode
    mmc: via-sdmmc: Remove set-but-unused variable.
    mmc: cb710: Return err value in cb710_wait_while_busy()
    mmc: sdhci-pci: Remove set-but-unused variable.
    mmc: mxs-mmc: add mmc host driver for i.MX23/28
    ...

    Linus Torvalds
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI: label: remove #include of ACPI header to avoid warnings
    PCI: label: Fix compilation error when CONFIG_ACPI is unset
    PCI: pre-allocate additional resources to devices only after successful allocation of essential resources.
    PCI: introduce reset_resource()
    PCI: data structure agnostic free list function
    PCI: refactor io size calculation code
    PCI: do not create quirk I/O regions below PCIBIOS_MIN_IO for ICH
    PCI hotplug: acpiphp: set current_state to D0 in register_slot
    PCI: Export ACPI _DSM provided firmware instance number and string name to sysfs
    PCI: add more checking to ICH region quirks
    PCI: aer-inject: Override PCIe AER Mask Registers
    PCI: fix tlan build when CONFIG_PCI is not enabled
    PCI: remove quirk for pre-production systems
    PCI: Avoid potential NULL pointer dereference in pci_scan_bridge
    PCI/lpc: irq and pci_ids patch for Intel DH89xxCC DeviceIDs
    PCI: sysfs: Fix failure path for addition of "vpd" attribute

    Linus Torvalds
     
  • * 'spi/next' of git://git.secretlab.ca/git/linux-2.6: (34 commits)
    spi/dw_spi: move dw_spi.h into drivers/spi
    spi/dw_spi: Fix missing header
    gpio/langwell: Clear edge bit before handling
    gpio/langwell: Simplify demux loop
    gpio/langwell: Convert irq name space
    gpio/langwell: Fix broken irq_eoi change.
    gpio; Make Intel chipset gpio drivers depend on x86
    gpio/cs5535-gpio: Fix section mismatch
    spi/rtc-{ds1390,ds3234,m41t94}: Use spi_get_drvdata() for SPI devices
    spi/davinci: Support DMA transfers larger than 65535 words
    spi/davinci: Use correct length parameter to dma_map_single calls
    gpio: Use __devexit at necessary places
    gpio: add MODULE_DEVICE_TABLE to pch_gpio and ml_ioh_gpio
    gpio/mcp23s08: support mcp23s17 variant
    of_mmc_spi: add card detect irq support
    spi/omap_mcspi: catch xfers of non-multiple SPI word size
    spi/omap_mcspi: Off-by-one error in finding the right divisor
    gpio/pca953x: Fix wrong pointer type
    spi/pl022: rid dangling labels
    spi: add support for SuperH SPI
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    fs: call security_d_instantiate in d_obtain_alias V2
    lose 'mounting_here' argument in ->d_manage()
    don't pass 'mounting_here' flag to follow_down()
    change the locking order for namespace_sem
    fix deadlock in pivot_root()
    vfs: split off vfsmount-related parts of vfs_kern_mount()
    Some fixes for pstore
    kill simple_set_mnt()

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubifs-2.6: (25 commits)
    UBIFS: clean-up commentaries
    UBIFS: save 128KiB or more RAM
    UBIFS: allocate orphans scan buffer on demand
    UBIFS: allocate lpt dump buffer on demand
    UBIFS: allocate ltab checking buffer on demand
    UBIFS: allocate scanning buffer on demand
    UBIFS: allocate dump buffer on demand
    UBIFS: do not check data crc by default
    UBIFS: simplify UBIFS Kconfig menu
    UBIFS: print max. index node size
    UBIFS: handle allocation failures in UBIFS write path
    UBIFS: use max_write_size during recovery
    UBIFS: use max_write_size for write-buffers
    UBIFS: introduce write-buffer size field
    UBI: incorporate LEB offset information
    UBIFS: incorporate maximum write size
    UBI: provide LEB offset information
    UBI: incorporate maximum write size
    UBIFS: fix LEB number in printk
    UBIFS: restrict world-writable debugfs files
    ...

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: Flush TLB if PGD entry is changed in i386 PAE mode
    x86, dumpstack: Correct stack dump info when frame pointer is available
    x86: Clean up csum-copy_64.S a bit
    x86: Fix common misspellings
    x86: Fix misspelling and align params
    x86: Use PentiumPro-optimized partial_csum() on VIA C7

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
    doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
    Update cpuset info & webiste for cgroups
    dcdbas: force SMI to happen when expected
    arch/arm/Kconfig: remove one to many l's in the word.
    asm-generic/user.h: Fix spelling in comment
    drm: fix printk typo 'sracth'
    Remove one to many n's in a word
    Documentation/filesystems/romfs.txt: fixing link to genromfs
    drivers:scsi Change printk typo initate -> initiate
    serial, pch uart: Remove duplicate inclusion of linux/pci.h header
    fs/eventpoll.c: fix spelling
    mm: Fix out-of-date comments which refers non-existent functions
    drm: Fix printk typo 'failled'
    coh901318.c: Change initate to initiate.
    mbox-db5500.c Change initate to initiate.
    edac: correct i82975x error-info reported
    edac: correct i82975x mci initialisation
    edac: correct commented info
    fs: update comments to point correct document
    target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
    ...

    Trivial conflict in fs/eventpoll.c (spelling vs addition)

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (48 commits)
    HID: add support for Logitech Driving Force Pro wheel
    HID: hid-ortek: remove spurious reference
    HID: add support for Ortek PKB-1700
    HID: roccat-koneplus: vorrect mode of sysfs attr 'sensor'
    HID: hid-ntrig: init settle and mode check
    HID: merge hid-egalax into hid-multitouch
    HID: hid-multitouch: Send events per slot if CONTACTCOUNT is missing
    HID: ntrig remove if and drop an indent
    HID: ACRUX - activate the device immediately after binding
    HID: ntrig: apply NO_INIT_REPORTS quirk
    HID: hid-magicmouse: Correct touch orientation direction
    HID: ntrig don't dereference unclaimed hidinput
    HID: Do not create input devices for feature reports
    HID: bt hidp: send Output reports using SET_REPORT on the Control channel
    HID: hid-sony.c: Fix sending Output reports to the Sixaxis
    HID: add support for Keytouch IEC 60945
    HID: Add HID Report Descriptor to sysfs
    HID: add IRTOUCH infrared USB to hid_have_special_driver
    HID: kernel oops in out_cleanup in function hidinput_connect
    HID: Add teletext/color keys - gyration remote - EU version (GYAR3101CKDE)
    ...

    Linus Torvalds