Received: by 10.223.185.116 with SMTP id b49csp3647967wrg; Mon, 26 Feb 2018 03:45:40 -0800 (PST) X-Google-Smtp-Source: AH8x2262UI0bVm0nwhquXTA4d0NDmXIHzSUy7/K8G2iMYIhuruZ1Kn5+9mLOybZJLMsVotE1P9Ri X-Received: by 2002:a17:902:3a1:: with SMTP id d30-v6mr10186504pld.409.1519645540798; Mon, 26 Feb 2018 03:45:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519645540; cv=none; d=google.com; s=arc-20160816; b=ganwulqv9rDUpQueLoY2wPPF8ztSRvQke1Pj4GgrbXds2MkDQ99LxTwmljYGqK79my pnbBcpo5wTJuFTDnnoR/577GoNPD0GblDG/seLSvJkboBIsWZ4RhO1pcPWTMX4Nj7o91 xXKtqu1iUkM/PxDhaRN2qrf3e6FkMoedjjj7wMi+ZMVsq+2W+5uRFDi9ppU+L4uEZSim kCB0v6d4+waIAq6B1EIazXagScZJmTIMkDPojX9vDQVWoAtMkDDjDNujTknd2kE5f2xJ QLwkQKUD5m/M9m+gOc7ML3jzEdQ6vFb0vpVZMKTgT/IisXNh6o0QoSERgfXck3OaHRME kq7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=hE9TkRU4KioVgODpcSLGXvuEvvDvYA/vUxfUkuoy08M=; b=fbxGrYFntYGtvQPC0hBDStw9iZgijnpBhnpBrSQFqVXZ6fhZhUbqpR5ExBuQe79yHD 4IG9z2/MAoOIF3ImdnoUnYOZef9WByUPlIoTfK4AiN/sf9DdjTWY94RTLMTZoTOiXtYX QR118n/gTozoKJXlHZ5t7JI4+iTYqqpqpbFBuGza2oZgak65JVKd0lFvr+X57TcjTWMT opnEVtgk+w4bMnnJlKZMiP80+t/MMTA19rZNu3nXxVy1m9uqQxeLekAO6Shdvyg+AzIk zHQ/C3PndETD4I+2JnptX5EJiEc7B0cAduYMzuuXdzQMs1f0rDfbQRRUuDgrNGRaT5AT utJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h12-v6si6578718pls.265.2018.02.26.03.45.26; Mon, 26 Feb 2018 03:45:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752834AbeBZLoe (ORCPT + 99 others); Mon, 26 Feb 2018 06:44:34 -0500 Received: from mail.skyhub.de ([5.9.137.197]:53120 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264AbeBZLob (ORCPT ); Mon, 26 Feb 2018 06:44:31 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id E1A7IQ4q1Clt; Mon, 26 Feb 2018 12:44:29 +0100 (CET) Received: from pd.tnic (p200300EC2BCE210020411134B639594E.dip0.t-ipconnect.de [IPv6:2003:ec:2bce:2100:2041:1134:b639:594e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B629D1EC098E; Mon, 26 Feb 2018 12:44:29 +0100 (CET) Date: Mon, 26 Feb 2018 12:44:09 +0100 From: Borislav Petkov To: Wanpeng Li Cc: LKML , kvm , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] KVM: X86: Allow userspace to define the microcode version Message-ID: <20180226114409.GD4377@pd.tnic> References: <1519629838-4898-1-git-send-email-wanpengli@tencent.com> <20180226094148.GA15539@pd.tnic> <20180226104921.GA4377@pd.tnic> <20180226111630.GB4377@pd.tnic> <20180226113000.GC4377@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 26, 2018 at 07:37:32PM +0800, Wanpeng Li wrote: > The guest write is ignored as the original kvm implementation before the patch. That will never work because there's no virtualized microcode loader. Which will be a dumb idea anyway. Goes to show that dealing with microcode revisions for a guest is the wrong approach. > Hmm, the apic_check_deadline_errata() example can be referred to. So that's basically what I'm saying - fix apic_check_deadline_errata() to check whether the kernel runs as a guest. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.