06 Aug, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (54 commits)
    ipv6: check for IPv4 mapped addresses when connecting IPv6 sockets
    mlx4: decreasing ref count when removing mac
    net: Fix security_socket_sendmsg() bypass problem.
    net: Cap number of elements for sendmmsg
    net: sendmmsg should only return an error if no messages were sent
    ixgbe: fix PHY link setup for 82599
    ixgbe: fix __ixgbe_notify_dca() bail out code
    igb: fix WOL on second port of i350 device
    e1000e: minor re-order of #include files
    e1000e: remove unnecessary check for NULL pointer
    intel drivers: repair missing flush operations
    macb: restore wrap bit when performing underrun cleanup
    cdc_ncm: fix endianness problem.
    irda: use PCI_VENDOR_ID_*
    mlx4: Fixing Ethernet unicast packet steering
    net: fix NULL dereferences in check_peer_redir()
    bnx2x: Clear MDIO access warning during first driver load
    bnx2x: Fix BCM578xx MAC test
    bnx2x: Fix BCM54618se invalid link indication
    bnx2x: Fix BCM84833 link
    ...

    Linus Torvalds
     

04 Aug, 2011

3 commits

  • * 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6:
    cpuidle: stop depending on pm_idle
    x86 idle: move mwait_idle_with_hints() to where it is used
    cpuidle: replace xen access to x86 pm_idle and default_idle
    cpuidle: create bootparam "cpuidle.off=1"
    mrst_pmu: driver for Intel Moorestown Power Management Unit

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
    tcm_fc: Handle DDP/SW fc_frame_payload_get failures in ft_recv_write_data
    target: Fix bug for transport_generic_wait_for_tasks with direct operation
    target: iscsi_target depends on NET
    target: Fix WRITE_SAME_16 lba assignment breakage
    MAINTAINERS: Add target-devel list for drivers/target/
    iscsi-target: Fix CONFIG_SMP=n and CONFIG_MODULES=n build failure
    iscsi-target: Fix snprintf usage with MAX_PORTAL_LEN
    iscsi-target: Fix uninitialized usage of cmd->pad_bytes
    iscsi-target: strlen() doesn't count the terminator
    iscsi-target: Fix NULL dereference on allocation failure

    Linus Torvalds
     
  • The Moorestown (MRST) Power Management Unit (PMU) driver
    directs the SOC power states in the "Langwell" south complex (SCU).

    It hooks pci_platform_pm_ops[] and thus observes all PCI ".set_state"
    requests. For devices in the SC, the pmu driver translates those
    PCI requests into the appropriate commands for the SCU.

    The PMU driver helps implement S0i3, a deep system idle power idle state.
    Entry into S0i3 is via cpuidle, just like regular processor c-states.
    S0i3 depends on pre-conditions including uni-processor, graphics off,
    and certain IO devices in the SC must be off. If those pre-conditions
    are met, then the PMU allows cpuidle to enter S0i3, otherwise such requests
    are demoted, either to Atom C4 or Atom C6.

    This driver is based on prototype work by Bruce Flemming,
    Illyas Mansoor, Rajeev D. Muralidhar, Vishwesh M. Rudramuni,
    Hari Seshadri and Sujith Thomas. The current driver also
    includes contributions from H. Peter Anvin, Arjan van de Ven,
    Kristen Accardi, and Yong Wang.

    Thanks for additional review feedback from Alan Cox and Randy Dunlap.

    Acked-by: Alan Cox
    Acked-by: H. Peter Anvin
    Signed-off-by: Len Brown

    Len Brown
     

03 Aug, 2011

1 commit


02 Aug, 2011

1 commit

  • My @hp.com will no longer be valid starting August 5, 2011 so an update is
    necessary. My new email address is employer independent so we don't have
    to worry about doing this again any time soon.

    Signed-off-by: Paul Moore
    Signed-off-by: Paul Moore
    Signed-off-by: David S. Miller

    Paul Moore
     

01 Aug, 2011

