1. 28 7月, 2014 1 次提交
    • A
      KVM: PPC: Remove 440 support · b2677b8d
      Alexander Graf 提交于
      The 440 target hasn't been properly functioning for a few releases and
      before I was the only one who fixes a very serious bug that indicates to
      me that nobody used it before either.
      
      Furthermore KVM on 440 is slow to the extent of unusable.
      
      We don't have to carry along completely unused code. Remove 440 and give
      us one less thing to worry about.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      b2677b8d
  2. 05 6月, 2014 1 次提交
  3. 05 5月, 2014 1 次提交
  4. 27 8月, 2013 1 次提交
  5. 01 7月, 2013 1 次提交
  6. 01 6月, 2013 3 次提交
    • M
      powerpc/tm: Fix userspace stack corruption on signal delivery for active transactions · 2b3f8e87
      Michael Neuling 提交于
      When in an active transaction that takes a signal, we need to be careful with
      the stack.  It's possible that the stack has moved back up after the tbegin.
      The obvious case here is when the tbegin is called inside a function that
      returns before a tend.  In this case, the stack is part of the checkpointed
      transactional memory state.  If we write over this non transactionally or in
      suspend, we are in trouble because if we get a tm abort, the program counter
      and stack pointer will be back at the tbegin but our in memory stack won't be
      valid anymore.
      
      To avoid this, when taking a signal in an active transaction, we need to use
      the stack pointer from the checkpointed state, rather than the speculated
      state.  This ensures that the signal context (written tm suspended) will be
      written below the stack required for the rollback.  The transaction is aborted
      becuase of the treclaim, so any memory written between the tbegin and the
      signal will be rolled back anyway.
      
      For signals taken in non-TM or suspended mode, we use the
      normal/non-checkpointed stack pointer.
      
      Tested with 64 and 32 bit signals
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Cc: <stable@vger.kernel.org> # v3.9
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      2b3f8e87
    • M
      powerpc/tm: Abort on emulation and alignment faults · 6ce6c629
      Michael Neuling 提交于
      If we are emulating an instruction inside an active user transaction that
      touches memory, the kernel can't emulate it as it operates in transactional
      suspend context.  We need to abort these transactions and send them back to
      userspace for the hardware to rollback.
      
      We can service these if the user transaction is in suspend mode, since the
      kernel will operate in the same suspend context.
      
      This adds a check to all alignment faults and to specific instruction
      emulations (only string instructions for now).  If the user process is in an
      active (non-suspended) transaction, we abort the transaction go back to
      userspace allowing the HW to roll back the transaction and tell the user of the
      failure.  This also adds new tm abort cause codes to report the reason of the
      persistent error to the user.
      
      Crappy test case here http://neuling.org/devel/junkcode/aligntm.cSigned-off-by: NMichael Neuling <mikey@neuling.org>
      Cc: <stable@vger.kernel.org> # v3.9
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      6ce6c629
    • M
      powerpc/tm: Update cause codes documentation · 24b92375
      Michael Neuling 提交于
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Cc: <stable@vger.kernel.org> # 3.9 only
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      24b92375
  7. 18 4月, 2013 2 次提交
  8. 15 2月, 2013 1 次提交
  9. 10 1月, 2013 1 次提交
  10. 15 11月, 2012 1 次提交
  11. 22 5月, 2012 1 次提交
  12. 14 5月, 2012 1 次提交
  13. 19 3月, 2012 1 次提交
  14. 23 2月, 2012 2 次提交
  15. 31 3月, 2011 1 次提交
  16. 23 3月, 2011 1 次提交
  17. 22 3月, 2011 1 次提交
  18. 17 3月, 2011 1 次提交
  19. 08 3月, 2011 1 次提交
  20. 31 1月, 2011 1 次提交
  21. 24 12月, 2010 1 次提交
  22. 29 11月, 2010 2 次提交
  23. 02 11月, 2010 1 次提交
  24. 23 10月, 2010 1 次提交
    • A
      USB: add USB EHCI support for MPC5121 SoC · 230f7ede
      Anatolij Gustschin 提交于
      Extends FSL EHCI platform driver glue layer to support
      MPC5121 USB controllers. MPC5121 Rev 2.0 silicon EHCI
      registers are in big endian format. The appropriate flags
      are set using the information in the platform data structure.
      MPC83xx system interface registers are not available on
      MPC512x, so the access to these registers is isolated in
      MPC512x case. Furthermore the USB controller clocks
      must be enabled before 512x register accesses which is
      done by providing platform specific init callback.
      
      The MPC512x internal USB PHY doesn't provide supply voltage.
      For boards using different power switches allow specifying
      DRVVBUS and PWR_FAULT signal polarity of the MPC5121 internal
      PHY using "fsl,invert-drvvbus" and "fsl,invert-pwr-fault"
      properties in the device tree USB nodes. Adds documentation
      for this new device tree bindings.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      230f7ede
  25. 13 10月, 2010 1 次提交
  26. 21 8月, 2010 1 次提交
  27. 17 8月, 2010 1 次提交
  28. 11 8月, 2010 1 次提交
  29. 04 8月, 2010 1 次提交
    • J
      Documentation: update broken web addresses. · 0ea6e611
      Justin P. Mattock 提交于
      Below you will find an updated version from the original series bunching all patches into one big patch
      updating broken web addresses that are located in Documentation/*
      Some of the addresses date as far far back as 1995 etc... so searching became a bit difficult,
      the best way to deal with these is to use web.archive.org to locate these addresses that are outdated.
      Now there are also some addresses pointing to .spec files some are located, but some(after searching
      on the companies site)where still no where to be found. In this case I just changed the address
      to the company site this way the users can contact the company and they can locate them for the users.
      Signed-off-by: NJustin P. Mattock <justinmattock@gmail.com>
      Signed-off-by: NThomas Weber <weber@corscience.de>
      Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
      Cc: Paulo Marques <pmarques@grupopie.com>
      Cc: Randy Dunlap <rdunlap@xenotime.net>
      Cc: Michael Neuling <mikey@neuling.org>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      0ea6e611
  30. 02 8月, 2010 3 次提交
    • A
      powerpc/5200/i2c: improve i2c bus error recovery · 0c2daaaf
      Albrecht Dreß 提交于
      This patch improves the recovery of the MPC's I2C bus from errors like bus
      hangs resulting in timeouts:
      1. make the bus timeout configurable, as it depends on the bus clock and
          the attached slave chip(s); default is still 1 second;
      2. detect any of the cases indicated by the CF, BB and RXAK MSR flags if a
          timeout occurs, and add a missing (required) MAL reset;
      3. use a more reliable method to fixup the bus if a hang has been detected.
          The sequence is sent 9 times which seems to be necessary if a slave
          "misses" more than one clock cycle.  For 400 kHz bus speed, the fixup is
          also ~70us (81us vs. 150us) faster.
      
      Tested on a custom Lite5200b derived board, with a Dallas RTC, AD sensors
      and NXP IO expander chips attached to the i2c.
      
      Changes vs. v1:
      - use improved bus fixup sequence for all chips (not only the 5200)
      - calculate real clock from defaults if no clock is given in the device tree
      - better description (I hope) of the changes.
      
      I didn't split the changes in this file into three parts as recommended by
      Grant, as they actually belong together (i.e. they address one single
      problem, just in three places of one single source file).
      Signed-off-by: NAlbrecht Dreß <albrecht.dress@arcor.de>
      [grant.likely@secretlab.ca: fixup for ->node to ->dev.of_node transition]
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      0c2daaaf
    • A
      powerpc/fsl-diu-fb: Support setting display mode using EDID · 8b856f04
      Anatolij Gustschin 提交于
      Adds support for encoding display mode information
      in the device tree using verbatim EDID block.
      
      If the EDID entry in the DIU node is present, the
      driver will build mode database using EDID data
      and allow setting the display modes from this database.
      Otherwise display mode will be set using mode
      entries from driver's internal database as usual.
      
      This patch also updates device tree bindings.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Acked-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      8b856f04
    • A
      powerpc/5121: doc/dts-bindings: update doc of FSL DIU bindings · a027b333
      Anatolij Gustschin 提交于
      Update compatible and interrupt properties description.
      Furthermore an example for the MPC5121 has been added.
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      Acked-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      a027b333
  31. 17 5月, 2010 1 次提交
  32. 06 5月, 2010 1 次提交
  33. 23 4月, 2010 1 次提交