On 2020-02-13 14:17, Thomas Monjalon wrote:
13/02/2020 21:58, dwilder:
On 2020-02-13 12:32, Thomas Monjalon wrote:
> 13/02/2020 21:24, David Wilder:
>> - The --no-huge option requires iova-mode=VA.
>>   On ppc64le iova-mode defaults to PA therefor
>>   VA mode must be explicitly set.
>
> Should we make VA mode automatic when using --no-huge?
> Should we log an error message when using --no-huge with PA mode?

Logging a messages sounds like a good idea. Ignoring the users request
of iova-mode=PA (in the case of x86) and just switching modes would be
bad.

Yes, I mean for ppc64, if --no-huge is specified,
would you like to change the default to VA mode?

OK, that would be better.
I will switch to VA when --no-huge is set (ppc64 only).
Add log messages if PA is selected with --no-huge (all arches).

Reply via email to