From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoEQ0-0004bF-Kx for qemu-devel@nongnu.org; Mon, 19 Oct 2015 13:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoEPx-00052l-UY for qemu-devel@nongnu.org; Mon, 19 Oct 2015 13:40:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoEPx-00052Z-Oq for qemu-devel@nongnu.org; Mon, 19 Oct 2015 13:40:17 -0400 From: Eduardo Habkost Date: Mon, 19 Oct 2015 15:40:01 -0200 Message-Id: <1445276410-5031-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/9] target-i386: Implement debug extensions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Paolo Bonzini , Richard Henderson Updated version of the series submitted by Richard Henderson. With the additional changes, the kvm-unit-tests debug extensions test case written by Paolo passes all tests except ICEBP. Changes v2 -> v3: * Patch 3/9: Set bit on new_dr7, so that it can still pass the xor test for the enable bits optimization * Suggested-by: Richard Henderson * Patch 6/9: coding style fix (remove unnecessary parentheses) Changes v1 -> v2: * Patch 2/9: Included fix from Paolo to make sure dr7 is updated after hw_breakpoint_remove() call and before hw_breakpoint_insert() call * New patch (3/9): Ensure bit 10 on DR7 is never cleared * Patch 6/9: Rebase on top of new version of patch 2/9 * New patch (8/9): Ensure always-1 bits on DR6 can't be cleared * New patch (9/9): Add DE to TCG_FEATURES Eduardo Habkost (4): target-i386: Ensure bit 10 on DR7 is never cleared target-i386: Handle I/O breakpoints target-i386: Ensure always-1 bits on DR6 can't be cleared target-i386: Add DE to TCG_FEATURES Richard Henderson (5): target-i386: Introduce cpu_x86_update_dr7 target-i386: Re-introduce optimal breakpoint removal target-i386: Move hw_*breakpoint_* functions target-i386: Optimize setting dr[0-3] target-i386: Check CR4[DE] for processing DR4/DR5 target-i386/bpt_helper.c | 224 ++++++++++++++++++++++++++++++++++++++--------- target-i386/cpu.c | 2 +- target-i386/cpu.h | 35 ++------ target-i386/helper.h | 4 +- target-i386/machine.c | 8 +- target-i386/seg_helper.c | 8 +- target-i386/translate.c | 30 +++++-- 7 files changed, 225 insertions(+), 86 deletions(-) -- 2.1.0