From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752901AbcKRIZ2 (ORCPT ); Fri, 18 Nov 2016 03:25:28 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33780 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971AbcKRIZ0 (ORCPT ); Fri, 18 Nov 2016 03:25:26 -0500 Date: Fri, 18 Nov 2016 09:25:22 +0100 From: Ingo Molnar To: Laura Abbott Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Mark Rutland , Ard Biesheuvel , Will Deacon , Catalin Marinas , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Marek Szyprowski , Joonsoo Kim , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCHv3 1/6] lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL Message-ID: <20161118082521.GA7250@gmail.com> References: <1479431816-5028-1-git-send-email-labbott@redhat.com> <1479431816-5028-2-git-send-email-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479431816-5028-2-git-send-email-labbott@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Laura Abbott wrote: > > DEBUG_VIRTUAL currently depends on DEBUG_KERNEL && X86. arm64 is getting > the same support. Rather than add a list of architectures, switch this > to ARCH_HAS_DEBUG_VIRTUAL and let architectures select it as > appropriate. > > Suggested-by: Mark Rutland > Signed-off-by: Laura Abbott > --- > v3: No change, x86 maintainers please ack if you are okay with this. > --- > arch/x86/Kconfig | 1 + > lib/Kconfig.debug | 5 ++++- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index bada636..f533321 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -23,6 +23,7 @@ config X86 > select ARCH_CLOCKSOURCE_DATA > select ARCH_DISCARD_MEMBLOCK > select ARCH_HAS_ACPI_TABLE_UPGRADE if ACPI > + select ARCH_HAS_DEBUG_VIRTUAL > select ARCH_HAS_DEVMEM_IS_ALLOWED > select ARCH_HAS_ELF_RANDOMIZE > select ARCH_HAS_FAST_MULTIPLIER Acked-by: Ingo Molnar Thanks, Ingo