From patchwork Tue Mar 21 11:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Dyasli X-Patchwork-Id: 13182656 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.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 E4FB4C761A6 for ; Tue, 21 Mar 2023 11:48:10 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.512362.792358 (Exim 4.92) (envelope-from ) id 1peaT9-0001HG-OW; Tue, 21 Mar 2023 11:47:59 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 512362.792358; Tue, 21 Mar 2023 11:47:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1peaT9-0001Fk-Kg; Tue, 21 Mar 2023 11:47:59 +0000 Received: by outflank-mailman (input) for mailman id 512362; Tue, 21 Mar 2023 11:47:58 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1peaT8-0001DD-HP for xen-devel@lists.xenproject.org; Tue, 21 Mar 2023 11:47:58 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 34ed4f05-c7de-11ed-b464-930f4c7d94ae; Tue, 21 Mar 2023 12:47:54 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 34ed4f05-c7de-11ed-b464-930f4c7d94ae DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1679399275; h=from:to:cc:subject:date:message-id:mime-version; bh=rAIZjgG2rZhi1dnmrxQUcW0cV4W0rLAdPQfcshNxphA=; b=fCMxaM8Ubi/wDKg6cftGfBSHsyl8ikjHhU3RNK0M1AXD8blO93tiQuK8 /RcljHY8ZPd/hXSjUbKKk6H0zUBHxVSuB5CbcxwJ8kULQwQanKO1qI14N kM8skblN7236E0rbiVT/G2j37YRiGoduuPI3ICbE/VB0N6IkRRgANa8gM Y=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 5.1 X-MesageID: 101601995 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:N8rruaKvguahVR2pFE+R5ZUlxSXFcZb7ZxGr2PjKsXjdYENS0zRVz 2pJWmrQOfaKM2TxeNhzO4jn8B9Xv8eHm4NqQQRlqX01Q3x08seUXt7xwmUcnc+xBpaaEB84t ZV2hv3odp1coqr0/0/1WlTZhSAgk/rOHvykU7Ss1hlZHWdMUD0mhQ9oh9k3i4tphcnRKw6Ws Jb5rta31GWNglaYCUpJrfPTwP9TlK6q4mhA5QZnPakjUGL2zBH5MrpOfcldEFOgKmVkNrbSb /rOyri/4lTY838FYj9yuu+mGqGiaue60Tmm0hK6aYD76vRxjnVaPpIAHOgdcS9qZwChxLid/ jnvWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I+QrvBIAzt03ZHzaM7H09c5cXTpny v0lcgk0LSCZm9mM8YmDTMJV05FLwMnDZOvzu1llxDDdS/0nXYrCU+PB4towMDUY354UW6yEP oxANGQpNU6bC/FMEg5/5JYWh+qyiXTuNTFJoUmRpII84nTJzRw327/oWDbQUoXSHJsNxxfJ+ woq+UzmCBIza+O/7AC6zWCh3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pSVFZtl/1XwKoVKuZ3IMvC0vFRLA C6NrCV2B5UGWnqEEwx8FMfjOBEZU5DYitucnJyx/B97AIm5kyR73FotfD3zU1whK7VDaM0k9 j5Dg== X-IronPort-AV: E=Sophos;i="5.98,278,1673931600"; d="scan'208";a="101601995" From: Sergey Dyasli To: CC: Jan Beulich , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Anthony PERARD , Juergen Gross , George Dunlap , Julien Grall , Stefano Stabellini , Sergey Dyasli Subject: [PATCH v3 0/3] xen-ucode: print information about currently loaded ucode Date: Tue, 21 Mar 2023 11:47:42 +0000 Message-ID: <20230321114745.11044-1-sergey.dyasli@citrix.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 For v3 I've removed the usage of xenhypfs and gone back to adding a new platform op. Sergey Dyasli (3): tools/xenctrl: add xc_get_cpu_version() x86/platform: introduce XENPF_get_ucode_version tools/xen-ucode: print information about currently loaded ucode tools/include/xenctrl.h | 3 ++ tools/libs/ctrl/xc_misc.c | 41 +++++++++++++++ tools/misc/xen-ucode.c | 66 ++++++++++++++++++++++++ xen/arch/x86/platform_hypercall.c | 30 +++++++++++ xen/arch/x86/x86_64/platform_hypercall.c | 4 ++ xen/include/public/platform.h | 12 +++++ xen/include/xlat.lst | 1 + 7 files changed, 157 insertions(+)