Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux on NVMM

Dear Maxime,

On 2019-11-16, Maxime Villard wrote:
> Le 16/11/2019 à 19:05, Jared McNeill a écrit :
> > On Nov 16, 2019, at 2:04 PM, Maxime Villard <max%m00nbsd.net@localhost> wrote:
> > > 
> > > Do you also intend to run Windows 64bit?
> > 
> > I would love to, but saw the note on your web site that said it wasn’t supported on AMD yet.
> Well that's precisely why I asked: if you have a setup already and can test,
> I can write a patch. Judging by your cpuctl output, your CPU should be able
> to run Win 64bit. Mine cannot (too old), so with no ability to test, I just
> didn't write the support.

I am able to run the Edge browser Win10 test image (although I don't keep it
up to date) on my old AMD. Attached is a screenshot.

$ uname -a
NetBSD HOME 9.99.17 NetBSD 9.99.17 (YORICK.amd64) #3: Sun Nov 17 19:12:29 SAST 2019  root@HOME:/root/build.amd64.local/obj/sys/arch/amd64/compile/YORICK.amd64 amd64

$ cpuctl identify 0
cpu0: highest basic info 00000005
cpu0: highest extended info 8000001b
cpu0: "AMD Athlon(tm) II X3 450 Processor"
cpu0: AMD Family 10h (686-class), 3200.23 MHz
cpu0: family 0x10 model 0x5 stepping 0x3 (id 0x100f53)
cpu0: features 0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
cpu0: features 0x178bfbff<MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
cpu0: features1 0x802009<SSE3,MONITOR,CX16,POPCNT>
cpu0: features2 0xefd3fbff<LONG,3DNOW2,3DNOW>
cpu0: I-cache 64KB 64B/line 2-way, D-cache 64KB 64B/line 2-way
cpu0: L2 cache 512KB 64B/line 16-way
cpu0: ITLB 32 4KB entries fully associative, 16 2MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 2MB entries fully associative
cpu0: L2 ITLB 512 4KB entries 4-way
cpu0: L2 DTLB 512 4KB entries 4-way, 128 2MB entries 2-way
cpu0: L1 1GB page DTLB 48 1GB entries fully associative
cpu0: L2 1GB page DTLB 16 1GB entries 8-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: SMT ID 0
cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
cpu0: monitor-line size 64
cpu0: AMD Power Management features: 0x1f9<TS,TTP,HTC,STC,100,HWP,TSC>
cpu0: SVM Rev. 1
cpu0: SVM NASID 64
cpu0: SVM features 0xf<NP,LbrVirt,SVML,NRIPS>
cpu0: UCode version: 0x10000c8

$ qemu-system-x86_64 -pidfile /tmp/modern10.ie.pid \
   -accel nvmm -m 8192 -display vnc= \
   -device qemu-xhci -device usb-tablet \
   -monitor stdio -machine q35 \
   -netdev user,hostfwd=tcp:,hostfwd=tcp:,id=usernet \
   -device e1000,netdev=usernet,id=net \
   -drive file=win10.img,if=ide,media=disk
NetBSD Virtual Machine Monitor accelerator is operational
QEMU 4.1.0 monitor - type 'help' for more information
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0010020 [val=0xfffff80756015000], ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0010114, ignored
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0010000 [val=0x0], ignored
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0010001 [val=0x0], ignored
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0010002 [val=0x0], ignored
qemu-system-x86_64: NVMM: Unexpected WRMSR 0xc0010003 [val=0x0], ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0xc0010010, ignored

Kind regards,

Yorick Hardy

Attachment: win10.png
Description: PNG image

Home | Main Index | Thread Index | Old Index