Skip to content

Driver for Oracle Data Analytics Accelerator

Rob Gardner sparclinux 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sparc64: Oracle DAX infrastructurearch/sparc/include/asm/hypervisor.h arch/sparc/kernel/hvapi.c arch/sparc/kernel/hvcalls.S+196 -00 replies
2/2sparc64: Oracle DAX driverDocumentation/sparc/oradax/dax-hv-api.txt Documentation/sparc/oradax/oracle-dax.txt arch/sparc/include/uapi/asm/oradax.h +3 more+2966 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] 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".

Thanks,
Rob Gardner
Sanath Kumar
Jonathan Helman