[PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-07-04 Thread Palmer Dabbelt
This patch contains code that interfaces with devices that are mandated by the RISC-V supervisor specification and that don't have explicit drivers anywhere else in the tree. This includes the staticly defined interrupts, the CSR-mapped timer, and virtualized SBI devices. Signed-off-by: Palmer Da

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-30 Thread Tobias Klauser
On 2017-06-30 at 00:52:44 +0200, Palmer Dabbelt wrote: > On Thu, 29 Jun 2017 01:39:25 PDT (-0700), tklau...@distanz.ch wrote: > > On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: > > [...] > >> diff --git a/arch/riscv/include/asm/device.h > >> b/arch/riscv/include/asm/device.h > >> new fil

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-29 Thread Palmer Dabbelt
On Thu, 29 Jun 2017 01:39:25 PDT (-0700), tklau...@distanz.ch wrote: > On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: > [...] >> diff --git a/arch/riscv/include/asm/device.h >> b/arch/riscv/include/asm/device.h >> new file mode 100644 >> index ..28975e528d2f >> --- /dev/null >

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-29 Thread Tobias Klauser
On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: [...] > diff --git a/arch/riscv/include/asm/device.h b/arch/riscv/include/asm/device.h > new file mode 100644 > index ..28975e528d2f > --- /dev/null > +++ b/arch/riscv/include/asm/device.h > @@ -0,0 +1,27 @@ > +/* > + * Copyright (

[PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-28 Thread Palmer Dabbelt
This patch contains code that interfaces with devices that are mandated by the RISC-V supervisor specification and that don't have explicit drivers anywhere else in the tree. This includes the staticly defined interrupts, the CSR-mapped timer, and virtualized SBI devices. Signed-off-by: Palmer Da