Re: [PATCH] target/i386: Fix reporting of CPU dies when nr_cores=nr_threads=1

2023-08-15 Thread
On Thu, 27 Jul 2023 at 19:16, ‍小太 wrote: > > On Thu, 27 Jul 2023 at 11:25, Xiaoyao Li wrote: > > > > On 7/24/2023 2:59 AM, 小太 wrote: > > > When QEMU is started with `-smp D,sockets=1,dies=D,cores=1,threads=1` > > > (that > > > is, 1 socket with D di

Re: [PATCH] target/i386: Fix reporting of CPU dies when nr_cores=nr_threads=1

2023-07-27 Thread
On Thu, 27 Jul 2023 at 11:25, Xiaoyao Li wrote: > > On 7/24/2023 2:59 AM, 小太 wrote: > > When QEMU is started with `-smp D,sockets=1,dies=D,cores=1,threads=1` (that > > is, 1 socket with D dies but each die contains just a single thread), both > > Linux and Windows guest

[PATCH] target/i386: Fix reporting of CPU dies when nr_cores=nr_threads=1

2023-07-23 Thread
different from model to model, so I've left it untouched. (QEMU seems to use the Naples definition) - MSR_CORE_THREAD_COUNT: This MSR doesn't exist on Milan or Naples Signed-off-by: 小太 --- target/i386/cpu.c | 12 ++

[Qemu-devel] [Bug 1596160] Re: SIGSEGV in memory_region_access_valid on Sabre Lite board

2016-06-25 Thread
Attached, though I've since recompiled it (with no further changes) so addresses might no longer match the ones in my original report. It still crashes, though ** Attachment added: "Crashing U-Boot" https://bugs.launchpad.net/qemu/+bug/1596160/+attachment/4690135/+files/u-boot -- You receive

[Qemu-devel] [Bug 1596160] Re: SIGSEGV in memory_region_access_valid on Sabre Lite board

2016-06-25 Thread
Registers at location of crash: (gdb) info reg r0 0x0 0 r1 0x1788 394264584 r2 0x178655e8 394679784 r3 0x0 0 r4 0xe880 -394264576 r5 0x17800338 394265400 r6 0x0 0 r7

[Qemu-devel] [Bug 1596160] [NEW] SIGSEGV in memory_region_access_valid on Sabre Lite board

2016-06-25 Thread
Public bug reported: I'm trying to emulate a Sabre Lite board and booting U-Boot, but I'm encountering a SIGSEGV almost immediately after starting QEMU. QEMU version: 6f1d2d1c5ad20d464705b17318cb7ca495f8078a U-Boot version: mx6qsabrelite_defconfig 2016.05 (with http://git.denx.de/?p=u-boot.git;a

[Qemu-devel] [Bug 1596160] Re: SIGSEGV in memory_region_access_valid on Sabre Lite board

2016-06-25 Thread
I've narrowed the crash to a stmia instruction in U-Boot's relocate_code: Breakpoint 3, relocate_code () at arch/arm/lib/relocate.S:81 81 subsr4, r0, r1 /* r4 <- relocation offset */ (gdb) disas Dump of assembler code for function relocate_code: 0x17802620 <+0>: