diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2019-04-05 16:33:00 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-04-09 10:50:55 +1000 |
commit | fa97373f3274de5239124db5c4039a7517d9344c (patch) | |
tree | fc3cd761b3e1ccf61b06b177009673c8d00e8818 /include/npu2.h | |
parent | d3af5072cb55c5586e7c393596940346c36488c3 (diff) | |
download | skiboot-fa97373f3274de5239124db5c4039a7517d9344c.zip skiboot-fa97373f3274de5239124db5c4039a7517d9344c.tar.gz skiboot-fa97373f3274de5239124db5c4039a7517d9344c.tar.bz2 |
hw/npu2: Use NVLink irq setup for OpenCAPI
Start using the irq setup code from NVLink for OpenCAPI, since the 2
versions are so close. There are only 2 differences:
- the NPU may trigger more interrupts for OpenCAPI, 35 vs. 23, though
none are configured to be triggered for now.
- we need to enable the 4 translation faults interrupts for OpenCAPI.
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/npu2.h')
-rw-r--r-- | include/npu2.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/npu2.h b/include/npu2.h index 86a449e..6c73679 100644 --- a/include/npu2.h +++ b/include/npu2.h @@ -170,7 +170,6 @@ struct npu2 { uint64_t mm_base; uint64_t mm_size; uint32_t base_lsi; - uint32_t irq_base; uint32_t total_devices; struct npu2_dev *devices; enum phys_map_type gpu_map_type; |