1. 19 5月, 2018 1 次提交
  2. 19 4月, 2018 1 次提交
  3. 31 3月, 2018 4 次提交
  4. 09 3月, 2018 1 次提交
  5. 01 3月, 2018 3 次提交
  6. 28 2月, 2018 2 次提交
  7. 26 2月, 2018 1 次提交
  8. 23 2月, 2018 4 次提交
  9. 22 2月, 2018 3 次提交
    • I
      treewide/trivial: Remove ';;$' typo noise · ed7158ba
      Ingo Molnar 提交于
      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: NPavel Machek <pavel@ucw.cz>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      ed7158ba
    • R
      clocksource/drivers/atcpit100: VDSO support · ea4625c3
      Rick Chen 提交于
      VDSO needs real-time cycle count to ensure the time accuracy.
      Unlike others, nds32 architecture does not define clock source,
      hence VDSO needs atcpit100 offering real-time cycle count
      to derive the correct time.
      Signed-off-by: NVincent Chen <vincentc@andestech.com>
      Signed-off-by: NRick Chen <rickchen36@gmail.com>
      Signed-off-by: NGreentime Hu <green.hu@gmail.com>
      ea4625c3
    • R
      clocksource/drivers/atcpit100: Add andestech atcpit100 timer · 35dbb74a
      Rick Chen 提交于
      ATCPIT100 is often used on the Andes architecture,
      This timer provide 4 PIT channels. Each PIT channel is a
      multi-function timer, can be configured as 32,16,8 bit timers
      or PWM as well.
      
      For system timer it will set channel 1 32-bit timer0 as clock
      source and count downwards until underflow and restart again.
      
      It also set channel 0 32-bit timer0 as clock event and count
      downwards until condition match. It will generate an interrupt
      for handling periodically.
      Signed-off-by: NRick Chen <rickchen36@gmail.com>
      Signed-off-by: NGreentime Hu <green.hu@gmail.com>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      
      Add andestech atcpit100 timer
      35dbb74a
  10. 09 1月, 2018 18 次提交
  11. 14 11月, 2017 1 次提交
  12. 06 11月, 2017 1 次提交
    • C
      arm64: Use physical counter for in-kernel reads when booted in EL2 · e6d68b00
      Christoffer Dall 提交于
      Using the physical counter allows KVM to retain the offset between the
      virtual and physical counter as long as it is actively running a VCPU.
      
      As soon as a VCPU is released, another thread is scheduled or we start
      running userspace applications, we reset the offset to 0, so that
      userspace accessing the virtual timer can still read the virtual counter
      and get the same view of time as the kernel.
      
      This opens up potential improvements for KVM performance, but we have to
      make a few adjustments to preserve system consistency.
      
      Currently get_cycles() is hardwired to arch_counter_get_cntvct() on
      arm64, but as we move to using the physical timer for the in-kernel
      time-keeping on systems that boot in EL2, we should use the same counter
      for get_cycles() as for other in-kernel timekeeping operations.
      
      Similarly, implementations of arch_timer_set_next_event_phys() is
      modified to use the counter specific to the timer being programmed.
      
      VHE kernels or kernels continuing to use the virtual timer are
      unaffected.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NChristoffer Dall <cdall@linaro.org>
      e6d68b00