From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-qk0-f178.google.com ([209.85.220.178]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEPW9-0003oJ-2a for kexec@lists.infradead.org; Tue, 06 Dec 2016 23:51:26 +0000 Received: by mail-qk0-f178.google.com with SMTP id q130so209907281qke.1 for ; Tue, 06 Dec 2016 15:51:04 -0800 (PST) From: Laura Abbott Subject: [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Date: Tue, 6 Dec 2016 15:50:46 -0800 Message-Id: <1481068257-6367-1-git-send-email-labbott@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Mark Rutland , Ard Biesheuvel , Will Deacon , Catalin Marinas Cc: linux-mm@kvack.org, Alexander Potapenko , "H. Peter Anvin" , Thomas Gleixner , Marek Szyprowski , Lorenzo Pieralisi , x86@kernel.org, kasan-dev@googlegroups.com, Ingo Molnar , linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, Laura Abbott , David Vrabel , Kees Cook , Marc Zyngier , Andrey Ryabinin , Boris Ostrovsky , Andrew Morton , Dmitry Vyukov , Juergen Gross , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Eric Biederman , Joonsoo Kim , Christoffer Dall Hi, This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly contains minor fixups including adding a few extra headers around and splitting things out into a few more sub-patches. With a few more acks I think this should be ready to go. More testing is always appreciated though. Thanks, Laura Laura Abbott (11): lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL mm/cma: Cleanup highmem check arm64: Move some macros under #ifndef __ASSEMBLY__ arm64: Add cast for virt_to_pfn mm: Introduce lm_alias arm64: Use __pa_symbol for kernel symbols drivers: firmware: psci: Use __pa_symbol for kernel symbol kexec: Switch to __pa_symbol mm/kasan: Switch to using __pa_symbol and lm_alias mm/usercopy: Switch to using lm_alias arm64: Add support for CONFIG_DEBUG_VIRTUAL arch/arm64/Kconfig | 1 + arch/arm64/include/asm/kvm_mmu.h | 4 +- arch/arm64/include/asm/memory.h | 66 +++++++++++++++++++++---------- arch/arm64/include/asm/mmu_context.h | 6 +-- arch/arm64/include/asm/pgtable.h | 2 +- arch/arm64/kernel/acpi_parking_protocol.c | 3 +- arch/arm64/kernel/cpu-reset.h | 2 +- arch/arm64/kernel/cpufeature.c | 3 +- arch/arm64/kernel/hibernate.c | 20 +++------- arch/arm64/kernel/insn.c | 2 +- arch/arm64/kernel/psci.c | 3 +- arch/arm64/kernel/setup.c | 9 +++-- arch/arm64/kernel/smp_spin_table.c | 3 +- arch/arm64/kernel/vdso.c | 8 +++- arch/arm64/mm/Makefile | 2 + arch/arm64/mm/init.c | 12 +++--- arch/arm64/mm/kasan_init.c | 22 +++++++---- arch/arm64/mm/mmu.c | 33 ++++++++++------ arch/arm64/mm/physaddr.c | 30 ++++++++++++++ arch/x86/Kconfig | 1 + drivers/firmware/psci.c | 2 +- include/linux/mm.h | 4 ++ kernel/kexec_core.c | 2 +- lib/Kconfig.debug | 5 ++- mm/cma.c | 15 +++---- mm/kasan/kasan_init.c | 15 +++---- mm/usercopy.c | 4 +- 27 files changed, 180 insertions(+), 99 deletions(-) create mode 100644 arch/arm64/mm/physaddr.c -- 2.7.4 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 From: labbott@redhat.com (Laura Abbott) Date: Tue, 6 Dec 2016 15:50:46 -0800 Subject: [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Message-ID: <1481068257-6367-1-git-send-email-labbott@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly contains minor fixups including adding a few extra headers around and splitting things out into a few more sub-patches. With a few more acks I think this should be ready to go. More testing is always appreciated though. Thanks, Laura Laura Abbott (11): lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL mm/cma: Cleanup highmem check arm64: Move some macros under #ifndef __ASSEMBLY__ arm64: Add cast for virt_to_pfn mm: Introduce lm_alias arm64: Use __pa_symbol for kernel symbols drivers: firmware: psci: Use __pa_symbol for kernel symbol kexec: Switch to __pa_symbol mm/kasan: Switch to using __pa_symbol and lm_alias mm/usercopy: Switch to using lm_alias arm64: Add support for CONFIG_DEBUG_VIRTUAL arch/arm64/Kconfig | 1 + arch/arm64/include/asm/kvm_mmu.h | 4 +- arch/arm64/include/asm/memory.h | 66 +++++++++++++++++++++---------- arch/arm64/include/asm/mmu_context.h | 6 +-- arch/arm64/include/asm/pgtable.h | 2 +- arch/arm64/kernel/acpi_parking_protocol.c | 3 +- arch/arm64/kernel/cpu-reset.h | 2 +- arch/arm64/kernel/cpufeature.c | 3 +- arch/arm64/kernel/hibernate.c | 20 +++------- arch/arm64/kernel/insn.c | 2 +- arch/arm64/kernel/psci.c | 3 +- arch/arm64/kernel/setup.c | 9 +++-- arch/arm64/kernel/smp_spin_table.c | 3 +- arch/arm64/kernel/vdso.c | 8 +++- arch/arm64/mm/Makefile | 2 + arch/arm64/mm/init.c | 12 +++--- arch/arm64/mm/kasan_init.c | 22 +++++++---- arch/arm64/mm/mmu.c | 33 ++++++++++------ arch/arm64/mm/physaddr.c | 30 ++++++++++++++ arch/x86/Kconfig | 1 + drivers/firmware/psci.c | 2 +- include/linux/mm.h | 4 ++ kernel/kexec_core.c | 2 +- lib/Kconfig.debug | 5 ++- mm/cma.c | 15 +++---- mm/kasan/kasan_init.c | 15 +++---- mm/usercopy.c | 4 +- 27 files changed, 180 insertions(+), 99 deletions(-) create mode 100644 arch/arm64/mm/physaddr.c -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f200.google.com (mail-qk0-f200.google.com [209.85.220.200]) by kanga.kvack.org (Postfix) with ESMTP id 9B2826B025E for ; Tue, 6 Dec 2016 18:51:04 -0500 (EST) Received: by mail-qk0-f200.google.com with SMTP id q128so303129720qkd.3 for ; Tue, 06 Dec 2016 15:51:04 -0800 (PST) Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com. [209.85.220.174]) by mx.google.com with ESMTPS id r63si12960483qkb.179.2016.12.06.15.51.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 15:51:03 -0800 (PST) Received: by mail-qk0-f174.google.com with SMTP id n21so397660407qka.3 for ; Tue, 06 Dec 2016 15:51:03 -0800 (PST) From: Laura Abbott Subject: [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Date: Tue, 6 Dec 2016 15:50:46 -0800 Message-Id: <1481068257-6367-1-git-send-email-labbott@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Mark Rutland , Ard Biesheuvel , Will Deacon , Catalin Marinas Cc: Laura Abbott , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Marek Szyprowski , Joonsoo Kim , linux-arm-kernel@lists.infradead.org, Christoffer Dall , Marc Zyngier , Lorenzo Pieralisi , xen-devel@lists.xenproject.org, Boris Ostrovsky , David Vrabel , Juergen Gross , Eric Biederman , kexec@lists.infradead.org, Alexander Potapenko , Dmitry Vyukov , kasan-dev@googlegroups.com, Andrey Ryabinin , Kees Cook Hi, This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly contains minor fixups including adding a few extra headers around and splitting things out into a few more sub-patches. With a few more acks I think this should be ready to go. More testing is always appreciated though. Thanks, Laura Laura Abbott (11): lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL mm/cma: Cleanup highmem check arm64: Move some macros under #ifndef __ASSEMBLY__ arm64: Add cast for virt_to_pfn mm: Introduce lm_alias arm64: Use __pa_symbol for kernel symbols drivers: firmware: psci: Use __pa_symbol for kernel symbol kexec: Switch to __pa_symbol mm/kasan: Switch to using __pa_symbol and lm_alias mm/usercopy: Switch to using lm_alias arm64: Add support for CONFIG_DEBUG_VIRTUAL arch/arm64/Kconfig | 1 + arch/arm64/include/asm/kvm_mmu.h | 4 +- arch/arm64/include/asm/memory.h | 66 +++++++++++++++++++++---------- arch/arm64/include/asm/mmu_context.h | 6 +-- arch/arm64/include/asm/pgtable.h | 2 +- arch/arm64/kernel/acpi_parking_protocol.c | 3 +- arch/arm64/kernel/cpu-reset.h | 2 +- arch/arm64/kernel/cpufeature.c | 3 +- arch/arm64/kernel/hibernate.c | 20 +++------- arch/arm64/kernel/insn.c | 2 +- arch/arm64/kernel/psci.c | 3 +- arch/arm64/kernel/setup.c | 9 +++-- arch/arm64/kernel/smp_spin_table.c | 3 +- arch/arm64/kernel/vdso.c | 8 +++- arch/arm64/mm/Makefile | 2 + arch/arm64/mm/init.c | 12 +++--- arch/arm64/mm/kasan_init.c | 22 +++++++---- arch/arm64/mm/mmu.c | 33 ++++++++++------ arch/arm64/mm/physaddr.c | 30 ++++++++++++++ arch/x86/Kconfig | 1 + drivers/firmware/psci.c | 2 +- include/linux/mm.h | 4 ++ kernel/kexec_core.c | 2 +- lib/Kconfig.debug | 5 ++- mm/cma.c | 15 +++---- mm/kasan/kasan_init.c | 15 +++---- mm/usercopy.c | 4 +- 27 files changed, 180 insertions(+), 99 deletions(-) create mode 100644 arch/arm64/mm/physaddr.c -- 2.7.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752497AbcLFXvG (ORCPT ); Tue, 6 Dec 2016 18:51:06 -0500 Received: from mail-qk0-f174.google.com ([209.85.220.174]:35109 "EHLO mail-qk0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbcLFXvE (ORCPT ); Tue, 6 Dec 2016 18:51:04 -0500 From: Laura Abbott To: Mark Rutland , Ard Biesheuvel , Will Deacon , Catalin Marinas Cc: Laura Abbott , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Marek Szyprowski , Joonsoo Kim , linux-arm-kernel@lists.infradead.org, Christoffer Dall , Marc Zyngier , Lorenzo Pieralisi , xen-devel@lists.xenproject.org, Boris Ostrovsky , David Vrabel , Juergen Gross , Eric Biederman , kexec@lists.infradead.org, Alexander Potapenko , Dmitry Vyukov , kasan-dev@googlegroups.com, Andrey Ryabinin , Kees Cook Subject: [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Date: Tue, 6 Dec 2016 15:50:46 -0800 Message-Id: <1481068257-6367-1-git-send-email-labbott@redhat.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is v5 of the series to add CONFIG_DEBUG_VIRTUAL for arm64. This mostly contains minor fixups including adding a few extra headers around and splitting things out into a few more sub-patches. With a few more acks I think this should be ready to go. More testing is always appreciated though. Thanks, Laura Laura Abbott (11): lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL mm/cma: Cleanup highmem check arm64: Move some macros under #ifndef __ASSEMBLY__ arm64: Add cast for virt_to_pfn mm: Introduce lm_alias arm64: Use __pa_symbol for kernel symbols drivers: firmware: psci: Use __pa_symbol for kernel symbol kexec: Switch to __pa_symbol mm/kasan: Switch to using __pa_symbol and lm_alias mm/usercopy: Switch to using lm_alias arm64: Add support for CONFIG_DEBUG_VIRTUAL arch/arm64/Kconfig | 1 + arch/arm64/include/asm/kvm_mmu.h | 4 +- arch/arm64/include/asm/memory.h | 66 +++++++++++++++++++++---------- arch/arm64/include/asm/mmu_context.h | 6 +-- arch/arm64/include/asm/pgtable.h | 2 +- arch/arm64/kernel/acpi_parking_protocol.c | 3 +- arch/arm64/kernel/cpu-reset.h | 2 +- arch/arm64/kernel/cpufeature.c | 3 +- arch/arm64/kernel/hibernate.c | 20 +++------- arch/arm64/kernel/insn.c | 2 +- arch/arm64/kernel/psci.c | 3 +- arch/arm64/kernel/setup.c | 9 +++-- arch/arm64/kernel/smp_spin_table.c | 3 +- arch/arm64/kernel/vdso.c | 8 +++- arch/arm64/mm/Makefile | 2 + arch/arm64/mm/init.c | 12 +++--- arch/arm64/mm/kasan_init.c | 22 +++++++---- arch/arm64/mm/mmu.c | 33 ++++++++++------ arch/arm64/mm/physaddr.c | 30 ++++++++++++++ arch/x86/Kconfig | 1 + drivers/firmware/psci.c | 2 +- include/linux/mm.h | 4 ++ kernel/kexec_core.c | 2 +- lib/Kconfig.debug | 5 ++- mm/cma.c | 15 +++---- mm/kasan/kasan_init.c | 15 +++---- mm/usercopy.c | 4 +- 27 files changed, 180 insertions(+), 99 deletions(-) create mode 100644 arch/arm64/mm/physaddr.c -- 2.7.4