1. 02 Mar, 2012 1 commit
  2. 29 Feb, 2012 2 commits
    • Arnd Bergmann's avatar
      Merge branch 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt · 590d829a
      Arnd Bergmann authored
      * 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        arm/dts: Add support for TI OMAP3 EVM board
        arm/dts: OMAP4: Update DTS file with new GIC bindings
        arm/dts: OMAP3: Add i2c controller nodes
        arm/dts: OMAP4: Add i2c controller nodes
        ARM: OMAP2+: Set Kconfig dependencies for PROC_DEVICETREE
        arm/dts: OMAP3&4: Remove the '0x' prefix for serial nodes
        ARM: OMAP1: kconfig: Enable IRQ_DOMAIN by default for OMAP1 platforms
        ARM: OMAP2+: pm: Do not init statically the SR and voltage layer with DT
        ARM: OMAP2+: omap_device: Replace dev_warn by dev_dbg in omap_device_build_from_dt
        ARM: OMAP2+: board-generic: Remove un-needed .atag_offset for DT_MACHINE
        ARM: OMAP2+: kconfig: Enable devicetree by default for OMAP2+ systems
        arm/dts: OMAP: Remove bootargs node from board files
      590d829a
    • Arnd Bergmann's avatar
      Merge branch 'at91-3.4-base2+cleanup' of git://github.com/at91linux/linux-at91... · 7eca30ae
      Arnd Bergmann authored
      Merge branch 'at91-3.4-base2+cleanup' of git://github.com/at91linux/linux-at91 into at91/staging/base2+cleanup
      
      * 'at91-3.4-base2+cleanup' of git://github.com/at91linux/linux-at91: (20 commits)
        ARM: at91: properly sort dtb files in Makefile.boot
        ARM: at91: add at91sam9g25ek.dts in Makefile.boot
        ARM: at91/board-dt: drop default console
        Atmel: move console default platform_device to serial driver
        ARM: at91: merge SRAM Memory banks thanks to mirroring
        ARM: at91: finally drop at91_sys_read/write
        ARM: at91/rtc-at91sam9: pass the GPBR to use via resources
        ARM: at91:rtc/rtc-at91sam9: ioremap register bank
        ARM: at91/rtc-at91sam9: each SoC can select the RTT device to use
        ARM: at91/PMC: make register base soc independent
        ARM: at91/PMC: move assignment out of printf
        ARM: at91/pm_slowclock: add runtime detection of memory contoller
        ARM: at91: make sdram/ddr register base soc independent
        ARM: at91: move at91rm9200 sdramc defines to at91rm9200_sdramc.h
        ARM: at91/pm_slowclock: function slow_clock() accepts parameters
        ARM: at91/pm_slowclock: rename register to named define
        ARM: at91/ST: remove not needed casts
        ARM: at91: make ST (System Timer) soc independent
        ARM: at91: make matrix register base soc independent
        ARM: at91/at91x40: remove use of at91_sys_read/write
      
      Based on top of the at91/9x5, rmk/for-armsoc, at91/device-board,
      at91/pm_cleanup and at91/base.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      7eca30ae
  3. 28 Feb, 2012 1 commit
  4. 27 Feb, 2012 7 commits
  5. 26 Feb, 2012 3 commits
    • Grant Likely's avatar
      mfd: twl-core: Add IRQ_DOMAIN dependency · 280ad7fd
      Grant Likely authored
      TWL4030 depends on IRQ_DOMAIN support, so this patch selects it in Kconfig.
      It used to be that CONFIG_IRQ_DOMAIN must only be selected by the architecture,
      but recent cleanups have fixed it so that it is safe to select from anywhere.
      Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
      [grant.likely: Changed from a depends to a select]
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      280ad7fd
    • Grant Likely's avatar
      devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc) · 964dba28
      Grant Likely authored
      Sparc has its own helpers for translating address ranges when the device
      tree is parsed at boot time, and it isn't able to use of_platform_populate().
      However, there are some device drivers that want to use that function on
      other DT enabled platforms (ie. TWL4030).  This patch adds an empty
      of_platform_populate() implementation that returns an error when
      CONFIG_OF_ADDRESS is not selected.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Cc: Benoit Cousson <b-cousson@ti.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      964dba28
    • Grant Likely's avatar
      irq_domain: Centralize definition of irq_dispose_mapping() · d593f25f
      Grant Likely authored
      Several architectures define their own empty irq_dispose_mapping().  Since
      the irq_domain code is centralized now, there is little need to do so.  This
      patch removes them and creates a new empty copy when !CONFIG_IRQ_DOMAIN is
      selected.
      
      The patch also means that IRQ_DOMAIN becomes selectable on all architectures.
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Cc: Rob Herring <rob.herring@calxeda.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: sparclinux@vger.kernel.org
      Cc: linux@lists.openrisc.net
      d593f25f
  6. 25 Feb, 2012 7 commits
    • Linus Torvalds's avatar
      Linux 3.3-rc5 · 6b21d18e
      Linus Torvalds authored
      6b21d18e
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 00b10ecf
      Linus Torvalds authored
      Couple of minor driver fixes.
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (max34440) Fix resetting temperature history
        hwmon: (f75375s) Fix register write order when setting fans to full speed
        hwmon: (ads1015) Fix file leak in probe function
        hwmon: (max6639) Fix PPR register initialization to set both channels
        hwmon: (max6639) Fix FAN_FROM_REG calculation
      00b10ecf
    • Linus Torvalds's avatar
      Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild · 1e73fde5
      Linus Torvalds authored
      three kbuild fixes for 3.3:
       - make deb-pkg symlink race fix.
       - make coccicheck fix.
       - Dropping the check for modutils.  This is not a regression, but
         allows the module-init-tools replacement kmod work with the 3.3
         kernel.
      
      * 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
        coccicheck: change handling of C={1,2} when M= is set
        builddeb: Don't create files in /tmp with predictable names
        kbuild: do not check for ancient modutils tools
      1e73fde5
    • Ian Kent's avatar
      autofs: work around unhappy compat problem on x86-64 · a32744d4
      Ian Kent authored
      When the autofs protocol version 5 packet type was added in commit
      5c0a32fc ("autofs4: add new packet type for v5 communications"), it
      obvously tried quite hard to be word-size agnostic, and uses explicitly
      sized fields that are all correctly aligned.
      
      However, with the final "char name[NAME_MAX+1]" array at the end, the
      actual size of the structure ends up being not very well defined:
      because the struct isn't marked 'packed', doing a "sizeof()" on it will
      align the size of the struct up to the biggest alignment of the members
      it has.
      
      And despite all the members being the same, the alignment of them is
      different: a "__u64" has 4-byte alignment on x86-32, but native 8-byte
      alignment on x86-64.  And while 'NAME_MAX+1' ends up being a nice round
      number (256), the name[] array starts out a 4-byte aligned.
      
      End result: the "packed" size of the structure is 300 bytes: 4-byte, but
      not 8-byte aligned.
      
      As a result, despite all the fields being in the same place on all
      architectures, sizeof() will round up that size to 304 bytes on
      architectures that have 8-byte alignment for u64.
      
      Note that this is *not* a problem for 32-bit compat mode on POWER, since
      there __u64 is 8-byte aligned even in 32-bit mode.  But on x86, 32-bit
      and 64-bit alignment is different for 64-bit entities, and as a result
      the structure that has exactly the same layout has different sizes.
      
      So on x86-64, but no other architecture, we will just subtract 4 from
      the size of the structure when running in a compat task.  That way we
      will write the properly sized packet that user mode expects.
      
      Not pretty.  Sadly, this very subtle, and unnecessary, size difference
      has been encoded in user space that wants to read packets of *exactly*
      the right size, and will refuse to touch anything else.
      Reported-and-tested-by: default avatarThomas Meyer <thomas@m3y3r.de>
      Signed-off-by: default avatarIan Kent <raven@themaw.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a32744d4
    • Linus Torvalds's avatar
      Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · b52b8002
      Linus Torvalds authored
      One InfiniBand/RDMA regression fix for 3.3:
      
       - mlx4 SR-IOV changes added static exported functions, which doesn't
         build on powerpc at least.  Fix from Doug Ledford for this.
      
      * tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        mlx4_core: Exported functions can't be static
      b52b8002
    • Tony Lindgren's avatar
      Merge branch 'for_3.4/dts_updates' of... · ffd76d8b
      Tony Lindgren authored
      Merge branch 'for_3.4/dts_updates' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into dt
      ffd76d8b
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 · 16bca1d5
      Linus Torvalds authored
      SCSI fixes on 20120224:
       "This is a set of assorted bug fixes for power management, mpt2sas,
        ipr, the rdac device handler and quite a big chunk for qla2xxx (plus a
        use after free of scsi_host in scsi_scan.c). "
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
        [SCSI] scsi_dh_rdac: Fix for unbalanced reference count
        [SCSI] scsi_pm: Fix bug in the SCSI power management handler
        [SCSI] scsi_scan: Fix 'Poison overwritten' warning caused by using freed 'shost'
        [SCSI] qla2xxx: Update version number to 8.03.07.13-k.
        [SCSI] qla2xxx: Proper detection of firmware abort error code for ISP82xx.
        [SCSI] qla2xxx: Remove resetting memory during device initialization for ISP82xx.
        [SCSI] qla2xxx: Complete mailbox command timedout to avoid initialization failures during next reset cycle.
        [SCSI] qla2xxx: Remove check for null fcport from host reset handler.
        [SCSI] qla2xxx: Correct out of bounds read of ISP2200 mailbox registers.
        [SCSI] qla2xxx: Remove errant clearing of MBX_INTERRUPT flag during CT-IOCB processing.
        [SCSI] qla2xxx: Clear options-flags while issuing stop-firmware mbx command.
        [SCSI] qla2xxx: Add an "is reset active" helper.
        [SCSI] qla2xxx: Add check for null fcport references in qla2xxx_queuecommand.
        [SCSI] qla2xxx: Propagate up abort failures.
        [SCSI] isci: Fix NULL ptr dereference when no firmware is being loaded
        [SCSI] ipr: fix eeh recovery for 64-bit adapters
        [SCSI] mpt2sas: Fix mismatch in mpt2sas_base_hard_reset_handler() mutex lock-unlock
      16bca1d5
  7. 24 Feb, 2012 19 commits