2 commits

  • Signed-off-by: David S. Miller

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpupowerutils:
    cpupower: Do detect IDA (opportunistic processor performance) via cpuid
    cpupower: Show Intel turbo ratio support via ./cpupower frequency-info
    cpupowerutils: increase MAX_LINE_LEN
    cpupower: Rename package from cpupowerutils to cpupower
    cpupowerutils: Rename: libcpufreq->libcpupower
    cpupowerutils: use kernel version-derived version string
    cpupowerutils: utils - ConfigStyle bugfixes
    cpupowerutils: helpers - ConfigStyle bugfixes
    cpupowerutils: idle_monitor - ConfigStyle bugfixes
    cpupowerutils: lib - ConfigStyle bugfixes
    cpupowerutils: bench - ConfigStyle bugfixes
    cpupowerutils: do not update po files on each and every compile
    cpupowerutils: remove ccdv, use kernel quiet/verbose mechanism
    cpupowerutils: use COPYING, CREDITS from top-level directory
    cpupowerutils - cpufrequtils extended with quite some features

    Linus Torvalds
     

31 Jul, 2011

1 commit

  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging: (24 commits)
    hwmon: (lm90) Refactor reading of config2 register
    hwmon: (lm90) Make SA56004 detection more robust
    hwmon: (lm90) Simplify handling of extended local temp register
    hwmon: (pmbus) Add client driver for LM25066, LM5064, and LM5066
    hwmon: (max34440) Add support for peak attributes
    hwmon: (max8688) Add support for peak attributes
    hwmon: (max16064) Add support for peak attributes
    hwmon: (adm1275) Add support for peak attributes
    hwmon: (pmbus) Add support for peak attributes
    hwmon: Add new attributes to sysfs ABI
    hwmon: (pmbus) Strengthen check for status register existence
    hwmon: (pmbus) Add support for virtual pages
    hwmon: (pmbus) Support reading and writing of word registers in device specific code
    hwmon: (pmbus) Increase attribute name size
    hwmon: (pmbus) Add ADP4000, NCP4200 and NCP4208 to list of supported devices
    hwmon: (pmbus) Add support for VID output voltage mode
    hwmon: (pmbus) Move PMBus drivers to drivers/hwmon/pmbus
    hwmon: (coretemp) Add core/pkg threshold support to Coretemp
    hwmon: (lm95241) Add support for LM95231
    hwmon: LM95245 driver
    ...

    Linus Torvalds
     

30 Jul, 2011

1 commit

  • CPU power consumption vs performance tuning is no longer
    limited to CPU frequency switching anymore: deep sleep states,
    traditional dynamic frequency scaling and hidden turbo/boost
    frequencies are tied close together and depend on each other.
    The first two exist on different architectures like PPC, Itanium and
    ARM, the latter (so far) only on X86. On X86 the APU (CPU+GPU) will
    only run most efficiently if CPU and GPU has proper power management
    in place.

    Users and Developers want to have *one* tool to get an overview what
    their system supports and to monitor and debug CPU power management
    in detail. The tool should compile and work on as many architectures
    as possible.

    Once this tool stabilizes a bit, it is intended to replace the
    Intel-specific tools in tools/power/x86

    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

29 Jul, 2011

2 commits


28 Jul, 2011

3 commits

  • This patch adds support for MAX1668 and compatible temperature sensors.

    Signed-off-by: David George
    [guenter.roeck@ericsson.com: minor cleanup of probe error path]
    Signed-off-by: Guenter Roeck

    David George
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: (54 commits)
    tpm_nsc: Fix bug when loading multiple TPM drivers
    tpm: Move tpm_tis_reenable_interrupts out of CONFIG_PNP block
    tpm: Fix compilation warning when CONFIG_PNP is not defined
    TOMOYO: Update kernel-doc.
    tpm: Fix a typo
    tpm_tis: Probing function for Intel iTPM bug
    tpm_tis: Fix the probing for interrupts
    tpm_tis: Delay ACPI S3 suspend while the TPM is busy
    tpm_tis: Re-enable interrupts upon (S3) resume
    tpm: Fix display of data in pubek sysfs entry
    tpm_tis: Add timeouts sysfs entry
    tpm: Adjust interface timeouts if they are too small
    tpm: Use interface timeouts returned from the TPM
    tpm_tis: Introduce durations sysfs entry
    tpm: Adjust the durations if they are too small
    tpm: Use durations returned from TPM
    TOMOYO: Enable conditional ACL.
    TOMOYO: Allow using argv[]/envp[] of execve() as conditions.
    TOMOYO: Allow using executable's realpath and symlink's target as conditions.
    TOMOYO: Allow using owner/group etc. of file objects as conditions.
    ...

    Fix up trivial conflict in security/tomoyo/realpath.c

    Linus Torvalds
     
  • Reported-by: Randy Dunlap
    Signed-off-by: Nicholas Bellinger

    Nicholas Bellinger
     

