Skip to content
Snippets Groups Projects
  1. Nov 15, 2020
  2. Nov 14, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/alistair/tags/pull-riscv-to-apply-20201113-1' into staging · b50ea0d5
      Peter Maydell authored
      
      Two small additional fixes for the Ibex PLIC.
      
      # gpg: Signature made Sat 14 Nov 2020 05:44:22 GMT
      # gpg:                using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
      # gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
      # Primary key fingerprint: F6C4 AC46 D493 4868 D3B8  CE8F 21E1 0D29 DF97 7054
      
      * remotes/alistair/tags/pull-riscv-to-apply-20201113-1:
        intc/ibex_plic: Ensure we don't loose interrupts
        intc/ibex_plic: Fix some typos in the comments
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      b50ea0d5
    • Alistair Francis's avatar
      intc/ibex_plic: Ensure we don't loose interrupts · deef3d25
      Alistair Francis authored
      
      If an interrupt occurs between when we claim and complete an interrupt
      we currently drop the interrupt in ibex_plic_irqs_set_pending(). This
      somewhat matches hardware that also ignore the interrupt between the
      claim and complete process.
      
      In the case of hardware though the physical interrupt line will still
      be asserted after we have completed the interrupt. This means we will
      still act on the interrupt after the complete process. In QEMU we don't
      and instead we drop the interrupt as it is never recorded.
      
      This patch changed the behaviour of the Ibex PLIC so that we save all
      interrupts that occur while we are between claiming and completing an
      interrupt so that we can act on them after the completition process.
      
      This fixes interrupts being dropped when running Tock on OpenTitain in
      QEMU.
      
      Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Message-id: e7bcf98c6925b1e6e7828e7c3f85293a09a65b12.1605136387.git.alistair.francis@wdc.com
      deef3d25
    • Alistair Francis's avatar
      intc/ibex_plic: Fix some typos in the comments · 3a129aea
      Alistair Francis authored
      
      Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
      Message-id: 22d2fb0d7af5ca316c67ac909926368d1bcb7cf5.1605136387.git.alistair.francis@wdc.com
      3a129aea
  3. Nov 13, 2020
  4. Nov 12, 2020
Loading