Re: [PATCH v2 2/2] target/m68k: consolidate physical translation offset into get_physical_address()

2020-06-30 Thread Mark Cave-Ayland
On 30/06/2020 08:23, Laurent Vivier wrote: > Le 30/06/2020 à 08:10, Mark Cave-Ayland a écrit : >> Since all callers to get_physical_address() now apply the same page offset to >> the translation result, move the logic into get_physical_address() itself to >> avoid duplication. >> >> Suggested-by:

Re: [PATCH v2 2/2] target/m68k: consolidate physical translation offset into get_physical_address()

2020-06-30 Thread Laurent Vivier
Le 30/06/2020 à 08:10, Mark Cave-Ayland a écrit : > Since all callers to get_physical_address() now apply the same page offset to > the translation result, move the logic into get_physical_address() itself to > avoid duplication. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Mark Cave

[PATCH v2 2/2] target/m68k: consolidate physical translation offset into get_physical_address()

2020-06-29 Thread Mark Cave-Ayland
Since all callers to get_physical_address() now apply the same page offset to the translation result, move the logic into get_physical_address() itself to avoid duplication. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Mark Cave-Ayland --- target/m68k/helper.c | 12 +++- 1 file c