Re: [PATCH 05/13] powerpc/pseries/eeh: use correct API for error log size

2022-11-28 Thread Nathan Lynch
Andrew Donnellan writes: > On Fri, 2022-11-18 at 09:07 -0600, Nathan Lynch wrote: >> rtas-error-log-max is not the name of an RTAS function, so >> rtas_token() is not the appropriate API for retrieving its value. We >> already have rtas_get_error_log_max() which returns a sensible value >> if the

Re: [PATCH 05/13] powerpc/pseries/eeh: use correct API for error log size

2022-11-21 Thread Andrew Donnellan
On Fri, 2022-11-18 at 09:07 -0600, Nathan Lynch wrote: > rtas-error-log-max is not the name of an RTAS function, so > rtas_token() is not the appropriate API for retrieving its value. We > already have rtas_get_error_log_max() which returns a sensible value > if the property is absent for any reaso

[PATCH 05/13] powerpc/pseries/eeh: use correct API for error log size

2022-11-18 Thread Nathan Lynch
rtas-error-log-max is not the name of an RTAS function, so rtas_token() is not the appropriate API for retrieving its value. We already have rtas_get_error_log_max() which returns a sensible value if the property is absent for any reason, so use that instead. Signed-off-by: Nathan Lynch Fixes: 8d