[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint inser
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion |
Date: |
Thu, 24 May 2012 08:25:12 -0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-05-24 07:51, Max Filippov wrote:
> On Thu, May 24, 2012 at 6:34 AM, Jan Kiszka <address@hidden> wrote:
>> From: Jan Kiszka <address@hidden>
>>
>> tb_invalidate_phys_addr has to called with the exact physical address of
>> the breakpoint we add/remove, not just the page's base address.
>> Otherwise we easily fail to flush the right TB.
>>
>> Regression of 1e7855a558.
>
> Sorry, I fail to see how 1e7855a558 could introduce a regression, it
> just rearranged the code.
> Even more, AFAIK cpu_get_phys_page_debug returns complete physical
> address, not just
> physical page. Probably it has a misleading name.
Unfortunately, cpu_get_phys_page_debug does NOT deliver the sub-page
offset, only the page base address. So the regression was caused by this
refactoring.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
- [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/23
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/23
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion,
Jan Kiszka <=
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Jan Kiszka, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Avi Kivity, 2012/05/24
- Re: [Qemu-devel] [PATCH] TCG: Fix TB invalidation after breakpoint insertion/deletion, Max Filippov, 2012/05/24