Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2122829iob; Sun, 15 May 2022 08:38:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwU8NM586+HLNrD9bQnZn2EV0OVyOk4TcF8frVUqIIAtHEzeLlv3zFchycW1WygNOE02X+0 X-Received: by 2002:a17:907:9711:b0:6f4:6989:6afb with SMTP id jg17-20020a170907971100b006f469896afbmr12247580ejc.618.1652629131921; Sun, 15 May 2022 08:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652629131; cv=none; d=google.com; s=arc-20160816; b=Lu4Mgxhk3LK4LxOkv3SAsH6n2Fa0ToHuUIsgNg6bs6FkR0k7FCl3PjkgTT8ZpZpi/R XR7HKhCS4bVyXZR993VemFSHGy1q6QspMafCXa96A37oNcKTFptK88BxNmDtwNU8oo5O ZmAYQ5j56Kchuat8t9zAZig6seM65cRzeltQjzszkWxy0ya74qPH8ZhNY2pPCF9NP7wW XhXioO8WEFTec/nqIrCMwI/xctoWoU7gAQXD76XzyybNJnWK5NHqeORW8hNTTyf6jhE8 26Yciwg1GnBvQoEZkFj/alj3DD3TXglA8BGK8kXI71+cCVpV1lDBlCGZN1s1FKpx7ggP iRzg== 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=kKh0vmumVUqaQDurewWzbl4ieG14FbdM9xwStMlwK4Q=; b=mdPXqOyJVWJ0gOFW74RY9DxlHlcHykCB9lIVBDSQbuXUatnDBh1OCvQpn0ZX3cmkeP Wa0H6dkvoANk0R2DivQ9+Mk4+qxODblJkbB64SiRGEht/xVGi1nmFH8GALtXk9R9m9hP rgbGzyf2wgrFuPahzcyznO5uT95rFWKtVVZ/jRUcZXAmN29fB0kTfAX8CtS3vB+RnBLR VEdwvN+rFj8wGgNNCrqPnK2pYbH4LmQok6DoZ+V6cPXA2dTR8Cl9/gYlAUHPXlOZdFFZ FlgSlBaxRgyqNC8QCmYG58Mk+7v0G756L+bJOHckl8X9TC0j4Q121wpQe9VfIKrhjeHk kWdg== 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 bf21-20020a0564021a5500b0042ab1fcb266si390823edb.265.2022.05.15.08.37.55; Sun, 15 May 2022 08:38:51 -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 S236365AbiEOKbb (ORCPT + 99 others); Sun, 15 May 2022 06:31:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235377AbiEOKbG (ORCPT ); Sun, 15 May 2022 06:31:06 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3915A765E for ; Sun, 15 May 2022 03:31:05 -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 4L1JZH6CDzz4xYY; Sun, 15 May 2022 20:31:03 +1000 (AEST) From: Michael Ellerman To: Christophe Leroy , Michael Ellerman , Paul Mackerras , Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: References: Subject: Re: [PATCH] powerpc/8xx: Simplify flush_tlb_kernel_range() Message-Id: <165261053042.1047019.17331367437728392692.b4-ty@ellerman.id.au> Date: Sun, 15 May 2022 20:28:50 +1000 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,T_SCC_BODY_TEXT_LINE 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, 21 Mar 2022 16:44:18 +0100, Christophe Leroy wrote: > In the same spirit as commit 63f501e07a85 ("powerpc/8xx: Simplify TLB > handling"), simplify flush_tlb_kernel_range() for 8xx. > > 8xx cannot be SMP, and has 'tlbie' and 'tlbia' instructions, so > an inline version of flush_tlb_kernel_range() for 8xx is worth it. > > With this page, first leg of change_page_attr() is: > > [...] Applied to powerpc/next. [1/1] powerpc/8xx: Simplify flush_tlb_kernel_range() https://git.kernel.org/powerpc/c/9290c379d19774d8de6e2b895d756004dbad9ce5 cheers