[v2, 3/3] powerpc/powernv: Introduce address translation services for Nvlink2

Michael Ellerman patch-notifications at ellerman.id.au
Thu Apr 6 23:06:08 AEST 2017


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 <alistair at popple.id.au>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1ab66d1fbadad86b1f4a9c7857e193

cheers


More information about the Linuxppc-dev mailing list