1. 22 3月, 2020 1 次提交
  2. 13 1月, 2020 1 次提交
    • B
      apei/ghes: Do not delay GHES polling · cea79e7e
      Bhaskar Upadhaya 提交于
      Currently, the ghes_poll_func() timer callback is registered with the
      TIMER_DEFERRABLE flag. Thus, it is run when the CPU eventually wakes
      up together with a subsequent non-deferrable timer and not at the precisely
      configured polling interval.
      
      For polling mode, the polling interval configured by firmware should not
      be exceeded according to the ACPI spec 6.3, Table 18-394. The definition
      of the polling interval is:
      
      "Indicates the poll interval in milliseconds OSPM should use to
       periodically check the error source for the presence of an error
       condition."
      
      If this interval is extended due to the timer callback deferring, error
      records can get lost. Which we are observing on our ThunderX2 platforms.
      
      Therefore, remove the TIMER_DEFERRABLE flag so that the timer callback
      executes at the precise interval.
      Signed-off-by: NBhaskar Upadhaya <bupadhaya@marvell.com>
      [ bp: Subject & changelog ]
      Acked-by: NBorislav Petkov <bp@suse.de>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      cea79e7e
  3. 18 10月, 2019 1 次提交
  4. 21 8月, 2019 1 次提交
  5. 05 8月, 2019 1 次提交
  6. 05 7月, 2019 1 次提交
  7. 31 5月, 2019 1 次提交
  8. 11 2月, 2019 1 次提交
  9. 08 2月, 2019 19 次提交
  10. 21 12月, 2018 1 次提交
  11. 12 5月, 2018 1 次提交
  12. 02 5月, 2018 1 次提交
    • B
      ghes, EDAC: Fix ghes_edac registration · cc7f3f13
      Borislav Petkov 提交于
      Tony reported seeing
      
        "Internal error: Can't find EDAC structure"
      
      when injecting correctable errors due to the fact that ghes_edac would
      still load even if the whitelist won't hit. Drop the pr_err() in
      ghes_edac_report_mem_error() for now due to the hacky way how ghes_edac
      depends on ghes.c.
      
      While at it, make ghes_edac_register() return an error if it doesn't hit
      in the whitelist as it is the only sensible thing to do in that
      situation.
      
      Furthermore, move the call to it to happen last in ghes_probe() so that
      GHES initializing properly does not depend on ghes_edac init at all
      as latter is only reporting errors and not required for GHES's proper
      functioning.
      Reviewed-by: NToshi Kani <toshi.kani@hpe.com>
      Tested-by: NSughosh Ganu <sughosh.ganu@arm.com>
      Signed-off-by: NBorislav Petkov <bp@suse.de>
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Tony Luck <tony.luck@intel.com>
      Link: https://lkml.kernel.org/r/20180420182015.zao3olss4tvvlxki@agluck-desk
      cc7f3f13
  13. 24 1月, 2018 1 次提交
  14. 05 12月, 2017 3 次提交
  15. 07 11月, 2017 2 次提交
  16. 03 11月, 2017 1 次提交
    • K
      ACPI / APEI: Convert timers to use timer_setup() · d5272003
      Kees Cook 提交于
      In preparation for unconditionally passing the struct timer_list pointer to
      all timer callbacks, switch to using the new timer_setup() and from_timer()
      to pass the timer pointer explicitly.
      
      Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Tyler Baicar <tbaicar@codeaurora.org>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: James Morse <james.morse@arm.com>
      Cc: "Jonathan (Zhixiong) Zhang" <zjzhang@codeaurora.org>
      Cc: Shiju Jose <shiju.jose@huawei.com>
      Cc: linux-acpi@vger.kernel.org
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Tested-by: NTyler Baicar <tbaicar@codeaurora.org>
      d5272003
  17. 23 10月, 2017 1 次提交
  18. 11 10月, 2017 1 次提交
  19. 28 9月, 2017 1 次提交