1. 20 10月, 2017 1 次提交
    • A
      clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame · 21492e13
      Ard Biesheuvel 提交于
      The ACPI GTDT code validates the CNTFRQ field of each MMIO timer
      frame against the CNTFRQ system register of the current CPU, to
      ensure that they are equal, which is mandated by the architecture.
      
      However, reading the CNTFRQ field of a frame is not possible until
      the RFRQ bit in the frame's CNTACRn register is set, and doing so
      before that willl produce the following error:
      
        arch_timer: [Firmware Bug]: CNTFRQ mismatch: frame @ 0x00000000e0be0000: (0x00000000), CPU: (0x0ee6b280)
        arch_timer: Disabling MMIO timers due to CNTFRQ mismatch
        arch_timer: Failed to initialize memory-mapped timer.
      
      The reason is that the CNTFRQ field is RES0 if access is not enabled.
      
      So move the validation of CNTFRQ into the loop that iterates over the
      timers to find the best frame, but defer it until after we have selected
      the best frame, which should also have enabled the RFRQ bit.
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      21492e13
  2. 10 8月, 2017 2 次提交
  3. 14 6月, 2017 2 次提交
  4. 12 6月, 2017 1 次提交
  5. 09 5月, 2017 1 次提交
  6. 20 4月, 2017 2 次提交
  7. 19 4月, 2017 5 次提交
  8. 10 4月, 2017 6 次提交
  9. 07 4月, 2017 13 次提交
  10. 02 3月, 2017 1 次提交
  11. 12 2月, 2017 1 次提交
  12. 08 2月, 2017 3 次提交
  13. 25 12月, 2016 2 次提交