mbox series

[0/1] s390x:clp: implementing CLP immediate commands

Message ID 1631880413-20655-1-git-send-email-pmorel@linux.ibm.com (mailing list archive)
Headers show
Series s390x:clp: implementing CLP immediate commands | expand

Message

Pierre Morel Sept. 17, 2021, 12:06 p.m. UTC
CLP immediate commands allow to query the Logical Processor
available on the machine and to check for a specific one.

I do not see any reason to not implement it.

The check for an immediate command is done on bit 0 of the RRF i3
field so let's implement a new clp_immediate_cmd() to handle CLP
immediate commands.

AFAIK only the basi processor, with Logical Processor Selector 0,
LPS==0, and the PCI processor, LPS==2, are currently available on
QEMU.


Pierre Morel (1):
  s390x:clp: implementing CLP immediate commands

 hw/s390x/s390-pci-inst.c         | 33 ++++++++++++++++++++++++++++++++
 include/hw/s390x/s390-pci-inst.h |  5 +++++
 target/s390x/kvm/kvm.c           |  6 ++++++
 3 files changed, 44 insertions(+)