Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6033768rwd; Wed, 24 May 2023 09:52:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5h480Q/EQJFwIHJXgli/DL3VEiV3O3ASN4GSFVbLcKNazrlhiGVk3ix3ZlGpbPwVPxyFOY X-Received: by 2002:a05:6a20:c18c:b0:10c:ef18:746e with SMTP id bg12-20020a056a20c18c00b0010cef18746emr3566180pzb.58.1684947152180; Wed, 24 May 2023 09:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684947152; cv=none; d=google.com; s=arc-20160816; b=s5+kSF8Z7gaGLKYOvXJK9QZ/15vDFqqNVylR11aaD75Lnnv9c+PRuvXy/38FwSGk6A LLNWPvdrbYpe+gWSn+INpduyilkpQTEZrjq2a/TgQCG5WOIZYfasF7r2iBZKX6tXod6a EImrT0vctX2WsgNa9tFy2TmSbRcNNx8EHyhpMrsHODE7bwsL40UERLqxxwiE8n5vSOHZ ldKqemuL3kQGvT3KduU/MsmIstVOZCqvuanidZv4zxIBNRn7onfwLgZBcQ9Ntt5bNS6Q 52Jd3w5RZWaixg83UdxLgbwrEvhmlAPzzhBnvm+MjPxDUaQayeQxyT81VM5BnE3VBRqh w53g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=zbhz5u+O2nNXdtmS5V2mgp+v9A1AIo3AJJNjTTAhOcc=; b=0V2NLKu9E6NqsOrMsC0SoTOLse7L/rVQM9fRX+Jx4+HgaKNrIqIqfOWN3IVnwkU9UF MYztbmjTTuyxyQaJZwapdWruAS8x4ki5S1PDIc/dIbhKD1FBrzuRwuwFte3mRjeVD/pr m+nRSm/c/QGd0UNJVWE7SrNtjUutMjXYIwgSrjh8VkqLJ6fiJlN0Ikr0n0qgh7B7tJj1 EK/6rR1kU94Mtvi3KrC3nZxFbgo8Y13OOTS/CUWOuLPZB5tlSrKkIei4jdPd/8Rrt9zd feuKOhnqEPz28oXYcyZk1IaNFv1z23TbbeQL4wQ4dmesZOH8ARgdl1JgcoChp9P3HK1P SSvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NyRTJdiv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l72-20020a63914b000000b0053f2127275csi43764pge.279.2023.05.24.09.52.17; Wed, 24 May 2023 09:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NyRTJdiv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233768AbjEXQlg (ORCPT + 99 others); Wed, 24 May 2023 12:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229605AbjEXQle (ORCPT ); Wed, 24 May 2023 12:41:34 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2296C12E for ; Wed, 24 May 2023 09:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684946445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zbhz5u+O2nNXdtmS5V2mgp+v9A1AIo3AJJNjTTAhOcc=; b=NyRTJdivPyEZTrOUEo0u/LYJ6RXRJdXMWhS41aFCfH6n0Bzig3IVcfHsTXSob9xgBOKw6T Y+Qh91+1AgDzrnH+xiwOOf3eqCYMwba64l3lA5380SonZwS6KLaCYL2dGg2sR4bSllJNQE 7jBZnGyVRaoFM67cS7OKYICsI6jNLys= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-459-nF4KPwErM1KhDG0EM-mSVA-1; Wed, 24 May 2023 12:40:43 -0400 X-MC-Unique: nF4KPwErM1KhDG0EM-mSVA-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f60a4470cdso5064645e9.2 for ; Wed, 24 May 2023 09:40:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684946442; x=1687538442; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zbhz5u+O2nNXdtmS5V2mgp+v9A1AIo3AJJNjTTAhOcc=; b=fyzaaoYxOygjMW7GX3xQo/JabsnPoPbnEYoa9Fq2mLBDwbOw6+XkGxLiHTY2QActnJ iSYGndUkl89Xbs6unkna3TM6HtbRG+KJk/icpOP4xyqr5xdnR6bRuBUPvA1euKv+sCcq JaaI/NbpUzD8zeIgbdpAhc+8M3OZRTJ0Ek1DpcQQxdDvCftb1PgJKLk/S8q4Ac+WmO9X 1NUlye5AYPf6wThXhpiS0gWEAFxQcu2b2HYknCstDYCTOj1eoQCmhvZlqSqjH6I/qCch nRR1yGdPue9I6iJz7++Yj+JduDf2Mzk4oAJVBoDxxQnI6Kbs2cDbf//iFDPrSUtqM9pK +n/w== X-Gm-Message-State: AC+VfDyzkOK9I7blL1VW+MFtXVuOXMNGGfdYQ6aQCDfZPOnTY9UBn50R ze5wFVw3gXA/dRqlQUEoRlanqQtXfaFDmPI5WJMbB7Qoapi+9QZS3N7fdwR1zPhUSfDWg2shRy5 NCrKOaTXEebxCws3fZNOmJKJl X-Received: by 2002:a05:600c:2111:b0:3f6:fb2:add4 with SMTP id u17-20020a05600c211100b003f60fb2add4mr244891wml.33.1684946442753; Wed, 24 May 2023 09:40:42 -0700 (PDT) X-Received: by 2002:a05:600c:2111:b0:3f6:fb2:add4 with SMTP id u17-20020a05600c211100b003f60fb2add4mr244870wml.33.1684946442433; Wed, 24 May 2023 09:40:42 -0700 (PDT) Received: from vschneid.remote.csb ([154.57.232.159]) by smtp.gmail.com with ESMTPSA id y8-20020a7bcd88000000b003f6038faa19sm2808325wmj.19.2023.05.24.09.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 09:40:41 -0700 (PDT) From: Valentin Schneider To: Peter Zijlstra , bigeasy@linutronix.de Cc: mark.rutland@arm.com, maz@kernel.org, catalin.marinas@arm.com, will@kernel.org, chenhuacai@kernel.org, kernel@xen0n.name, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, borntraeger@linux.ibm.com, svens@linux.ibm.com, pbonzini@redhat.com, wanpengli@tencent.com, vkuznets@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, jgross@suse.com, boris.ostrovsky@oracle.com, daniel.lezcano@linaro.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, rafael@kernel.org, peterz@infradead.org, longman@redhat.com, boqun.feng@gmail.com, pmladek@suse.com, senozhatsky@chromium.org, rostedt@goodmis.org, john.ogness@linutronix.de, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, jstultz@google.com, sboyd@kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 03/13] arm64/io: Always inline all of __raw_{read,write}[bwlq]() In-Reply-To: <20230519102715.368919762@infradead.org> References: <20230519102058.581557770@infradead.org> <20230519102715.368919762@infradead.org> Date: Wed, 24 May 2023 17:40:39 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/05/23 12:21, Peter Zijlstra wrote: > The next patch will want to use __raw_readl() from a noinstr section > and as such that needs to be marked __always_inline to avoid the > compiler being a silly bugger. > > Turns out it already is, but its siblings are not. Finish the work > started in commit e43f1331e2ef913b ("arm64: Ask the compiler to > __always_inline functions used by KVM at HYP") for consistenies sake. > > Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Valentin Schneider