diff options
author | Haren Myneni <haren@linux.vnet.ibm.com> | 2017-07-17 19:50:46 -0700 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 12:39:43 +1000 |
commit | 8a665d6e1d1cd5e4491cfa44f4b8e80e8ce543f6 (patch) | |
tree | e60b6e38f5ae6fd35619e59b303608b9fce29d3b /doc | |
parent | 3b3c5962f432695ce48031381e12957a0726e83a (diff) | |
download | skiboot-8a665d6e1d1cd5e4491cfa44f4b8e80e8ce543f6.zip skiboot-8a665d6e1d1cd5e4491cfa44f4b8e80e8ce543f6.tar.gz skiboot-8a665d6e1d1cd5e4491cfa44f4b8e80e8ce543f6.tar.bz2 |
NX: Add P9 NX support for gzip compression engine
Power 9 introduces NX gzip compression engine. This patch adds gzip
compression support in NX. Virtual Accelerator Switch (VAS) is used to
access NX gzip engine and the channel configuration will be done with
the receive FIFO. So RxFIFO address, logical partition ID (lpid),
process ID (pid) and thread ID (tid) are used to configure RxFIFO.
P9 NX supports high and normal priority FIFOS. Skiboot configures User
Mode Access Control (UMAC) noitify match register with these values and
also enables other registers to enable / disable the engine.
Creates the following device-tree entries to provide RxFIFO address,
RxFIFO size, Fifo priority, lpid, pid and tid values so that kernel
can drive P9 NX gzip engine.
The following nodes are located under an xscom node:
/xscom@<xscom_addr>/nx@<nx_addr>
/ibm,gzip-high-fifo : High priority gzip RxFIFO
/ibm,gzip-normal-fifo : Normal priority gzip RxFIFO
Each RxFIFO node contains:
compatible : ibm,p9-nx-gzip
priority : High or Normal
rx-fifo-address : RxFIFO address
rx-fifo-size : RxFIFO size
lpid : 0xfff (1's for 12 bits in UMAC notify match
register)
pid : gzip coprocessor type
tid : counter for gzip
Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions