Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4862175pxu; Wed, 21 Oct 2020 07:11:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdz4FnjERJHw9T1zNbEHCGdJke3Hy+GkNMT/366Jvck1YP2FC7PUhh9wT6LrUNtXmpgild X-Received: by 2002:a17:906:53d6:: with SMTP id p22mr3669928ejo.517.1603289511196; Wed, 21 Oct 2020 07:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603289511; cv=none; d=google.com; s=arc-20160816; b=ZCvOZvNOsUhSNj89L5VDCUqMYXLC5mDeAZIO5b+pdSNUEj6eyMjaUW7bz9hsuygYyy 6hzZVKgLXNVaTy6kWWGaOu/mceKjLxqYiYHOa0FXZjzDkYzu6w87YGXc55Yb4suqWFOu GYW/Y0+gMJV65ANBps6aoj/LJG9qhMPWoeKHM83U+HaKz4IuA6PYO12nhZLB2jdQ6Mpr 35/FZdVmWeoHxoAA503BITKc8Nni2Wved4+N+PFrTA0cnW9wHUclzT1JwUbXjTuYHIPC 5yZob/xyFJrh9XkzRWW6SxWm8dy96MFXRn1PmD2H1nDVScaMP4PHiyeH5kuTqa4qSlf2 XA6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=IDhKz6sP04fws1jjA72iR5oQ+nqAVFKZBPGRyDe+6iA=; b=03Xo0g4HFNyZREtC/8NEoYvY8WluwmM2GlKfx86gqhUZEDAGpRUtJqKxG+fqCfm43a ONOcqX9dpLeyh2Ma9ct9JfYODNCAP0F5VoAzlSADAYrl6t59wMBWhg95Eg3A9yBJLgni qJeN439GJ0t1bXcEZ0kOxVFHCM/MEL+i4AMJLc9saFphAsXLTQlWb4zED7BfXc1h/ri3 a8EW8UB6HfXLiGB5UPRzJou4Pd4zG0y6Uy6z7+c5qmHbIiJr7Ow7UMLgTzLCSgozZG7U UxKBuFNBwdies7vqf7fjW6E/Eei2BN7WueKeb8B8e5l/lkvTCwxXkHfilQDIEaP2Lqa6 GSdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bWwHqUVe; 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 w21si1386025ejj.377.2020.10.21.07.11.28; Wed, 21 Oct 2020 07:11:51 -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=@kernel.org header.s=default header.b=bWwHqUVe; 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 S2440781AbgJUMqr (ORCPT + 99 others); Wed, 21 Oct 2020 08:46:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:43968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437025AbgJUMqq (ORCPT ); Wed, 21 Oct 2020 08:46:46 -0400 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A3909223BF for ; Wed, 21 Oct 2020 12:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603284405; bh=ttXp3ovL74pvsFHzn70xAtSuQ5PCnDzGKQbu4q5Oj+g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bWwHqUVe7SwWjbBhWQfnc1gNPHZxfTBeszYdkfWpiqaHp1Ub1JrfyZPkblZzAErMt 8+FbAjYbP14i4MZiJxhgGe/KZE6xBWhqJAfMAcOA+LqCXNbYBDntywVRcfW8xjqbwg SFAAiAHU7qxorTJqRAASlmvTaBR4kuH7G7jTGaEc= Received: by mail-qt1-f173.google.com with SMTP id m9so1884992qth.7 for ; Wed, 21 Oct 2020 05:46:45 -0700 (PDT) X-Gm-Message-State: AOAM533Gh8devLGAq/tNNrbrAccTvnAyjb0BD0406A+zh3zp6vkTjs7w xkEBDGDb3dzZc+3kqgw7Asnq/89stg/swdd3ftI= X-Received: by 2002:ac8:1ba6:: with SMTP id z35mr2845432qtj.204.1603284404668; Wed, 21 Oct 2020 05:46:44 -0700 (PDT) MIME-Version: 1.0 References: <1602141333-17822-1-git-send-email-maninder1.s@samsung.com> <20201008083015.GK1551@shell.armlinux.org.uk> <20201021123400.GK1551@shell.armlinux.org.uk> In-Reply-To: <20201021123400.GK1551@shell.armlinux.org.uk> From: Arnd Bergmann Date: Wed, 21 Oct 2020 14:46:28 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/3] IRQ stack support for ARM To: Russell King - ARM Linux admin Cc: Arnd Bergmann , Maninder Singh , v.narang@samsung.com, a.sahrawat@samsung.com, Andrew Morton , Marc Zyngier , Sebastian Andrzej Siewior , Vincent Whitchurch , Nick Desaulniers , "linux-kernel@vger.kernel.org" , Valentin Schneider , Dmitry Safonov <0x7f454c46@gmail.com>, Thomas Gleixner , Nathan Huckleberry , Will Deacon , Jian Cai , Linux ARM , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 21, 2020 at 2:34 PM Russell King - ARM Linux admin wrote: > > We don't do it because we don't have a separate register to be able > to store the thread_info pointer, and copying that lump between the > SVC and IRQ stack will add massively to IRQ latency, especially for > older machines. I forwarded my other reply as well, in which I suggested using CONFIG_THREAD_INFO_IN_TASK, wouldn't that solve the problem? Arnd