Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp513901rwb; Tue, 4 Oct 2022 07:08:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5meP1x/1oO8uOwColi8Inwow6yH5LSB3IicYPYZ69ZPr9GRkwBzJ9cVUA/b9iwZ0zSRulD X-Received: by 2002:a17:90b:4b89:b0:20a:c168:6865 with SMTP id lr9-20020a17090b4b8900b0020ac1686865mr6640141pjb.130.1664892502222; Tue, 04 Oct 2022 07:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664892502; cv=none; d=google.com; s=arc-20160816; b=Sc+w4Ml0UfQhmalW7SG1V5mx/Lvr49D9gRBg2ohrSOez+QvMko2EQS9Zq+bsJyXaPz vZcEUgKsyXH+XTVjqMBTpQyZoIcIH31i9kPobPZyaNrA8q3JUkPN9whuiQ8YURkCokvL yBy4shISkQkXvR0O4t01b9SUq++IzdBJNc5w4gEHcI4GKDViYklQ+6T6rWlQxNtkoG8T Sjc2v9abT3w2PuD+4saxgYuI/kHAtUmbHj7f/kwvezeP2GZfSc7DGRAABQ2TFiyU2Nh3 QP6ICSSRQhPr9G/chnhERxKQ3UCbXp1s9yRh5T0lS0L0wto1ytT0PjLJpkhAr13JbDAf 5mNA== 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=ObGkY25GbgyzLOod3il49IkuiHfYhlYOtTjZZN7EONg=; b=DK3AFbLlh14/1b2DJAvBDjqxKHE7L2XftpzYbXDzdc0dPlrs4eB3Rhh2wC7tXZqrue VlW/hEZ9/LedgdQtbrkjopdwYG2wxMMi3KLOyyvroIeVJUhc7KlFrlDszsEsUHBN/CI3 VgN5TPxgBIQrrXae13R8TGdPIbZ3ENIkIBqtM3RhBHBudWsTTcg3h8Xikd1DowKSlZ8o qozD1uyE8rzbe9zhyUhlAIJZzVvHGRXzzq1s0mAwBdeGUnfJJX1rBzBJdoV7l91vBxm4 rhpfTf+UlwUvIsN2el7JeSP3M8BOGM4Q3itDXRk4xUA1tEKSN3kqoYISOqiaGqyM8+Bk nFXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me9-20020a17090b17c900b002007cc304f3si3155628pjb.60.2022.10.04.07.08.03; Tue, 04 Oct 2022 07:08:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230340AbiJDNiz (ORCPT + 99 others); Tue, 4 Oct 2022 09:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbiJDNiu (ORCPT ); Tue, 4 Oct 2022 09:38:50 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB3324DB67 for ; Tue, 4 Oct 2022 06:38:49 -0700 (PDT) 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 4Mhf1N3pCHz4xGy; Wed, 5 Oct 2022 00:38:48 +1100 (AEDT) From: Michael Ellerman To: Nicholas Piggin , Christophe Leroy , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH] powerpc/book3s: Inline first level of update_mmu_cache() Message-Id: <166488985859.779920.743401358886191871.b4-ty@ellerman.id.au> Date: Wed, 05 Oct 2022 00:24:18 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham 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 Mon, 5 Sep 2022 11:38:25 +0200, Christophe Leroy wrote: > update_mmu_cache() voids when hash page tables are not used. > On PPC32 that means when MMU_FTR_HPTE_TABLE is not defined. > On PPC64 that means when RADIX is enabled. > > Rename core part of update_mmu_cache() as __update_mmu_cache() > and include the initial verification in an inlined caller. > > [...] Applied to powerpc/next. [1/1] powerpc/book3s: Inline first level of update_mmu_cache() https://git.kernel.org/powerpc/c/73ea68ad0d2f655815b6f1fbe1c5521d72f01b64 cheers