qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug()
@ 2020-07-01 20:15 Mark Cave-Ayland
  2020-07-01 20:15 ` [PATCH v4 1/2] " Mark Cave-Ayland
  2020-07-01 20:15 ` [PATCH v4 2/2] target/m68k: consolidate physical translation offset into get_physical_address() Mark Cave-Ayland
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Cave-Ayland @ 2020-07-01 20:15 UTC (permalink / raw)
  To: qemu-devel, laurent

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>


v4:
- Remove extra TARGET_PAGE_MASK when calculating translated address since whilst it was
  required when being done by the caller, it is already handled in get_physical_address()

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

-- 
2.20.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-06 19:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-01 20:15 [PATCH v4 0/2] target/m68k: fix physical address translation in m68k_cpu_get_phys_page_debug() Mark Cave-Ayland
2020-07-01 20:15 ` [PATCH v4 1/2] " Mark Cave-Ayland
2020-07-06 19:40   ` Laurent Vivier
2020-07-01 20:15 ` [PATCH v4 2/2] target/m68k: consolidate physical translation offset into get_physical_address() Mark Cave-Ayland
2020-07-02 19:26   ` Laurent Vivier
2020-07-06 19:41   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).