diff options
author | Nathan Lynch <[email protected]> | 2023-02-10 12:41:53 -0600 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-02-13 22:35:01 +1100 |
commit | b7d5333c48a21fd6a20f54b6887bcc191d21c273 (patch) | |
tree | b3386f3e7141bb4df2b9917437becbff528cc287 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 5d08633e5f6564b60f1cbe09af3af40a74d66431 (diff) |
powerpc/pseries/setup: 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_cmo_feature_init() ignores this, making it possible to fail to
detect cooperative memory overcommit capabilities during boot.
Move the RTAS call into a conventional rtas_busy_delay()-based
loop, dropping unnecessary clearing of rtas_data_buf.
Signed-off-by: Nathan Lynch <[email protected]>
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