From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Tue, 8 Dec 2015 11:43:21 +0000 Subject: [PATCH v8 3/4] arm64: Add do_softirq_own_stack() and enable irq_stacks In-Reply-To: <20151207224805.GA20777@MBP.local> References: <1449226948-14251-1-git-send-email-james.morse@arm.com> <1449226948-14251-4-git-send-email-james.morse@arm.com> <20151207224805.GA20777@MBP.local> Message-ID: <20151208114321.GD19612@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Dec 07, 2015 at 10:48:07PM +0000, Catalin Marinas wrote: > On Fri, Dec 04, 2015 at 11:02:27AM +0000, James Morse wrote: > > entry.S is modified to switch to the per_cpu irq_stack during el{0,1}_irq. > > irq_count is used to detect recursive interrupts on the irq_stack, it is > > updated late by do_softirq_own_stack(), when called on the irq_stack, before > > __do_softirq() re-enables interrupts to process softirqs. > > > > do_softirq_own_stack() is added by this patch, but does not yet switch > > stack. > > > > This patch adds the dummy stack frame and data needed by the previous > > stack tracing patches. > > > > Signed-off-by: James Morse > > In the interest of getting things moving on this series: > > Reviewed-by: Catalin Marinas > > I propose that we skip patch 4 for now and, as James suggested, keep the > THREAD_SIZE to 16KB for one more release cycle. It would be good to get > some statistics on stack usage. > > Patches 1-3 look fine to me on their own. I'll pick them up and see if they survive testing. Will