OSDN Git Service

Merge branch 'sparc64-dax-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 16:17:25 +0000 (08:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 16:17:25 +0000 (08:17 -0800)
commit784c711eeb91750a582b966b75350c974ce9b829
tree2fe7bb4e2925efebad2ac1550f38f5dd88bdb7eb
parent0d665e7b109d512b7cae3ccef6e8654714887844
parentdd0273284c7474100bcd331887443f0e4b1dcce8
Merge branch 'sparc64-dax-support'

Rob Gardner says:

====================
sparc64: Driver for Oracle Data Analytics Accelerator

v2:
  Revised example code and updated documentation
  New version of Hypervisor API specification

Recent Oracle Sparc processors (M7 and M8) have a coprocessor which
lives on the cpu chip. The coprocessor is called DAX (Data Analytics
Accelerator), and is controlled via sun4v hypercalls. The programmatic
interface to the coprocessor is somewhat unorthodox, and all commands
and parameters are documented in detail in dax-hv-api.txt. The driver
API is described in oracle-dax.txt, which has been expanded with new
example code along with detailed explanations to demonstrate how user
and kernel code can use the capabilities of DAX.  Those who wish to
use the coprocessor in the kernel will need to construct their own
command blocks to submit, as no higher level services are provided.
Note that it is expected that general use of the coprocessor will go
through the companion userspace library, which has been published
under UPL at:
  https://oss.oracle.com/git/gitweb.cgi?p=libdax.git
This library is a comprehensive collection of higher level functions
along with tests, documentation, and code examples. The format of the
command control blocks is described in this library as well. Though
the primary purpose of the coprocessor is to accelerate data analytics
operations, it may be used for any suitable purpose.

The machine descriptor identifies the device as "dax", and all
internal documentation refers to it as "dax". But since the term "dax"
already has other meanings and uses in Linux, we call this driver
"oradax".
====================

Signed-off-by: David S. Miller <davem@davemloft.net>