Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1978579pxb; Fri, 5 Mar 2021 04:38:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZkubVyRhpAzAtem9J04X2VpWWPPk3Iw7X6R54XuV0bIElsIvDua4/U5Vb5PMxFpVGJFMZ X-Received: by 2002:aa7:cb4d:: with SMTP id w13mr8945941edt.249.1614947907187; Fri, 05 Mar 2021 04:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947907; cv=none; d=google.com; s=arc-20160816; b=zMMa41kKiVDL+ArQMsUfneU2Mpwk3AHFQIdN3HfWVpe6n1tYk441661QlBIgdPytFW 6tZKOnNCGtiJSFShgl3gXd1XhukyDVV9zawuFitPFJemzW4YkBrAtfEH25ke1cF+vFpq 2Elou6IFQ9A2gTlRWxLX/4WUvq6eHajk5nXKQrECrnarvsrQA4SUhm2e0uqshg3HtUJc wi9NQPwEn0uZCitw/xNvmEriCZKTYnLBXGAVV5SYuq4mYp57cTRuxvdUNaOhdsqNEgxo Tml3ywp3oIEfLXh/ylWyZCSXGKWvEgSRXOsgguXPV7IugKIVmC2pcDb128U/LB9TDyft t4eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ho4otmJdOSkR/BgGymVK3LTc9RvQ0fAVwvEJfMvcSFs=; b=sXyNXjP3bjQsymUZKjxbNMtKlybZmkiKjchNb1ZL+EOweLZ9hFmahISizV43OJXdNj 14sF7cU8xWNt9x1D9QFHIb4zkZTFVpa2lQErCElPldi56aaC40LCWglK2f3RmJlG+iHp sRS/y/M1OgkoEEM1WPslYEWrvXe1H9zOqR+9p+d9TGH3mzNeC6wgUVbDlywZ6TYrXh5w E1rHgnfRP7q4X8vVNjdH19qnO1tAWErLA6wCFWMHufRRzvkmwi+sMl4xyZI9ADsPXjTQ rQnzHBWq7QieIuA1IsG0OcUAhWZ9MGHUi62rtg0NKDXyE+N5z6PLDUeGv2jTm5ROcZt6 6A9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RrU83c6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si1266513ejw.331.2021.03.05.04.38.03; Fri, 05 Mar 2021 04:38:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RrU83c6s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232908AbhCEMgq (ORCPT + 99 others); Fri, 5 Mar 2021 07:36:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:49168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231842AbhCEMgR (ORCPT ); Fri, 5 Mar 2021 07:36:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0654065012; Fri, 5 Mar 2021 12:36:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947777; bh=7GO0TGi6Er23x6UCEkMsC0GpKslv51kLTBQ8Kslm/xQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RrU83c6scwwNV50JZyFAXQ6Ms1Hcz5rfF5dYB8veU0q5pm4IILSw/BgEXBNi+fidC F1Sw67NvtWl7tQ0R+YN9HcyR5SqlLGRoKahXXyzLtGUFBLMaF9X9Sx6VXAjYNiIBZA zLEXiYY/Qe+L0GmF97JFBl7CQPor6kdPKpqW/I1A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, John David Anglin , Helge Deller , Sasha Levin Subject: [PATCH 5.4 55/72] parisc: Bump 64-bit IRQ stack size to 64 KB Date: Fri, 5 Mar 2021 13:21:57 +0100 Message-Id: <20210305120900.032374826@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120857.341630346@linuxfoundation.org> References: <20210305120857.341630346@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: John David Anglin [ Upstream commit 31680c1d1595a59e17c14ec036b192a95f8e5f4a ] Bump 64-bit IRQ stack size to 64 KB. I had a kernel IRQ stack overflow on the mx3210 debian buildd machine. This patch increases the 64-bit IRQ stack size to 64 KB. The 64-bit stack size needs to be larger than the 32-bit stack size since registers are twice as big. Signed-off-by: John David Anglin Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- arch/parisc/kernel/irq.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index e5fcfb70cc7c..4d54aa70ea5f 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -376,7 +376,11 @@ static inline int eirr_to_irq(unsigned long eirr) /* * IRQ STACK - used for irq handler */ +#ifdef CONFIG_64BIT +#define IRQ_STACK_SIZE (4096 << 4) /* 64k irq stack size */ +#else #define IRQ_STACK_SIZE (4096 << 3) /* 32k irq stack size */ +#endif union irq_stack_union { unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)]; -- 2.30.1