qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 0/3] target/s390x: implement idte and improve


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 0/3] target/s390x: implement idte and improve ipte
Date: Thu, 22 Jun 2017 10:39:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 06/22/2017 02:41 AM, David Hildenbrand wrote:
By adding idte, we are now able to expose the DAT-enhancement facility
to our guest. Also, properly simulate and expose the local-tlb-clearing
facility.

To improve the TLB flushing, we will have to remember each used table (or
at least a hash!) for each tlb entry, just like real HW does.

This allows me to start an upstream kernel (having also the mvcos patch
applied) compiled for z9 using:

qemu-system-s390x ... -cpu qemu,mvcos=on,stfle=on,ldisp=on,ldisphp=on,\
                            eimm=on,stckf=on,csst=on,csst2=on,ginste=on,\
                            exrl=on,dateh=on,ltlbc=on

Linux will detect the DAT-enhancement facility and use idte+cspg.

v1 -> v2:
- Allow to enable the DAT-enhancement facility.
- Fix wrong register in idte.
- Simply set m4 to zero in case local-tlb-clearing is not enabled.

Reviewed and applied to my target/s390x tree.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]