All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Farman <farman@linux.ibm.com>
To: Collin Walling <walling@linux.ibm.com>,
	qemu-devel@nongnu.org, qemu-s390x@nongnu.org
Cc: Hendrik Brueckner <brueckner@linux.ibm.com>,
	David Hildenbrand <david@kernel.org>,
	Richard Henderson <richard.henderson@linaro.org>,
	Ilya Leoshkevich <iii@linux.ibm.com>,
	Cornelia Huck <cohuck@redhat.com>,
	Matthew Rosato <mjrosato@linux.ibm.com>,
	qemu-stable@nongnu.org
Subject: Re: [PATCH v2 0/2] s390: mark features that depend on deprecated features as deprecated
Date: Fri, 9 Oct 2026 17:09:52 -0400	[thread overview]
Message-ID: <d7892f64-bb8f-433c-a389-1ff5cb99b33c@linux.ibm.com> (raw)
In-Reply-To: <20261009185559.144750-1-walling@linux.ibm.com>



On 10/9/26 2:55 PM, Collin Walling wrote:
> Changelog:
>    v2
>      - updated loop structure to restart and check if previous dependencies
>         need to be accounted for
>      - added fixes tag to patch #2
> 
> Description:
> 
> When the CPU model deprecated-features work was completed in QEMU, features that
> have a dependency on a deprecated feature were not themselves marked deprecated.
> This patch series corrects that oversight.
> 
> Specifically, ineff_nc_tx depends on te, which has been deprecated. When a user
> starts a VM with deprecated features disabled, QEMU currently emits:
> 
>      warning: 'ineff_nc_tx' requires 'te'
> 
> With these patches, query-cpu-model-expansion includes ineff_nc_tx in the
> deprecated-props array alongside the other deprecated features:
> 
> {
>    "return": {
>      "deprecated-props": [
>        "ineff_nc_tx",
>        "bpb",
>        "te",
>        "cte",
>        "csske"
>      ],
>      "model": {
>        "name": "gen17a-base",
>        "props": { ... }
>      }
>    }
> }
> 
> libvirt uses this response to determine which features to disable when the
> deprecated_features=on|off attribute is set. With these patches, ineff_nc_tx
> will be disabled along with the other deprecated features. The result can be
> verified with virsh domcapabilities:
> 
> $ virsh domcapabilities --disable-deprecated-features \
>      --xpath "/domainCapabilities/cpu/mode[@name='host-model']/feature[@policy='disable']"
> <feature policy="disable" name="bpb"/>
> <feature policy="disable" name="csske"/>
> <feature policy="disable" name="cte"/>
> <feature policy="disable" name="ineff_nc_tx"/>
> <feature policy="disable" name="te"/>
> 
> Collin L. Walling (2):
>    target/s390x: externalize feat dependency array
>    target/s390x: mark feats dependent on deprecated feats as deprecated
> 
>   target/s390x/cpu_features.c | 139 ++++++++++++++++++++++++++++++++++++
>   target/s390x/cpu_features.h |   4 ++
>   target/s390x/cpu_models.c   | 133 ++--------------------------------
>   3 files changed, 148 insertions(+), 128 deletions(-)
> 

For the series:

Reviewed-by: Eric Farman <farman@linux.ibm.com>

I'll pick this up and toss it in our CI for a few days. Thank you!!



      parent reply	other threads:[~2026-10-09 21:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-09 18:55 [PATCH v2 0/2] s390: mark features that depend on deprecated features as deprecated Collin Walling
2026-10-09 18:55 ` [PATCH v2 1/2] target/s390x: externalize feat dependency array Collin Walling
2026-10-09 20:37   ` Matthew Rosato
2026-10-09 18:55 ` [PATCH v2 2/2] target/s390x: mark feats dependent on deprecated feats as deprecated Collin Walling
2026-10-09 20:41   ` Matthew Rosato
2026-10-09 21:07     ` Eric Farman
2026-10-09 20:37 ` [PATCH v2 0/2] s390: mark features that depend on deprecated features " Matthew Rosato
2026-10-09 21:09 ` Eric Farman [this message]

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=d7892f64-bb8f-433c-a389-1ff5cb99b33c@linux.ibm.com \
    --to=farman@linux.ibm.com \
    --cc=brueckner@linux.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@kernel.org \
    --cc=iii@linux.ibm.com \
    --cc=mjrosato@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=walling@linux.ibm.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.