14 Jul, 2009

2 commits

  • This patch makes crypto4xx use crypto_ahash_set_reqsize to avoid
    accessing crypto_ahash directly.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch converts the padlock-sha implementation to shash.
    In doing so the existing mechanism of storing the data until
    final is no longer viable as we do not have a way of allocating
    data in crypto_shash_init and then reliably freeing it.

    This is just as well because a better way of handling the problem
    is to hash everything but the last chunk using normal sha code
    and then provide the intermediate result to the padlock device.

    This is good enough because the primary application of padlock-sha
    is IPsec and there the data is laid out in the form of an hmac
    header followed by the rest of the packet. In essence we can
    provide all the data to the padlock as the hmac header only needs
    to be hashed once.

    Signed-off-by: Herbert Xu

    Herbert Xu
     

11 Jul, 2009

1 commit


25 Jun, 2009

1 commit


18 Jun, 2009

27 commits

  • FIPS-140 requires that all random number generators implement continuous self
    tests in which each extracted block of data is compared against the last block
    for repetition. The ansi_cprng implements such a test, but it would be nice if
    the hw rng's did the same thing. Obviously its not something thats always
    needed, but it seems like it would be a nice feature to have on occasion. I've
    written the below patch which allows individual entropy stores to be flagged as
    desiring a continuous test to be run on them as is extracted. By default this
    option is off, but is enabled in the event that fips mode is selected during
    bootup.

    Signed-off-by: Neil Horman
    Acked-by: Matt Mackall
    Signed-off-by: Herbert Xu

    Neil Horman
     
  • Extend previous workarounds for the prefetch bug to cover CBC mode,
    clean up the code a bit.

    Signed-off-by: Chuck Ebbert
    Acked-by: Harald Welte
    Signed-off-by: Herbert Xu

    Chuck Ebbert
     
  • The VIA Nano processor has a bug that makes it prefetch extra data
    during encryption operations, causing spurious page faults. Extend
    existing workarounds for ECB mode to copy the data to an temporary
    buffer to avoid the problem.

    Signed-off-by: Chuck Ebbert
    Acked-by: Harald Welte
    Signed-off-by: Herbert Xu

    Chuck Ebbert
     
  • Instead of starting from the iomem or ioport roots, start from the
    parent bus' resources. This fixes a bug where child resources would
    appear above their parents resources if they had the same size.

    Signed-off-by: Matthew Wilcox
    Tested-by: Andrew Patterson
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Convert ia64 to use int-ll64.h
    [IA64] Fix build error in paravirt_patchlist.c
    [IA64] ia64 does not need umount2() syscall
    [IA64] hook up new rt_tgsigqueueinfo syscall
    [IA64] msi_ia64.c dmar_msi_type should be static
    [IA64] remove obsolete hw_interrupt_type
    [IA64] remove obsolete irq_desc_t typedef
    [IA64] remove obsolete no_irq_type
    [IA64] unexport fpswa.h

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6:
    mfd: early init for MFD running regulators
    mfd: fix tmio related warnings
    mfd: asic3: enable SD/SDIO cell
    mfd: asic3: enable DS1WM cell
    mfd: asic3: remove SD/SDIO controller register definitions
    mfd: asic3: use resource_size macro instead of local variable
    mfd: add ASIC3 IRQ numbers
    mfd: asic3: add clock handling for MFD cells
    mfd: asic3: add asic3_set_register common operation
    mfd: Fix Kconfig help text for WM8350
    mfd: add PCAP driver
    mfd: add U300 AB3100 core support
    drivers/mfd: remove obsolete irq_desc_t typedef
    mfd/pcf50633-gpio.c: add MODULE_LICENSE
    mfd: Mark WM8350 mask revision as readable to match silicon
    mfd: Mark clocks_init as non-init in twl4030-core.c
    mfd: Correct readability of WM8350 register 227

    Linus Torvalds
     
  • For MFDs running regulator cores, we really want them to be brought up early
    during boot.

    Signed-off-by: Samuel Ortiz
    Acked-by: Mark Brown
    Acked-by: Mike Rapoport

    Samuel Ortiz
     
  • We can not have .driver_data as const since platform_set_drvdata() doesnt take
    a const.
    The hclk mmc_data field can be const though.

    Signed-off-by: Samuel Ortiz

    Samuel Ortiz
     
  • This enables the ASIC3's SD/SDIO MFD cell, supported by the tmio_mmc driver.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • This enables the ASIC3's DS1WM MFD cell, supported by the ds1wm driver.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • This should make the code a little bit easier to read.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • Since ASIC3 has to work on both PXA and S3C and since their
    struct clk implementations differ, we can't register out
    clocks with the clkdev mechanism (yet?).
    For now we have to keep clock handling internal to this
    driver and enable/disable the clocks via the
    mfd_cell->enable/disable functions.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • Used to configure single bits of the SDHWCTRL_SDCONF and EXTCF_RESET/SELECT
    registers needed for DS1WM, MMC/SDIO and PCMCIA functionality.

    Signed-off-by: Philipp Zabel
    Signed-off-by: Samuel Ortiz

    Philipp Zabel
     
  • More with the grammar.

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

    Mark Brown
     
  • The PCAP Asic as present on EZX phones is a multi function device with
    voltage regulators, ADC, touch screen controller, RTC, USB transceiver,
    leds controller, and audio codec.

    It has two SPI ports, typically one is connected to the application
    processor and another to the baseband, this driver provides read/write
    functions to its registers, irq demultiplexer and ADC
    queueing/abstraction.

    This chip is used on a lot of Motorola phones, it was manufactured by TI
    as a custom product with the name PTWL93017, later this design evolved
    into the ATLAS PMIC from Freescale (MC13783).

    Signed-off-by: Daniel Ribeiro
    Signed-off-by: Samuel Ortiz

    Daniel Ribeiro
     
  • This adds a core driver for the AB3100 mixed-signal circuit
    found in the ST-Ericsson U300 series platforms. This driver
    is a singleton proxy for all accesses to the AB3100
    sub-drivers which will be merged on top of this one, RTC,
    regulators, battery and system power control, vibrator,
    LEDs, and an ALSA codec.

    Signed-off-by: Linus Walleij
    Reviewed-by: Mike Rapoport
    Reviewed-by: Ben Dooks
    Signed-off-by: Samuel Ortiz

    Linus Walleij
     
  • The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
    been kept around for migration reasons. After more than two years it's
    time to remove them finally.

    This patch cleans up one of the remaining users. When all such patches
    hit mainline we can remove the defines and typedefs finally.

    Impact: cleanup

    Convert the last remaining users and remove the typedef.

    Signed-off-by: Thomas Gleixner
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Samuel Ortiz

    Thomas Gleixner
     
  • Add the missing MODULE_LICENSE("GPL").

    Signed-off-by: Adrian Bunk
    Cc: Balaji Rao
    Cc: Andy Green
    Signed-off-by: Andrew Morton
    Signed-off-by: Samuel Ortiz

    Adrian Bunk
     
  • No impact unless someone has written additional kernel code.

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

    Mark Brown
     
  • Impact: Fix section mismatch.

    clocks_init() has been called from twl4030_probe() which is a non-init
    function. Since probing can be done anytime so clocks_init will be
    called anytime too. So we mark clock_init() as non-init.

    LD drivers/mfd/built-in.o
    WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in
    reference from the function twl4030_probe() to the function
    .init.text:clocks_init()
    The function twl4030_probe() references
    the function __init clocks_init().
    This is often because twl4030_probe lacks a __init
    annotation or the annotation of clocks_init is wrong.

    Signed-off-by: Rakib Mullick
    Signed-off-by: Samuel Ortiz

    Rakib Mullick
     
  • This includes the USB current limit status override which is used in the
    power management driver.

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

    Mark Brown
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] cpumask: new cpumask operators for arch/x86/kernel/cpu/cpufreq/powernow-k8.c
    [CPUFREQ] cpumask: avoid playing with cpus_allowed in powernow-k8.c
    [CPUFREQ] cpumask: avoid cpumask games in arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
    [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c
    [CPUFREQ] powernow-k8: get drv data for correct CPU
    [CPUFREQ] powernow-k8: read P-state from HW
    [CPUFREQ] reduce scope of ACPI_PSS_BIOS_BUG_MSG[]
    [CPUFREQ] Clean up convoluted code in arch/x86/kernel/tsc.c:time_cpufreq_notifier()
    [CPUFREQ] minor correction to cpu-freq documentation
    [CPUFREQ] powernow-k8.c: mess cleanup
    [CPUFREQ] Only set sampling_rate_max deprecated, sampling_rate_min is useful
    [CPUFREQ] powernow-k8: Set transition latency to 1 if ACPI tables export 0
    [CPUFREQ] ondemand: Uncouple minimal sampling rate from HZ in NO_HZ case

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6:
    [SCSI] aic79xx: make driver respect nvram for IU and QAS settings
    [SCSI] don't attach ULD to Dell Universal Xport
    [SCSI] lpfc 8.3.3 : Update driver version to 8.3.3
    [SCSI] lpfc 8.3.3 : Add support for Target Reset handler entrypoint
    [SCSI] lpfc 8.3.3 : Fix a couple of spin_lock and memory issues and a crash
    [SCSI] lpfc 8.3.3 : FC/FCOE discovery fixes
    [SCSI] lpfc 8.3.3 : Fix various SLI-3 vs SLI-4 differences
    [SCSI] qla2xxx: Resolve a performance issue in interrupt
    [SCSI] cnic, bnx2i: Fix build failure when CONFIG_PCI is not set.
    [SCSI] nsp_cs: time_out reaches -1
    [SCSI] qla2xxx: fix printk format warnings
    [SCSI] ncr53c8xx: div reaches -1
    [SCSI] compat: don't perform unneeded copy in sg_io code
    [SCSI] zfcp: Update FC pass-through support
    [SCSI] zfcp: Add FC pass-through support
    [SCSI] FC Pass Thru support

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubi-2.6: (21 commits)
    UBI: add reboot notifier
    UBI: handle more error codes
    UBI: fix multiple spelling typos
    UBI: fix kmem_cache_free on error patch
    UBI: print amount of reserved PEBs
    UBI: improve messages in the WL worker
    UBI: make gluebi a separate module
    UBI: remove built-in gluebi
    UBI: add notification API
    UBI: do not switch to R/O mode on read errors
    UBI: fix and clean-up error paths in WL worker
    UBI: introduce new constants
    UBI: fix race condition
    UBI: minor serialization fix
    UBI: do not panic if volume check fails
    UBI: add dump_stack in checking code
    UBI: fix races in I/O debugging checks
    UBI: small debugging code optimization
    UBI: improve debugging messages
    UBI: re-name volumes_mutex to device_mutex
    ...

    Linus Torvalds
     
  • This causes an issue since we fixed the drm mappings to do the right thing,
    so its just a copy and pasto.

    Signed-off-by: Dave Airlie
    Signed-off-by: Linus Torvalds

    Dave Airlie
     
  • Tony Luck
     
  • It is generally agreed that it would be beneficial for u64 to be an
    unsigned long long on all architectures. ia64 (in common with several
    other 64-bit architectures) currently uses unsigned long. Migrating
    piecemeal is too painful; this giant patch fixes all compilation warnings
    and errors that come as a result of switching to use int-ll64.h.

    Note that userspace will still see __u64 defined as unsigned long. This
    is important as it affects C++ name mangling.

    [Updated by Tony Luck to change efi.h:efi_freemem_callback_t to use
    u64 for start/end rather than unsigned long]

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Tony Luck

    Matthew Wilcox
     

17 Jun, 2009

9 commits

  • The octeon-ethernet driver supports the sgmii, rgmii, spi, and xaui
    ports present on the Cavium OCTEON family of SOCs. These SOCs are
    multi-core mips64 processors with existing support over in arch/mips.

    The driver files can be categorized into three basic groups:

    1) Register definitions, these are named cvmx-*-defs.h

    2) Main driver code, these have names that don't start cvmx-.

    3) Interface specific functions and other utility code, names starting
    with cvmx-

    Signed-off-by: David Daney
    Signed-off-by: Ralf Baechle

    David Daney
     
  • This patch adds support for the integrated RNG of the TX4939 SoC.

    Signed-off-by: Atsushi Nemoto
    Acked-by: Matt Mackall
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • This patch adds support for the integrated DMAC of the TXx9 family.

    Signed-off-by: Atsushi Nemoto
    Acked-by: Dan Williams
    Signed-off-by: Ralf Baechle

    Atsushi Nemoto
     
  • * 'next-i2c' of git://aeryn.fluff.org.uk/bjdooks/linux:
    i2c-stu300: Make driver depend on MACH_U300
    i2c-s3c2410: use resource_size()
    i2c: Use resource_size macro
    i2c: ST DDC I2C U300 bus driver v3
    i2c-bfin-twi: pull in io.h for ioremap()

    Linus Torvalds
     
  • * 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm/radeon: switch to using late_initcall
    radeon legacy chips: tv dac bg/dac adj updates
    drm/radeon: introduce kernel modesetting for radeon hardware
    drm: Add the TTM GPU memory manager subsystem.
    drm: Memory fragmentation from lost alignment blocks
    drm/radeon: fix mobility flags on new PCI IDs.

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (425 commits)
    V4L/DVB (11870): gspca - main: VIDIOC_ENUM_FRAMESIZES ioctl added.
    V4L/DVB (12004): poll method lose race condition
    V4L/DVB (11894): flexcop-pci: dmesg visible names broken
    V4L/DVB (11892): Siano: smsendian - declare function as extern
    V4L/DVB (11891): Siano: smscore - bind the GPIO SMS protocol
    V4L/DVB (11890): Siano: smscore - remove redundant code
    V4L/DVB (11889): Siano: smsdvb - add DVB v3 events
    V4L/DVB (11888): Siano: smsusb - remove redundant ifdef
    V4L/DVB (11887): Siano: smscards - add board (target) events
    V4L/DVB (11886): Siano: smscore - fix some new GPIO definitions names
    V4L/DVB (11885): Siano: Add new GPIO management interface
    V4L/DVB (11884): Siano: smssdio - revert to stand alone module
    V4L/DVB (11883): Siano: cards - add two additional (USB) devices
    V4L/DVB (11824): Siano: smsusb - change exit func debug msg
    V4L/DVB (11823): Siano: smsusb - fix typo in module description
    V4L/DVB (11822): Siano: smscore - bug fix at get_device_mode
    V4L/DVB (11821): Siano: smscore - fix isdb-t firmware name
    V4L/DVB (11820): Siano: smscore - fix byte ordering bug
    V4L/DVB (11819): Siano: smscore - fix get_common_buffer bug
    V4L/DVB (11818): Siano: smscards - assign gpio to HPG targets
    ...

    Linus Torvalds
     
  • * akpm: (182 commits)
    fbdev: bf54x-lq043fb: use kzalloc over kmalloc/memset
    fbdev: *bfin*: fix __dev{init,exit} markings
    fbdev: *bfin*: drop unnecessary calls to memset
    fbdev: bfin-t350mcqb-fb: drop unused local variables
    fbdev: blackfin has __raw I/O accessors, so use them in fb.h
    fbdev: s1d13xxxfb: add accelerated bitblt functions
    tcx: use standard fields for framebuffer physical address and length
    fbdev: add support for handoff from firmware to hw framebuffers
    intelfb: fix a bug when changing video timing
    fbdev: use framebuffer_release() for freeing fb_info structures
    radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb?
    s3c-fb: CPUFREQ frequency scaling support
    s3c-fb: fix resource releasing on error during probing
    carminefb: fix possible access beyond end of carmine_modedb[]
    acornfb: remove fb_mmap function
    mb862xxfb: use CONFIG_OF instead of CONFIG_PPC_OF
    mb862xxfb: restrict compliation of platform driver to PPC
    Samsung SoC Framebuffer driver: add Alpha Channel support
    atmel-lcdc: fix pixclock upper bound detection
    offb: use framebuffer_alloc() to allocate fb_info struct
    ...

    Manually fix up conflicts due to kmemcheck in mm/slab.c

    Linus Torvalds
     
  • Signed-off-by: Mike Frysinger
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     
  • The remove member of the platform_driver bfin_t350mcqb_driver should use
    __devexit_p() to refer to the remove function, and that function should
    get __devexit markings. Likewise, the probe function should be marked
    with __devinit and not __init.

    Also, module_init() functions should be marked with __init rather than
    __devinit.

    Signed-off-by: Mike Frysinger
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger