summaryrefslogtreecommitdiffstats
path: root/include/npu2-regs.h
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.vnet.ibm.com>2017-07-31 21:37:01 -0500
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-04 17:13:10 +1000
commitec27983716d1c9fd72657dc4c74659eded7598ac (patch)
treec26082c9faf3446370625c23909d5d47b34bc28a /include/npu2-regs.h
parente003ad1d7c8717d3d9d6ee40c20a68c1872d4785 (diff)
downloadblackbird-skiboot-ec27983716d1c9fd72657dc4c74659eded7598ac.tar.gz
blackbird-skiboot-ec27983716d1c9fd72657dc4c74659eded7598ac.zip
npu2: Use read-modify-write in npu2_assign_gmb()
We currently set each half of the GPU memory BAR by OR'ing our half into what is already there. This allows a possible conflict if Hostboot or other system boot software has already written to the BAR. Set each half of the BAR value directly instead of using OR. Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Cc: Alistair Popple <alistair@popple.id.au> Cc: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Cc: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Acked-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud