1. 12 12月, 2013 1 次提交
  2. 08 12月, 2013 5 次提交
  3. 02 12月, 2013 6 次提交
    • A
      ARM: kirkwood: Add support for NETGEAR ReadyNAS NV+ v2 · 46ca506c
      Arnaud Ebalard 提交于
      Almost all hardware parts of the NETGEAR ReadyNAS NV+ v2 ([1] for more
      details) are supported by mainline kernel. The only missing elements in
      provided .dts file are:
      
       - the front LCD module (Winstar WINSTAR WH1602): driver development is
         ongoing. This is the same LCD module as on ReadyNAS 104.
       - the Macronix MX25L512 512Kbit SPI flash: no time to play with it yet.
      
      The device is the big brother (4 vs 2 bay) of the ReadyNAS Duo v2. The
      main differences are some additional LEDs for the disks, a Marvell
      88SM4140 SATA Port multiplier (no driver required to access the disk)
      and previously described LCD module. Otherwise, it shares the same SoC
      (kirkwood 88F6282), RAM (256MB), NAND (128MB), RTC chip (Ricoh rs5c372a),
      fan controller (GMT G762), XHCI controller (NEC/Renesas µPD720200).
      
      [1]: http://natisbad.org/NAS5/Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      46ca506c
    • A
      ARM: mvebu: Add Netgear ReadyNAS 2120 board · 8aa0b019
      Arnaud Ebalard 提交于
      All hardware parts of the (mv78230 Armada XP based) NETGEAR ReadyNAS
      2120 are supported by mainline kernel (USB 3.0 and eSATA rear ports,
      USB 2.0 front port, Gigabit controller and PHYs for the two rear ports,
      serial port, LEDs, Buttons, 88SE9170 SATA controllers, three G762 fan
      controllers, G751 temperature sensor) except for:
      
       - the Intersil ISL12057 I2C RTC Chip,
       - the Armada NAND controller.
      
      Support for both of those is currently work in progress and does not
      prevent boot.
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      8aa0b019
    • A
      ARM: mvebu: Fix whitespace in NETGEAR ReadyNAS .dts files · ece19e2b
      Arnaud Ebalard 提交于
      This patch provides some whitespace cleanup for NETGEAR
      ReadyNAS Duo v2 and 102 .dts files:
      
       - Fixed bad spaces
       - Added some space between nodes to improve readability
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      ece19e2b
    • A
      ARM: mvebu: NETGEAR ReadyNAS 104 .dts cleanup · 96b09e3e
      Arnaud Ebalard 提交于
      The patch does some cleanup work on NETGEAR ReadyNAS 104 .dts
      file. Changes are listed below:
      
       - Completed conversion from value to macros for GPIO voltage level
       - Converted all numeric input key values to macros
       - Fixed all node names and labels to use respectively '-' and '_'
       - Made button names more explicit
       - Changed order of included files from general to local
       - Removed useless clocks and gpio-keys properties
       - Document ethernet PHY (Marvell 88E1318) via a comment
       - Made G762 clock node name unique by including g762 in it
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      96b09e3e
    • A
      ARM: mvebu: NETGEAR ReadyNAS 102 .dts cleanup · b8f18162
      Arnaud Ebalard 提交于
      The patch does some cleanup work on NETGEAR ReadyNAS 102 .dts
      file. Changes are listed below
      
       - Added missing button mpp in pinctrl
       - Converted from value to macros for GPIO voltage level
       - Converted all numeric input key values to macros
       - Added GPIO keys pins to pinctrl
       - Made button names more explicit
       - Document ethernet PHY (Marvell 88E1318) via a comment
       - Made G762 clock node name unique by including g762 in it
       - Fixed all node names and labels to use respectively '-' and '_'
       - Changed order of included files from general to local
       - Removed useless clocks and gpio-keys properties
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      b8f18162
    • A
      ARM: kirkwood: NETGEAR ReadyNAS Duo v2 .dts cleanup · 261e7735
      Arnaud Ebalard 提交于
      The patch does some cleanup work on NETGEAR ReadyNAS Duo v2 .dts
      file. Changes are listed below:
      
       - Converted from value to macros for GPIO voltage level
       - Converted all numeric input key values to macros
       - Made button names more explicit
       - Document ethernet PHY (Marvell 88E1318) via a comment
       - Added header for the file to describe content and author
       - Made G762 clock node name unique by including g762 in it
       - Fixed all node names and labels to use respectively '-' and '_'
       - Changed order of included files from general to local
       - Removed useless clocks and gpio-keys properties
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      261e7735
  4. 27 11月, 2013 2 次提交
  5. 25 11月, 2013 6 次提交
  6. 24 11月, 2013 5 次提交
  7. 21 11月, 2013 2 次提交
  8. 19 11月, 2013 1 次提交
  9. 18 11月, 2013 1 次提交
  10. 17 11月, 2013 1 次提交
  11. 16 11月, 2013 1 次提交
  12. 15 11月, 2013 9 次提交
    • N
      ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume · 3522bf7b
      Nishanth Menon 提交于
      OMAP device hooks around suspend|resume_noirq ensures that hwmod
      devices are forced to idle using omap_device_idle/enable as part of
      the last stage of suspend activity.
      
      For a device such as i2c who uses autosuspend, it is possible to enter
      the suspend path with dev->power.runtime_status = RPM_ACTIVE.
      
      As part of the suspend flow, the generic runtime logic would increment
      it's dev->power.disable_depth to 1. This should prevent further
      pm_runtime_get_sync from succeeding once the runtime_status has been
      set to RPM_SUSPENDED.
      
      Now, as part of the suspend_noirq handler in omap_device, we force the
      following: if the device status is !suspended, we force the device
      to idle using omap_device_idle (clocks are cut etc..). This ensures
      that from a hardware perspective, the device is "suspended". However,
      runtime_status is left to be active.
      
      *if* an operation is attempted after this point to
      pm_runtime_get_sync, runtime framework depends on runtime_status to
      indicate accurately the device status, and since it sees it to be
      ACTIVE, it assumes the module is functional and returns a non-error
      value. As a result the user will see pm_runtime_get succeed, however a
      register access will crash due to the lack of clocks.
      
      To prevent this from happening, we should ensure that runtime_status
      exactly indicates the device status. As a result of this change
      any further calls to pm_runtime_get* would return -EACCES (since
      disable_depth is 1). On resume, we restore the clocks and runtime
      status exactly as we suspended with. These operations are not expected
      to fail as we update the states after the core runtime framework has
      suspended itself and restore before the core runtime framework has
      resumed.
      
      Cc: stable@vger.kernel.org # v3.4+
      Reported-by: NJ Keerthy <j-keerthy@ti.com>
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Acked-by: NRajendra Nayak <rnayak@ti.com>
      Acked-by: NKevin Hilman <khilman@linaro.org>
      Reviewed-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3522bf7b
    • W
      ARM: OMAP3: Beagle: fix return value check in beagle_opp_init() · c27f2de7
      Wei Yongjun 提交于
      In case of error, the function get_cpu_device() returns NULL pointer
      not ERR_PTR(). The IS_ERR() test in the return value check should be
      replaced with NULL test.
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c27f2de7
    • J
      ARM: at91: fix hanged boot due to early rtt-interrupt · 94c4c79f
      Johan Hovold 提交于
      Make sure the RTT-interrupts are masked at boot by adding a new helper
      function to be used at SOC-init.
      
      This fixes hanged boot on all AT91 SOCs with an RTT, for example, if an
      RTT-alarm goes off after a non-clean shutdown (e.g. when using RTC
      wakeup).
      
      The RTC and RTT-peripherals are powered by backup power (VDDBU) (on all
      AT91 SOCs but RM9200) and are not reset on wake-up, user, watchdog or
      software reset. This means that their interrupts may be enabled during
      early boot if, for example, they where not disabled during a previous
      shutdown (e.g. due to a buggy driver or a non-clean shutdown such as a
      user reset). Furthermore, an RTC or RTT-alarm may also be active.
      
      The RTC and RTT-interrupts use the shared system-interrupt line, which
      is also used by the PIT, and if an interrupt occurs before a handler
      (e.g. RTC-driver) has been installed this leads to the system interrupt
      being disabled and prevents the system from booting.
      
      Note that when boot hangs due to an early RTC or RTT-interrupt, the only
      way to get the system to start again is to remove the backup power (e.g.
      battery) or to disable the interrupt manually from the bootloader. In
      particular, a user reset is not sufficient.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: stable@vger.kernel.org # 3.11.x
      94c4c79f
    • J
      ARM: at91: fix hanged boot due to early rtc-interrupt · 6de714c2
      Johan Hovold 提交于
      Make sure the RTC-interrupts are masked at boot by adding a new helper
      function to be used at SOC-init.
      
      This fixes hanged boot on all AT91 SOCs with an RTC (but RM9200), for
      example, after a reset during an RTC-update or if an RTC-alarm goes off
      after shutdown (e.g. when using RTC wakeup).
      
      The RTC and RTT-peripherals are powered by backup power (VDDBU) (on all
      AT91 SOCs but RM9200) and are not reset on wake-up, user, watchdog or
      software reset. This means that their interrupts may be enabled during
      early boot if, for example, they where not disabled during a previous
      shutdown (e.g. due to a buggy driver or a non-clean shutdown such as a
      user reset). Furthermore, an RTC or RTT-alarm may also be active.
      
      The RTC and RTT-interrupts use the shared system-interrupt line, which
      is also used by the PIT, and if an interrupt occurs before a handler
      (e.g. RTC-driver) has been installed this leads to the system interrupt
      being disabled and prevents the system from booting.
      
      Note that when boot hangs due to an early RTC or RTT-interrupt, the only
      way to get the system to start again is to remove the backup power (e.g.
      battery) or to disable the interrupt manually from the bootloader. In
      particular, a user reset is not sufficient.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: stable@vger.kernel.org # 3.11.x
      6de714c2
    • C
      kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS · 0a06ff06
      Christoph Hellwig 提交于
      We've switched over every architecture that supports SMP to it, so
      remove the new useless config variable.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: Jan Kara <jack@suse.cz>
      Cc: Jens Axboe <axboe@kernel.dk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0a06ff06
    • W
      tree-wide: use reinit_completion instead of INIT_COMPLETION · 16735d02
      Wolfram Sang 提交于
      Use this new function to make code more comprehensible, since we are
      reinitialzing the completion, not initializing.
      
      [akpm@linux-foundation.org: linux-next resyncs]
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      Acked-by: Linus Walleij <linus.walleij@linaro.org> (personally at LCE13)
      Cc: Ingo Molnar <mingo@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      16735d02
    • K
      arm: handle pgtable_page_ctor() fail · affce508
      Kirill A. Shutemov 提交于
      Signed-off-by: NKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      affce508
    • K
      mm: rename USE_SPLIT_PTLOCKS to USE_SPLIT_PTE_PTLOCKS · 57c1ffce
      Kirill A. Shutemov 提交于
      We're going to introduce split page table lock for PMD level.  Let's
      rename existing split ptlock for PTE level to avoid confusion.
      Signed-off-by: NKirill A. Shutemov <kirill.shutemov@linux.intel.com>
      Tested-by: NAlex Thorlton <athorlton@sgi.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Cc: "Eric W . Biederman" <ebiederm@xmission.com>
      Cc: "Paul E . McKenney" <paulmck@linux.vnet.ibm.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Cc: Dave Hansen <dave.hansen@intel.com>
      Cc: Dave Jones <davej@redhat.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Michael Kerrisk <mtk.manpages@gmail.com>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Robin Holt <robinmholt@gmail.com>
      Cc: Sedat Dilek <sedat.dilek@gmail.com>
      Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Hugh Dickins <hughd@google.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      57c1ffce
    • B
      dmaengine: remove DMA unmap from drivers · 54f8d501
      Bartlomiej Zolnierkiewicz 提交于
      Remove support for DMA unmapping from drivers as it is no longer
      needed (DMA core code is now handling it).
      
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Tomasz Figa <t.figa@samsung.com>
      Cc: Dave Jiang <dave.jiang@intel.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      [djbw: fix up chan2parent() unused warning in drivers/dma/dw/core.c]
      Signed-off-by: NDan Williams <dan.j.williams@intel.com>
      54f8d501