powerpc/vas: Save configured window credits
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Wed, 8 Nov 2017 02:23:47 +0000 (18:23 -0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Nov 2017 22:03:07 +0000 (09:03 +1100)
commit62f659e08ccd657ead6901011f5e542dbdc477c5
tree8e1c66d52b66c6065aaaf3cd5e928fddce2aeddc
parentdfe954e4456277effffb2c5add47fa25390f8cea
powerpc/vas: Save configured window credits

Save the configured max window credits for a window in the vas_window
structure. We will need this when polling for return of window credits.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/vas-window.c
arch/powerpc/platforms/powernv/vas.h