1. 10 11月, 2021 10 次提交
  2. 07 11月, 2021 13 次提交
  3. 04 11月, 2021 4 次提交
  4. 03 11月, 2021 1 次提交
    • S
      openrisc: fix SMP tlb flush NULL pointer dereference · 27dff9a9
      Stafford Horne 提交于
      Throughout the OpenRISC kernel port VMA is passed as NULL when flushing
      kernel tlb entries.  Somehow this was missed when I was testing
      c28b2741 ("openrisc: Implement proper SMP tlb flushing") and now the
      SMP kernel fails to completely boot.
      
      In OpenRISC VMA is used only to determine which cores need to have their
      TLB entries flushed.
      
      This patch updates the logic to flush tlbs on all cores when the VMA is
      passed as NULL.  Also, we update places VMA is passed as NULL to use
      flush_tlb_kernel_range instead.  Now, the only place VMA is passed as
      NULL is in the implementation of flush_tlb_kernel_range.
      
      Fixes: c28b2741 ("openrisc: Implement proper SMP tlb flushing")
      Reported-by: NJan Henrik Weinstock <jan.weinstock@rwth-aachen.de>
      Signed-off-by: NStafford Horne <shorne@gmail.com>
      27dff9a9
  5. 02 11月, 2021 3 次提交
  6. 01 11月, 2021 9 次提交