1. 31 1月, 2018 1 次提交
  2. 26 1月, 2018 1 次提交
    • C
      regulator: added support for suspend states · 057c7644
      Chunyan Zhang 提交于
      Some systems need to set regulators to specific states when they enter
      low power modes, especially around CPUs. There are many of these modes
      depending on the particular runtime state.
      
      Currently the regulator consumers are not granted permission to change
      suspend state of regulator devices, the constraints are configured at
      startup.  In order to allow changes in a vlotage range, we need to add
      new properties for voltage range and a flag to give permission to
      change the suspend voltage and suspend on/off in suspend mode.
      Signed-off-by: NChunyan Zhang <zhang.chunyan@linaro.org>
      Reviewed-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      057c7644
  3. 24 1月, 2018 1 次提交
  4. 19 1月, 2018 2 次提交
  5. 18 1月, 2018 3 次提交
  6. 17 1月, 2018 1 次提交
    • M
      cgroup, docs: document the root cgroup behavior of cpu and io controllers · c4e0842b
      Maciej S. Szmigiero 提交于
      Currently, cgroups v2 documentation contains only a generic remark that
      "How resource consumption in the root cgroup is governed is up to each
      controller", which isn't really telling users much, who need to dig in the
      code and / or commit messages to learn the exact behavior.
      
      In cgroups v1 at least the blkio controller had its operation with respect
      to competition between child threads and child cgroups documented in
      blkio-controller.txt, with references to cfq-iosched.txt.
      Also, cgroups v2 documentation describes v1 behavior of both cpu and
      blkio controllers in an "Issues with v1" section.
      
      Let's document this behavior also for cgroups v2 to make life easier for
      users.
      Signed-off-by: NMaciej S. Szmigiero <mail@maciej.szmigiero.name>
      Signed-off-by: NTejun Heo <tj@kernel.org>
      c4e0842b
  7. 15 1月, 2018 1 次提交
  8. 14 1月, 2018 1 次提交
  9. 13 1月, 2018 4 次提交
  10. 12 1月, 2018 6 次提交
  11. 11 1月, 2018 1 次提交
  12. 10 1月, 2018 7 次提交
  13. 09 1月, 2018 4 次提交
  14. 08 1月, 2018 4 次提交
  15. 07 1月, 2018 1 次提交
  16. 06 1月, 2018 1 次提交
    • N
      kconfig: fix relational operators for bool and tristate symbols · 9059a349
      Nicolas Pitre 提交于
      Since commit 31847b67 ("kconfig: allow use of relations other than
      (in)equality") it is possible to use relational operators in Kconfig
      statements. However, those operators give unexpected results when
      applied to bool/tristate values:
      
      	(n < y) = y (correct)
      	(m < y) = y (correct)
      	(n < m) = n (wrong)
      
      This happens because relational operators process bool and tristate
      symbols as strings and m sorts before n. It makes little sense to do a
      lexicographical compare on bool and tristate values though.
      
      Documentation/kbuild/kconfig-language.txt states that expression can have
      a value of 'n', 'm' or 'y' (or 0, 1, 2 respectively for calculations).
      Let's make it so for relational comparisons with bool/tristate
      expressions as well and document them. If at least one symbol is an
      actual string then the lexicographical compare works just as before.
      Signed-off-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NRandy Dunlap <rdunlap@infradead.org>
      Tested-by: NRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      9059a349
  17. 05 1月, 2018 1 次提交