mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 13:05:03 +08:00
4dea2d1a92
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>
23 lines
828 B
Plaintext
23 lines
828 B
Plaintext
* 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>;
|
|
};
|