Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7418pxb; Wed, 24 Feb 2021 16:29:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwZL/0EhieO5ReMkozauuUInEEdeQRXT8a6tGr3835rBaGVhX2uiFRyCsjcHqMMrNbYGuG X-Received: by 2002:a17:906:1e50:: with SMTP id i16mr214141ejj.466.1614212996717; Wed, 24 Feb 2021 16:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614212996; cv=none; d=google.com; s=arc-20160816; b=KgYc8a2y/by9c3zZavRNCBPyGAPUOtGD5uRKboDZDwbmya0lEWugB6MGj4vbohxvEd YcdFuzKpDiunQTKd0sq0+mZBe0SUrXXrZFBD4itnAfo5715gETIAIHBSznClduFkH2tF gh7FlafUwqwqA7nxBUyoLM6tX7VltiRFJBWP6Ho+U6S9fx+Uvw9M3Pzbq40s+l0i01V7 h80CXKfHJPnGTg9vHzEerhHRJtkbSFV/Cn5Uyt7vSBPg9dAkCBJsRfdRWahgXjC+vLvT IOLUFTNXgqap0pQGEtmCMYgA0rdU3+co56K49t3R5QnrDVxyKATwBWVxG3pjm50aBfq7 HzDA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=L7R8oeLGB5c4wKC4mPfuLgBaCDoLEhRPQgnPOM6yisQ=; b=WsvlAiQwHSbkA8CJuLHLhDwKqFG2+cq1Vyu7DGqFUNmc+ocsLAiRpbMwXwxBGfSTgW AqwmWQiE6tsi440LUMr8ttLQpWyex4vv3UxOKYkF6dnX03YWaFXtmb6kgDC8DmGSqVWT P1fY2ZnSVb4T4ggRUJCC8vudYDdrsi0XYyGiTwjCWkHANIsemEC9rpsstY1ANYVQLjXA 0HIDFNsGft08xdvcd1TO9PMQvG+3CuWezU10gEa4J8H3SrAY8wL0xLxmEpSuKg4UyvEL n6wCLzyX2IWIu8p8eb9o50n/AOiJuOrhGmtHKrd0mP/QDIGct0yxikmS/xTyjg8iX5Aw Y+kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RMlKH+sI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si2136903edq.523.2021.02.24.16.29.23; Wed, 24 Feb 2021 16:29:56 -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=@kernel.org header.s=k20201202 header.b=RMlKH+sI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238197AbhBXN7O (ORCPT + 99 others); Wed, 24 Feb 2021 08:59:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:58438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235807AbhBXNHR (ORCPT ); Wed, 24 Feb 2021 08:07:17 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0564A64F7F; Wed, 24 Feb 2021 12:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171266; bh=n3+hBgB3Bu9tSf0VgVIejY8VIc+GhbJStIOOgD2WTaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RMlKH+sIC9D714dMdp1re+nwYNRpCxXMSumlwLl3jOmyZYci/Y21A8uAzs+qCBNmf wWmfsiyqPFRNcLQnAva4/EjvSbqdaCwkHt1QFhoUL3ngwAvnieU15MMfchgTyiXehp kbUQN2ktU3bu/vCmegC7r8fX1W2OKPEcHh+XDk7keCdZlA1qTFn/xBkTkmoh/F/zSs SNNyfsS6O01iV1H9W6oLzmIZYTuVkdd8wuM5kMMw6CUx+sva+CQQ1X+fiBrGHrNHuL TcElFxJoC/jsHbbvK8qz6pLI0TFYgLebI1Fc/XYUOBI+k1VS1C/3bdQV3Igrh+LjkL vqlT5JD59xwIA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: John David Anglin , Helge Deller , Sasha Levin , linux-parisc@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 35/40] parisc: Bump 64-bit IRQ stack size to 64 KB Date: Wed, 24 Feb 2021 07:53:35 -0500 Message-Id: <20210224125340.483162-35-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125340.483162-1-sashal@kernel.org> References: <20210224125340.483162-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 e5fcfb70cc7c0..4d54aa70ea5f3 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.27.0