[PATCH 00/10] powerpc/vas: cleanup and optimizations

From: Sukadev Bhattiprolu
Date: Sun Sep 17 2017 - 00:05:48 EST


Sanitize cpu/chip id to VAS id mapping, improve vas_win_close()
performance and add a check for return of credits.

Also, fix up couple of initializations/error checks and cleanup
some comments and debug code.

Sukadev Bhattiprolu (10):
powerpc/vas: init missing fields from [rt]xattr
powerpc/vas: Validate window credits
powerpc/vas: Cleanup some debug code
powerpc/vas: Drop poll_window_cast_out().
powerpc/vas: Use helper to unpin/close window
powerpc/vas: Reduce polling interval for busy state
powerpc/vas: Save configured window credits
powerpc/vas: poll for return of window credits
powerpc/vas: Create cpu to vas id mapping
powerpc/vas, nx-842: Define and use chip_to_vas_id()

arch/powerpc/include/asm/vas.h | 9 ++
arch/powerpc/platforms/powernv/vas-window.c | 133 +++++++++++++++++++++-------
arch/powerpc/platforms/powernv/vas.c | 25 +++++-
arch/powerpc/platforms/powernv/vas.h | 61 ++++---------
drivers/crypto/nx/nx-842-powernv.c | 18 +---
5 files changed, 154 insertions(+), 92 deletions(-)

--
2.7.4