powerpc/powernv/vas: Define vas_init() and vas_exit()
Implement vas_init() and vas_exit() functions for a new VAS module. This VAS module is essentially a library for other device drivers and kernel users of the NX coprocessors like NX-842 and NX-GZIP. In the future this will be extended to add support for user space to access the NX coprocessors. VAS is currently only supported with 64K page size. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
b6622a339e
commit
4dea2d1a92
22
Documentation/devicetree/bindings/powerpc/ibm,vas.txt
Normal file
22
Documentation/devicetree/bindings/powerpc/ibm,vas.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
* IBM Powerpc Virtual Accelerator Switchboard (VAS)
|
||||
|
||||
VAS is a hardware mechanism that allows kernel subsystems and user processes
|
||||
to directly submit compression and other requests to Nest accelerators (NX)
|
||||
or other coprocessors functions.
|
||||
|
||||
Required properties:
|
||||
- compatible : should be "ibm,vas".
|
||||
- ibm,vas-id : A unique identifier for each instance of VAS in the system
|
||||
- reg : Should contain 4 pairs of 64-bit fields specifying the Hypervisor
|
||||
window context start and length, OS/User window context start and length,
|
||||
"Paste address" start and length, "Paste window id" start bit and number
|
||||
of bits)
|
||||
|
||||
Example:
|
||||
|
||||
vas@6019100000000 {
|
||||
compatible = "ibm,vas", "ibm,power9-vas";
|
||||
reg = <0x6019100000000 0x2000000 0x6019000000000 0x100000000 0x8000000000000 0x100000000 0x20 0x10>;
|
||||
name = "vas";
|
||||
ibm,vas-id = <0x1>;
|
||||
};
|
Reference in New Issue
Block a user