All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Morel <pmorel@linux.ibm.com>
To: qemu-s390x@nongnu.org
Cc: thuth@redhat.com, mjrosato@linux.ibm.com, david@redhat.com,
	farman@linux.ibm.com, cohuck@redhat.com,
	richard.henderson@linaro.org, qemu-devel@nongnu.org,
	pasic@linux.ibm.com, borntraeger@de.ibm.com
Subject: [PATCH 0/1] s390x:clp: implementing CLP immediate commands
Date: Fri, 17 Sep 2021 14:06:52 +0200	[thread overview]
Message-ID: <1631880413-20655-1-git-send-email-pmorel@linux.ibm.com> (raw)

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



             reply	other threads:[~2021-09-17 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 12:06 Pierre Morel [this message]
2021-09-17 12:06 ` [PATCH 1/1] s390x:clp: implementing CLP immediate commands Pierre Morel
2021-09-17 13:55   ` Matthew Rosato
2021-10-12  7:27   ` Thomas Huth
2021-10-12 14:26     ` Pierre Morel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1631880413-20655-1-git-send-email-pmorel@linux.ibm.com \
    --to=pmorel@linux.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=farman@linux.ibm.com \
    --cc=mjrosato@linux.ibm.com \
    --cc=pasic@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.