mbox series

[v2,0/2] target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug()

Message ID 20200630061036.7526-1-mark.cave-ayland@ilande.co.uk
Headers show
Series target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug() | expand

Message

Mark Cave-Ayland June 30, 2020, 6:10 a.m. UTC
The first patch in the series fixes the original bug, whilst the second patch
implements the suggestion by Philippe to consolidate the translation offset
logic into get_physical_address() itself now that all callers are identical.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


v2:
- Add R-B tags from Philippe and Laurent
- Add patch 2 to consolidate the translation offset logic into get_physical_address()


Mark Cave-Ayland (2):
  target/m68k: fix physical address translation in
    m68k_cpu_get_phys_page_debug()
  target/m68k: consolidate physical translation offset into
    get_physical_address()

 target/m68k/helper.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)