]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S PR: Implement RFID TM behavior to suppress change from S0 to N0
authorSimon Guo <wei.guo.simon@gmail.com>
Wed, 23 May 2018 07:01:54 +0000 (15:01 +0800)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 1 Jun 2018 00:29:38 +0000 (10:29 +1000)
commit3c1bfb3b6c7d1798f071f76c8692f882e0fecd83
tree53c0d063a9321787bbe75445ae617077254197cc
parente47de3d0e7e6baf1ed5533fadcd8bba57f7e9c87
KVM: PPC: Book3S PR: Implement RFID TM behavior to suppress change from S0 to N0

According to ISA specification for RFID, in MSR TM disabled and TS
suspended state (S0), if the target MSR is TM disabled and TS state is
inactive (N0), rfid should suppress this update.

This patch makes the RFID emulation of PR KVM consistent with this.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_emulate.c