Re: [RFC PATCH 6/6] memory: Use CPU register size as default access_size_max

2020-06-01 Thread Philippe Mathieu-Daudé
On 5/31/20 9:14 PM, Peter Maydell wrote: > On Sun, 31 May 2020 at 18:54, Philippe Mathieu-Daudé wrote: >> >> Do not restrict 64-bit CPU to 32-bit max access by default. >> >> Signed-off-by: Philippe Mathieu-Daudé >> --- >> RFC because this probably require an audit of all devices >> used on

Re: [RFC PATCH 6/6] memory: Use CPU register size as default access_size_max

2020-05-31 Thread Peter Maydell
On Sun, 31 May 2020 at 18:54, Philippe Mathieu-Daudé wrote: > > Do not restrict 64-bit CPU to 32-bit max access by default. > > Signed-off-by: Philippe Mathieu-Daudé > --- > RFC because this probably require an audit of all devices > used on 64-bit targets. > But if we find such problematic

[RFC PATCH 6/6] memory: Use CPU register size as default access_size_max

2020-05-31 Thread Philippe Mathieu-Daudé
Do not restrict 64-bit CPU to 32-bit max access by default. Signed-off-by: Philippe Mathieu-Daudé --- RFC because this probably require an audit of all devices used on 64-bit targets. But if we find such problematic devices, they should instead enforce their access_size_max = 4 rather than