Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1147165pxv; Fri, 9 Jul 2021 19:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPCWdBy17sfLRAkmFkmem6L+mTe1/7Swbl301/bG0VSLoOPisaGidsPxZpZwt7m/WziAMU X-Received: by 2002:a17:906:2752:: with SMTP id a18mr42551169ejd.458.1625884254440; Fri, 09 Jul 2021 19:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625884254; cv=none; d=google.com; s=arc-20160816; b=JEu6TgcscqGI9mbLr0wsrgjv/TdIGtIxEJN1Y1u1rPi9fgGI4QVVE4GbgqVnXpXaKH dcCQaDP8I1HZu9KZ8zHnbIEqAFnUDnUBOmSevN79iXI4WHvFKyWpvP4Tc51u9JHFr69Z wm2BxI5TRyTST7PuPScymhdxEJBkoSafWIWqv2OJyFzA+FxyyRaIC4ZW9ToHI8SsaC6i Bpw2a+ZeXntPFf+4VjwgTyvk26K27KGIO7HkR0WRQq5bakZd4eZekeCSI0p8YFL0RTQT 6blX/rxtH079MwTFLSPnsUm2YWz25kQhP487XkW0eMy8YxHtQtCa4SBh8+hGdhPbzTSN GZpQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1J66QY3NZLh+3EafNPQidYpcM8O+iEOwmglSaIxZzFM=; b=fxIe0p8Yd3eSPYJD+csV09R2DxS3O6P0rfdGRWVaZH4eZ9fn1qDdck4cpiGVGApb/W T2STXTcnsoc63I4P9/MkYHibV018u5VLDZrcTaRKVf9yM4su6MdwoLoMXrLH4eP2695U hC0sA/mzc6lH2lU6jKvF6To37XN4kqfyw7Vo/JjCCqMXHSsJWq4fukmFXZ6rOiNlsXEg /wPLr8YhiDRYIHlovN0fj/1fT0z0mJKbhP+iE+E3sIqrj7cWiClhv4j86Zn86+k/VIJs zlaxZkoSqQY9JsKuAI7fxVQ4JCB8u89Bi/WPRiFgsIO3tD0vqVBpinaU1ZzOth5kdEwH 5HiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eozNLQgd; 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 ga39si9352489ejc.169.2021.07.09.19.30.30; Fri, 09 Jul 2021 19:30: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=k20201202 header.b=eozNLQgd; 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 S233322AbhGJCcX (ORCPT + 99 others); Fri, 9 Jul 2021 22:32:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:43192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbhGJC31 (ORCPT ); Fri, 9 Jul 2021 22:29:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DBB95613E4; Sat, 10 Jul 2021 02:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625883993; bh=10RNsTQrpkHSe4TnEWFup4u2UnNAxuJ9x0CMgCgE4Oc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eozNLQgd72WRkQK59kff0cUgiia5zc+lL15DA1zVoI+G1ErjOsPvFta7oER9Gw4BK Mgg/vBEcXbYGwmp70xtgShJWpCftIJBtFWzBH27RpGBazUslzu1xle9t5fbMz3buni RBZ+qJhPzrzRRy5TYk5UE3tIYXLeKFO//ieVn8yhutwzaOPOU6vHuaXz1qKaawO43S 4s52unjGeCUoPfazFsfP6Lbdi99Ol/Um/qZ2B6Y+n7GzuDfjm6O+sGIEizKbkxURs/ pIfpNV3V3IhaYirKyZN3Sx68PT7ZkSmcBSJdWItqaSTWToQOVLwcy2BpQPtHhPfYjX lZ5OEDFLEYZDA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Heiko Carstens , Vasily Gorbik , Sasha Levin , linux-s390@vger.kernel.org Subject: [PATCH AUTOSEL 5.10 69/93] s390/processor: always inline stap() and __load_psw_mask() Date: Fri, 9 Jul 2021 22:24:03 -0400 Message-Id: <20210710022428.3169839-69-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210710022428.3169839-1-sashal@kernel.org> References: <20210710022428.3169839-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiko Carstens [ Upstream commit 9c9a915afd90f7534c16a71d1cd44b58596fddf3 ] s390 is the only architecture which makes use of the __no_kasan_or_inline attribute for two functions. Given that both stap() and __load_psw_mask() are very small functions they can and should be always inlined anyway. Therefore get rid of __no_kasan_or_inline and always inline these functions. Signed-off-by: Heiko Carstens Signed-off-by: Vasily Gorbik Signed-off-by: Sasha Levin --- arch/s390/include/asm/processor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h index 962da04234af..0987c3fc45f5 100644 --- a/arch/s390/include/asm/processor.h +++ b/arch/s390/include/asm/processor.h @@ -211,7 +211,7 @@ static __always_inline unsigned long current_stack_pointer(void) return sp; } -static __no_kasan_or_inline unsigned short stap(void) +static __always_inline unsigned short stap(void) { unsigned short cpu_address; @@ -250,7 +250,7 @@ static inline void __load_psw(psw_t psw) * Set PSW mask to specified value, while leaving the * PSW addr pointing to the next instruction. */ -static __no_kasan_or_inline void __load_psw_mask(unsigned long mask) +static __always_inline void __load_psw_mask(unsigned long mask) { unsigned long addr; psw_t psw; -- 2.30.2