Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4514261pxb; Tue, 31 Aug 2021 07:03:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNchZ2NGM/S0W5MPKfT5cyLGeWUWKlSX3teoAsMtcus8ipOjj40bc78pxram6sjRT8GjzX X-Received: by 2002:a5e:9901:: with SMTP id t1mr22688346ioj.92.1630418580816; Tue, 31 Aug 2021 07:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630418580; cv=none; d=google.com; s=arc-20160816; b=Cq3iOCwjnnTJCS8iFKn5QDBOgOGW7FoKzThFC8TLrLul68ioGSVpNTBH2/kGha3tFF 4mVpEQ91HKQ7MVThX+774qmV8tTsVRQVBlTAIwCfI4e/+8sbykKznUYMPF0HcBFViorY huZBPxBDfAMuXd4nvzg7x+eFBfmQh0Y/byCsNqI0DJRDKdG5waTAYQFMTxOGzgT4d3aN hsWJOdWC6o423CMEMnslxfbpZhUVGfGSQCR4YkDdCLte64SBTaFqlL6fFQt+g5CXtzd6 axpsf/RnvCAMv72UP1Q606/zp+hPWAcE6IZM+Ma2us4PZ/NFfx01ms0H9R1Q324ck1Hh EzzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=EjAqWHXvkrqXIVVh5TncoptrMHSp0OycyrneEk9xL6w=; b=Qp4YlDA4urVdhpqetdGyXxu9YBO/twNKQybsqOsnoA0wi0rLbdl4QXaF0agHrxWM0B pSjv9S2bRzEhdS/IxWUX2Euv/cqGC6LKkB/umNfOvQu5Zd77NL2AOUNj+DWpmkHdo7we pT8Sj2CFuJKzv2nneDPqdWokAaUiHt62WzQ7e88CVAtICTEj9ugheLXgEx6GyF6sO1+T qn1CMFwQ3QGiG1MUH5NDVFjSvnakMEVl0hLb9PGVaTSGmgiSIvma71ucSMke7LejqfG8 nPO+HEhre8caPU2a4aGNQMjaEQqfg8ClIIxGnwVovkrkG24XZA26k4Szxq0msEH4m3IN yQyQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f36si14650271jaa.30.2021.08.31.07.02.47; Tue, 31 Aug 2021 07:03:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231610AbhHaOCp (ORCPT + 99 others); Tue, 31 Aug 2021 10:02:45 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:47763 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231199AbhHaOCo (ORCPT ); Tue, 31 Aug 2021 10:02:44 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4GzTQ43Rk0z9sR4; Wed, 1 Sep 2021 00:01:48 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Paul Mackerras , npiggin@gmail.com, Michael Ellerman , Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <385ead49ccb66a259b25fee3eebf0bd4094068f3.1629707037.git.christophe.leroy@csgroup.eu> References: <385ead49ccb66a259b25fee3eebf0bd4094068f3.1629707037.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v3 1/3] powerpc: Remove MSR_PR check in interrupt_exit_{user/kernel}_prepare() Message-Id: <163041840754.890713.6956967303915843591.b4-ty@ellerman.id.au> Date: Wed, 01 Sep 2021 00:00:07 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Aug 2021 08:24:20 +0000 (UTC), Christophe Leroy wrote: > In those hot functions that are called at every interrupt, any saved > cycle is worth it. > > interrupt_exit_user_prepare() and interrupt_exit_kernel_prepare() are > called from three places: > - From entry_32.S > - From interrupt_64.S > - From interrupt_exit_user_restart() and interrupt_exit_kernel_restart() > > [...] Applied to powerpc/next. [1/3] powerpc: Remove MSR_PR check in interrupt_exit_{user/kernel}_prepare() https://git.kernel.org/powerpc/c/133c17a1788d68c9fff59d5f724a4ba14647a16d cheers