summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/plpks.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-05-05 10:44:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2024-05-05 10:44:04 -0700
commitef095257750bb434959648331e48e44705d802e9 (patch)
tree7cc4db228e12ce8427fbc2b9f8088c47f3d73018 /arch/powerpc/include/asm/plpks.h
parentd099637d074b9d8170b06365f575f6cf03d614f5 (diff)
parent49a940dbdc3107fecd5e6d3063dc07128177e058 (diff)
downloadlinux-stable-ef095257750bb434959648331e48e44705d802e9.tar.gz
linux-stable-ef095257750bb434959648331e48e44705d802e9.tar.bz2
linux-stable-ef095257750bb434959648331e48e44705d802e9.zip
Merge tag 'powerpc-6.9-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Michael Ellerman: - Fix incorrect delay handling in the plpks (keystore) code - Fix a panic when an LPAR boots with a frozen PE Thanks to Andrew Donnellan, Gaurav Batra, Nageswara R Sastry, and Nayna Jain. * tag 'powerpc-6.9-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/pseries/iommu: LPAR panics during boot up with a frozen PE powerpc/pseries: make max polling consistent for longer H_CALLs
Diffstat (limited to 'arch/powerpc/include/asm/plpks.h')
-rw-r--r--arch/powerpc/include/asm/plpks.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/plpks.h b/arch/powerpc/include/asm/plpks.h
index 23b77027c916..7a84069759b0 100644
--- a/arch/powerpc/include/asm/plpks.h
+++ b/arch/powerpc/include/asm/plpks.h
@@ -44,9 +44,8 @@
#define PLPKS_MAX_DATA_SIZE 4000
// Timeouts for PLPKS operations
-#define PLPKS_MAX_TIMEOUT 5000 // msec
-#define PLPKS_FLUSH_SLEEP 10 // msec
-#define PLPKS_FLUSH_SLEEP_RANGE 400
+#define PLPKS_MAX_TIMEOUT (5 * USEC_PER_SEC)
+#define PLPKS_FLUSH_SLEEP 10000 // usec
struct plpks_var {
char *component;