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

2017-06-06 Thread Palmer Dabbelt
On Tue, 06 Jun 2017 02:20:50 PDT (-0700), Arnd Bergmann wrote: > On Tue, Jun 6, 2017 at 6:56 AM, Palmer Dabbelt wrote: >> On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: >>> On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: On Tue,

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

2017-06-06 Thread Palmer Dabbelt
On Tue, 06 Jun 2017 02:20:50 PDT (-0700), Arnd Bergmann wrote: > On Tue, Jun 6, 2017 at 6:56 AM, Palmer Dabbelt wrote: >> On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: >>> On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd

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

2017-06-06 Thread Arnd Bergmann
On Tue, Jun 6, 2017 at 6:56 AM, Palmer Dabbelt wrote: > On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: >> On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: >>> On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >> This

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

2017-06-06 Thread Arnd Bergmann
On Tue, Jun 6, 2017 at 6:56 AM, Palmer Dabbelt wrote: > On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: >> On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: >>> On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >> This raises a much more general question about

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

2017-06-05 Thread Palmer Dabbelt
On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: > On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: >> On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >>> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: diff

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

2017-06-05 Thread Palmer Dabbelt
On Mon, 29 May 2017 04:17:40 PDT (-0700), Arnd Bergmann wrote: > On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: >> On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >>> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: diff --git a/arch/riscv/Kconfig

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

2017-05-29 Thread Arnd Bergmann
On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: > On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >>> new file mode

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

2017-05-29 Thread Arnd Bergmann
On Sat, May 27, 2017 at 2:57 AM, Palmer Dabbelt wrote: > On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: >> On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >>> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig >>> new file mode 100644 >>> index ..510ead1d3343

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

2017-05-26 Thread Palmer Dabbelt
On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: > On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >> --- >> arch/riscv/.gitignore| 35 >> arch/riscv/Kconfig | 300 >> +++ >>

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

2017-05-26 Thread Palmer Dabbelt
On Tue, 23 May 2017 04:46:22 PDT (-0700), Arnd Bergmann wrote: > On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >> --- >> arch/riscv/.gitignore| 35 >> arch/riscv/Kconfig | 300 >> +++ >> arch/riscv/Makefile

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

2017-05-24 Thread Palmer Dabbelt
On Tue, 23 May 2017 03:51:24 PDT (-0700), ge...@linux-m68k.org wrote: > Hi Palmer, > > On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >> --- /dev/null >> +++ b/arch/riscv/Kconfig >> @@ -0,0 +1,300 @@ > >> +config PLIC >> + bool "Platform-Level Interrupt

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

2017-05-24 Thread Palmer Dabbelt
On Tue, 23 May 2017 03:51:24 PDT (-0700), ge...@linux-m68k.org wrote: > Hi Palmer, > > On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: >> --- /dev/null >> +++ b/arch/riscv/Kconfig >> @@ -0,0 +1,300 @@ > >> +config PLIC >> + bool "Platform-Level Interrupt Controller" >> +

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: [PATCH 2/7] RISC-V: arch/riscv Makefile and Kconfigs

2017-05-23 Thread Palmer Dabbelt
On Mon, 22 May 2017 22:23:17 PDT (-0700), o...@lixom.net wrote: > (new top-level subthread here since this is a separate topic): > > On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > >> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile >> new file mode 100644 >>

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

2017-05-23 Thread Palmer Dabbelt
On Mon, 22 May 2017 22:23:17 PDT (-0700), o...@lixom.net wrote: > (new top-level subthread here since this is a separate topic): > > On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > >> diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile >> new file mode 100644 >> index

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

2017-05-23 Thread Arnd Bergmann
On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: > --- > arch/riscv/.gitignore| 35 > arch/riscv/Kconfig | 300 > +++ > arch/riscv/Makefile | 64 >

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

