Received: by 10.223.176.5 with SMTP id f5csp2184594wra; Thu, 8 Feb 2018 09:44:32 -0800 (PST) X-Google-Smtp-Source: AH8x225a5Mf4JNSsUI+FS3m7FmXgdkTAaVG7CUUdidSqYDsVImu9s8jDq8uHvkSZ3RZ1WEzvbBb0 X-Received: by 2002:a17:902:4283:: with SMTP id h3-v6mr1358569pld.175.1518111872675; Thu, 08 Feb 2018 09:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518111872; cv=none; d=google.com; s=arc-20160816; b=qpVcqsDkn2VbOjn0hhEgNEAQvjdBU3xPK1PIAK2/rOq+nw9v1Mi+tBrw+QkNvTklfV F2+SkItDwkiZqvSFKAQ4RkwetVXuUOmr294ZmvausEGoHYxVeQw0WcfG52jc39CPye7G 6HrpFn30ZKU0HCIIOKwPj+gHICg7524XzOLPbKoEKehrb3RvAgBs+ivrlq/b0H4uFa4S x0tLOxoL/I5SBObWQb6AG0iMug1oZiRmma4lsH8E0g8jeHKdjOI7YC9PzRxfGBltD8xP NeyndwIVYzCGySLx14k3AOBkcWQgVgGMqjOiTgTXzL6We/6cuCWbV9vc/tr5lpSceCJS BvOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=YIurag2xC9G3NHsdhF81KfpWvcTcYOBIPvf8tsc8dZ8=; b=V2GkhDQwJlvG9mFMbNdB/M+sD6zhexmZ9PkI8WkHJtejffXqdp7EQN/QCOvgRJ+T22 9kIssU4IEnvo8LsUGs+guedfCnw+FmE4VBC0TsKzbiSfTLKRaGmOzdc/ehTZuYFFeBJW erWm07UIaPcFjpvhReD+AEEkH51CWvwz2+oc0bNFzKiHucx1C98h3Fjnv+yY8brI4EDO WzrbiaAckTa/oKQtXlQcB9eQFIdSoYcqa9sbOMr+5HW2w91LaDzp1MfwF+4jMzae9EJz f4i8+LYbs+qIasnDM6DsvC1kXwZPKUlnJDqNy3n9ouzg/A/KFQ2SE34lxOnz6JOU1e+V pVnA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 72-v6si217249ple.299.2018.02.08.09.44.17; Thu, 08 Feb 2018 09:44:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752184AbeBHRmJ (ORCPT + 99 others); Thu, 8 Feb 2018 12:42:09 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35364 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750847AbeBHRmH (ORCPT ); Thu, 8 Feb 2018 12:42:07 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5A8C97C6BA; Thu, 8 Feb 2018 17:42:07 +0000 (UTC) Received: from [10.36.116.177] (ovpn-116-177.ams2.redhat.com [10.36.116.177]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3C46BB07BB; Thu, 8 Feb 2018 17:42:05 +0000 (UTC) Subject: Re: [STABLE 4.9.y PATCH 0/9] Backport of KVM Speculation Control support To: Greg KH , "Woodhouse, David" Cc: Jim Mattson , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, KarimAllah Ahmed , stable@vger.kernel.org References: <1517938181-15317-1-git-send-email-dwmw@amazon.co.uk> <9ea4d52a-7ae6-a179-2f86-1e7b77255387@redhat.com> <1517951146.3677.34.camel@amazon.co.uk> <20180208024959.GA16399@kroah.com> <20180208171436.GA3521@kroah.com> From: Paolo Bonzini Message-ID: Date: Thu, 8 Feb 2018 18:42:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180208171436.GA3521@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 08 Feb 2018 17:42:07 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 08 Feb 2018 17:42:07 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pbonzini@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/2018 18:14, Greg KH wrote: > On Thu, Feb 08, 2018 at 03:49:59AM +0100, Greg KH wrote: >> On Tue, Feb 06, 2018 at 09:05:46PM +0000, Woodhouse, David wrote: >>> >>> >>> On Tue, 2018-02-06 at 19:01 +0100, Paolo Bonzini wrote: >>>> On 06/02/2018 18:29, David Woodhouse wrote: >>>>> I've put together a linux-4.9.y branch at  >>>>> http://git.infradead.org/retpoline-stable.git/shortlog/refs/heads/linux-4.9.y >>>>>   >>>>> Most of it is fairly straightforward, apart from the IBPB on context  >>>>> switch for which Tim has already posted a candidate. I wanted some more >>>>> review on my backports of the KVM bits though, including some extra >>>>> historical patches I pulled in. >>>> >>>> Looks good!  Thanks for the work, >>>> >>>> Paolo >>> >>> Thanks. In that case, Greg, the full set is lined up in >>> http://git.infradead.org/retpoline-stable.git/shortlog/refs/heads/linux-4.9.y >>> or git://git.infradead.org/retpoline-stable linux-4.9.y >> >> Many thanks for all of this work. I've now queued up all of these. > > There's a problem with the backport of 6342c50ad12e ("KVM: nVMX: > vmx_complete_nested_posted_interrupt() can't fail") as there is still a > check in the function that can fail: > > vapic_page = kmap(vmx->nested.virtual_apic_page); > if (!vapic_page) { > WARN_ON(1); > return -ENOMEM; > } > > Do we need something else before this patch in order to fix this? I > guess kmap really can't fail, should I just drop the whole (!vapic_page) > check? Yes, that would be commit 42cf014d38d8822cce63703a467e00f65d000952. Should David or I respin? Thanks, Paolo