On Thu, Nov 07, 2013 at 09:11:38AM +1100, Paul Mackerras wrote: > This fixes a bug in kvmppc_do_h_enter() where the physical address > for a page can be calculated incorrectly if transparent huge pages > (THP) are active. Until THP came along, it was true that if we > encountered a large (16M) page in kvmppc_do_h_enter(), then the > associated memslot must be 16M aligned for both its guest physical > address and the userspace address, and the physical address > calculations in kvmppc_do_h_enter() assumed that. With THP, that > is no longer true. BTW, it looks like kvmppc_book3s_hv_page_fault() has a similar bug. I'll do a v2 of the patch to fix both, since it's essentially the same problem in both places. Paul. -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html