From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9F12C43467 for ; Thu, 8 Oct 2020 08:32:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51C80215A4 for ; Thu, 8 Oct 2020 08:32:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lof456DY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="D+EEMj8F" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51C80215A4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fFATF36sNGUKWVmdkjey2744jNc9PAL/U1yhFfWUMIc=; b=lof456DYqn1gvjQdIIjO7Nkoj rj8MULdltXbezxlWaWFw3sXNFBdW31uEjKBz3F5RLxDAxmMR3tOv3NNxAxJL55kuZOyxaMc3IvnM/ xUGPdCBj+7WMM2aIpJdgqqArt2kMYTuJLXf9yWn1UwVahPQwt9wNjqglN0dmIFhcnt6NH3dTXpCha GBlgZnWA43SoJ8dnlsfvgFBOTZDHUKMA3lxf1AqfqmtFXguMQu8Y3HIDhFmEzKosKHA5UE4prA6CC AEW7+VbH6cRq5CNoXHy16JNjrIPadSDtucHgV9/v7lPKV4aJjbIzuERvnuzNAAcYeIGjaEIHxiMUV 267oPkXGg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQRJv-000423-IH; Thu, 08 Oct 2020 08:30:39 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQRJs-00041V-Eh for linux-arm-kernel@lists.infradead.org; Thu, 08 Oct 2020 08:30:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cMmuoGSKgeD19xItCxRdhXtN+onzhgSlKtje6kSCEb8=; b=D+EEMj8FHV7ddNQuQolpI9MAF QnL44h2cIYtDfI65qxZegR3gQJArHvuUU1z5PyG23NR0GkAN2SawrQ9DPa3ioUcQgyMQYkJZGOI/s hJ2+yhRoLot8ipCdk/HKmCe3HyNYaCMX06/ycHZKyfoAQdlnYmA4fGonOudF2uEdMWW8sal4C7Bvq yG12VUERMMeD8xQH1Jn4K5LbrGu0Xzm/8NvxdCUfXOiJNZQrABZnJTg4ayZ8vpwnw55awYoxf/a2k g/NDzOr+2TAHZNNCL6LVQPoyiDuxmAV+OWqbqQ0A8cmYkKF1IGqOXZPExCTGsl9NbMI/s2TKwdyqy XCLvRJMtA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43404) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQRJb-0006BR-Qy; Thu, 08 Oct 2020 09:30:19 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kQRJX-0001W9-PW; Thu, 08 Oct 2020 09:30:15 +0100 Date: Thu, 8 Oct 2020 09:30:15 +0100 From: Russell King - ARM Linux admin To: Maninder Singh Subject: Re: [PATCH 0/3] IRQ stack support for ARM Message-ID: <20201008083015.GK1551@shell.armlinux.org.uk> References: <1602141333-17822-1-git-send-email-maninder1.s@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1602141333-17822-1-git-send-email-maninder1.s@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201008_043036_510061_F44F993E X-CRM114-Status: GOOD ( 18.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: v.narang@samsung.com, a.sahrawat@samsung.com, akpm@linux-foundation.org, maz@kernel.org, bigeasy@linutronix.de, vincent.whitchurch@axis.com, ndesaulniers@google.com, linux-kernel@vger.kernel.org, valentin.schneider@arm.com, 0x7f454c46@gmail.com, tglx@linutronix.de, nhuck@google.com, will@kernel.org, caij2003@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 08, 2020 at 12:45:30PM +0530, Maninder Singh wrote: > Observed Stack Overflow on 8KB kernel stack on ARM specially > incase on network interrupts, which results in undeterministic behaviour. > So there is need for per cpu dedicated IRQ stack for ARM. > > As ARm does not have extra co-processor register > to save thread info pointer, IRQ stack will be at some > performance cost, so code is under CONFIG_IRQ_STACK. > > and we don't have much knowledge and set up for CLANG > and ARM_UNWIND, so dependency added for both cases. > > Tested patch set with QEMU for latest kernel > and 4.1 kernel for ARM target with same patch set. You need to investigate and show where and why this is happening. My guess is you have a network driver that uses a lot of kernel stack space, which itself would be a bug. Note that there are compiler versions out there that mis-optimise and eat stack space - the kernel build should be warning if a function uses a large amount of stack. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel