17 Jan, 2010

2 commits

  • This patch adds export/import support to md5. The exported type is
    defined by struct md5_state.

    This is modeled after the equivalent change to sha1_generic.

    Signed-off-by: Max Vozeler
    Signed-off-by: Herbert Xu

    Max Vozeler
     
  • This patch adds the RFC4543 (GMAC) wrapper for GCM similar to the
    existing RFC4106 wrapper. The main differences between GCM and GMAC are
    the contents of the AAD and that the plaintext is empty for the latter.

    Signed-off-by: Tobias Brunner
    Signed-off-by: Herbert Xu

    Tobias Brunner
     

07 Jan, 2010

1 commit


06 Jan, 2010

1 commit


18 Dec, 2009

16 commits

  • …/rusty/linux-2.6-for-linus

    * 'cpumask-cleanups' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    cpumask: rename tsk_cpumask to tsk_cpus_allowed
    cpumask: don't recommend set_cpus_allowed hack in Documentation/cpu-hotplug.txt
    cpumask: avoid dereferencing struct cpumask
    cpumask: convert drivers/idle/i7300_idle.c to cpumask_var_t
    cpumask: use modern cpumask style in drivers/scsi/fcoe/fcoe.c
    cpumask: avoid deprecated function in mm/slab.c
    cpumask: use cpu_online in kernel/perf_event.c

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    Keys: KEYCTL_SESSION_TO_PARENT needs TIF_NOTIFY_RESUME architecture support
    NOMMU: Optimise away the {dac_,}mmap_min_addr tests
    security/min_addr.c: make init_mmap_min_addr() static
    keys: PTR_ERR return of wrong pointer in keyctl_get_security()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (40 commits)
    [SCSI] 3w-9xxx fix bug in sgl loading
    [SCSI] fcoe, libfc: adds enable/disable for fcoe interface
    [SCSI] libfc: reduce hold time on SCSI host lock
    [SCSI] libfc: remote port gets stuck in restart state without really restarting
    [SCSI] pm8001: misc code cleanup
    [SCSI] pm8001: enable read HBA SAS address from VPD
    [SCSI] pm8001: do not reset local sata as it will not be found if reset
    [SCSI] pm8001: bit set pm8001_ha->flags
    [SCSI] pm8001:fix potential NULL pointer dereference
    [SCSI] pm8001: set SSC down-spreading only to get less errors on some 6G device.
    [SCSI] pm8001: fix endian issues with SAS address
    [SCSI] pm8001: enhance error handle for IO patch
    [SCSI] pm8001: Fix for sata io circular lock dependency.
    [SCSI] hpsa: add driver for HP Smart Array controllers.
    [SCSI] cxgb3i: always use negative errno in case of error
    [SCSI] bnx2i: minor code cleanup and update driver version
    [SCSI] bnx2i: Task management ABORT TASK fixes
    [SCSI] bnx2i: update CQ arming algorith for 5771x chipsets
    [SCSI] bnx2i: Adjust sq_size module parametr to power of 2 only if a non-zero value is specified
    [SCSI] bnx2i: Add 5771E device support to bnx2i driver
    ...

    Linus Torvalds
     
  • * 'kmemleak' of git://linux-arm.org/linux-2.6:
    kmemleak: fix kconfig for crc32 build error
    kmemleak: Reduce the false positives by checking for modified objects
    kmemleak: Show the age of an unreferenced object
    kmemleak: Release the object lock before calling put_object()
    kmemleak: Scan the _ftrace_events section in modules
    kmemleak: Simplify the kmemleak_scan_area() function prototype
    kmemleak: Do not use off-slab management with SLAB_NOLEAKTRACE

    Linus Torvalds
     
  • * 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
    spi: spi_txx9.c: use resource_size()
    spi: spi_sh_sci.c: use resource_size()
    spi: spi_mpc8xxx.c: use resource_size()
    spi: spi_bfin5xx.c: use resource_size()
    spi: atmel_spi.c: use resource_size()
    spi: Add s3c64xx SPI Controller driver
    atmel_spi: fix dma addr calculation for len > BUFFER_SIZE
    spi_s3c24xx: add FIQ pseudo-DMA support
    spi: controller driver for Designware SPI core
    spidev: add proper section markers
    spidev: use DECLARE_BITMAP instead of declaring the array

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
    backlight: mbp_nvidia_bl - add two more MacBookPro variants
    backlight: Pass device through notify callback in the pwm driver
    backlight: PTR_ERR return of wrong pointer in cr_backlight_probe()
    backlight: Constify struct backlight_ops
    backlight/thinkpad-acpi: issue backlight class events

    Fix up trivial conflicts in thinkpad-acpi support (backlight support
    already merged earlier).

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: leds-pwm: Set led_classdev max_brightness
    leds: leds-lp3944.h - remove unneeded includes
    leds: use default-on trigger for Cobalt Qube
    leds: drivers/leds/leds-ss4200.c: fix return statement
    leds: leds-pca9532.h- indent with tabs, not spaces
    leds: Add LED class driver for regulator driven LEDs.
    leds: leds-cobalt-qube.c: use resource_size()
    leds: leds-cobalt-raq.c - use resource_size()
    leds: Add driver for ADP5520/ADP5501 MFD PMICs
    leds: Add driver for LT3593 controlled LEDs
    leds-ss4200: Check pci_enable_device return
    leds: leds-alix2c - take port address from MSR
    leds: LED driver for Intel NAS SS4200 series (v5)

    Linus Torvalds
     
  • Introduce coredump parameter data structure (struct coredump_params) to
    simplify binfmt->core_dump() arguments.

    Signed-off-by: Masami Hiramatsu
    Suggested-by: Ingo Molnar
    Cc: Hidehiro Kawai
    Cc: Oleg Nesterov
    Cc: Roland McGrath
    Cc: KOSAKI Motohiro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masami Hiramatsu
     
  • Fix following warning in linux-next by guarding the function definition
    (both the "extern" and the inline) with #ifdef __KERNEL__.

    usr/include/linux/vt.h:89: userspace cannot call function or variable defined in
    the kernel

    Introduced by commit 5ada918b82399eef3afd6a71e3637697d6bd719f ("vt:
    introduce and use vt_kmsg_redirect() function").

    Signed-off-by: Bernhard Walle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bernhard Walle
     
  • This reverts commit e4c570c4cb7a95dbfafa3d016d2739bf3fdfe319, as
    requested by Alexey:

    "I think I gave a good enough arguments to not merge it.
    To iterate:
    * patch makes impossible to start using ext3 on EXT3_FS=n kernels
    without reboot.
    * this is done only for one pointer on task_struct"

    None of config options which define task_struct are tristate directly
    or effectively."

    Requested-by: Alexey Dobriyan
    Acked-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This reverts commit e9496ff46a20a8592fdc7bdaaf41b45eb808d310. Quoth Al:

    "it's dependent on a lot of other stuff not currently in mainline
    and badly broken with current fs/namespace.c. Sorry, badly
    out-of-order cherry-pick from old queue.

    PS: there's a large pending series reworking the refcounting and
    lifetime rules for vfsmounts that will, among other things, allow to
    rip a subtree away _without_ dissolving connections in it, to be
    garbage-collected when all active references are gone. It's
    considerably saner wrt "is the subtree busy" logics, but it's nowhere
    near being ready for merge at the moment; this changeset is one of the
    things becoming possible with that sucker, but it certainly shouldn't
    have been picked during this cycle. My apologies..."

    Noticed-by: Eric Paris
    Requested-by: Al Viro
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    kill I_LOCK
    fold do_sync_file_range into sys_sync_file_range
    fix up O_SYNC comments
    VFS/fsstack: handle 32-bit smp + preempt + large files in fsstack_copy_inode_size
    fsstack/ecryptfs: remove unused get_nlinks param to fsstack_copy_attr_all
    vfs: remove extraneous NULL d_inode check from do_filp_open
    fs: no games with DCACHE_UNHASHED
    fs: anon_inodes implement dname
    dio: fix use-after-free

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (27 commits)
    regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode()
    twl-regulator: Fix reg_disable functionality for 4030 and 6030
    twl-regulator: Add turnon delay to reg_enable
    twl-regulator: Restore REMAP configuration in regulator probe
    twl-regulator: Add turnon-delay and REMAP config to twlreg_info struct
    twl-regulator: Define critical regulators as always_on
    twl-regulator: Add all twl4030 regulators to twlreg_info
    regulator: mc13783-regulator: correct the probing time.
    regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path
    regulator: core.c: Small coding style cleanup (indentation fixup)
    drivers/regulator: use PTR_ERR to get error code
    regulator: consumer.h - fix build when consumer.h is #included first.
    regulator/mc13783: various cleanups
    regulator/mc13783: rename source file to match other drivers
    Fix some AB3100 regulator issues
    regulator: keep index within bounds in da9034_get_ldo12_voltage()
    regulator: Ensure val is initialised in 88pm8607 choose_voltage()
    regulator: Remove duplicate consts from ab3100
    regulator: Handle regulators without suspend mode configuration
    regulator: Factor out regulator name pretty printing
    ...

    Linus Torvalds
     
  • After I_SYNC was split from I_LOCK the leftover is always used together with
    I_NEW and thus superflous.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • We recently go rid of all callers of do_sync_file_range as they're better
    served with vfs_fsync or the filemap_write_and_wait. Now that
    do_sync_file_range is down to a single caller fold it into it so that people
    don't start using it again accidentally. While at it also switch it from
    using __filemap_fdatawrite_range(..., WB_SYNC_ALL) to the more clear
    filemap_fdatawrite_range().

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • Proper Posix O_SYNC handling only made it into 2.6.33, not 2.6.32.

    Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     

17 Dec, 2009

20 commits

  • Copy the inode size and blocks from one inode to another correctly on 32-bit
    systems with CONFIG_SMP, CONFIG_PREEMPT, or CONFIG_LBDAF. Use proper inode
    spinlocks only when i_size/i_blocks cannot fit in one 32-bit word.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Erez Zadok
    Signed-off-by: Al Viro

    Erez Zadok
     
  • This get_nlinks parameter was never used by the only mainline user,
    ecryptfs; and it has never been used by unionfs or wrapfs either.

    Acked-by: Dustin Kirkland
    Acked-by: Tyler Hicks
    Signed-off-by: Erez Zadok
    Signed-off-by: Al Viro

    Erez Zadok
     
  • Driver for the Designware SPI core, it supports multipul interfaces like
    PCI/APB etc. User can use "dw_apb_ssi_db.pdf" from Synopsys as HW
    datasheet.

    [randy.dunlap@oracle.com: fix build]
    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Feng Tang
    Cc: David Brownell
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Grant Likely

    Feng Tang
     
  • * 'for-33' of git://repo.or.cz/linux-kbuild: (29 commits)
    net: fix for utsrelease.h moving to generated
    gen_init_cpio: fixed fwrite warning
    kbuild: fix make clean after mismerge
    kbuild: generate modules.builtin
    genksyms: properly consider EXPORT_UNUSED_SYMBOL{,_GPL}()
    score: add asm/asm-offsets.h wrapper
    unifdef: update to upstream revision 1.190
    kbuild: specify absolute paths for cscope
    kbuild: create include/generated in silentoldconfig
    scripts/package: deb-pkg: use fakeroot if available
    scripts/package: add KBUILD_PKG_ROOTCMD variable
    scripts/package: tar-pkg: use tar --owner=root
    Kbuild: clean up marker
    net: add net_tstamp.h to headers_install
    kbuild: move utsrelease.h to include/generated
    kbuild: move autoconf.h to include/generated
    drop explicit include of autoconf.h
    kbuild: move compile.h to include/generated
    kbuild: drop include/asm
    kbuild: do not check for include/asm-$ARCH
    ...

    Fixed non-conflicting clean merge of modpost.c as per comments from
    Stephen Rothwell (modpost.c had grown an include of linux/autoconf.h
    that needed to be changed to generated/autoconf.h)

    Linus Torvalds
     
  • Add the device to the notify callback's arguments in the PWM backlight
    driver. This brings the notify callback into line with the other
    callbacks defined by this driver.

    Signed-off-by: Ben Dooks
    Signed-off-by: Simtec Linux Team
    Signed-off-by: Richard Purdie

    Ben Dooks
     
  • These were needed in the first version of the driver because we used to expose
    workqueue and led class details in the header file, now we don't.

    Signed-off-by: Antonio Ospite
    Signed-off-by: Richard Purdie

    Antonio Ospite
     
  • Signed-off-by: Antonio Ospite
    Signed-off-by: Richard Purdie

    Antonio Ospite
     
  • This driver provides an interface for controlling LEDs (or vibrators)
    connected to PMICs for which there is a regulator framework driver.

    This driver can be used, for instance, to control vibrator on all Motorola EZX
    phones using the pcap-regulator driver services.

    Signed-off-by: Antonio Ospite
    Reviewed-by: Mark Brown
    Signed-off-by: Richard Purdie

    Antonio Ospite
     
  • consumer.h requires device.h for stand alone build.

    Signed-off-by: Liam Girdwood

    Liam Girdwood
     
  • Since some regulators in the system may not support suspend mode
    configuration we need to allow some regulators to have a missing
    suspend mode configuration. Do this by requiring that disabled
    regulators are explicitly flagged and then skip over regulators
    that have no state specified.

    Try to avoid surprises by warning the if we could set the state
    but no configuration is provided. This also ensures that an all
    zeros configuration generates a warning rather than silently
    disabling the regulator.

    Reported-by: Joonyoung Shim
    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     
  • The BuckWise DC-DC convertors in WM831x devices support switching to
    a second output voltage using the logic level on one of the device
    pins. This is intended to allow rapid voltage switching for uses like
    cpufreq, replacing the I2C or SPI write used to configure the voltage
    of the regulator with a much faster GPIO status change.

    This is implemented by keeping the DVS voltage configured as the
    maximum voltage permitted for the regulator. If a request is made
    for the maximum voltage then the GPIO is used to switch to the DVS
    voltage, otherwise the normal ON voltage is updated and used. This
    follows the idiom used by most cpufreq drivers, which drop the
    minimum voltage as the core frequency is dropped but use a constant
    maximum - raising the voltage should normally be fast, but lowering
    it may be slower.

    Configuration of the DVS MFP on the device should be done externally,
    for example via OTP.

    Support is present in the hardware for monitoring the status of the
    transition using a second GPIO. This is not currently implemented
    but platform data is provided for it - the driver currently assumes
    that the device will be configured to transition immediately - but
    platform data is provided to reduce merge issues once it is.

    Signed-off-by: Mark Brown
    Acked-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Mark Brown
     
  • Tested with a MX25-based custom board.

    Signed-off-by: Wolfram Sang
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Wolfram Sang
     
  • Noone uses this wrapper yet, and Ingo asked that it be kept consistent
    with current task_struct usage.

    (One user crept in via linux-next: fixed)

    Signed-off-by: Rusty Russell
    Cc: Tejun Heo

    Rusty Russell
     
  • In NOMMU mode clamp dac_mmap_min_addr to zero to cause the tests on it to be
    skipped by the compiler. We do this as the minimum mmap address doesn't make
    any sense in NOMMU mode.

    mmap_min_addr and round_hint_to_min() can be discarded entirely in NOMMU mode.

    Signed-off-by: David Howells
    Acked-by: Eric Paris
    Signed-off-by: James Morris

    David Howells
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    XFS: Free buffer pages array unconditionally
    xfs: kill xfs_bmbt_rec_32/64 types
    xfs: improve metadata I/O merging in the elevator
    xfs: check for not fully initialized inodes in xfs_ireclaim

    Linus Torvalds
     
  • * 'next' of git://git.secretlab.ca/git/linux-2.6: (23 commits)
    powerpc: fix up for mmu_mapin_ram api change
    powerpc: wii: allow ioremap within the memory hole
    powerpc: allow ioremap within reserved memory regions
    wii: use both mem1 and mem2 as ram
    wii: bootwrapper: add fixup to calc useable mem2
    powerpc: gamecube/wii: early debugging using usbgecko
    powerpc: reserve fixmap entries for early debug
    powerpc: wii: default config
    powerpc: wii: platform support
    powerpc: wii: hollywood interrupt controller support
    powerpc: broadway processor support
    powerpc: wii: bootwrapper bits
    powerpc: wii: device tree
    powerpc: gamecube: default config
    powerpc: gamecube: platform support
    powerpc: gamecube/wii: flipper interrupt controller support
    powerpc: gamecube/wii: udbg support for usbgecko
    powerpc: gamecube/wii: do not include PCI support
    powerpc: gamecube/wii: declare as non-coherent platforms
    powerpc: gamecube/wii: introduce GAMECUBE_COMMON
    ...

    Fix up conflicts in arch/powerpc/mm/fsl_booke_mmu.c.

    Hopefully even close to correctly.

    Linus Torvalds
     
  • * 'drm-vmware-staging' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/vmwgfx: Add DRM driver for VMware Virtual GPU
    drm/vmwgfx: Add svga headers for vmwgfx driver
    drm/ttm: Add more driver type enums

    Linus Torvalds
     
  • * 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6: (34 commits)
    HWPOISON: Remove stray phrase in a comment
    HWPOISON: Try to allocate migration page on the same node
    HWPOISON: Don't do early filtering if filter is disabled
    HWPOISON: Add a madvise() injector for soft page offlining
    HWPOISON: Add soft page offline support
    HWPOISON: Undefine short-hand macros after use to avoid namespace conflict
    HWPOISON: Use new shake_page in memory_failure
    HWPOISON: Use correct name for MADV_HWPOISON in documentation
    HWPOISON: mention HWPoison in Kconfig entry
    HWPOISON: Use get_user_page_fast in hwpoison madvise
    HWPOISON: add an interface to switch off/on all the page filters
    HWPOISON: add memory cgroup filter
    memcg: add accessor to mem_cgroup.css
    memcg: rename and export try_get_mem_cgroup_from_page()
    HWPOISON: add page flags filter
    mm: export stable page flags
    HWPOISON: limit hwpoison injector to known page types
    HWPOISON: add fs/device filters
    HWPOISON: return 0 to indicate success reliably
    HWPOISON: make semantics of IGNORED/DELAYED clear
    ...

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (117 commits)
    ACPI processor: Fix section mismatch for processor_add()
    ACPI: Add platform-wide _OSC support.
    ACPI: cleanup pci_root _OSC code.
    ACPI: Add a generic API for _OSC -v2
    msi-wmi: depend on backlight and fix corner-cases problems
    msi-wmi: switch to using input sparse keymap library
    msi-wmi: replace one-condition switch-case with if statement
    msi-wmi: remove unused field 'instance' in key_entry structure
    msi-wmi: remove custom runtime debug implementation
    msi-wmi: rework init
    msi-wmi: remove useless includes
    X86 drivers: Introduce msi-wmi driver
    Toshiba Bluetooth Enabling driver (RFKill handler v3)
    ACPI: fix for lapic_timer_propagate_broadcast()
    acpi_pad: squish warning
    ACPI: dock: minor whitespace and style cleanups
    ACPI: dock: add struct dock_station * directly to platform device data
    ACPI: dock: dock_add - hoist up platform_device_register_simple()
    ACPI: dock: remove global 'dock_device_name'
    ACPI: dock: combine add|alloc_dock_dependent_device (v2)
    ...

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

    * 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (52 commits)
    perf record: Use per-task-per-cpu events for inherited events
    perf record: Properly synchronize child creation
    perf events: Allow per-task-per-cpu counters
    perf diff: Percent calcs should use double values
    perf diff: Change the default sort order to "dso,symbol"
    perf diff: Use perf_session__fprintf_hists just like 'perf record'
    perf report: Fix cut'n'paste error recently introduced
    perf session: Move perf report specific hits out of perf_session__fprintf_hists
    perf tools: Move hist entries printing routines from perf report
    perf report: Generalize perf_session__fprintf_hists()
    perf symbols: Move symbol filtering to event__preprocess_sample()
    perf symbols: Adopt the strlists for dso, comm
    perf symbols: Make symbol_conf global
    perf probe: Fix to show which probe point is not found
    perf probe: Check symbols in symtab/kallsyms
    perf probe: Check build-id of vmlinux
    perf probe: Reject second attempt of adding same-name event
    perf probe: Support event name for --add option
    perf probe: Add glob matching support on --del
    perf probe: Use strlist__for_each macros in probe-event.c
    ...

    Linus Torvalds