[Qemu-devel] [PULL 1/2] riscv: plic: Fix incorrect irq calculation

2019-04-04 Thread Palmer Dabbelt
From: Alistair Francis This patch fixes four different things, to maintain bisectability they have been merged into a single patch. The following fixes are below: sifive_plic: Fix incorrect irq calculation The irq is incorrectly calculated to be off by one. It has worked in the past as the

[Qemu-devel] [PULL 1/2] riscv: plic: Fix incorrect irq calculation

2019-04-03 Thread Palmer Dabbelt
From: Alistair Francis This patch fixes four different things, to maintain bisectability they have been merged into a single patch. The following fixes are below: sifive_plic: Fix incorrect irq calculation The irq is incorrectly calculated to be off by one. It has worked in the past as the