27 Jul, 2011

2 commits

  • * 'next/soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
    MAINTAINERS: add maintainer of CSR SiRFprimaII machine
    ARM: CSR: initializing L2 cache
    ARM: CSR: mapping early DEBUG_LL uart
    ARM: CSR: Adding CSR SiRFprimaII board support
    OMAP4: clocks: Update the clock tree with 4460 clock nodes
    OMAP4: PRCM: OMAP4460 specific PRM and CM register bitshifts
    OMAP4: ID: add omap_has_feature for max freq supported
    OMAP: ID: introduce chip detection for OMAP4460
    ARM: Xilinx: merge board file into main platform code
    ARM: Xilinx: Adding Xilinx board support

    Fix up conflicts in arch/arm/mach-omap2/cm-regbits-44xx.h

    Linus Torvalds
     
  • * 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus: (31 commits)
    MIPS: Close races in TLB modify handlers.
    MIPS: Add uasm UASM_i_SRL_SAFE macro.
    MIPS: RB532: Use hex_to_bin()
    MIPS: Enable cpu_has_clo_clz for MIPS Technologies' platforms
    MIPS: PowerTV: Provide cpu-feature-overrides.h
    MIPS: Remove pointless return statement from empty void functions.
    MIPS: Limit fixrange_init() to the FIXMAP region
    MIPS: Install handlers for software IRQs
    MIPS: Move FIXADDR_TOP into spaces.h
    MIPS: Add SYNC after cacheflush
    MIPS: pfn_valid() is broken on low memory HIGHMEM systems
    MIPS: HIGHMEM DMA on noncoherent MIPS32 processors
    MIPS: topdown mmap support
    MIPS: Remove redundant addr_limit assignment on exec.
    MIPS: AR7: Replace __attribute__((__packed__)) with __packed
    MIPS: AR7: Remove 'space before tabs' in platform.c
    MIPS: Lantiq: Add missing clk_enable and clk_disable functions.
    MIPS: AR7: Fix trailing semicolon bug in clock.c
    MAINTAINERS: Update MIPS entry.
    MIPS: BCM63xx: Remove duplicate PERF_IRQSTAT_REG definition
    ...

    Linus Torvalds
     

26 Jul, 2011

