Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp17333pxb; Wed, 24 Feb 2021 16:51:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGaEVd3YB6EWKZ728yq7F9qs+IF8Db7T6upjJtKY5ulF0qRRN0fT0U5gwWBZsCU3YwUDuY X-Received: by 2002:aa7:c881:: with SMTP id p1mr459037eds.249.1614214261342; Wed, 24 Feb 2021 16:51:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614214261; cv=none; d=google.com; s=arc-20160816; b=PzgSNs0duzDtZl98yaHP+hqAfDRgJabmF+TRerX5Im5BSCFJ6oPQKXl9Bztn2O+x+3 fhPcXwlFIF3dGOyQ2FBslEXgZ4T82AMNi6MPGCbuOzvleaz3HA3bZ7RzROQYYYDLOf1G tb1aYrJcnctnsdUT3K5Hjp6tzAYF4QDO3XuRb4eoxAMnLNTBDX6m71RxW5diZ27emJq7 8UCoo+NuqNHu/hZeqnlw2sBYH2qODHF0nf66UCSLKrpCIv65N1MRRElSVn7+xNaJsRCm 2rBiTsrxQDgFkb8tzSQdPHc51Wf0/3BhFMpGeTdW5nWM5tNcTODroeBCyZyTIN3JW2hD apXQ== 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=nUp5A5RUp6nAQU0PCOPA0taYWHUMQSTe27ZEgv+gpdc=; b=crtX8NIsuZh/s6KdkmqvrwEySVN6q5295AY7mrcYlS45qAN9LPBi3VEOaADOk50qVl ItH2YzKszzZfhnKkH4/5rNf48QGpuJkl9LN/N1i0l3fyJtf5FqPqDJf57BJypKPt8F5e D94H94KMO/hAj08tuazWUHqrCElM1CHDByQL+6v7DfQ4rx/MZPWFdVCI31naGWT277pU lHG5kdIokbCv9xy3uJQoMmghHADdTYRMqMcqSAgrKl3/UnPqNIvYdAf8w1EIqxrAynYs kWCG6W6K+JFq2lNPTw8gjFO39Z8YQlqybp5jkDOVfkBZfxygCOQQCio96xwvIE2KnFSo W5Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MeMPw3d9; 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 eb13si2281712edb.465.2021.02.24.16.50.38; Wed, 24 Feb 2021 16:51:01 -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=MeMPw3d9; 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 S235077AbhBXOfI (ORCPT + 99 others); Wed, 24 Feb 2021 09:35:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:59334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236096AbhBXNNu (ORCPT ); Wed, 24 Feb 2021 08:13:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B733E64FA9; Wed, 24 Feb 2021 12:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171335; bh=1YK8oSAN7rQInznGmAOuKCx15FokfzKFU8CdTji2RAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MeMPw3d9QF5XWitKWWo5yCjcGhE5t7C76nLOTnHUCLUI6JbIo7gTcAIQAvj1+4Oc7 mqR9VTR/am6rcP8EbLbzZcx6rSFwwJ+sX+x9D+mBaFMHm+eQjVIVPXgG98tfp4QceH XT3EQ7yMQEkKknnwqYVRFYDZTFQYk0p7QpEqql2l7B26SAJ0q/BAWIw4rLzkfXeoHw my+m4UQkdDbQm0DJ8kxippo3xKa0vnriGycN+GhViMk+l9OWlcT+WHtM5yQ1ZGXOTK Zb7vQIySf3pkZofc3Goj8+cfLYvjCjrclhIVXFXnve28jzcVMjGkhAb2Hnc+TvZupe 9g6olbGOjStcA== 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 4.14 16/16] parisc: Bump 64-bit IRQ stack size to 64 KB Date: Wed, 24 Feb 2021 07:55:13 -0500 Message-Id: <20210224125514.483935-16-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125514.483935-1-sashal@kernel.org> References: <20210224125514.483935-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 0ca254085a662..c152c30c2d06d 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -380,7 +380,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