Re: [PATCH v2] riscv: Allow building with kcov coverage

2020-07-10 Thread Palmer Dabbelt
On Fri, 26 Jun 2020 05:40:56 PDT (-0700), tklau...@distanz.ch wrote: Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the riscv Kconfig. Also disable instrumentation of some early boot code and vdso. Boot-tested on QEMU's riscv64 virt machine. Thanks. This is on for-next (with the ack). I'm boot te

Re: [PATCH v2] riscv: Allow building with kcov coverage

2020-06-26 Thread Dmitry Vyukov
On Fri, Jun 26, 2020 at 2:40 PM Tobias Klauser wrote: > > Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the riscv Kconfig. > Also disable instrumentation of some early boot code and vdso. > > Boot-tested on QEMU's riscv64 virt machine. > > Cc: Björn Töpel > Cc: Dmitry Vyukov > Signed-off-by: Tobias

[PATCH v2] riscv: Allow building with kcov coverage

2020-06-26 Thread Tobias Klauser
Add ARCH_HAS_KCOV and HAVE_GCC_PLUGINS to the riscv Kconfig. Also disable instrumentation of some early boot code and vdso. Boot-tested on QEMU's riscv64 virt machine. Cc: Björn Töpel Cc: Dmitry Vyukov Signed-off-by: Tobias Klauser --- arch/riscv/Kconfig | 2 ++ arch/riscv/boot/M