7 commits

  • * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (741 commits)
    staging:iio:meter:ade7753 should be 16 bit read not 8 bit for mode register.
    staging:iio:kfifo_buf fix double initialization of the ring device structure.
    staging:iio:accel:lis3l02dq: fix incorrect pointer passed to spi_set_drvdata.
    staging:iio:imu fix missing register table index for some channels
    spectra: enable device before poking it
    staging: rts_pstor: Fix a miswriting
    staging/lirc_bt829: Return -ENODEV when no hardware is found.
    staging/lirc_parallel: remove pointless prototypes.
    staging/lirc_parallel: fix panic on rmmod
    staging:iio:adc:ad7476: Incorrect pointer into spi_set_drvdata.
    Staging: zram: Fix kunmapping order
    Revert "gma500: Fix dependencies"
    gma500: Add medfield header
    gma500: wire up the mrst i2c bus from chip_info
    gma500: Fix DPU build
    gma500: Clean up the DPU config and make it runtime
    gma500: resync with Medfield progress
    gma500: Use the mrst helpers and power control for mode commit
    gma500@ Fix backlight range error
    gma500: More Moorestown muddle meddling means MM maybe might modeset
    ...

    Fix up fairly trivial conflicts all over, mostly due to header file
    cleanup conflicts, but some deleted files and some just context changes:
    - Documentation/feature-removal-schedule.txt
    - drivers/staging/bcm/headers.h
    - drivers/staging/brcm80211/brcmfmac/dhd_linux.c
    - drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
    - drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
    - drivers/staging/brcm80211/brcmfmac/wl_iw.c
    - drivers/staging/et131x/et131x_netdev.c
    - drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
    - drivers/staging/rtl8192e/r8192E.h
    - drivers/staging/usbip/userspace/src/utils.h

    Linus Torvalds
     
  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (99 commits)
    drivers/virt: add missing linux/interrupt.h to fsl_hypervisor.c
    powerpc/85xx: fix mpic configuration in CAMP mode
    powerpc: Copy back TIF flags on return from softirq stack
    powerpc/64: Make server perfmon only built on ppc64 server devices
    powerpc/pseries: Fix hvc_vio.c build due to recent changes
    powerpc: Exporting boot_cpuid_phys
    powerpc: Add CFAR to oops output
    hvc_console: Add kdb support
    powerpc/pseries: Fix hvterm_raw_get_chars to accept < 16 chars, fixing xmon
    powerpc/irq: Quieten irq mapping printks
    powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs
    powerpc: Add mpt2sas driver to pseries and ppc64 defconfig
    powerpc: Disable IRQs off tracer in ppc64 defconfig
    powerpc: Sync pseries and ppc64 defconfigs
    powerpc/pseries/hvconsole: Fix dropped console output
    hvc_console: Improve tty/console put_chars handling
    powerpc/kdump: Fix timeout in crash_kexec_wait_realmode
    powerpc/mm: Fix output of total_ram.
    powerpc/cpufreq: Add cpufreq driver for Momentum Maple boards
    powerpc: Correct annotations of pmu registration functions
    ...

    Fix up trivial Kconfig/Makefile conflicts in arch/powerpc, drivers, and
    drivers/cpufreq

    Linus Torvalds
     
  • * Merge akpm patch series: (122 commits)
    drivers/connector/cn_proc.c: remove unused local
    Documentation/SubmitChecklist: add RCU debug config options
    reiserfs: use hweight_long()
    reiserfs: use proper little-endian bitops
    pnpacpi: register disabled resources
    drivers/rtc/rtc-tegra.c: properly initialize spinlock
    drivers/rtc/rtc-twl.c: check return value of twl_rtc_write_u8() in twl_rtc_set_time()
    drivers/rtc: add support for Qualcomm PMIC8xxx RTC
    drivers/rtc/rtc-s3c.c: support clock gating
    drivers/rtc/rtc-mpc5121.c: add support for RTC on MPC5200
    init: skip calibration delay if previously done
    misc/eeprom: add eeprom access driver for digsy_mtc board
    misc/eeprom: add driver for microwire 93xx46 EEPROMs
    checkpatch.pl: update $logFunctions
    checkpatch: make utf-8 test --strict
    checkpatch.pl: add ability to ignore various messages
    checkpatch: add a "prefer __aligned" check
    checkpatch: validate signature styles and To: and Cc: lines
    checkpatch: add __rcu as a sparse modifier
    checkpatch: suggest using min_t or max_t
    ...

    Did this as a merge because of (trivial) conflicts in
    - Documentation/feature-removal-schedule.txt
    - arch/xtensa/include/asm/uaccess.h
    that were just easier to fix up in the merge than in the patch series.

    Linus Torvalds
     
  • clockchips.h was typoed as clockevents.h

    Signed-off-by: Joe Perches
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon: (lm78) Become the maintainer
    hwmon: (lm78) Make ISA interface depend on CONFIG_ISA
    hwmon: (lm78) Avoid forward declarations
    hwmon: (sht15) Correct a comment mistake
    hwmon: (max1111) Avoid extra memory allocations
    hwmon: (it87) Add chassis intrusion detection support
    hwmon: (via-cputemp) Add VID reporting support
    hwmon-vid: Add support for VIA family 6 model D CPU
    hwmon: New driver sch5636
    hwmon: (sch5627) Factor out some code shared with sch5636 driver

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    fs: Merge split strings
    treewide: fix potentially dangerous trailing ';' in #defined values/expressions
    uwb: Fix misspelling of neighbourhood in comment
    net, netfilter: Remove redundant goto in ebt_ulog_packet
    trivial: don't touch files that are removed in the staging tree
    lib/vsprintf: replace link to Draft by final RFC number
    doc: Kconfig: `to be' -> `be'
    doc: Kconfig: Typo: square -> squared
    doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
    drivers/net: static should be at beginning of declaration
    drivers/media: static should be at beginning of declaration
    drivers/i2c: static should be at beginning of declaration
    XTENSA: static should be at beginning of declaration
    SH: static should be at beginning of declaration
    MIPS: static should be at beginning of declaration
    ARM: static should be at beginning of declaration
    rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
    Update my e-mail address
    PCIe ASPM: forcedly -> forcibly
    gma500: push through device driver tree
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
    - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
    - drivers/net/r8169.c (just context changes)

    Linus Torvalds
     
  • Declare myself the maintainer of the lm78 driver. I still have a
    running system with one of these chips.

    Also count myself as a co-author of the driver. With 34 commits over
    6 years, it seems fair.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

