summaryrefslogtreecommitdiffstats
path: root/include/vas.h
Commit message (Collapse)AuthorAgeFilesLines
* vas: Disable VAS/NX-842 on some P9 revisionsSukadev Bhattiprolu2018-02-141-0/+1
| | | | | | | | | | | | | | | VAS/NX-842 are not functional on some P9 revisions, so disable them in hardware and skip creating their device tree nodes. Since the intent is to prevent OS from configuring VAS/NX, we remove only the platform device nodes but leave the VAS/NX DT nodes under xscom (i.e we don't skip add_vas_node() in hdata/spira.c) Thanks to input from Michael Ellerman, Michael Neuling. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Reviewed-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* vas: Set FIRs according to workbookMichael Neuling2017-08-221-7/+3
| | | | | | | | | | | This sets the FIR, FIR mask and FIR action registers according to VAS workbook v1.20. It also renames them to make it clear what they are. Without this any VAS error will checkstop the machine, rather than potentially be recoverable. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* vas: Set mmio enable bits in DD2Sukadev Bhattiprolu2017-08-211-0/+3
| | | | | | | | | POWER9 DD2 added some new "enable" bits that must be set for VAS to work. These bits were unused in DD1. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-By: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* vas: Define vas_get_wcbs_bar interfaceSukadev Bhattiprolu2017-08-011-0/+1
| | | | | | | | | Implement the function vas_get_wcbs_bar() that returns the Window Context Backing store address register. NX driver uses this function to initialize its UMAC Send WC register. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* vas: Define vas_get_hvwc_mmio_bar interfaceSukadev Bhattiprolu2017-08-011-0/+1
| | | | | | | | The nest accelerator (NX) will need this interface to initialize its UMAC MMIO BAR. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* vas: Define macros of constants and register fieldsSukadev Bhattiprolu2017-08-011-0/+142
Define macros for the various Base Address Regions and Register fields that are needed by VAS. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud