aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2023-02-10 12:41:51 -0600
committerMichael Ellerman <[email protected]>2023-02-13 22:35:01 +1100
commitdaa8ab59044610aa8ef2ee45a6c157b5e11635e9 (patch)
tree7aecdbb8b89837d1818928c0fef9bbdc59c0f0f7 /lib/test_fortify/write_overflow-strlcpy-src.c
parentcc4b26eab1859fa1a70711872caaf6414809973f (diff)
powerpc/pseries/lpar: add missing RTAS retry status handling
The ibm,get-system-parameter RTAS function may return -2 or 990x, which indicate that the caller should try again. pseries_lpar_read_hblkrm_characteristics() ignores this, making it possible to incorrectly detect TLB block invalidation characteristics at boot. Move the RTAS call into a coventional rtas_busy_delay()-based loop. Signed-off-by: Nathan Lynch <[email protected]> Fixes: 1211ee61b4a8 ("powerpc/pseries: Read TLB Block Invalidate Characteristics") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions