Thread (2 messages) flat view 2 messages, 2 authors, 2024-03-15

Re: [PATCH v2] powerpc/pseries: fix max polling time in plpks_confirm_object_flushed() function

From: Andrew Donnellan <hidden>
Date: 2024-03-15 03:25:20

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help