25 Jul, 2011

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (145 commits)
    bnx2x: use pci_pcie_cap()
    bnx2x: fix bnx2x_stop_on_error flow in bnx2x_sp_rtnl_task
    bnx2x: enable internal target-read for 57712 and up only
    bnx2x: count statistic ramrods on EQ to prevent MC assert
    bnx2x: fix loopback for non 10G link
    bnx2x: dcb - send all unmapped priorities to same COS as L2
    iwlwifi: Fix build with CONFIG_PM disabled.
    gre: fix improper error handling
    ipv4: use RT_TOS after some rt_tos conversions
    via-velocity: remove duplicated #include
    qlge: remove duplicated #include
    igb: remove duplicated #include
    can: c_can: remove duplicated #include
    bnad: remove duplicated #include
    net: allow netif_carrier to be called safely from IRQ
    bna: Header File Consolidation
    bna: HW Error Counter Fix
    bna: Add HW Semaphore Unlock Logic
    bna: IOC Event Name Change
    bna: Mboxq Flush When IOC Disabled
    ...

    Linus Torvalds
     
  • * 'for-upstream' of git://openrisc.net/jonas/linux: (24 commits)
    OpenRISC: Add MAINTAINERS entry
    OpenRISC: Miscellaneous
    OpenRISC: Library routines
    OpenRISC: Headers
    OpenRISC: Traps
    OpenRISC: Module support
    OpenRISC: GPIO
    OpenRISC: Scheduling/Process management
    OpenRISC: Idle/Power management
    OpenRISC: System calls
    OpenRISC: IRQ
    OpenRISC: Timekeeping
    OpenRISC: DMA
    OpenRISC: PTrace
    OpenRISC: Build infrastructure
    OpenRISC: Signal handling
    OpenRISC: Memory management
    OpenRISC: Device tree
    OpenRISC: Boot code
    iomap: make IOPORT/PCI mapping functions conditional
    ...

    Linus Torvalds
     

24 Jul, 2011