2017-05-23 Thread Arnd Bergmann
On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: > --- > arch/riscv/.gitignore| 35 > arch/riscv/Kconfig | 300 > +++ > arch/riscv/Makefile | 64 > arch/riscv/configs/riscv32_spike | 47

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

2017-05-23 Thread Geert Uytterhoeven
Hi Palmer, On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: > --- /dev/null > +++ b/arch/riscv/Kconfig > @@ -0,0 +1,300 @@ > +config PLIC > + bool "Platform-Level Interrupt Controller" > + default y > + help > + This enables support for the

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

2017-05-23 Thread Geert Uytterhoeven
Hi Palmer, On Tue, May 23, 2017 at 2:41 AM, Palmer Dabbelt wrote: > --- /dev/null > +++ b/arch/riscv/Kconfig > @@ -0,0 +1,300 @@ > +config PLIC > + bool "Platform-Level Interrupt Controller" > + default y > + help > + This enables support for the PLIC chip found in

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

2017-05-22 Thread Olof Johansson
(new top-level subthread here since this is a separate topic): On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile > new file mode 100644 > index ..07ef200e0675 > --- /dev/null > +++

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

2017-05-22 Thread Olof Johansson
(new top-level subthread here since this is a separate topic): On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile > new file mode 100644 > index ..07ef200e0675 > --- /dev/null > +++ b/arch/riscv/Makefile > @@ -0,0 +1,64 @@

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 |

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

2017-05-22 Thread Palmer Dabbelt
On Mon, 22 May 2017 18:31:08 PDT (-0700), rdun...@infradead.org wrote: > On 05/22/17 18:27, Olof Johansson wrote: >> Hi, >> >> >> On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >>> --- >>> arch/riscv/.gitignore| 35 >>> arch/riscv/Kconfig

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

2017-05-22 Thread Palmer Dabbelt
On Mon, 22 May 2017 18:31:08 PDT (-0700), rdun...@infradead.org wrote: > On 05/22/17 18:27, Olof Johansson wrote: >> Hi, >> >> >> On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >>> --- >>> arch/riscv/.gitignore| 35 >>> arch/riscv/Kconfig | 300

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

2017-05-22 Thread Palmer Dabbelt
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 | 300 >> +++

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

2017-05-22 Thread Palmer Dabbelt
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 | 300 >> +++ >>

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

2017-05-22 Thread Randy Dunlap
On 05/22/17 18:27, Olof Johansson wrote: > Hi, > > > On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >> --- >> arch/riscv/.gitignore| 35 >> arch/riscv/Kconfig | 300 >> +++ >>

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

2017-05-22 Thread Randy Dunlap
On 05/22/17 18:27, Olof Johansson wrote: > Hi, > > > On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: >> --- >> arch/riscv/.gitignore| 35 >> arch/riscv/Kconfig | 300 >> +++ >> arch/riscv/Makefile

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

2017-05-22 Thread Olof Johansson
Hi, On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > --- > arch/riscv/.gitignore| 35 > arch/riscv/Kconfig | 300 > +++ > arch/riscv/Makefile | 64 >

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

2017-05-22 Thread Olof Johansson
Hi, On Mon, May 22, 2017 at 5:41 PM, Palmer Dabbelt wrote: > --- > arch/riscv/.gitignore| 35 > arch/riscv/Kconfig | 300 > +++ > arch/riscv/Makefile | 64 > arch/riscv/configs/riscv32_spike

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

2017-05-22 Thread Palmer Dabbelt
--- arch/riscv/.gitignore| 35 arch/riscv/Kconfig | 300 +++ arch/riscv/Makefile | 64 arch/riscv/configs/riscv32_spike | 47 ++ arch/riscv/configs/riscv64_freedom-u | 52 ++

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

2017-05-22 Thread Palmer Dabbelt
--- arch/riscv/.gitignore| 35 arch/riscv/Kconfig | 300 +++ arch/riscv/Makefile | 64 arch/riscv/configs/riscv32_spike | 47 ++ arch/riscv/configs/riscv64_freedom-u | 52 ++