All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] s390x:clp: implementing CLP immediate commands
@ 2021-09-17 12:06 Pierre Morel
  2021-09-17 12:06 ` [PATCH 1/1] " Pierre Morel
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Morel @ 2021-09-17 12:06 UTC (permalink / raw)
  To: qemu-s390x
  Cc: thuth, mjrosato, david, farman, cohuck, richard.henderson,
	qemu-devel, pasic, borntraeger

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(+)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-12 14:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 12:06 [PATCH 0/1] s390x:clp: implementing CLP immediate commands Pierre Morel
2021-09-17 12:06 ` [PATCH 1/1] " Pierre Morel
2021-09-17 13:55   ` Matthew Rosato
2021-10-12  7:27   ` Thomas Huth
2021-10-12 14:26     ` Pierre Morel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.