summaryrefslogtreecommitdiffstats
path: root/drivers/misc/pvpanic.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-04-28 09:18:35 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2019-04-28 09:18:35 +0200
commita38693d77576145673a7b3d4d771d992282ad13b (patch)
tree7253cb74316b8d9093f7a8cadda464232cf853e0 /drivers/misc/pvpanic.c
parenthabanalabs: rename restore to ctx_switch when appropriate (diff)
downloadlinux-a38693d77576145673a7b3d4d771d992282ad13b.tar.xz
linux-a38693d77576145673a7b3d4d771d992282ad13b.zip
habanalabs: return old dram bar address upon change
This patch changes the ASIC interface function that changes the DRAM bar window. The change is to return the old address that the DRAM bar pointed to instead of an error code. This simplifies the code that use this function (mainly in debugfs) to restore the bar to the old setting. This is also needed for easier support in future ASICs. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/pvpanic.c')
0 files changed, 0 insertions, 0 deletions