Received: by 2002:ab2:5182:0:b0:1f4:61d5:3ad4 with SMTP id x2csp78740lqi; Fri, 5 Apr 2024 10:13:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVcxAH87IJkvGunXn+99ulsn0NbuC66e1LIvbzmUD8sJtWO18FFqQykuSYW+EdzzaNuIbOfL1JaB3HI1OgEJWKok2hT2Z8aZvdBqDqDw== X-Google-Smtp-Source: AGHT+IHWRmV96itQbHwVBGU8fc7XoO/voO7XoLfBR1CiEjsRcjhgaAksCgreHMS8c2RFmpMmRI/h X-Received: by 2002:a54:4090:0:b0:3c5:d869:8646 with SMTP id i16-20020a544090000000b003c5d8698646mr1997816oii.34.1712337209260; Fri, 05 Apr 2024 10:13:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712337209; cv=pass; d=google.com; s=arc-20160816; b=fJFkoct2KU1UarTa/bJMoG9HdMRXIs+qC+TME+TYbdjpzcYpkpps46e0PZwgYvJ7Kv hL2CAfEwzrzgbI0Qj28giI+gKLeK1v/E3W4KWu59vLK6ZsffjG42kfBIcDAP0SgskPDq vkQ/UoDPTH7lUt75GWvj0RYAcoNK6HQ4p4Lxntc0sH6rtlJjD22iS/j1mrAneExO00+f 1yhZ1JjHkZlaYBEGHrOnNof7zXoyOSh3FQfLdI6b6TNP+iNVWYwnSUyp8n/BnNwaCQmm DGy1/J/PwPCU5qUKA36UtJHj2KXiwAAe7Di0/1wVVwL/WXln0trqlspFF/KvqakdMzQK ktVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=RIZdQol8nnRTXige6QC0nRQkcmJUPct9/VDqCFuSVjQ=; fh=dB21D5xk1k6P6ZLyPmeDankCbQcl9rjhySMJGg4g3iA=; b=kX0pNVPLU3n9W0CB4bmuKLRDE6eB2dsgmkmr9O01+1rka/vNIGNUbSsKc3etOxJrlF VcbhDFgD+6mVQrY1CvrYRtf2zwPELRg++AVo6wHdY9n8uVO9MWvbGoFyMTpmJGLZcNdk mQh93Ys+yrpRyCELy9GfVaLcTCRZ0UIpkWHNAPCQ4WVOr/YMucdXXI8a3ThB6Vk9MAsF jr3pMxrMjTwEEtbbhXo5a/BQ/0eGkrAo7RbKnJC1KxNVhykEAYAGuSrBYx2mtS0J1nTb jMak9hVRdKB+tURNr6N/Tmk22mjnpnERNJ6XcmGE9hpR7jBwDmcfTtIHiXLD3EvYH7NX xn4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-133410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f15-20020ab0100f000000b007e5daf2475csi373145uab.63.2024.04.05.10.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 10:13:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-133410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F103E1C23544 for ; Fri, 5 Apr 2024 17:13:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00EBD171E44; Fri, 5 Apr 2024 17:12:30 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77CDE16C858 for ; Fri, 5 Apr 2024 17:12:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712337149; cv=none; b=UFt21q64xej/qJz3IF2HaklXLhGEPEVCjpxQYYe3eLf6CuxecjUa7EB5WzYpwmL3UAYFi2jEp3dYDCC9T6/ZUE0hvnPAp13WNGZIEEt6QFhttIRatgo+3BuKxQoXl+A0lZFUecY5CMPhZgYmTPqDLOGbnx8G+TBwt/d/XAcMg9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712337149; c=relaxed/simple; bh=3z/qCjdop9Fwcqr8n8ZoRrhGKLrScjJDNfw8sY1F+YE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U2Jroov/Yms/o9JdSmFtHKbt3/VzVBDTOl+mZBB5hbmxdZytAXlkfzkPWNFD6oszbe4NMJPU340rDY+pY/qhyhNSh8/IrGnEpGTqODhYqWqMLmGmLHEAb0VUcadIbj6iyq7nusHOUK8Xno91uA11Vf19C4V1J8BbC+R+JISohfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB751C433F1; Fri, 5 Apr 2024 17:12:24 +0000 (UTC) Date: Fri, 5 Apr 2024 18:12:22 +0100 From: Catalin Marinas To: Gavin Shan Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, akpm@linux-foundation.org, maz@kernel.org, oliver.upton@linux.dev, ryan.roberts@arm.com, apopple@nvidia.com, rananta@google.com, mark.rutland@arm.com, v-songbaohua@oppo.com, yangyicong@hisilicon.com, shahuang@redhat.com, yihyu@redhat.com, shan.gavin@gmail.com Subject: Re: [PATCH v3 3/3] arm64: tlb: Allow range operation for MAX_TLBI_RANGE_PAGES Message-ID: References: <20240405035852.1532010-1-gshan@redhat.com> <20240405035852.1532010-4-gshan@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240405035852.1532010-4-gshan@redhat.com> On Fri, Apr 05, 2024 at 01:58:52PM +1000, Gavin Shan wrote: > MAX_TLBI_RANGE_PAGES pages is covered by SCALE#3 and NUM#31 and it's > supported now. Allow TLBI RANGE operation when the number of pages is > equal to MAX_TLBI_RANGE_PAGES in __flush_tlb_range_nosync(). > > Suggested-by: Marc Zyngier > Signed-off-by: Gavin Shan Verified this case as well, so: Reviewed-by: Catalin Marinas