Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VAS: Alloc IRQ and port address for each VAS instance
Setup IRQ and trigger port for each VAS instance. Export these values through device-tree with 'interrupts' and 'ibm,vas-port' properties in each VAS device node. Kernel setup IRQ and register port address for each send window. Enable 'vas-user-space' NVRAM config to allocate IRQ sources and provide 'interrupts' property. nvram -p ibm,skiboot --update-config vas-user-space=enable Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Haren Myneni <haren@us.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
- Loading branch information
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Virtual Accelerator Switchboard (VAS) | ||
|
||
This document provides information about using VAS from user space. | ||
Applications send NX requests using COPY/PASTE instructions. NX raises | ||
an interrupt when it sees fault on the request buffer. Kernel handles | ||
the interrupt and process the fault. | ||
|
||
Skiboot allocates the IRQ and exports it with interrupts property. To | ||
provide backward compatibility for older kernels, enable VAS user space | ||
support with NVRAM command. | ||
|
||
nvram -p ibm,skiboot --update-config vas-user-space=enable | ||
|
||
This nvram config update is temporary and can be removed in future if | ||
not needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters