From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 920CBE92FF8 for ; Fri, 6 Oct 2023 08:21:19 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qog4o-0004yI-An; Fri, 06 Oct 2023 04:20:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qog4h-0004uI-C8 for qemu-devel@nongnu.org; Fri, 06 Oct 2023 04:20:43 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qog4d-0006VZ-Uq for qemu-devel@nongnu.org; Fri, 06 Oct 2023 04:20:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696580438; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4KhGpVRS5tkS4jTXcC+sNylEj6GJCpAk6LDPCxPVelE=; b=HZueEKov/Y7cpWu7Mu6xNC8NaVPwbwK3Wznew6VjAIXoM2KBuPWNYzjviZ9DIWSjrNEWPb 1+LbSqAJ1+uNcxO/m/5SKfRpCfj1RuYaPM0vCBy5wbUqpjA6tODaE/cQfrTXajR8VqKsXK 4D7ra0lLZs/LbUAbmghbHvIq53HyvE8= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-185-FF4zajQ-MKuq0bMYO8frWA-1; Fri, 06 Oct 2023 04:20:27 -0400 X-MC-Unique: FF4zajQ-MKuq0bMYO8frWA-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-66216e7385fso18811376d6.3 for ; Fri, 06 Oct 2023 01:20:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696580427; x=1697185227; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4KhGpVRS5tkS4jTXcC+sNylEj6GJCpAk6LDPCxPVelE=; b=j8esGVKIhEKhAAYrO1KYImtlGEaRIHkFLpf0fIjsH5tUlU6b/PUcmcAU5lI1y08vW2 ZGHpj0wV1nUgUb5Kc0j2I0QzdaIgSKGx7Dp5Ghr4bSaWJxVZi6u2K0pUoDUJP5bszdji NM8NLF/vIHjekGcbqg+EyBUu6lpwprVH0msjhNgJJeGz/ZAMKOI1+Y9wX0jY3QLlBeiQ fwQ3qswnLh+PR27FzqpoJr2HxEhtZVdzbjYjCWnOSTDMYxi2Ei1IKABfm/RlyFCrqPc9 SCLDoqCB7YI8jrF2IN/2hKoT6PPbaONi7HS6F4UjgzhuUJs+b9ABiUZIeDWm9ctPxtKS HcNw== X-Gm-Message-State: AOJu0YxiFDPHP7+k1GhI4jqzapgWpJ9QYcwoQnOGD8nMZ9bolY9WEISh rlVs/ofG5oPtMhw2A4MYAFVA+QBMjX08nEox6Pp6rrfFfDg43f52fKj1jMlxT6JOiIqxwswEwxu mXzfBT3UKy9/wojw= X-Received: by 2002:a05:6214:459d:b0:658:8f94:5921 with SMTP id op29-20020a056214459d00b006588f945921mr8948400qvb.59.1696580426522; Fri, 06 Oct 2023 01:20:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHu/JfAC/vYYb/xwNjctah7b3GYb0EiV4fD7dbQjqRNSAJDql9kcf9A28DSTiiNUSRV8i7IFw== X-Received: by 2002:a05:6214:459d:b0:658:8f94:5921 with SMTP id op29-20020a056214459d00b006588f945921mr8948371qvb.59.1696580426252; Fri, 06 Oct 2023 01:20:26 -0700 (PDT) Received: from [10.33.192.205] (nat-pool-str-t.redhat.com. [149.14.88.106]) by smtp.gmail.com with ESMTPSA id x20-20020a0cda14000000b0064f53943626sm1176522qvj.89.2023.10.06.01.20.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Oct 2023 01:20:25 -0700 (PDT) Message-ID: Date: Fri, 6 Oct 2023 10:20:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v25 09/21] qapi/s390x/cpu topology: set-cpu-topology qmp command Content-Language: en-US To: Nina Schoetterl-Glausch , qemu-devel@nongnu.org, qemu-s390x@nongnu.org, Eduardo Habkost , Marcel Apfelbaum , Paolo Bonzini , Richard Henderson , David Hildenbrand , Halil Pasic , Christian Borntraeger , Eric Farman , Eric Blake , Markus Armbruster , Michael Roth Cc: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Yanan Wang , =?UTF-8?Q?Daniel_P=2e_Berrang=c3=a9?= , Ilya Leoshkevich , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal , Pierre Morel References: <20231005160155.1945588-1-nsg@linux.ibm.com> <20231005160155.1945588-10-nsg@linux.ibm.com> From: Thomas Huth In-Reply-To: <20231005160155.1945588-10-nsg@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -62 X-Spam_score: -6.3 X-Spam_bar: ------ X-Spam_report: (-6.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-4.219, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 05/10/2023 18.01, Nina Schoetterl-Glausch wrote: > From: Pierre Morel > > The modification of the CPU attributes are done through a monitor > command. > > It allows to move the core inside the topology tree to optimize > the cache usage in the case the host's hypervisor previously > moved the CPU. > > The same command allows to modify the CPU attributes modifiers > like polarization entitlement and the dedicated attribute to notify > the guest if the host admin modified scheduling or dedication of a vCPU. > > With this knowledge the guest has the possibility to optimize the > usage of the vCPUs. > > The command has a feature unstable for the moment. > > Signed-off-by: Pierre Morel > Reviewed-by: Nina Schoetterl-Glausch > Co-developed-by: Nina Schoetterl-Glausch > Signed-off-by: Nina Schoetterl-Glausch > --- > qapi/machine-target.json | 42 +++++++++++++ > hw/s390x/cpu-topology.c | 132 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 174 insertions(+) Reviewed-by: Thomas Huth