Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5222464pxu; Wed, 21 Oct 2020 17:45:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhYZzf+8v1WZ3OpLpQLsnn/W3hcYsr9kXx0sJa3nftlSE5gQ1dGyT1Ypb58Pavp4y+VEc0 X-Received: by 2002:a17:907:43c0:: with SMTP id ok24mr5981811ejb.385.1603327554108; Wed, 21 Oct 2020 17:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603327554; cv=none; d=google.com; s=arc-20160816; b=ONHWqYt6g0GPvHbJ0AFdjVuHPhwPPw0WpwPwck2MMZvNkvJOVrkY7627WZ+xzDBGRV EZZwf1Q9n1CTDWbDoK6z/ZbDCfg5vfE0yWHqaTDorAIr/yQAGHxzZsYDzc6LU5LgBlIM Api1UWRS3sbQ7EynhAhXu0vERoWEl758oxqtIFfz8KJ4Xpmux+K6SydktHibXWI5Jast aM9occYd1/tJZqrCoFqLvvvufP/qpVBJw6IG65y3PjgnvCQu3tpNt09CrhGkVnorGX/h RR4b+67+2pjO9nAG64Mbi9bAXZ8sdcX5B81iQcpIkEHjsmK25CsOYXr8PkgXSMmGpZtz SlGg== 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=v4uxvLQM8hwpH6jNz2ECRicv/OQYRFH6SWe72bscKyU=; b=T1jBS80wwxJlZ9ZqwuY75QL6kCXK1Ra1GzDWLeNWZfL2EqH2IXLIaZzEoR2gDb9c9t 9aR/EwDqq2k3g0bxVxVY/VH6pmKtnxzrJouflHHg+/dlN2DAMnKGMvR1EWhY49qULJdS i2XDy2c+aE73h6ixPgRNNB1zWJA9zHbE5J5IvzFz27lVwShxoj3qycM3901QbuSyOtcw TXHOPWRqLPxtdrSPxzdpJ6tmEd/cTdFwA7EhUFaQIXBP+Jl7+J6GP7hwlBYDrdm2VbkC O5vwYLR2fwqyosKJnh9HHUh1RxPheFEqa0tDeotw0zfG0TNCrAZneYp2Y6j5R5PUWTxe JPdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="fomtG/vA"; 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 c20si2920124ejr.515.2020.10.21.17.45.30; Wed, 21 Oct 2020 17:45:54 -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="fomtG/vA"; 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 S2442696AbgJUMzr (ORCPT + 99 others); Wed, 21 Oct 2020 08:55:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:48206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441063AbgJUMzr (ORCPT ); Wed, 21 Oct 2020 08:55:47 -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 9E182222E9 for ; Wed, 21 Oct 2020 12:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603284946; bh=2ota0tuSECP/POEB9s7yw5RlmTdDGLvF9Qw/hydbkIs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fomtG/vA94iAz6gal8vl+5Y6sJD3c/0eOtMKQ03pimhpKbL4YaNRRUqSVX37Bb2e8 La2pS4HHrWuu2mr0fPA7d7u30i/9RS3NU3NtAhG58uMS5bjE/DhbImZTJZPXDTvMWQ tjaq1VJP4fN3AxvcWa/5gGBP5ZRIl+VDxN3NXbOs= Received: by mail-qt1-f173.google.com with SMTP id m9so1915326qth.7 for ; Wed, 21 Oct 2020 05:55:46 -0700 (PDT) X-Gm-Message-State: AOAM531/12q3dEWg0ZI8Xm5i6KRlTbkAYFak0pgQ1smeIXIjVdapA5Fw TR/L8Vo99oSJJnaLTp5uJXRkn4jB7dZUMlqB0Pk= X-Received: by 2002:ac8:1ba6:: with SMTP id z35mr2880105qtj.204.1603284945616; Wed, 21 Oct 2020 05:55:45 -0700 (PDT) MIME-Version: 1.0 References: <1602141333-17822-1-git-send-email-maninder1.s@samsung.com> <1602141333-17822-3-git-send-email-maninder1.s@samsung.com> <20201021124542.GL1551@shell.armlinux.org.uk> In-Reply-To: <20201021124542.GL1551@shell.armlinux.org.uk> From: Arnd Bergmann Date: Wed, 21 Oct 2020 14:55:29 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] arm: introduce IRQ stacks To: Russell King - ARM Linux admin Cc: Arnd Bergmann , Maninder Singh , Nick Desaulniers , Jian Cai , Thomas Gleixner , Sebastian Andrzej Siewior , Marc Zyngier , Valentin Schneider , Vincent Whitchurch , Nathan Huckleberry , Andrew Morton , Dmitry Safonov <0x7f454c46@gmail.com>, Will Deacon , v.narang@samsung.com, a.sahrawat@samsung.com, "linux-kernel@vger.kernel.org" , Linux ARM 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:45 PM Russell King - ARM Linux admin wrote: > On Wed, Oct 21, 2020 at 02:42:48PM +0200, Arnd Bergmann wrote: > > > > > > - define 'current' as 'this_cpu_read_stable(current_task);' > > > - convert to CONFIG_THREAD_INFO_IN_TASK > > That means we need to also code that up in assembly - remember, we > need to access thread_info from assembly code. Are there any obvious places that need patching aside from .macro get_thread_info? I did expect the above conversion to be somewhat more complicated than Maninder's original patch, but that part seems easy enough. Arnd