qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] phys_page_find bug?
@ 2010-05-07 16:26 Artyom Tarasenko
  2010-05-20 20:00 ` [Qemu-devel] " Artyom Tarasenko
  2010-11-08 18:55 ` Artyom Tarasenko
  0 siblings, 2 replies; 10+ messages in thread
From: Artyom Tarasenko @ 2010-05-07 16:26 UTC (permalink / raw)
  To: qemu-devel, Blue Swirl, Richard Henderson

phys_page_find (exec.c) returns sometimes a page for addresses where
nothing is connected.

One example, done with qemu-system-sparc -M SS-20

ok f13ffff0 2f spacec@ .

// The address translates correctly, in cpu_physical_memory_rw
// addr== 0xff13ffff0 (where nothing is connected)
// but then phys_page_find returns a nonzero and produces

Unassigned mem read access of 1 byte to 0000000ff15ffff0 from xxxxx

(note the "5" in the line above where "3" is expected)

I wonder if this is only true for non-wired addresses, or whether
phys_page_find can also
find wrong pages for the addresses where something is connected?

Or is my assumption is wrong and phys_page_find can return a page for
not-connected
addresses and the bug is actually in cpu_physical_memory_rw ?

Is the qemu algorithm of working with the physical address space
described somewhere?

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/

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

end of thread, other threads:[~2011-02-04 12:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 16:26 [Qemu-devel] phys_page_find bug? Artyom Tarasenko
2010-05-20 20:00 ` [Qemu-devel] " Artyom Tarasenko
2010-11-08 18:55 ` Artyom Tarasenko
2010-11-09 17:53   ` Blue Swirl
2011-01-10  3:57     ` Bob Breuer
2011-01-10 21:39       ` Blue Swirl
2011-01-11  6:49         ` Bob Breuer
2011-01-11  9:22         ` Artyom Tarasenko
2011-01-11 15:46           ` Bob Breuer
2011-02-04 11:44       ` Artyom Tarasenko

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).