All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Driver for Oracle Data Analytics Accelerator
@ 2017-09-21 22:18 Rob Gardner
  2017-11-15  5:24 ` David Miller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rob Gardner @ 2017-09-21 22:18 UTC (permalink / raw)
  To: sparclinux

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 is documented
in detail in an included file. The driver API is described in the
accompanying Documentation file. Also included is an example program
that shows how the raw driver API is used, though 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 and documentation. 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 coprocessor may also be used by internal kernel code for any
purpose for which one sees fit. Example code to do this is also
included. Those who wish to use the coprocessor will need to construct
their own command blocks to submit, as no higher level services are
provided. The library contains numerous code examples to assist in
this, and the included Hypervisor API document provides a complete
specification of all the commands and parameters that may be used.

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".

Right now we've got the main driver source file in drivers/sbus/char,
which seems to be where Sparc specific drivers go, but seeing as
"sbus" is a very old Sparc feature and not used anymore, it might
perhaps be better placed elsewhere.

Any and all feedback welcome and appreciated.

Thanks,
Rob Gardner
Sanath Kumar
Jonathan Helman

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Driver for Oracle Data Analytics Accelerator
  2017-09-21 22:18 [PATCH 0/2] Driver for Oracle Data Analytics Accelerator Rob Gardner
@ 2017-11-15  5:24 ` David Miller
  2017-11-16 22:24 ` Rob Gardner
  2017-11-16 23:55 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2017-11-15  5:24 UTC (permalink / raw)
  To: sparclinux


I've never seen this UPL license before.

Please use GPL code for the userland DAX examples.

Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Driver for Oracle Data Analytics Accelerator
  2017-09-21 22:18 [PATCH 0/2] Driver for Oracle Data Analytics Accelerator Rob Gardner
  2017-11-15  5:24 ` David Miller
@ 2017-11-16 22:24 ` Rob Gardner
  2017-11-16 23:55 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Gardner @ 2017-11-16 22:24 UTC (permalink / raw)
  To: sparclinux

On 11/14/2017 10:24 PM, David Miller wrote:
> I've never seen this UPL license before.
>
> Please use GPL code for the userland DAX examples.
>

Is there some requirement that userland code examples be GPL? Using a 
more permissive GPL-compatible license (like UPL) on these examples will 
not taint kernel code in any way.

Rob


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Driver for Oracle Data Analytics Accelerator
  2017-09-21 22:18 [PATCH 0/2] Driver for Oracle Data Analytics Accelerator Rob Gardner
  2017-11-15  5:24 ` David Miller
  2017-11-16 22:24 ` Rob Gardner
@ 2017-11-16 23:55 ` David Miller
  2 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2017-11-16 23:55 UTC (permalink / raw)
  To: sparclinux

From: Rob Gardner <rob.gardner@oracle.com>
Date: Thu, 16 Nov 2017 15:24:25 -0700

> On 11/14/2017 10:24 PM, David Miller wrote:
>> I've never seen this UPL license before.
>>
>> Please use GPL code for the userland DAX examples.
>>
> 
> Is there some requirement that userland code examples be GPL? Using a
> more permissive GPL-compatible license (like UPL) on these examples
> will not taint kernel code in any way.

Even if it's allowed I don't feel comfortable with it.

Please make the changes I requested so that I can merge
your code.

Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-16 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-21 22:18 [PATCH 0/2] Driver for Oracle Data Analytics Accelerator Rob Gardner
2017-11-15  5:24 ` David Miller
2017-11-16 22:24 ` Rob Gardner
2017-11-16 23:55 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.