1. 15 Jan, 2019 3 commits
  2. 03 Jan, 2019 1 commit
  3. 20 Dec, 2018 1 commit
  4. 10 Dec, 2018 1 commit
    • Andy Shevchenko's avatar
      lib/vsprintf: Print time and date in human readable format via %pt · 4d42c447
      Andy Shevchenko authored
      There are users which print time and date represented by content of
      struct rtc_time in human readable format.
      
      Instead of open coding that each time introduce %ptR[dt][r] specifier.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Petr Mladek <pmladek@suse.com>
      Signed-off-by: 's avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: 's avatarPetr Mladek <pmladek@suse.com>
      Signed-off-by: 's avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      4d42c447
  5. 06 Dec, 2018 2 commits
  6. 20 Nov, 2018 3 commits
  7. 05 Nov, 2018 4 commits
  8. 31 Oct, 2018 1 commit
    • Mike Rapoport's avatar
      docs/boot-time-mm: remove bootmem documentation · 530d4c0c
      Mike Rapoport authored
      Link: http://lkml.kernel.org/r/1536927045-23536-31-git-send-email-rppt@linux.vnet.ibm.comSigned-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Chris Zankel <chris@zankel.net>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Greentime Hu <green.hu@gmail.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Guan Xuetao <gxt@pku.edu.cn>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Ley Foon Tan <lftan@altera.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: Michal Hocko <mhocko@suse.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Palmer Dabbelt <palmer@sifive.com>
      Cc: Paul Burton <paul.burton@mips.com>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Richard Weinberger <richard@nod.at>
      Cc: Rich Felker <dalias@libc.org>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Serge Semin <fancer.lancer@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Signed-off-by: 's avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: 's avatarLinus Torvalds <torvalds@linux-foundation.org>
      530d4c0c
  9. 21 Oct, 2018 4 commits
  10. 15 Oct, 2018 1 commit
  11. 12 Oct, 2018 4 commits
  12. 07 Oct, 2018 1 commit
  13. 20 Sep, 2018 3 commits
  14. 11 Sep, 2018 1 commit
  15. 24 Aug, 2018 4 commits
  16. 02 Aug, 2018 1 commit
  17. 23 Jul, 2018 1 commit
    • Arnd Bergmann's avatar
      Documentation: document ktime_get_*() APIs · 0e3fd810
      Arnd Bergmann authored
      As Dave Chinner points out, we don't have a proper documentation for the
      ktime_get() family of interfaces, making it rather unclear which of the
      over 30 (!) interfaces one should actually use in a driver or elsewhere
      in the kernel.
      
      I wrote up an explanation from how I personally see the interfaces,
      documenting what each of the functions do and hopefully making it a bit
      clearer which should be used where.
      
      This is the first time I tried writing .rst format documentation, so
      in addition to any mistakes in the content, I probably also introduce
      nonstandard formatting ;-)
      
      I first tried to add an extra section to
      Documentation/timers/timekeeping.txt, but this is currently not included
      in the generated API, and it seems useful to have the API docs as part
      of what gets generated in
      https://www.kernel.org/doc/html/latest/core-api/index.html#core-utilities
      instead, so I started a new file there.
      
      I also considered adding the documentation inline in the
      include/linux/timekeeping.h header, but couldn't figure out how to do
      that in a way that would result both in helpful inline comments as
      well as readable html output, so I settled for the latter, with
      a small note pointing to it from the header.
      
      Cc: Dave Chinner <david@fromorbit.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Stephen Boyd <sboyd@kernel.org>
      Tested-by: 's avatarRandy Dunlap <rdunlap@infradead.org>
      Reviewed-by: 's avatarRandy Dunlap <rdunlap@infradead.org>
      Reviewed-by: 's avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: 's avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: 's avatarJonathan Corbet <corbet@lwn.net>
      0e3fd810
  18. 17 Jul, 2018 1 commit
  19. 30 Jun, 2018 1 commit
  20. 18 Jun, 2018 1 commit
  21. 05 Jun, 2018 1 commit
    • Geert Uytterhoeven's avatar
      lib/vsprintf: Remove atomic-unsafe support for %pCr · 666902e4
      Geert Uytterhoeven authored
      "%pCr" formats the current rate of a clock, and calls clk_get_rate().
      The latter obtains a mutex, hence it must not be called from atomic
      context.
      
      Remove support for this rarely-used format, as vsprintf() (and e.g.
      printk()) must be callable from any context.
      
      Any remaining out-of-tree users will start seeing the clock's name
      printed instead of its rate.
      Reported-by: 's avatarJia-Ju Bai <baijiaju1990@gmail.com>
      Fixes: 900cca29 ("lib/vsprintf: add %pC{,n,r} format specifiers for clocks")
      Link: http://lkml.kernel.org/r/1527845302-12159-5-git-send-email-geert+renesas@glider.be
      To: Jia-Ju Bai <baijiaju1990@gmail.com>
      To: Jonathan Corbet <corbet@lwn.net>
      To: Michael Turquette <mturquette@baylibre.com>
      To: Stephen Boyd <sboyd@kernel.org>
      To: Zhang Rui <rui.zhang@intel.com>
      To: Eduardo Valentin <edubezval@gmail.com>
      To: Eric Anholt <eric@anholt.net>
      To: Stefan Wahren <stefan.wahren@i2se.com>
      To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
      Cc: Petr Mladek <pmladek@suse.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: linux-doc@vger.kernel.org
      Cc: linux-clk@vger.kernel.org
      Cc: linux-pm@vger.kernel.org
      Cc: linux-serial@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-renesas-soc@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: stable@vger.kernel.org # 4.1+
      Signed-off-by: 's avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: 's avatarPetr Mladek <pmladek@suse.com>
      666902e4