1. 09 5月, 2015 1 次提交
  2. 16 4月, 2015 1 次提交
  3. 07 4月, 2015 1 次提交
    • P
      net: dsa: fix filling routing table from OF description · 30303813
      Pavel Nakonechny 提交于
      According to description in 'include/net/dsa.h', in cascade switches
      configurations where there are more than one interconnected devices,
      'rtable' array in 'dsa_chip_data' structure is used to indicate which
      port on this switch should be used to send packets to that are destined
      for corresponding switch.
      
      However, dsa_of_setup_routing_table() fills 'rtable' with port numbers
      of the _target_ switch, but not current one.
      
      This commit removes redundant devicetree parsing and adds needed port
      number as a function argument. So dsa_of_setup_routing_table() now just
      looks for target switch number by parsing parent of 'link' device node.
      
      To remove possible misunderstandings with the way of determining target
      switch number, a corresponding comment was added to the source code and
      to the DSA device tree bindings documentation file.
      
      This was tested on a custom board with two Marvell 88E6095 switches with
      following corresponding routing tables: { -1, 10 } and { 8, -1 }.
      Signed-off-by: NPavel Nakonechny <pavel.nakonechny@skitlab.ru>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      30303813
  4. 06 4月, 2015 1 次提交
  5. 01 4月, 2015 1 次提交
  6. 25 3月, 2015 2 次提交
  7. 24 3月, 2015 2 次提交
  8. 21 3月, 2015 2 次提交
  9. 11 3月, 2015 1 次提交
  10. 10 3月, 2015 2 次提交
  11. 09 3月, 2015 1 次提交
    • H
      Input: sun4i-ts - A10 (sun4i) has a different temperature curve · 91c68a7c
      Hans de Goede 提交于
      Testing has revealed that the temperature in the rtp controller of the A10
      (sun4i) SoC has a different curve then on the A13 (sun5i) and later models.
      
      Add a new sun5i-a13-ts compatible to differentiate the newer models and
      set the curve based on the compatible string.
      
      The new curve is still not ideal on all A10-s, that seems to have to
      do with there being a large spread between different A10-s out there,
      the new curve us based on callibration results on 4 completely different
      models:
                              raw min raw max temp min temp max stepsize offset
      Tong Zhang's hackberry    2402    2680    45.0     80.0    0.125   -255.3
      Hansg's Cubieboard        2207    2300    36.0     45.0    0.096   -175.8
      Olliver's lime 1 (*):     2258    2537    48.3     87.1    0.139   -265.7
      Olliver's lime 2 (*):     2222    2486    46.7     91.7    0.170   -331.0
      *) from: http://linux-sunxi.org/Temperature_Calibration
      
      Average all 4:                                             0.133   -257.0
      Average without outliers (middle 2):                       0.132   -261.0
      
      Since it is better to slightly overreport the temperature this patch uses
      the average of all 4 as curve.
      
      This fixes the temperature reported on the A10 being much higher then
      expected.
      Reported-by: NTong Zhang <lovewilliam@gmail.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      91c68a7c
  12. 07 3月, 2015 4 次提交
  13. 06 3月, 2015 1 次提交
  14. 05 3月, 2015 1 次提交
  15. 04 3月, 2015 1 次提交
  16. 03 3月, 2015 1 次提交
  17. 02 3月, 2015 2 次提交
  18. 01 3月, 2015 2 次提交
  19. 28 2月, 2015 1 次提交
  20. 27 2月, 2015 2 次提交
  21. 26 2月, 2015 2 次提交
    • M
      genirq / PM: better describe IRQF_NO_SUSPEND semantics · 737eb030
      Mark Rutland 提交于
      The IRQF_NO_SUSPEND flag is intended to be used for interrupts required
      to be enabled during the suspend-resume cycle. This mostly consists of
      IPIs and timer interrupts, potentially including chained irqchip
      interrupts if these are necessary to handle timers or IPIs. If an
      interrupt does not fall into one of the aforementioned categories,
      requesting it with IRQF_NO_SUSPEND is likely incorrect.
      
      Using IRQF_NO_SUSPEND does not guarantee that the interrupt can wake the
      system from a suspended state. For an interrupt to be able to trigger a
      wakeup, it may be necessary to program various components of the system.
      In these cases it is necessary to use {enable,disabled}_irq_wake.
      
      Unfortunately, several drivers assume that IRQF_NO_SUSPEND ensures that
      an IRQ can wake up the system, and the documentation can be read
      ambiguously w.r.t. this property.
      
      This patch updates the documentation regarding IRQF_NO_SUSPEND to make
      this caveat explicit, hopefully making future misuse rarer. Cleanup of
      existing misuse will occur as part of later patch series.
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      737eb030
    • T
      amd-xgbe-phy: PHY KX/KR mode differences · 74ad7524
      Tom Lendacky 提交于
      The PHY requires different settings for the Decision Feedback Analyzer
      (DFE) when running in KX mode vs. KR mode. Update the code to change
      these settings when changing modes in order to provide a more stable
      link.
      
      Additionally, adjust the 10GbE PQ skew default setting to a more sane
      value.
      Signed-off-by: NTom Lendacky <thomas.lendacky@amd.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      74ad7524
  22. 23 2月, 2015 1 次提交
  23. 20 2月, 2015 2 次提交
  24. 19 2月, 2015 2 次提交
  25. 18 2月, 2015 3 次提交