Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp126355pxa; Fri, 31 Jul 2020 08:00:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5M+51fOvH9HH3ECOCr311Y7VYJy4FpwtWKAtu3Srlilme5UYM1t1K+xROCYjFJIZ3Y73W X-Received: by 2002:a50:d78f:: with SMTP id w15mr4195860edi.260.1596207659194; Fri, 31 Jul 2020 08:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596207659; cv=none; d=google.com; s=arc-20160816; b=WponAoHRI3Rm0iARGQnEfYHdE6+Oi7qFVQdeyQTWR4AW3eR4Ifq398StVtuxquAE4o 3qUh3S+c59rpMQ8yZMSFwfcdNmXwq2vS99j1it8lcfDf546R/AAA+CfMq9gX1wfTEVbd 9w2qqSSwgaPkE9iS0SlBDeajJmS+v4BlKn7nSPnspNsPeHsoJ7NxXEq49Mhnl83XIb4M gHPZI4qG183eny5Lc9jUNpF2G9WWufj9s1YXgZEwTVTmQXsZpYV/Pv1sVUDEJ44/KvrX roVapZYFUG3bwGICKO9uB4rQSzDmuHFp3XiI/k4UuCOiix8csYjCzT501ZNCCpykAQLH a5tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=sLpkHF+HbDloaJa2ddUi7D2t35e//APwH4BKjk+HIRE=; b=ONMfeolwN9YgBknAhwhEgrhyUklfrEa690fNLo/49o2lT1tesZ9WaHd3vy+4gwNjhb Fua79YarJhw8+95metDvHzQG+e1Td5CVibRvw5tztD+L4pcDcer0xyjtQnylYymJeKEE wWw1lBdj6Dg06Wdt7AaLS9DoHpVj6kziEifhD7G6v1cUj3luUi+GOG+cvMt1/+G75xMK m5tb8Y75VPEalgNCu/AjCE7TFJMVrm00rN1xD1d1RsOJk3DRhbz1QIDtHIJiQohSuIqX OELKocFHN/RnN+NBjtoqTbR0djadXzDY+uU1l5773ea1DQCNukpJNI3Rwi6zeiuzkBVC z/fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="I4XH/Ztw"; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f27si1047266ejt.13.2020.07.31.08.00.36; Fri, 31 Jul 2020 08:00:59 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b="I4XH/Ztw"; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730448AbgGaO72 (ORCPT + 99 others); Fri, 31 Jul 2020 10:59:28 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:55216 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728713AbgGaO71 (ORCPT ); Fri, 31 Jul 2020 10:59:27 -0400 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200731145926epoutp0112fdffa7ca94b4f1d1797009d1e22767~m3lMIaw9x1746317463epoutp01C for ; Fri, 31 Jul 2020 14:59:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200731145926epoutp0112fdffa7ca94b4f1d1797009d1e22767~m3lMIaw9x1746317463epoutp01C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1596207566; bh=sLpkHF+HbDloaJa2ddUi7D2t35e//APwH4BKjk+HIRE=; h=From:To:Cc:Subject:Date:References:From; b=I4XH/ZtwtP8PeoIK385cZ6hyIsdzB0krZrhehubzIS/iBaE9CDKDkXnP9y07h/F3O BtRvU2SiROeTbQr0Jwo8eZAwO0L+IQdihg8hS/l/+jzm8gXfC3JzmPBVP8iopcULYX 93HYQZFla8IrL4nD99KAY4HxUGyaou7qfiZWAP+4= Received: from epsmges5p2new.samsung.com (unknown [182.195.42.74]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20200731145925epcas5p456b95bd3e90f65d7afa4b3ecc784f737~m3lLTeH-P2676826768epcas5p4I; Fri, 31 Jul 2020 14:59:25 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 06.D7.40333.DC1342F5; Fri, 31 Jul 2020 23:59:25 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20200731121259epcas5p11248853c0578f2e426ab828310c9e855~m1T3k9ZqS0430504305epcas5p1l; Fri, 31 Jul 2020 12:12:59 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200731121259epsmtrp24bcae872f75ce10d653fd8fbe609b410~m1T3kL2qN0293402934epsmtrp2_; Fri, 31 Jul 2020 12:12:59 +0000 (GMT) X-AuditID: b6c32a4a-991ff70000019d8d-20-5f2431cd8851 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 51.DC.08382.BCA042F5; Fri, 31 Jul 2020 21:12:59 +0900 (KST) Received: from localhost.localdomain (unknown [107.108.92.210]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200731121257epsmtip2b42fe9ba3335d636d8d1a656337a260d~m1T1UQ1Im3086430864epsmtip2X; Fri, 31 Jul 2020 12:12:57 +0000 (GMT) From: Maninder Singh To: catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, james.morse@arm.com, akpm@linux-foundation.org Cc: Dave.Martin@arm.com, 0x7f454c46@gmail.com, peterz@infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, v.narang@samsung.com, Maninder Singh Subject: [PATCH 1/1] arm64: use IRQ_STACK_SIZE instead of THREAD_SIZE for irq stack Date: Fri, 31 Jul 2020 17:19:50 +0530 Message-Id: <1596196190-14141-1-git-send-email-maninder1.s@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42LZdlhTS/esoUq8waLlHBYTpr1gsbi4O9Vi zvo1bBbvl/UwWjTN3cNocX/fciaLTY+vsVpc3jWHzeLw/DYWi6XXLzJZHO89wGRx6ORcRouW O6YOvB5r5q1h9Ng56y67x+YVWh6bVnWyeZyY8ZvFY/OSeo++LasYPT5vkgvgiOKySUnNySxL LdK3S+DKOHr5IEvBFPaK7Yc+sDYw/mHtYuTkkBAwkfhz8y5jFyMXh5DAbkaJ9/9mskM4nxgl Pu++yALhfGOU+PLgP5DDAday/2kERHwvo8TLPS1QRV8YJTa8uMMMMpdNQE9i1a49LCC2iECJ xI41U9hAipgFnjJKLPqyDaxIWCBUYvLtdjYQm0VAVaJz7gmwOK+Au8TO37tZIA6Ukzh5bDIr SLOEwEd2iYWdm6Aud5G4tXEKO4QtLPHq+BYoW0ri87u9bBANzYwSn/atZYRwpjBKLL34Earb XuJ1cwMTyEPMApoS63fpQ4RlJaaeWscEYjML8En0/n7CBBHnldgxD8ZWlWi5uQFqjLTE548f oeHiIbHvpixIWEggVuLA86PMExhlZyEsWMDIuIpRMrWgODc9tdi0wCgvtVyvODG3uDQvXS85 P3cTIzidaHntYHz44IPeIUYmDsZD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uraCZvT3Wx1v9u9jKn5x+me8cTZuvaWKJPVd2m+x/s0dmz7s2y91wfF sl1G8yon/7E9z7DI6MLSjMsxZ398D/BOSQiJnDLnR96rw5c7u/NbqqcdWDdnhnzQK4Hk20Xf Dky6PifT0CpU6+E0ne+1519/ke1bVm/7YY0WD8fyXZyM5RePcwVeZG3PZCn22r3iBTP/v3M6 jgxni4onClrd5pVrL/5UzORg+kPqxcEp3VxbTL8tyPe3P7DS/uvB+Reet+2efXndWyFmpi89 KbzvZJa6BqjrMjuZPl3+b3/V1rb/H5odHPOEF0Sadl2/oSx+gqUoxsNHiaU4I9FQi7moOBEA P1tU4bsCAAA= X-CMS-MailID: 20200731121259epcas5p11248853c0578f2e426ab828310c9e855 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20200731121259epcas5p11248853c0578f2e426ab828310c9e855 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IRQ_STACK_SIZE can be made different from THREAD_SIZE, and as IRQ_STACK_SIZE is used while irq stack allocation, same define should be used while printing information of irq stack. Signed-off-by: Maninder Singh --- arch/arm64/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index 47f651d..13ebd5c 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -855,7 +855,7 @@ asmlinkage void handle_bad_stack(struct pt_regs *regs) pr_emerg("Task stack: [0x%016lx..0x%016lx]\n", tsk_stk, tsk_stk + THREAD_SIZE); pr_emerg("IRQ stack: [0x%016lx..0x%016lx]\n", - irq_stk, irq_stk + THREAD_SIZE); + irq_stk, irq_stk + IRQ_STACK_SIZE); pr_emerg("Overflow stack: [0x%016lx..0x%016lx]\n", ovf_stk, ovf_stk + OVERFLOW_STACK_SIZE); -- 1.9.1