summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/kernel/2511
blob: bcb8aba40a676d457e8fdfe5085ff79cf7a2d6fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Regression 9.1.0rc2: target/i386/tcg/access.c:18: access_prepare_mmu: Assertion '...' failed.
Description of problem:
Executing QEMU command line crashes with 
   ```
qemu-system-x86_64: ../target/i386/tcg/access.c:18: access_prepare_mmu: Assertion `size > 0 && size <= TARGET_PAGE_SIZE' failed.
   ```
Steps to reproduce:
1. Download https://www.qemu-advent-calendar.org/2020/download/day07.tar.gz
2. Execute with QEMU command line
Additional information:
git bisect finishes with:
   ```
8b131065080af3cf2dda04e4e190c5a74fec2f31 is the first bad commit
commit 8b131065080af3cf2dda04e4e190c5a74fec2f31
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Tue Jun 18 09:13:49 2024 +0200

    target/i386/tcg: use X86Access for TSS access
    
    This takes care of probing the vaddr range in advance, and is also faster
    because it avoids repeated TLB lookups.  It also matches the Intel manual
    better, as it says "Checks that the current (old) TSS, new TSS, and all
    segment descriptors used in the task switch are paged into system memory";
    note however that it's not clear how the processor checks for segment
    descriptors, and this check is not included in the AMD manual.
    
    Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

 target/i386/tcg/seg_helper.c | 110 +++++++++++++++++++++++--------------------
 1 file changed, 58 insertions(+), 52 deletions(-)
   ```