The RISC-V patch (2/3) is based on Gary's TLB flush patch series https://patchwork.kernel.org/project/linux-riscv/list/?series=97315 The x86 kconfig fix patch(1/3) can be applied separately. Chnages from v2->v3: 1. Fixed typos and commit text formatting. Changes from v1->v2: 1. Move the arch specific config option to a common one as it touches generic code. 2. Introduced another config that architectures can select to enable tlbflush option. Atish Patra (3): x86: Move DEBUG_TLBFLUSH option. RISC-V: Enable TLBFLUSH counters for debug kernel. RISC-V: Update tlb flush counters arch/riscv/Kconfig | 1 + arch/riscv/include/asm/tlbflush.h | 5 +++++ arch/riscv/mm/tlbflush.c | 12 ++++++++++++ arch/x86/Kconfig | 1 + arch/x86/Kconfig.debug | 19 ------------------- mm/Kconfig.debug | 13 +++++++++++++ 6 files changed, 32 insertions(+), 19 deletions(-) -- 2.21.0