22 Sep, 2011

1 commit


16 Aug, 2011

1 commit

  • On Tue, Aug 16, 2011 at 03:22:34PM +1000, Stephen Rothwell wrote:
    >
    > After merging the final tree, today's linux-next build (powerpc
    > allyesconfig) produced this warning:
    >
    > In file included from security/integrity/ima/../integrity.h:16:0,
    > from security/integrity/ima/ima.h:27,
    > from security/integrity/ima/ima_policy.c:20:
    > include/crypto/sha.h:86:10: warning: 'struct shash_desc' declared inside parameter list
    > include/crypto/sha.h:86:10: warning: its scope is only this definition or declaration, which is probably not what you want
    >
    > Introduced by commit 7c390170b493 ("crypto: sha1 - export sha1_update for
    > reuse"). I guess you need to include crypto/hash.h in crypto/sha.h.

    This patch fixes this by providing a declaration for struct shash_desc.

    Reported-by: Stephen Rothwell
    Signed-off-by: Herbert Xu

    Herbert Xu
     

10 Aug, 2011

1 commit

  • Export the update function as crypto_sha1_update() to not have the need
    to reimplement the same algorithm for each SHA-1 implementation. This
    way the generic SHA-1 implementation can be used as fallback for other
    implementations that fail to run under certain circumstances, like the
    need for an FPU context while executing in IRQ context.

    Signed-off-by: Mathias Krause
    Signed-off-by: Herbert Xu

    Mathias Krause
     

02 Aug, 2011

9 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (23 commits)
    regulator: Improve WM831x DVS VSEL selection algorithm
    regulator: Bootstrap wm831x DVS VSEL value from ON VSEL if not already set
    regulator: Set up GPIO for WM831x VSEL before enabling VSEL mode
    regulator: Add EPEs to the MODULE_ALIAS() for wm831x-dcdc
    regulator: Fix WM831x DCDC DVS VSEL bootstrapping
    regulator: Fix WM831x regulator ID lookups for multiple WM831xs
    regulator: Fix argument format type errors in error prints
    regulator: Fix memory leak in set_machine_constraints() error paths
    regulator: Make core more chatty about some errors
    regulator: tps65910: Fix array access out of bounds bug
    regulator: tps65910: Add missing breaks in switch/case
    regulator: tps65910: Fix a memory leak in tps65910_probe error path
    regulator: TWL: Remove entry of RES_ID for 6030 macros
    ASoC: tlv320aic3x: Add correct hw registers to Line1 cross connect muxes
    regulator: Add basic per consumer debugfs
    regulator: Add rdev_crit() macro
    regulator: Refactor supply implementation to work as regular consumers
    regulator: Include the device name in the microamps_requested_ file
    regulator: Increase the limit on sysfs file names
    regulator: Properly register dummy regulator driver
    ...

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: (60 commits)
    ext4: prevent memory leaks from ext4_mb_init_backend() on error path
    ext4: use EXT4_BAD_INO for buddy cache to avoid colliding with valid inode #
    ext4: use ext4_msg() instead of printk in mballoc
    ext4: use ext4_kvzalloc()/ext4_kvmalloc() for s_group_desc and s_group_info
    ext4: introduce ext4_kvmalloc(), ext4_kzalloc(), and ext4_kvfree()
    ext4: use the correct error exit path in ext4_init_inode_table()
    ext4: add missing kfree() on error return path in add_new_gdb()
    ext4: change umode_t in tracepoint headers to be an explicit __u16
    ext4: fix races in ext4_sync_parent()
    ext4: Fix overflow caused by missing cast in ext4_fallocate()
    ext4: add action of moving index in ext4_ext_rm_idx for Punch Hole
    ext4: simplify parameters of reserve_backup_gdb()
    ext4: simplify parameters of add_new_gdb()
    ext4: remove lock_buffer in bclean() and setup_new_group_blocks()
    ext4: simplify journal handling in setup_new_group_blocks()
    ext4: let setup_new_group_blocks() set multiple bits at a time
    ext4: fix a typo in ext4_group_extend()
    ext4: let ext4_group_add_blocks() handle 0 blocks quickly
    ext4: let ext4_group_add_blocks() return an error code
    ext4: rename ext4_add_groupblocks() to ext4_group_add_blocks()
    ...

    Fix up conflict in fs/ext4/inode.c: commit aacfc19c626e ("fs: simplify
    the blockdev_direct_IO prototype") had changed the ext4_ind_direct_IO()
    function for the new simplified calling convention, while commit
    dae1e52cb126 ("ext4: move ext4_ind_* functions from inode.c to
    indirect.c") moved the function to another file.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set
    VFS: Reorganise shrink_dcache_for_umount_subtree() after demise of dcache_lock
    VFS: Remove dentry->d_lock locking from shrink_dcache_for_umount_subtree()
    VFS: Remove detached-dentry counter from shrink_dcache_for_umount_subtree()
    switch posix_acl_chmod() to umode_t
    switch posix_acl_from_mode() to umode_t
    switch posix_acl_equiv_mode() to umode_t *
    switch posix_acl_create() to umode_t *
    block: initialise bd_super in bdget()
    vfs: avoid call to inode_lru_list_del() if possible
    vfs: avoid taking inode_hash_lock on pipes and sockets
    vfs: conditionally call inode_wb_list_del()
    VFS: Fix automount for negative autofs dentries
    Btrfs: load the key from the dir item in readdir into a fake dentry
    devtmpfs: missing initialialization in never-hit case
    hppfs: missing include

    Linus Torvalds
     
  • * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (37 commits)
    Improve slave/cyclic DMA engine documentation
    dmaengine: pl08x: handle the rest of enums in pl08x_width
    DMA: PL08x: cleanup selection of burst size
    DMA: PL08x: avoid recalculating cctl at each prepare
    DMA: PL08x: cleanup selection of buswidth
    DMA: PL08x: constify plchan->cd and plat->slave_channels
    DMA: PL08x: separately store source/destination cctl
    DMA: PL08x: separately store source/destination slave address
    DMA: PL08x: clean up LLI debugging
    DMA: PL08x: select LLI bus only once per LLI setup
    DMA: PL08x: remove unused constants
    ARM: mxs-dma: reset after disable channel
    dma: intel_mid_dma: remove redundant pci_set_drvdata calls
    dma: mxs-dma: fix unterminated platform_device_id table
    dmaengine: pl330: make platform data optional
    dmaengine: imx-sdma: return proper error if kzalloc fails
    pch_dma: Fix CTL register access issue
    dmaengine: mxs-dma: skip request_irq for NO_IRQ
    dmaengine/coh901318: fix slave submission semantics
    dmaengine/ste_dma40: allow memory buswidth/burst to be configured
    ...

    Fix trivial whitespace conflict in drivers/dma/mv_xor.c

    Linus Torvalds
     
  • * 'pstore-efi' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    efivars: Introduce PSTORE_EFI_ATTRIBUTES
    efivars: Use string functions in pstore_write
    efivars: introduce utf16_strncmp
    efivars: String functions
    efi: Add support for using efivars as a pstore backend
    pstore: Allow the user to explicitly choose a backend
    pstore: Make "part" unsigned
    pstore: Add extra context for writes and erases
    pstore: Extend API for more flexibility in new backends

    Linus Torvalds
     
  • Liam Girdwood
     
  • * 'gpio/next' of git://git.secretlab.ca/git/linux-2.6:
    gpio_msm: Move Qualcomm MSM v2 gpio driver into drivers
    gpio_msm: Move Qualcomm v6 MSM driver into drivers
    msm: gpio: Fold register defs into C file
    msm: gpiomux: Move public API to public header
    msm: gpio: Remove ifdefs on gpio chip registers
    msm: gpio: Remove chip-specific register definitions
    msm: Remove chip-ifdefs for GPIO io mappings
    msm: gpio: Remove unsupported devices
    gpio: ab8500: fix MODULE_ALIAS for ab8500
    of/gpio: export of_gpio_simple_xlate

    Linus Torvalds
     
  • * 'for-3.1-rc1' of git://gitorious.org/linux-omap-dss2/linux: (31 commits)
    OMAP: DSS2: HDMI: fix hdmi clock name
    HACK: OMAP: DSS2: clk hack for OMAP2/3
    OMAP: DSS2: DSS: Fix context save/restore
    OMAP: DSS2: DISPC: Fix context save/restore
    OMAP: DSS2: Remove ctx loss count from dss.c
    OMAP: DSS2: Remove unused code from display.c
    OMAP: DSS2: DISPC: remove finegrained clk enables/disables
    OMAP: DSS2: Remove unused opt_clock_available
    OMAP: DSS2: Use PM runtime & HWMOD support
    OMAP: DSS2: Remove CONFIG_OMAP2_DSS_SLEEP_BEFORE_RESET
    OMAP: DSS2: Remove core_dump_clocks
    OMAP: DSS2: DPI: remove unneeded SYSCK enable/disable
    OMAP: DSS2: Use omap_pm_get_dev_context_loss_count to get ctx loss count
    OMAP: DSS2: rewrite use of context_loss_count
    OMAP: DSS2: Remove clk optimization at dss init
    OMAP: DSS2: Fix init and unit sequence
    OMAP: DSS2: Clean up probe for DSS & DSI
    OMAP: DSS2: Handle dpll4_m4_ck in dss_get/put_clocks
    OMAP: DSS2: Fix FIFO threshold and burst size for OMAP4
    OMAP: DSS2: DSI: sync when disabling a display
    ...

    Linus Torvalds
     
  • * 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x: (39 commits)
    SH: static should be at beginning of declaration
    sh: move CLKDEV_xxx_ID macro to sh_clk.h
    sh: clock-shx3: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7786: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7785: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7757: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7366: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7343: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7722: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7724: add CLKDEV_ICK_ID for cleanup
    sh: clock-sh7366: modify I2C clock settings
    sh: clock-sh7343: modify I2C clock settings
    sh: clock-sh7723: modify I2C clock settings
    sh: clock-sh7722: modify I2C clock settings
    sh: clock-sh7724: modify I2C clock settings
    serial: sh-sci: Fix up pretty name printing for port IRQs.
    serial: sh-sci: Kill off per-port enable/disable callbacks.
    serial: sh-sci: Add missing module description/author bits.
    serial: sh-sci: Regtype probing doesn't need to be fatal.
    sh: Tidy up pre-clkdev clk_get() error handling.
    ...

    Linus Torvalds
     

01 Aug, 2011

28 commits

  • again, that's what all callers pass to it

    Signed-off-by: Al Viro

    Al Viro
     
  • ... seeing that this is what all callers pass to it anyway.

    Signed-off-by: Al Viro

    Al Viro
     
  • ... so that &inode->i_mode could be passed to it

    Signed-off-by: Al Viro

    Al Viro
     
  • so we can pass &inode->i_mode to it

    Signed-off-by: Al Viro

    Al Viro
     
  • Some inodes (pipes, sockets, ...) are not hashed, no need to take
    contended inode_hash_lock at dismantle time.

    nice speedup on SMP machines on socket intensive workloads.

    Signed-off-by: Eric Dumazet
    Signed-off-by: Al Viro

    Eric Dumazet
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (46 commits)
    mfd: Fix mismatch in twl4030 mutex lock-unlock
    mfd: twl6030-pwm.c needs MODULE_LICENSE
    mfd: Fix the omap-usb-host clock API usage on usbhs_disable()
    mfd: Acknowledge WM8994 IRQs before reporting
    mfd: Acknowlege all WM831x IRQs before we handle them
    mfd: Avoid two assignments if failures happen in tps65910_i2c_probe
    regulator: Storing tps65912 error codes in u8
    mfd: Don't leak init_data in tps65910_i2c_probe
    regulator: aat2870: Add AAT2870 regulator driver
    backlight: Add AAT2870 backlight driver
    mfd: Add AAT2870 mfd driver
    mfd: Remove dead code from max8997-irq
    mfd: Move TPS55910 Kconfig option
    mfd: Fix missing stmpe kerneldoc
    mfd: Fix off-by-one value range checking for tps65912_i2c_write
    mfd: Add devices for WM831x clocking module
    mfd: Remove comp{1,2}_threshold sysfs entries in tps65911_comparator_remove
    mfd: Don't ask about the TPS65912 core driver in Kconfig
    mfd: Fix off by one in WM831x IRQ code
    mfd: Add tps65921 support from twl-core
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k/math-emu: Remove unnecessary code
    m68k/math-emu: Remove commented out old code
    m68k: Kill warning in setup_arch() when compiling for Sun3
    m68k/atari: Prefix GPIO_{IN,OUT} with CODEC_
    sparc: iounmap() and *_free_coherent() - Use lookup_resource()
    m68k/atari: Reserve some ST-RAM early on for device buffer use
    m68k/amiga: Chip RAM - Use lookup_resource()
    resources: Add lookup_resource()
    sparc: _sparc_find_resource() should check for exact matches
    m68k/amiga: Chip RAM - Offset resource end by CHIP_PHYSADDR
    m68k/amiga: Chip RAM - Use resource_size() to fix off-by-one error
    m68k/amiga: Chip RAM - Change chipavail to an atomic_t
    m68k/amiga: Chip RAM - Always allocate from the start of memory
    m68k/amiga: Chip RAM - Convert from printk() to pr_*()
    m68k/amiga: Chip RAM - Use tabs for indentation

    Linus Torvalds
     
  • Fix two recently introduced compile problems:

    Fix a typo in fs/nfs/pnfs.h

    Move the pnfs_blksize declaration outside the CONFIG_NFS_V4 section in
    struct nfs_server.

    Reported-by: Jens Axboe
    Signed-off-by: Trond Myklebust
    Signed-off-by: Linus Torvalds

    Trond Myklebust
     
  • Add mfd core driver for AnalogicTech AAT2870.
    The AAT2870 is communication through I2C and contains backlight and
    regulator components.

    Signed-off-by: Jin Park
    Signed-off-by: Samuel Ortiz

    Jin Park
     
  • Generating kerneldoc for STMPE result in warnings, so fix this by
    adding missing documentation.

    Signed-off-by: Om Prakash
    Reviewed-by: Rabin Vincent
    Reviewed-by: Jonas Aberg
    Reviewed-by: Srinidhi Kasagar
    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Om Prakash
     
  • Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • The tps65910_irq_exit() cleanup function was generating a warning from
    sparse due to the lack of a prototype. This wasn't causing GCC warnings
    as the driver wasn't cleaning up its IRQs on exit at all so there was no
    use of an unprototyped function.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • This adds a previously undefined test register and removed a
    number of double-defined accessory detect registers (they are
    already defined higher up in the file.

    Signed-off-by: Linus Walleij
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • TPS65912 has five GPIOs that can be configured for different
    purposes.

    Signed-off-by: Margarita Olaya Cabrera
    Acked-by: Grant Likely
    Acked-by: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Margarita Olaya
     
  • This module controls the interrupt handling for the tps65912.
    The interrupt sources can be the following:

    - GPIO
    - PWRON signal
    - PWRHOLD signal
    - Temperature detection

    Signed-off-by: Margarita Olaya Cabrera
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Margarita Olaya
     
  • The tps65912 chip is a power management IC. It contains the following
    components:

    - Regulators
    - GPIO controller

    The core driver is registered as a platform driver, it provides communication
    through I2C and SPI interfaces.

    Signed-off-by: Margarita Olaya Cabrera
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Samuel Ortiz

    Margarita Olaya
     
  • The WM831x AUXADC hardware can schedule multiple conversions at once,
    allowing higher performance when more than one source is in use as we
    can have the hardware start new conversions without having to wait for
    a register write.

    Take advantage of this in the interrupt driven case, maintaining a list of
    callers that are waiting for AUXADC conversions and completing them all
    simultaneously. The external interface of the AUXADC is not changed so
    there will be limited use of the feature immediately.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • Ensure that there's no possibility of loosing an AUXADC interrupt by reading
    the conversion result in the IRQ handler when using interrupts. Otherwise
    it's possible that under very heavy load a new conversion could be initiated
    before the acknowledgement for a previous interrupt has happened.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • Use irq_allocate_desc() to get the IRQ range, which turns into a noop on
    non-sparse systems. Since all existing users are non-sparse there should
    be no compatibility issues.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • Allow platform data to flag the touchscreen as disabled so that if the
    touch driver is built in we don't end up causing lots of work by spuriously
    detecting touchscreen activity on systems where it isn't in use.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • The WM831x IRQ set_type() operation is doing a direct register write when
    called but since set_type() is called with the bus lock held this isn't
    legal and could cause deadlocks in the IRQ core.

    Fix this by posting the updates into an array and syncing in the
    bus_sync_unlock() callback.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     
  • * 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (28 commits)
    pnfsblock: write_pagelist handle zero invalid extents
    pnfsblock: note written INVAL areas for layoutcommit
    pnfsblock: bl_write_pagelist
    pnfsblock: bl_read_pagelist
    pnfsblock: cleanup_layoutcommit
    pnfsblock: encode_layoutcommit
    pnfsblock: merge rw extents
    pnfsblock: add extent manipulation functions
    pnfsblock: bl_find_get_extent
    pnfsblock: xdr decode pnfs_block_layout4
    pnfsblock: call and parse getdevicelist
    pnfsblock: merge extents
    pnfsblock: lseg alloc and free
    pnfsblock: remove device operations
    pnfsblock: add device operations
    pnfsblock: basic extent code
    pnfsblock: use pageio_ops api
    pnfsblock: add blocklayout Kconfig option, Makefile, and stubs
    pnfs: cleanup_layoutcommit
    pnfs: ask for layout_blksize and save it in nfs_server
    ...

    Linus Torvalds
     
  • * git://git.infradead.org/battery-2.6:
    gpio-charger: Fix checking return value of request_any_context_irq
    power_supply: MAX17042: Support additional properties
    max8903_charger: Allow platform data to be __initdata
    power_supply: Add charger driver for MAX8998/LP3974
    power_supply: Add charger driver for MAX8997/8966
    max17042_battery: Remove obsolete cleanup for clientdata
    twl4030_charger: Fix warnings
    wm831x_power: Support multiple instances
    wm831x_backup: Support multiple instances
    apm_power: Fix style error in macros
    s3c_adc_battery: Fix annotation for s3c_adc_battery_probe()
    bq20z75: Enable detection after registering
    bq20z75: Add support for external notification

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
    smc91c92_cs.c: fix bogus compiler warning
    orinoco_cs: be more careful when matching cards with ID 0x0156:0x0002
    hostap_cs: support cards with "Version 01.02" as third product ID
    pcmcia: add PCMCIA_DEVICE_MANF_CARD_PROD_ID3
    pxa2xx pcmcia - stargate 2 use gpio array.
    pcmcia: pxa2xx: remove empty socket_init / socket_resume functions.
    drivers:pcmcia:soc_common: make socket_init and socket_suspend optional

    Linus Torvalds
     
  • Call GETDEVICELIST during mount, then call and parse GETDEVICEINFO
    for each device returned.

    [pnfsblock: get rid of deprecated xdr macros]
    Signed-off-by: Jim Rees
    [pnfsblock: fix pnfs_deviceid references]
    Signed-off-by: Fred Isaman
    [pnfsblock: fix print format warnings for sector_t and size_t]
    [pnfs-block: #include ]
    [pnfsblock: no PNFS_NFS_SERVER]
    Signed-off-by: Benny Halevy
    [pnfsblock: fix bug determining size of striped volume]
    [pnfsblock: fix oops when using multiple devices]
    Signed-off-by: Fred Isaman
    Signed-off-by: Benny Halevy
    Signed-off-by: Benny Halevy
    [pnfsblock: get rid of vmap and deviceid->area structure]
    Signed-off-by: Peng Tao
    Signed-off-by: Jim Rees
    Signed-off-by: Trond Myklebust

    Fred Isaman
     
  • Signed-off-by: Jim Rees
    Signed-off-by: Fred Isaman
    Signed-off-by: Benny Halevy
    Signed-off-by: Benny Halevy
    [upcall bugfixes]
    Signed-off-by: Peng Tao
    Signed-off-by: Trond Myklebust

    Jim Rees
     
  • This gives layout driver a chance to cleanup structures they put in at
    encode_layoutcommit.

    Signed-off-by: Andy Adamson
    [fixup layout header pointer for layoutcommit]
    Signed-off-by: Benny Halevy
    Signed-off-by: Benny Halevy
    [rm inode and pnfs_layout_hdr args from cleanup_layoutcommit()]
    Signed-off-by: Jim Rees
    Signed-off-by: Trond Myklebust

    Andy Adamson
     
  • Block layout needs it to determine IO size.

    Signed-off-by: Fred Isaman
    Signed-off-by: Tao Guo
    Signed-off-by: Benny Halevy
    Signed-off-by: Benny Halevy
    Signed-off-by: Jim Rees
    Signed-off-by: Trond Myklebust

    Fred Isaman