Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934668AbdDFNGd (ORCPT ); Thu, 6 Apr 2017 09:06:33 -0400 Received: from ozlabs.org ([103.22.144.67]:51211 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934584AbdDFNGK (ORCPT ); Thu, 6 Apr 2017 09:06:10 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 1ab66d1fbadad86b1f4a9c7857e193af0ee0022c In-Reply-To: <1491213104-24450-3-git-send-email-alistair@popple.id.au> To: Alistair Popple From: Michael Ellerman Cc: devicetree@vger.kernel.org, Alistair Popple , mhairgrove@nvidia.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, robh+dt@kernel.org, shailendras@nvidia.com Subject: Re: [v2, 3/3] powerpc/powernv: Introduce address translation services for Nvlink2 Message-Id: <3vzNJ01sS5z9s8N@ozlabs.org> Date: Thu, 6 Apr 2017 23:06:08 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 23 On Mon, 2017-04-03 at 09:51:44 UTC, Alistair Popple wrote: > Nvlink2 supports address translation services (ATS) allowing devices > to request address translations from an mmu known as the nest MMU > which is setup to walk the CPU page tables. > > To access this functionality certain firmware calls are required to > setup and manage hardware context tables in the nvlink processing unit > (NPU). The NPU also manages forwarding of TLB invalidates (known as > address translation shootdowns/ATSDs) to attached devices. > > This patch exports several methods to allow device drivers to register > a process id (PASID/PID) in the hardware tables and to receive > notification of when a device should stop issuing address translation > requests (ATRs). It also adds a fault handler to allow device drivers > to demand fault pages in. > > Signed-off-by: Alistair Popple Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/1ab66d1fbadad86b1f4a9c7857e193 cheers