From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754910AbbJGP2c (ORCPT ); Wed, 7 Oct 2015 11:28:32 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:34719 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754781AbbJGP23 (ORCPT ); Wed, 7 Oct 2015 11:28:29 -0400 From: Jungseok Lee To: catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org Cc: james.morse@arm.com, takahiro.akashi@linaro.org, mark.rutland@arm.com, barami97@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v4 0/2] arm64: Introduce IRQ stack Date: Wed, 7 Oct 2015 15:28:10 +0000 Message-Id: <1444231692-32722-1-git-send-email-jungseoklee85@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, This is fourth version of the series. A major change is stack trace support for IRQ stack since v3. Any feedbacks or comments are always welcome. Thanks in advance! Changes since v3: - Expanded stack trace to support IRQ stack - Added more comments Changes since v2: - Optmised current_thread_info function as removing masking operation and volatile keyword per James and Catalin - Reworked irq re-enterance check logic using top-bit comparison of stacks per James - Added sp_el0 update in cpu_resume per James - Selected HAVE_IRQ_EXIT_ON_IRQ_STACK to expose this feature explicitly - Added a Tested-by tag from James - Added comments on sp_el0 as a helper messeage Changes since v1: - Rebased on top of v4.3-rc1 - Removed Kconfig about IRQ stack, per James - Used PERCPU for IRQ stack, per James - Tried to allocate IRQ stack when CPU is about to start up, per James - Moved sp_el0 update into kernel_entry macro, per James - Dropped S_SP removal patch, per Mark and James Jungseok Lee (2): arm64: Introduce IRQ stack arm64: Expand the stack trace feature to support IRQ stack arch/arm64/Kconfig | 1 + arch/arm64/include/asm/irq.h | 18 ++++++ arch/arm64/include/asm/thread_info.h | 10 +++- arch/arm64/kernel/asm-offsets.c | 5 ++ arch/arm64/kernel/entry.S | 49 ++++++++++++++-- arch/arm64/kernel/head.S | 5 ++ arch/arm64/kernel/irq.c | 21 +++++++ arch/arm64/kernel/sleep.S | 3 + arch/arm64/kernel/smp.c | 13 +++- arch/arm64/kernel/stacktrace.c | 22 ++++++- arch/arm64/kernel/traps.c | 13 ++++ 11 files changed, 149 insertions(+), 11 deletions(-) -- 2.5.0