Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6246188ybf; Thu, 5 Mar 2020 16:28:29 -0800 (PST) X-Google-Smtp-Source: ADFU+vtnhgZEVtsan/5A9TvH4EP6cTCQTuioKNCe/Xkq8Fcf+FJVEhy6PCInFs5zbZ5xLqZu9Jjo X-Received: by 2002:a9d:664d:: with SMTP id q13mr470292otm.30.1583454509582; Thu, 05 Mar 2020 16:28:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583454509; cv=none; d=google.com; s=arc-20160816; b=sB6D5n+7R66gVlEE6oWjeWApul9eHygGKQu7No5j50Xa3c4Yjz7n/xjqJ6DB6Rjyrg ydxOEu9qVrnF00r5Cv0RK7HXV2nIFLdnt+jZJBSrr0oNYoEsgN0tsq1wTHr67QfUDwIB vBZs279gthcsOcQ3eiAyNRlj2FZgyZFhDj3fJsfPN/wg/SCf0nRKTuAxngBqvozLbhb3 QSqrlAt+RLJJkMcxGtdHvDMzfb/UXI0bXT0L16Xo1EBf6EiEEbo28ZFi1V93A8vAwW/C Ti4VG8sP4eatrpHWbQqMwRfbEZ+lkpERSt+EK+ildj4cFrZYaxd2Y6qaJgc8ooCjIRnJ qQ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=4JwDBqRF1ig9DDNBZlVOV1Up3LeyJS9f7+asJGRbm+Y=; b=JVz8v3kYcmKFs/cRhdSg/bmQBoG1ciHP3h8/enuA6t4iOIOPiGyR1vU1Dj+MwbzMWl AZzAEdAx786Xayhh2D3NmZDNxd4OiSWpGMHej+aMRVwuiHQN0QHLouosCNXaI2hbrwTx hfedP13/3JQVg63lxtuAMtI/7QuSxSzhZfr+xf8TvrT5W0EtLOfaxw8d9urMbRvyRbx0 BzcR7alz26z+QIfftDI2uwRJmaJsZQpheUVaM6yDD30v6qfifOWUpy3u388Y+Xr/76jR /2bp5nkNbPlmW2sFaKdjVOHLNjJHSW5jgfsyPD1ZprXusS72Kl2jxnAYNCcpR2SXRlGP w2lA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si356329oti.224.2020.03.05.16.28.17; Thu, 05 Mar 2020 16:28:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbgCFA1q (ORCPT + 99 others); Thu, 5 Mar 2020 19:27:46 -0500 Received: from ozlabs.org ([203.11.71.1]:60705 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbgCFA1q (ORCPT ); Thu, 5 Mar 2020 19:27:46 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 48YT3N3R0Nz9sSm; Fri, 6 Mar 2020 11:27:43 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: e1347a020b81fe47c80cd277bfaa61295a9482a4 In-Reply-To: <12f4f4f0ff89aeab3b937fc96c84fb35e1b2517e.1580748445.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/32s: Slenderize _tlbia() for powerpc 603/603e Message-Id: <48YT3N3R0Nz9sSm@ozlabs.org> Date: Fri, 6 Mar 2020 11:27:43 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-02-03 at 16:47:37 UTC, Christophe Leroy wrote: > _tlbia() is a function used only on 603/603e core, ie on CPUs which > don't have a hash table. > > _tlbia() uses the tlbia macro which implements a loop of 1024 tlbie. > > On the 603/603e core, flushing the entire TLB requires no more than > 32 tlbie. > > Replace tlbia by a loop of 32 tlbie. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e1347a020b81fe47c80cd277bfaa61295a9482a4 cheers