mbox series

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

Message ID 20200630112752.31134-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, 11:27 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>


v3:
- Fix Transparent Translation as indicated by Laurent
- Always apply TARGET_PAGE_MASK to tlb_set_page() parameters

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 | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)