Re: seoul vmm in qemu

2024-01-09 Thread Ivan Loskutov

Hi Alex,

Thanks for the information. I don't use it yet, but it is good to have a 
fixed packages.


On 1/5/24 10:13, Alexander Boettcher wrote:

Hi Ivan,

great that it works for you. In case you are using Sculpt OS 23.10, I 
re-published yesterday all packages with the fix. A short smoke test on 
a Gen12 notebook looks good so far.


Cheers,

Alex.

On 1/3/24 10:53 PM, Ivan Loskutov wrote:

Hi Alexander,

 > So, you may try to whitelist the access in _handle_wrmsr_intel [2]. At
 > moment the functionality of [0] is not supported/emulated.

Thank you for the quick response. It works now.

--
Best Regards
Ivan Loskutov

___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users




___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users


Re: seoul vmm in qemu

2024-01-05 Thread Alexander Boettcher

Hi Ivan,

great that it works for you. In case you are using Sculpt OS 23.10, I 
re-published yesterday all packages with the fix. A short smoke test on 
a Gen12 notebook looks good so far.


Cheers,

Alex.

On 1/3/24 10:53 PM, Ivan Loskutov wrote:

Hi Alexander,

 > So, you may try to whitelist the access in _handle_wrmsr_intel [2]. At
 > moment the functionality of [0] is not supported/emulated.

Thank you for the quick response. It works now.

--
Best Regards
Ivan Loskutov

___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users


--
Alexander Boettcher
Genode Labs

https://www.genodians.org - https://www.genode.org

___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users


Re: seoul vmm in qemu

2024-01-03 Thread Ivan Loskutov

Hi Alexander,

> So, you may try to whitelist the access in _handle_wrmsr_intel [2]. At
> moment the functionality of [0] is not supported/emulated.

Thank you for the quick response. It works now.

--
Best Regards
Ivan Loskutov

___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users


Re: seoul vmm in qemu

2024-01-03 Thread Alexander Boettcher

Hi Ivan,

On 03.01.24 21:48, Ivan Loskutov wrote:

I am trying to run seoul demos from genode-world in qemu. It works on my PC but 
doesn't work on my laptop. The VM is getting stuck on booting. Last messages in 
the log:

[init -> seoul] VMM: #   [    0.00] Console: colour dummy device 80x25
[init -> seoul] VMM: #   [    0.00] printk: console [tty0] enabled
[init -> seoul] VMM: #   [    0.00] printk: bootconsole [earlyser0] disabled
[init -> seoul] VMM: [1]
[init -> seoul] VMM: unsupported rdmsr 396 at 810186f7
[init -> seoul] VMM: [0]
[init -> seoul] VMM: unsupported wrmsr 2ff0 <-(0:2000) at 8101854f


I suspect that it can be related to CPU. On PC I have i5-9600K, on laptop - 
i7-1270P.


according to [0] the wrmsr to 0x2ff0 seems to be ADL_UNC_PERF_GLOBAL_CTL, so 
indeed is Adlerlake specific.

Unknown wrmsr accesses are handled as fatal and the Seoul VMM with inject a 
general protection fault (GP) to the guest.

So, you may try to whitelist the access in _handle_wrmsr_intel [2]. At moment 
the functionality of [0] is not supported/emulated.

Cheers,

Alex.

[0] 
https://github.com/torvalds/linux/blob/master/arch/x86/events/intel/uncore_snb.c
[1] contrib/seoul/src/app/seoul/model/vcpu.cc



Any ideas on how to fix it? Thanks!

--
Best Regards
Ivan Loskutov


___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users


--
Alexander Boettcher
Genode Labs

https://www.genodians.org - https://www.genode.org

___
Genode users mailing list
users@lists.genode.org
https://lists.genode.org/listinfo/users