4 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
    regulator: Convert tps65023 to use regmap API
    regmap: Add SPI bus support
    regmap: Add I2C bus support
    regmap: Add generic non-memory mapped register access API

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (77 commits)
    [SCSI] fix crash in scsi_dispatch_cmd()
    [SCSI] sr: check_events() ignore GET_EVENT when TUR says otherwise
    [SCSI] bnx2i: Fixed kernel panic due to illegal usage of sc->request->cpu
    [SCSI] bfa: Update the driver version to 3.0.2.1
    [SCSI] bfa: Driver and BSG enhancements.
    [SCSI] bfa: Added support to query PHY.
    [SCSI] bfa: Added HBA diagnostics support.
    [SCSI] bfa: Added support for flash configuration
    [SCSI] bfa: Added support to obtain SFP info.
    [SCSI] bfa: Added support for CEE info and stats query.
    [SCSI] bfa: Extend BSG interface.
    [SCSI] bfa: FCS bug fixes.
    [SCSI] bfa: DMA memory allocation enhancement.
    [SCSI] bfa: Brocade-1860 Fabric Adapter vHBA support.
    [SCSI] bfa: Brocade-1860 Fabric Adapter PLL init fixes.
    [SCSI] bfa: Added Fabric Assigned Address(FAA) support
    [SCSI] bfa: IOC bug fixes.
    [SCSI] bfa: Enable ASIC block configuration and query.
    [SCSI] bnx2i: Updated copyright and bump version
    [SCSI] bnx2i: Modified to skip CNIC registration if iSCSI is not supported
    ...

    Fix up some trivial conflicts in:
    - drivers/scsi/bnx2fc/{bnx2fc.h,bnx2fc_fcoe.c}:
    Crazy broadcom version number conflicts
    - drivers/target/tcm_fc/tfc_cmd.c
    Just trivial cleanups done on adjacent lines

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (297 commits)
    ALSA: asihpi - Replace with snd_ctl_boolean_mono_info()
    ALSA: asihpi - HPI version 4.08
    ALSA: asihpi - Add volume mute controls
    ALSA: asihpi - Control name updates
    ALSA: asihpi - Use size_t for sizeof result
    ALSA: asihpi - Explicitly include mutex.h
    ALSA: asihpi - Add new node and message defines
    ALSA: asihpi - Make local function static
    ALSA: asihpi - Fix minor typos and spelling
    ALSA: asihpi - Remove unused structures, macros and functions
    ALSA: asihpi - Remove spurious adapter index check
    ALSA: asihpi - Revise snd_pcm_debug_name, get rid of DEBUG_NAME macro
    ALSA: asihpi - DSP code loader API now independent of OS
    ALSA: asihpi - Remove controlex structs and associated special data transfer code
    ALSA: asihpi - Increase request and response buffer sizes
    ALSA: asihpi - Give more meaningful name to hpi request message type
    ALSA: usb-audio - Add quirk for Roland / BOSS BR-800
    ALSA: hda - Remove a superfluous argument of via_auto_init_output()
    ALSA: hda - Fix indep-HP path (de-)activation for VT1708* codecs
    ALSA: hda - Add documentation for codec-specific mixer controls
    ...

    Linus Torvalds
     
  • James Bottomley
     

23 Jul, 2011

