Il 18/08/2014 22:50, Hulin, Patrick - 0559 - MITLL ha scritto: >> >Correct. Doesn¹t work. Haven¹t fully diagnosed why, but it doesn¹t seem >> >to ever hit the current_tb_modified passage if you invalidate beforehand. > Yeah - mem_io_pc doesn¹t get updated until we¹re inside io_write, so > tb_invalidate_phys_page_range thinks we¹re inside a different TB. As a > result, it¹s ³is this TB modified² check still returns false.
We can set that (and probably mem_io_vaddr) before the for loop, too. Paolo
