Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp431925pxb; Wed, 24 Feb 2021 06:10:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAO0MX5EQulFmW3x6cVhrv7PXiNKvSs5c1EXU2XCa/hS5PDp5etfoov2DRxyTQLDw11Dyq X-Received: by 2002:a17:906:1d44:: with SMTP id o4mr29264935ejh.130.1614175857050; Wed, 24 Feb 2021 06:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614175857; cv=none; d=google.com; s=arc-20160816; b=PrqQlw3aKOct3VDTOSYISmub/GNZMIVcBmndZ+PMMEbmesLCj/vTUYiVZSYVS9eH/s U7r53nP1QWdEbRJ66GbvskfkFVLx7CB/lBRJq7EzU106IAvdk4tMTMKVFKKCSybu7CPE IgBfquLYa9fNVZfGrTHvhVF4K6edkWJCY2pR0bpGKkcFFOU/azjymSYfqsiUwCfWwGcZ ycQKxJs8w8kzxZCgz6q9fX5sPTypx504BNcEXb+1aWUN8T+YB1fwLdRTth5zAy7UZEII 1cgufdb6WW54Bt+cSSsRqQbOcSWIpTWYSVs+sIV6nNJ/KxFlyfrNFVoNmfbRgIGbN59N O4Xg== 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=ktJAn5bxlaOviSmqsKwzIxCjvbgUxrOdnMoTleN9hhApDYuQje699qBpWPFYEp7p/e dQ6IMtQDgREnVC0cegeA/K5KJhVFjHCbCGYJ4XRMsIp6/w0j6S+YXZdLNjXrtBSGzY8T LvBYIIm7ZVo3X8u6jiv9Biu3oyPBIqqgTM0diUl4slVBYV4Prdc7/PM/zLnDeKB5eMOK 3xG4fniGiwFeoMka61oVvIYp1kSSqUtHXOSfYdGBTa489n9pu2k6Ym71bKsZYZRnUb/Q 4VqCK/V921vRy4uYdwLZnDuMS42cf7nz9nG4fMWziKBHMVYS62s+tVf2Tz8W2g6isUlq XkGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fReEpa4k; 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 n2si1280569edv.230.2021.02.24.06.10.26; Wed, 24 Feb 2021 06:10:57 -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=fReEpa4k; 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 S235487AbhBXOGX (ORCPT + 99 others); Wed, 24 Feb 2021 09:06:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:58712 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234150AbhBXNIx (ORCPT ); Wed, 24 Feb 2021 08:08:53 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5E43964F14; Wed, 24 Feb 2021 12:55:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614171305; bh=1YK8oSAN7rQInznGmAOuKCx15FokfzKFU8CdTji2RAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fReEpa4kIta+8XZk2FBo645tG9yRa7B7bRdjU28Y0y54efYR+VDhc2HLHpGwWbTQS D0y3QZpLNTmkEUaHcyOPJCZOlXnclKQ/oo2C12CXQC6DzqYZcpyHayNZRUbh/enP46 mKBRBZ6ww5Vu03gJoX8V5ziedWJd2RXahTfBsXBv6jUGpfY4q2sM64Aml3Faqxoq5o XxFjOFFhqg7zgzgLT022liGrvDEtnsWkyDehT6QbTLWnYq1VrkHY1ekSoO18PwB/I7 8JpVhSsm/C6S6Y944ZvbWdn6koH24ryPoSFN2/eqkWKvlJeqzZAv7t0H3/y2uoO1Fm xj8SRYEV5/8KQ== 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.19 23/26] parisc: Bump 64-bit IRQ stack size to 64 KB Date: Wed, 24 Feb 2021 07:54:31 -0500 Message-Id: <20210224125435.483539-23-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210224125435.483539-1-sashal@kernel.org> References: <20210224125435.483539-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