linux-stable/arch/s390/kvm
Claudio Imbrenda 07fbdf7f93 KVM: s390: pv: usage counter instead of flag
Use the new protected_count field as a counter instead of the old
is_protected flag. This will be used in upcoming patches.

Increment the counter when a secure configuration is created, and
decrement it when it is destroyed. Previously the flag was set when the
set secure parameters UVC was performed.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Link: https://lore.kernel.org/r/20220628135619.32410-6-imbrenda@linux.ibm.com
Message-Id: <20220628135619.32410-6-imbrenda@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
2022-07-13 14:42:11 +00:00
..
Kconfig KVM: Use interval tree to do fast hva lookup in memslots 2021-12-08 04:24:32 -05:00
Makefile KVM: s390: pci: add basic kvm_zdev structure 2022-07-11 09:54:27 +02:00
diag.c KVM: s390: restore old debugfs names 2021-07-27 16:59:00 -04:00
gaccess.c KVM: s390: Don't indicate suppression on dirtying, failing memop 2022-05-20 16:38:42 +02:00
gaccess.h KVM: s390: Add vm IOCTL for key checked guest absolute memory access 2022-02-14 16:12:57 +01:00
guestdbg.c KVM: s390: Add memcg accounting to KVM allocations 2020-12-10 13:36:05 +01:00
intercept.c KVM: s390: Honor storage keys when accessing guest memory 2022-02-14 16:12:57 +01:00
interrupt.c KVM: s390: drop unexpected word 'and' in the comments 2022-07-11 11:29:51 +02:00
irq.h
kvm-s390.c KVM: s390/pci: enable zPCI for interpretive execution 2022-07-11 11:28:57 +02:00
kvm-s390.h KVM: s390/pci: enable zPCI for interpretive execution 2022-07-11 11:28:57 +02:00
pci.c KVM: s390: add KVM_S390_ZPCI_OP to manage guest zPCI devices 2022-07-11 09:54:38 +02:00
pci.h KVM: s390/pci: fix include duplicates 2022-07-13 10:10:02 +02:00
priv.c s390/ptrace: move short psw definitions to ptrace header file 2022-05-06 20:45:15 +02:00
pv.c KVM: s390: pv: usage counter instead of flag 2022-07-13 14:42:11 +00:00
sigp.c KVM: s390: Clarify SIGP orders versus STOP/RESTART 2021-12-17 14:52:47 +01:00
trace-s390.h
trace.h
vsie.c KVM: Add helpers to wrap vcpu->srcu_idx and yell if it's abused 2022-04-21 13:16:11 -04:00