Re: [patches] Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-23 Thread Benjamin Herrenschmidt
On Mon, 2017-05-22 at 22:16 -0700, Olof Johansson wrote: > The same is true for some other drivers. Actually, I wonder if it > might be just as easy to implement a sbi backend for hvc -- see > hvc_udbg.c for an example where, on power, you have a simple get/put > char hypervisor call in a very

Re: [patches] Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-23 Thread Benjamin Herrenschmidt
On Mon, 2017-05-22 at 22:16 -0700, Olof Johansson wrote: > The same is true for some other drivers. Actually, I wonder if it > might be just as easy to implement a sbi backend for hvc -- see > hvc_udbg.c for an example where, on power, you have a simple get/put > char hypervisor call in a very

Re: [patches] Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-22 Thread Olof Johansson
On Mon, May 22, 2017 at 9:49 PM, Palmer Dabbelt wrote: > On Mon, 22 May 2017 18:27:21 PDT (-0700), o...@lixom.net wrote: >> Hi, >> >> >> On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >>> --- >>> arch/riscv/.gitignore| 35 >>>

Re: [patches] Re: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-22 Thread Olof Johansson
On Mon, May 22, 2017 at 9:49 PM, Palmer Dabbelt wrote: > On Mon, 22 May 2017 18:27:21 PDT (-0700), o...@lixom.net wrote: >> Hi, >> >> >> On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >>> --- >>> arch/riscv/.gitignore| 35 >>> arch/riscv/Kconfig |