From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH 1/3] iommu/tegra: smmu: Remove unnecessary PTC/TLB flush all Date: Wed, 28 Nov 2012 20:40:30 +0100 Message-ID: <20121128194030.GF30633@8bytes.org> References: <1354110775-11810-1-git-send-email-hdoyu@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1354110775-11810-1-git-send-email-hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Hiroshi Doyu Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Wed, Nov 28, 2012 at 03:52:53PM +0200, Hiroshi Doyu wrote: > smmu_flush_regs() does TLB/PTC flush all when freeing a second level > page table. This isn't necessay at all since each pte entry has been > already maintained by address in the above flush_ptc_and_tlb(). > > Signed-off-by: Hiroshi Doyu Applied, thanks.