On Thu, 2024-03-14 at 00:17 -0400, Nayna Jain wrote:
usleep_range() function takes input time and range in usec. However,
currently it is assumed in msec in the function
plpks_confirm_object_flushed().
Fix the total polling time for the object flushing from 5msec to
5sec.
Reported-by: Nageswara R Sastry <redacted>
Fixes: 2454a7af0f2a ("powerpc/pseries: define driver for Platform
KeyStore")
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Tested-by: Nageswara R Sastry <redacted>
plpks_signed_update_var() also relies on PLPKS_MAX_TIMEOUT, and assumes
it to be in milliseconds rather than microseconds.
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@linux.ibm.com IBM Australia Limited