Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1979442pxb; Fri, 5 Mar 2021 04:39:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxoypkaHLnRoXJKKM2glIfuD3USk8shqbxnb4nzuNkAeHngpLz5RCjLxFTnTvBiXw1MBmeM X-Received: by 2002:a17:906:d8ca:: with SMTP id re10mr2068128ejb.18.1614947992359; Fri, 05 Mar 2021 04:39:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614947992; cv=none; d=google.com; s=arc-20160816; b=P3WL/IV8R/FtVEe1ZxkpahIT0snhlQUADj5nss/PsOiS0rXxmR5egaxXqMJz660XH8 p4nq3eXb33t4MM0m0UEJHqc6LR0Co4//jkMQqhVNLVDRSBWEZWLR/8U8z2gxJs3nLeYe ba2G9Ram5lurcAJrjFpuA8D3xS3iIoKmiyPywiUnEGjDZzPA9QAfzrjq9dr4J0VMvjxZ rxYTnYOiW/S18lsZtpI9OERP8pEXbS1jsKqqzNcweceeKCQaQQwLrljmKmGacZM0DTe5 UD+Ob7bswmgciWO+hekzxgDicS20CpF/l693O3j5wH6h/+8i+Q6pRIskKyPPhHU1MCXj 0WqA== 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=Y3rtjPlxIyzL/wnHi8+7cVb//eEDFsbkFf4+HUyVtcE=; b=wc0DTGz23Ohys43lFm5eidL/nuNjkAiC0aRL/XUPrvlhNnXttu2OQyjeJoeozF791R 2He8Q2GLR4SK9oc6vpziRfswjnJhDsY1LJcgbMD8zCc/Yt+ygywlVBeSUdtVvEZTf314 M2EUetukl5bWGNSyxJZpeQ2wSQYEpOEGoJN9AKAYSVWQDTjee4S2KZPMej/0DoTsQ2sP TB2CKt9N+jIveRDQl4cgJiJvBkRfmfFhqDE7O8Uij9cL1liZiDLnhWzlM57ICMVVqzTS rQrdA4xO2uyFbxPZW6//yf3w8C13lrM+2v8eJ5hLXeE5k8To2Alpt6n1WBT6N+nlqsbk XnMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1+WjllYY; 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 d23si1254798eje.107.2021.03.05.04.39.28; Fri, 05 Mar 2021 04:39:52 -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=1+WjllYY; 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 S232697AbhCEMi3 (ORCPT + 99 others); Fri, 5 Mar 2021 07:38:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:50514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231439AbhCEMhk (ORCPT ); Fri, 5 Mar 2021 07:37:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 439D264FF0; Fri, 5 Mar 2021 12:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614947858; bh=CF3d8rCbDwBuOX082sgWKOJbCa+v8mzKHvsB77fmxjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1+WjllYYE76QiYuFWgc02UuaLk7eYe9MyC7/FZBnD6ZQQCgF0tAvmmIs2Pp2z2XX8 irp6oIvmCgOp8qPbTiJfCt5NHgWMapdBgaUz1widF6wpoTBr4y5ACmYAUervJeTQlW Wu2LwkLSRG50jbpUbz9UbO1pjyMqCd7X53vaFciA= 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 4.19 38/52] parisc: Bump 64-bit IRQ stack size to 64 KB Date: Fri, 5 Mar 2021 13:22:09 +0100 Message-Id: <20210305120855.526308326@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210305120853.659441428@linuxfoundation.org> References: <20210305120853.659441428@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 0ca254085a66..c152c30c2d06 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.30.1