[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/4] x86/microcode: Allow reading microcode revision even if it can't be updated
- To: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Wed, 5 Jul 2023 15:00:31 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R2jF+Fk+1av2peT0OTKrWYAC9FnMUH30qKEkY/xy79Q=; b=Nr/d8vXblj/EaNFIDAEOnVSlgtm59z1uXHXYH8o1oGkSJjcsUFrRAMZu/4aitH0oFZ1tT49wQ3M2yYpgWNMgWZRQQinbGtHa9usO6pDpOXtyIH49rHVZMMQ8UOv9ThaBTELd3AZ5UduF6yyIIq310QnGX1RuXOW7hX5LiJ9M9ef8FMvTnNUFg+ZUR7BZ/ae4vuBEETB0wVPL++GFuUSSySXXHNrpMZPzbkQYdSTZKMd1c9c0sbcqiJereJniUSo0ubuUUxn6weQj3ZmYIrLVmLk4F4hnw3ePiZ7r5C1WTIDj2yweYYAihGDw3l/1G/zEaKjP6PiViTK3a2AQcJFl4Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DThuuqUeHZNXUA+vbQU8sDTl0kcwft4/JpZ6No2w6v6L6rxgGfRPrCkugPeR2Gk1bm25XPxJSi91VEHGoJO5TawKJ+FWMUZKsTKiz9pQ01ufm/H+2LTVXAG+58YERyCvLYfHYuC/88BwVyaJx1Ntdj/eFRHbJOH4A0tkwmrDMAteJy+bJ/KLuycDK8m7hXsVfHnTdi48cDqZ1gC9IcPQERE2zDKBt5OmrDplu0gA6OfLsm5IeyjxEYizAhdYErQhjhnTQ7nWJWOGNa9N1a12QuDxc0XKzc0BmHZiA5fY/lu0cJ124hds7yMHMFADwA9CDXU7H6aiE56RUrAlYCGL3g==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Wed, 05 Jul 2023 14:01:03 +0000
- Ironport-data: A9a23:l6YoR6ztKWoAaPqVd4d6t+f3xyrEfRIJ4+MujC+fZmUNrF6WrkVUm GoZW2yGPvaKMzSmKYhxbYm0oB4BsJPQnNA3SARq+SAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw/zF8EoHUMja4mtC5QRhPa0T5jcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KTtJ1 s0/FBInVCi4ifOT+PGqTs5Krf12eaEHPKtH0p1h5RfwKK9+BLrlHODN79Ie2yosjMdTG/qYf 9AedTdkcBXHZVtIJ0sTD5U92uyvgxETcRUB8A7T+fVxvDCVlVQguFTuGIO9ltiibMNZhEuH4 EnB+Hz0GEoyP92D0zuVtHmrg4cjmAuiAd9MSeXgrqACbFu7wGMRSyc7a3iBhbqArECAYddwC UAaw397xUQ13AnxJjXnZDWxpHOGtxgQQd0WDeQ+7AyPzYLf5wGECi4PSTspQMwrsoo6SCIn0 neNnsj1Hnp/vbuNU3Wf+7yI6zSoNkA9L2UPeCsFRgst+MT4rcc4iRenZslnOL64iJvyAz6Y/ tyRhC03hrFWh8hU0ay+pAjDm2j1/smPSRMp7ALKWG7j9hl+eIOue42v7x7c8OpEK4GaCFKGu RDohvSj0QzHNrnV/ATlfQnHNOjBCyqtWNEEvWNSIg==
- Ironport-hdrordr: A9a23:39wCrK9+u3PvU53XeWFuk+AVI+orL9Y04lQ7vn2ZKSY5TiX4rb HKoB1/73XJYVkqN03I9ervBEDiewK/yXcW2+ks1N6ZNWGLhILBFupfBODZsl7d8kPFl9K01c 1bAtJD4N+bNykGsS74ijPIb+rJ2LO8gcSVbX+19QYUceltAZsQiDtRO0KgPWBdYhJJPpY9HI r03Ls9m9LxEU5nCPhSHxM+LpH+m+E=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 29/06/2023 4:26 pm, Alejandro Vallejo wrote:
> microcode_update_one() currently assumes all microcode handlers are set or
> none are. That won't be the case in a future patch, as apply_microcode()
> may not be set while the others are. Hence, this patch allows reading the
> microcode revision even if updating it is unavailable.
>
> Signed-off-by: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx>
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
|