Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp778343ybl; Thu, 12 Dec 2019 04:52:34 -0800 (PST) X-Google-Smtp-Source: APXvYqy2BrkLVTyYS7dhyOOZVDM1y/RxAg6FgiP0NhmRmhacnKjjf0dczKcbdkOhKZI1yWiJKgJW X-Received: by 2002:a9d:4543:: with SMTP id p3mr8076350oti.350.1576155154025; Thu, 12 Dec 2019 04:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576155154; cv=none; d=google.com; s=arc-20160816; b=OWMrHGCyegykAsOGjSy7P7yR4YiXc5zKbgkujHJJP1zjo/ZLEqmQByxAiGE+JRULC1 dsXUXnPJ4q2FHubFA4NV+KDDcrS3Uh61j+YhstiQ52HKAFxUJ41IzH4Ewq+RTXp9L66P u2IGzhP8SshmLse1HEG0bkEylQxI9xClXBBvN9x8RhqytuUU4xp3E1hyZ8luGnu17JpN EVL5ggwXFWsucY6TEx0hVCI/AFBGp8GQNfBV2sACTfPUzeIzPqdQrk8mRn312c6ES7bd 1N1HMOdOipjk4Ow5CZj6eqMTgSroi6npStsH5WyjRRYaqVd22d8w9rp7UA9bY8J7HJD7 Cgqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=oSRXOSEob+GwTZ/RqtmUmQb3EJbz7IDcRAl8Llq9EHU=; b=e5DkTPuuPgMOiTspkkqY6QNId44M44UdEUJ+Vr1CWYgm6vf4tq1FWVF3zXOBQdn9dj 7M/FF9MLi0NBRq5cCCT6f9mvxDwWUJw5OQV7TsN772ho36KEynQeXqXqE2Y6gWp34xg9 TU5TnCdQ/SjHICAMjPGgnoKEKaSiWlJICL7Df1FJUHmWigFh8cRW9BJkqGEciFJRAW2b OkYZ++S+ZYtETvYVfnkeQzMJjk6tOyLUiw+QOpVR2mYH2s+d3P7YtpkTLMjRihamU51x 2hMV6P3jn2Gzx2+BZ3OUjmnqnsI6biTm1NdgyBAw9znr/SIzZ7KMlQI5DILAOKkwo5A2 bL4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uy0br++x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si3232336otr.247.2019.12.12.04.52.21; Thu, 12 Dec 2019 04:52:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uy0br++x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729299AbfLLMvo (ORCPT + 99 others); Thu, 12 Dec 2019 07:51:44 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:57960 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729277AbfLLMvn (ORCPT ); Thu, 12 Dec 2019 07:51:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender: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=oSRXOSEob+GwTZ/RqtmUmQb3EJbz7IDcRAl8Llq9EHU=; b=uy0br++xhd/1zHgbIfpoQhVfN dvjpj42ZcEZbpSsh3gFbG8q6icweHNtUE3bQGkGT18YZDay/5awdRJeKmi9BUWVxWFvAkNw+MYqHl /k8j2aYyVngKxUYevHE4XUc32qDoraVyXHNL22Db1n+qKsfRciTQDC7IZfe2s/ubAUpvOPlsBFdRh u7H/sSbLtINFXQvX0eVB48f66DBqT+hQUi5EDiOljS6TUX3pNiPvUGfrjBENxJx54DhZzZm4YCmgf SXS2BVfRz0T9TB01N8Hc5nPmZKKH/0lIDDPiTAEl0m78KprC5vubs8PXI+vtsvLfN1tBK0uG4H9FF 391G5tlCg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifNw4-0002G9-Bs; Thu, 12 Dec 2019 12:51:16 +0000 Date: Thu, 12 Dec 2019 04:51:16 -0800 From: Christoph Hellwig To: Christophe Leroy Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/irq: don't use current_stack_pointer() in do_IRQ() Message-ID: <20191212125116.GA3381@infradead.org> References: <1bb34d3ea006c308221706290613e6cc5dc3cb74.1575802064.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1bb34d3ea006c308221706290613e6cc5dc3cb74.1575802064.git.christophe.leroy@c-s.fr> User-Agent: Mutt/1.12.1 (2019-06-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Why can't current_stack_pointer be turned into an inline function using inline assembly? That would reduce the overhead for all callers.