8 commits

  • There are many places in the tree where we implement register access for
    devices on non-memory mapped buses, especially I2C and SPI. Since hardware
    designers seem to have settled on a relatively consistent set of register
    interfaces this can be effectively factored out into shared code. There
    are a standard set of formats for marshalling data for exchange with the
    device, with the actual I/O mechanisms generally being simple byte
    streams.

    We create an abstraction for marshaling data into formats which can be
    sent on the control interfaces, and create a standard method for
    plugging in actual transport underneath that.

    This is mostly a refactoring and renaming of the bottom level of the
    existing code for sharing register I/O which we have in ASoC. A
    subsequent patch in this series converts ASoC to use this. The main
    difference in interface is that reads return values by writing to a
    location provided by a pointer rather than in the return value, ensuring
    we can use the full range of the type for register data. We also use
    unsigned types rather than ints for the same reason.

    As some of the devices can have very large register maps the existing
    ASoC code also contains infrastructure for managing register caches.
    This cache work will be moved over in a future stage to allow for
    separate review, the current patch only deals with the physical I/O.

    Signed-off-by: Mark Brown
    Acked-by: Liam Girdwood
    Acked-by: Greg Kroah-Hartman
    Acked-by: Wolfram Sang
    Acked-by: Grant Likely

    Mark Brown
     
  • …ville/wireless-next-2.6

    David S. Miller
     
  • …wireless-next-2.6 into for-davem

    John W. Linville
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (26 commits)
    IB/qib: Defer HCA error events to tasklet
    mlx4_core: Bump the driver version to 1.0
    RDMA/cxgb4: Use printk_ratelimited() instead of printk_ratelimit()
    IB/mlx4: Support PMA counters for IBoE
    IB/mlx4: Use flow counters on IBoE ports
    IB/pma: Add include file for IBA performance counters definitions
    mlx4_core: Add network flow counters
    mlx4_core: Fix location of counter index in QP context struct
    mlx4_core: Read extended capabilities into the flags field
    mlx4_core: Extend capability flags to 64 bits
    IB/mlx4: Generate GID change events in IBoE code
    IB/core: Add GID change event
    RDMA/cma: Don't allow IPoIB port space for IBoE
    RDMA: Allow for NULL .modify_device() and .modify_port() methods
    IB/qib: Update active link width
    IB/qib: Fix potential deadlock with link down interrupt
    IB/qib: Add sysfs interface to read free contexts
    IB/mthca: Remove unnecessary read of PCI_CAP_ID_EXP
    IB/qib: Remove double define
    IB/qib: Remove unnecessary read of PCI_CAP_ID_EXP
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1287 commits)
    icmp: Fix regression in nexthop resolution during replies.
    net: Fix ppc64 BPF JIT dependencies.
    acenic: include NET_SKB_PAD headroom to incoming skbs
    ixgbe: convert to ndo_fix_features
    ixgbe: only enable WoL for magic packet by default
    ixgbe: remove ifdef check for non-existent define
    ixgbe: Pass staterr instead of re-reading status and error bits from descriptor
    ixgbe: Move interrupt related values out of ring and into q_vector
    ixgbe: add structure for containing RX/TX rings to q_vector
    ixgbe: inline the ixgbe_maybe_stop_tx function
    ixgbe: Update ATR to use recorded TX queues instead of CPU for routing
    igb: Fix for DH89xxCC near end loopback test
    e1000: always call e1000_check_for_link() on e1000_ce4100 MACs.
    netxen: add fw version compatibility check
    be2net: request native mode each time the card is reset
    ipv4: Constrain UFO fragment sizes to multiples of 8 bytes
    virtio_net: Fix panic in virtnet_remove
    ipv6: make fragment identifications less predictable
    ipv6: unshare inetpeers
    can: make function can_get_bittiming static
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (78 commits)
    mmc: MAINTAINERS: add myself as a tmio-mmc maintainer
    mmc: print debug messages for runtime PM actions
    mmc: fix runtime PM with -ENOSYS suspend case
    mmc: at91_mci: move register header from include/ to drivers/
    mmc: mxs-mmc: fix clock rate setting
    mmc: tmio: fix a deadlock
    mmc: tmio: fix a recently introduced bug in DMA code
    mmc: sh_mmcif: maximize power saving
    mmc: tmio: maximize power saving
    mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled
    mmc: Added quirks for Ricoh 1180:e823 lower base clock frequency
    mmc: omap_hsmmc: fix oops in omap_hsmmc_dma_cb()
    mmc: omap_hsmmc: refactor duplicated code
    mmc: omap_hsmmc: fix a few bugs when setting the clock divisor
    mmc: omap_hsmmc: introduce start_clock and re-use stop_clock
    mmc: omap_hsmmc: split duplicate code to calc_divisor() function
    mmc: omap_hsmmc: move hardcoded frequency constants to defines
    mmc: omap_hsmmc: correct debug report error status mnemonics
    mmc: block: fixed NULL pointer dereference
    mmc: documentation of mmc non-blocking request usage and design.
    ...

    Linus Torvalds
     
  • * 'linux-next' of git://git.infradead.org/ubifs-2.6: (32 commits)
    MAINTAINERS: change e-mail of Adrian Hunter
    UBIFS: fix master node recovery
    UBIFS: improve power cut emulation testing
    UBIFS: rename recovery testing variables
    UBIFS: remove custom list of superblocks
    UBIFS: stop re-defining UBI operations
    UBIFS: switch to I/O helpers
    UBIFS: switch to ubifs_leb_write
    UBIFS: switch to ubifs_leb_read
    UBIFS: introduce more I/O helpers
    UBIFS: always print stacktrace when switching to R/O mode
    UBIFS: remove unused and unneeded debugging function
    UBIFS: add global debugfs knobs
    UBIFS: introduce debugfs helpers
    UBIFS: re-arrange debugging code a bit
    UBIFS: be more informative in failure mode
    UBIFS: switch self-check knobs to debugfs
    UBIFS: lessen amount of debugging check types
    UBIFS: introduce helper functions for debugging checks and tests
    UBIFS: amend debugging inode size check function prototype
    ...

    Linus Torvalds
     
  • Signed-off-by: Jonas Bonn
    Reviewed-by: Arnd Bergmann

    Jonas Bonn
     

22 Jul, 2011

1 commit


21 Jul, 2011

1 commit