1. 09 Mar, 2014 4 commits
  2. 05 Mar, 2014 6 commits
    • Barry Song's avatar
      ARM: prima2: move to generic reset controller driver framework · e7eda91f
      Barry Song authored
      this moves to generic IP module reset framework, and make other drivers
      use common device_reset() API.
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      Signed-off-by: default avatarBin Shi <Bin.Shi@csr.com>
      Acked-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
      e7eda91f
    • Barry Song's avatar
      ARM: prima2: staticize sirfsoc_init_late function · 951ec090
      Barry Song authored
      sirfsoc_init_late() is a local function not an extern interface to anyone.
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      951ec090
    • Barry Song's avatar
      ARM: prima2: rtciobrg: fix the typo about license · 5b7356bb
      Barry Song authored
      we are marking GPL v2 in head comments, but MODULE_LICENSE is declaring GPL.
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      5b7356bb
    • Barry Song's avatar
      ARM: prima2: common: fix checkpatch issues · 8ccf166c
      Barry Song authored
      fix the below checkpatch issues:
      ERROR: Use of const init definition must use __initconst
      30: FILE: common.c:30:
      +static const char *atlas6_dt_match[] __initdata = {
      
      ERROR: Use of const init definition must use __initconst
      45: FILE: common.c:45:
      +static const char *prima2_dt_match[] __initdata = {
      
      ERROR: Use of const init definition must use __initconst
      61: FILE: common.c:61:
      +static const char *marco_dt_match[] __initdata = {
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      8ccf166c
    • Barry Song's avatar
      ARM: prima2: platsmp: fix checkpatch issues · 661bfe23
      Barry Song authored
      fix the below checkpatch issues:
      ERROR: code indent should use tabs where possible
      141: FILE: platsmp.c:141:
      +        .smp_prepare_cpus       = sirfsoc_smp_prepare_cpus,$
      
      WARNING: please, no spaces at the start of a line
      141: FILE: platsmp.c:141:
      +        .smp_prepare_cpus       = sirfsoc_smp_prepare_cpus,$
      
      ERROR: code indent should use tabs where possible
      142: FILE: platsmp.c:142:
      +        .smp_secondary_init     = sirfsoc_secondary_init,$
      
      WARNING: please, no spaces at the start of a line
      142: FILE: platsmp.c:142:
      +        .smp_secondary_init     = sirfsoc_secondary_init,$
      
      ERROR: code indent should use tabs where possible
      143: FILE: platsmp.c:143:
      +        .smp_boot_secondary     = sirfsoc_boot_secondary,$
      
      WARNING: please, no spaces at the start of a line
      143: FILE: platsmp.c:143:
      +        .smp_boot_secondary     = sirfsoc_boot_secondary,$
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      661bfe23
    • Barry Song's avatar
      ARM: prima2: l2x0: fix checkpatch issues · c2ed0f36
      Barry Song authored
      Fix the below checkpatch issues:
      
      ERROR: open brace '{' following struct go on the same line
      15: FILE: l2x0.c:15:
      +struct l2x0_aux
      +{
      
      ERROR: Use of __initconst requires a separate use of const
      20: FILE: l2x0.c:20:
      +static struct l2x0_aux prima2_l2x0_aux __initconst = {
      
      ERROR: Use of __initconst requires a separate use of const
      25: FILE: l2x0.c:25:
      +static struct l2x0_aux marco_l2x0_aux __initconst = {
      
      ERROR: Use of __initconst requires a separate use of const
      31: FILE: l2x0.c:31:
      +static struct of_device_id sirf_l2x0_ids[] __initconst = {
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      c2ed0f36
  3. 04 Mar, 2014 1 commit
  4. 28 Feb, 2014 3 commits
    • Alexander Shiyan's avatar
      ARM: clps711x: Update defconfig · cf460cde
      Alexander Shiyan authored
      This updates the CLPS711X defconfig to the thing saved by savedefconfig.
      Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      cf460cde
    • Alexander Shiyan's avatar
      ARM: clps711x: Remove EP72XX_ROM_BOOT option · 32c6c01b
      Alexander Shiyan authored
      CLPS711X CPUs have 128 bytes of on-chip Boot ROM with an
      instruction sequence that configure UART1 to receive up to
      2 Kbytes of serial data which is then placed in the on-chip
      SRAM. Once the download is complete, the program counter
      jumps to SRAM to begin executed the downloaded data.
      The purpose of this mode is to allow the downloaded code to
      facilitate programming of FLASH or other ROM device. Selection
      of the internal Boot ROM is accomplished at power-on-reset time.
      No reason to keep this special (develop only) mode in the kernel.
      This patch removes EP72XX_ROM_BOOT kernel symbol.
      Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      32c6c01b
    • Arnd Bergmann's avatar
      Merge tag 'kconfig-cleanup-for-3.15' of... · ead47a75
      Arnd Bergmann authored
      Merge tag 'kconfig-cleanup-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux into next/cleanup
      
      Merge "kconfig clean-up and mach-virt removal for 3.15" from Rob Herring
      
      - Remove common kconfig options required by multi-platform builds out
      of individual platforms as they are redundant.
      - Make SMP, CACHE_L2X0 and GPIO config options user visible on
      multi-platform builds as most platforms enable these options and all
      platforms can run with them enabled.
      - Make multi-platform v6 default to more optimal v6k rather than v6
      - Remove the last bit of mach-virt and convert it to just a kconfig
      option.
      
      * tag 'kconfig-cleanup-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        ARM: virt: select ARM_AMBA
        ARM: virt: make mach-virt just a kconfig option
        ARM: vt8500: enable V6K instead of plain V6
        ARM: cns3xxx: enable V6K instead of plain V6
        ARM: bcm2835: enable V6K instead of plain V6
        ARM: Select V6K instead of V6 by default for multi-platform
        ARM: select MIGHT_HAVE_CACHE_L2X0 for V6 and V7 multi-platform
        ARM: select HAVE_SMP for V7 multi-platform
        ARM: centralize common multi-platform kconfig options
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ead47a75
  5. 25 Feb, 2014 1 commit
  6. 24 Feb, 2014 6 commits
  7. 22 Feb, 2014 1 commit
  8. 20 Feb, 2014 2 commits
  9. 19 Feb, 2014 10 commits
  10. 18 Feb, 2014 1 commit
    • Uwe Kleine-König's avatar
      ARM: ixp4xx: fix timer latch calculation · fb3174e4
      Uwe Kleine-König authored
      In commit f0402f9b ("ARM: ixp4xx: stop using <mach/timex.h>")
      I didn't intend to implement a functional change, but as Olof noticed I
      failed---at least a bit. Before this commit the following was used to
      determine the latch value used:
      
      	#define IXP4XX_TIMER_FREQ 66666000
      	#define CLOCK_TICK_RATE \
      		(((IXP4XX_TIMER_FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
      	#define LATCH ((CLOCK_TICK_RATE + HZ/2) / HZ)
      
      The complicated calculation was done "b/c the timer register ignores the
      bottom 2 bits of the LATCH value." With HZ=100 CLOCK_TICK_RATE used to
      calculate to 66666100 and so LATCH to 666661. In ixp4xx_set_mode the
      term
      
      	LATCH & ~IXP4XX_OST_RELOAD_MASK
      
      was used to write to the relevant register (with IXP4XX_OST_RELOAD_MASK
      being 3) and so effectively 666660 was used.
      
      In commit f0402f9b I translated that to:
      
      	#define IXP4XX_TIMER_FREQ 66666000
      	#define IXP4XX_LATCH DIV_ROUND_CLOSEST(IXP4XX_TIMER_FREQ, HZ)
      
      which results in the same register writes, but still doesn't bear in
      mind that the two least significant bits cannot be specified (which is
      relevant only when HZ or IXP4XX_TIMER_FREQ are changed).
      
      Instead of reverting back to the old approach use a more obvious and
      also more correct way to calculate LATCH. (Regarding the more
      correct claim: With IXP4XX_TIMER_FREQ == 66665999, the old code resulted
      in LATCH = 666657 corresponding to a cycle time of 0.009999940149400597
      seconds (error: -6.0e-8 s) while the new approach results in LATCH =
      666660 and so a cycle time of 0.010000000150001503 seconds
      (error: 1.5e-10 s).)
      
      Fixes: f0402f9b ("ARM: ixp4xx: stop using <mach/timex.h>")
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      fb3174e4
  11. 16 Feb, 2014 5 commits
    • Linus Torvalds's avatar
      Linux 3.14-rc3 · 6d0abeca
      Linus Torvalds authored
      6d0abeca
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 3962dfbe
      Linus Torvalds authored
      Pull btrfs fixes from Chris Mason:
       "We have a small collection of fixes in my for-linus branch.
      
        The big thing that stands out is a revert of a new ioctl.  Users
        haven't shipped yet in btrfs-progs, and Dave Sterba found a better way
        to export the information"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        Btrfs: use right clone root offset for compressed extents
        btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105
        Btrfs: unset DCACHE_DISCONNECTED when mounting default subvol
        Btrfs: fix max_inline mount option
        Btrfs: fix a lockdep warning when cleaning up aborted transaction
        Revert "btrfs: add ioctl to export size of global metadata reservation"
      3962dfbe
    • Linus Torvalds's avatar
      Merge tag 'dt-fixes-for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · 4302a875
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
       "Fix booting on PPC boards.  Changes to of_match_node matching caused
        the serial port on some PPC boards to stop working.  Reverted the
        change and reimplement to split matching between new style compatible
        only matching and fallback to old matching algorithm"
      
      * tag 'dt-fixes-for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        of: search the best compatible match first in __of_match_node()
        Revert "OF: base: match each node compatible against all given matches first"
      4302a875
    • Kevin Hao's avatar
      of: search the best compatible match first in __of_match_node() · 06b29e76
      Kevin Hao authored
      Currently, of_match_node compares each given match against all node's
      compatible strings with of_device_is_compatible.
      
      To achieve multiple compatible strings per node with ordering from
      specific to generic, this requires given matches to be ordered from
      specific to generic. For most of the drivers this is not true and also
      an alphabetical ordering is more sane there.
      
      Therefore, this patch introduces a function to match each of the node's
      compatible strings against all given compatible matches without type and
      name first, before checking the next compatible string. This implies
      that node's compatibles are ordered from specific to generic while
      given matches can be in any order. If we fail to find such a match
      entry, then fall-back to the old method in order to keep compatibility.
      
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
      Tested-by: default avatarStephen Chivers <schivers@csc.com>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      06b29e76
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · 946dd683
      Linus Torvalds authored
      Pull SCSI target fixes from Nicholas Bellinger:
       "Mostly minor fixes this time to v3.14-rc1 related changes.  Also
        included is one fix for a free after use regression in persistent
        reservations UNREGISTER logic that is CC'ed to >= v3.11.y stable"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
        Target/sbc: Fix protection copy routine
        IB/srpt: replace strict_strtoul() with kstrtoul()
        target: Simplify command completion by removing CMD_T_FAILED flag
        iser-target: Fix leak on failure in isert_conn_create_fastreg_pool
        iscsi-target: Fix SNACK Type 1 + BegRun=0 handling
        target: Fix missing length check in spc_emulate_evpd_83()
        qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list
        target: Fix 32-bit + CONFIG_LBDAF=n link error w/ sector_div
        target: Fix free-after-use regression in PR unregister
      946dd683