1. 19 Jun, 2019 1 commit
  2. 19 Jul, 2018 1 commit
    • Pavel Tatashin's avatar
      ARM/time: Remove read_boot_clock64() · 227e3958
      Pavel Tatashin authored
      
      read_boot_clock64() is deleted, and replaced with
      read_persistent_wall_and_boot_offset().
      
      The default implementation of read_persistent_wall_and_boot_offset()
      provides a better fallback than the current stubs for read_boot_clock64()
      that arm has with no users, so remove the old code.
      Signed-off-by: default avatarPavel Tatashin <pasha.tatashin@oracle.com>
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: steven.sistare@oracle.com
      Cc: daniel.m.jordan@oracle.com
      Cc: linux@armlinux.org.uk
      Cc: schwidefsky@de.ibm.com
      Cc: heiko.carstens@de.ibm.com
      Cc: john.stultz@linaro.org
      Cc: sboyd@codeaurora.org
      Cc: hpa@zytor.com
      Cc: douly.fnst@cn.fujitsu.com
      Cc: peterz@infradead.org
      Cc: prarit@redhat.com
      Cc: feng.tang@intel.com
      Cc: pmladek@suse.com
      Cc: gnomes@lxorguk.ukuu.org.uk
      Cc: linux-s390@vger.kernel.org
      Cc: boris.ostrovsky@oracle.com
      Cc: jgross@suse.com
      Cc: pbonzini@redhat.com
      Link: https://lkml.kernel.org/r/20180719205545.16512-19-pasha.tatashin@oracle.com
      227e3958
  3. 22 Feb, 2018 1 commit
    • Ingo Molnar's avatar
      treewide/trivial: Remove ';;$' typo noise · ed7158ba
      Ingo Molnar authored
      
      On lkml suggestions were made to split up such trivial typo fixes into per subsystem
      patches:
      
        --- a/arch/x86/boot/compressed/eboot.c
        +++ b/arch/x86/boot/compressed/eboot.c
        @@ -439,7 +439,7 @@ setup_uga32(void **uga_handle, unsigned long size, u32 *width, u32 *height)
                struct efi_uga_draw_protocol *uga = NULL, *first_uga;
                efi_guid_t uga_proto = EFI_UGA_PROTOCOL_GUID;
                unsigned long nr_ugas;
        -       u32 *handles = (u32 *)uga_handle;;
        +       u32 *handles = (u32 *)uga_handle;
                efi_status_t status = EFI_INVALID_PARAMETER;
                int i;
      
      This patch is the result of the following script:
      
        $ sed -i 's/;;$/;/g' $(git grep -E ';;$'  | grep "\.[ch]:"  | grep -vwE 'for|ia64' | cut -d: -f1 | sort | uniq)
      
      ... followed by manual review to make sure it's all good.
      
      Splitting this up is just crazy talk, let's get over with this and just do it.
      Reported-by: default avatarPavel Machek <pavel@ucw.cz>
      Cc: Linus Torvalds <torvalds@linux-foundat...
      ed7158ba
  4. 14 Jun, 2017 1 commit
  5. 01 Oct, 2015 1 commit
  6. 03 Apr, 2015 1 commit
  7. 18 Jul, 2014 1 commit
  8. 29 Sep, 2013 1 commit
    • Sebastian Hesselbarth's avatar
      ARM: call of_clk_init from default time_init handler · 4178bac4
      Sebastian Hesselbarth authored
      
      Most DT ARM machs require common clock providers initialized before timers.
      Currently, arch/arm machs use .init_time to call of_clk_init right before
      clocksource_of_init. This prevents to remove that callback and use the default
      one instead.
      
      This patch adds a call to of_clk_init() to the default .init_time callback
      for COMMON_CLK enabled machs to allow to remove custom callbacks where applicable.
      While at it, also reorder includes alphabetically.
      Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      4178bac4
  9. 12 Jun, 2013 1 commit
  10. 11 Apr, 2013 1 commit
  11. 24 Dec, 2012 4 commits
    • Stephen Warren's avatar
      ARM: delete struct sys_timer · 6bb27d73
      Stephen Warren authored
      Now that the only field in struct sys_timer is .init, delete the struct,
      and replace the machine descriptor .timer field with the initialization
      function itself.
      
      This will enable moving timer drivers into drivers/clocksource without
      having to place a public prototype of each struct sys_timer object into
      include/linux; the intent is to create a single of_clocksource_init()
      function that determines which timer driver to initialize by scanning
      the device dtree, much like the proposed irqchip_init() at:
      http://www.spinics.net/lists/arm-kernel/msg203686.html
      
      
      
      Includes mach-omap2 fixes from Igor Grinberg.
      Tested-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      6bb27d73
    • Stephen Warren's avatar
      ARM: remove struct sys_timer suspend and resume fields · 7704c095
      Stephen Warren authored
      
      These fields duplicate e.g. struct clock_event_device's suspend and
      resume fields, so remove them now that nothing is using them. The aim
      is to remove all fields from struct sys_timer except .init, then replace
      the ARM machine descriptor's .timer field with a .init_time function
      instead, and delete struct sys_timer.
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      7704c095
    • Stephen Warren's avatar
      ARM: set arch_gettimeoffset directly · 23c197b7
      Stephen Warren authored
      
      remove ARM's struct sys_timer .offset function pointer, and instead
      directly set the arch_gettimeoffset function pointer when the timer
      driver is initialized. This requires multiplying all function results
      by 1000, since the removed arm_gettimeoffset() did this. Also,
      s/unsigned long/u32/ just to make the function prototypes exactly
      match that of arch_gettimeoffset.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      23c197b7
    • Stephen Warren's avatar
      time: convert arch_gettimeoffset to a pointer · 7b1f6207
      Stephen Warren authored
      
      Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each
      arch core provides a single implementation of arch_gettimeoffset(). In
      many cases, different sub-architectures, different machines, or
      different timer providers exist, and so the arch ends up implementing
      arch_gettimeoffset() as a call-through-pointer anyway. Examples are
      ARM, Cris, M68K, and it's arguable that the remaining architectures,
      M32R and Blackfin, should be doing this anyway.
      
      Modify arch_gettimeoffset so that it itself is a function pointer, which
      the arch initializes. This will allow later changes to move the
      initialization of this function into individual machine support or timer
      drivers. This is particularly useful for code in drivers/clocksource
      which should rely on an arch-independant mechanism to register their
      implementation of arch_gettimeoffset().
      
      This patch also converts the Cris architecture to set arch_gettimeoffset
      directly to the final implementation in time_init(), because Cris already
      had separate time_init() functions per sub-architecture. M68K and ARM
      are converted to set arch_gettimeoffset to the final implementation in
      later patches, because they already have function pointers in place for
      this purpose.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
      Acked-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      7b1f6207
  12. 01 Aug, 2012 1 commit
  13. 06 May, 2012 1 commit
  14. 03 Feb, 2012 1 commit
  15. 26 Jan, 2012 1 commit
  16. 31 Oct, 2011 1 commit
    • Paul Gortmaker's avatar
      arm: convert core files from module.h to export.h · ecea4ab6
      Paul Gortmaker authored
      
      Many of the core ARM kernel files are not modules, but just
      including module.h for exporting symbols.  Now these files can
      use the lighter footprint export.h for this role.
      
      There are probably lots more, but ARM files of mach-* and plat-*
      don't get coverage via a simple yesconfig build.  They will have
      to be cleaned up and tested via using their respective configs.
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      ecea4ab6
  17. 01 Oct, 2011 1 commit
  18. 24 Apr, 2011 1 commit
  19. 31 Jan, 2011 1 commit
  20. 11 Jan, 2011 1 commit
    • Russell King's avatar
      ARM: sched_clock: allow init_sched_clock() to be called early · 211baa70
      Russell King authored
      
      sched_clock is supposed to be initialized early - in the recently added
      init_early platform hook.  However, in doing so we end up calling
      mod_timer() before the timer lists are initialized, resulting in an
      oops.
      
      Split the initialization in two - the part which the platform calls
      early which starts things off.  The addition of the timer can be
      delayed until after we have more of the kernel initialized - when the
      normal time sources are initialized.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      211baa70
  21. 24 Dec, 2010 1 commit
  22. 24 Mar, 2010 1 commit
  23. 15 Feb, 2010 2 commits
  24. 11 Oct, 2009 1 commit
  25. 12 Feb, 2009 1 commit
  26. 06 Sep, 2008 1 commit
  27. 22 Jul, 2008 1 commit
    • Andi Kleen's avatar
      sysdev: Pass the attribute to the low level sysdev show/store function · 4a0b2b4d
      Andi Kleen authored
      
      This allow to dynamically generate attributes and share show/store
      functions between attributes. Right now most attributes are generated
      by special macros and lots of duplicated code. With the attribute
      passed it's instead possible to attach some data to the attribute
      and then use that in shared low level functions to do different things.
      
      I need this for the dynamically generated bank attributes in the x86
      machine check code, but it'll allow some further cleanups.
      
      I converted all users in tree to the new show/store prototype. It's a single
      huge patch to avoid unbisectable sections.
      
      Runtime tested: x86-32, x86-64
      Compiled only: ia64, powerpc
      Not compile tested/only grep converted: sh, arm, avr32
      Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      4a0b2b4d
  28. 12 May, 2008 1 commit
  29. 28 Jan, 2008 1 commit
  30. 25 Jan, 2008 2 commits
  31. 11 May, 2007 1 commit
  32. 21 Apr, 2007 1 commit
  33. 16 Feb, 2007 1 commit
  34. 11 Feb, 2007 1 commit
  35. 08 Jan, 2007 1 commit