Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2147698pxk; Mon, 14 Sep 2020 06:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwI5A/TmXXpbYr8WxxamAaa9cOraAPlJG6kPV70R6Trgg9lXEKsrlWYLHoTEE58puO61US/ X-Received: by 2002:aa7:d88a:: with SMTP id u10mr17231934edq.217.1600088777797; Mon, 14 Sep 2020 06:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600088777; cv=none; d=google.com; s=arc-20160816; b=n6/cCgo3KLU4L5FpIset8ACa73Ie3s6TZzW1V6gfigFS2YYEQwGageazxIAE38ONUh gp/zwgWLqffNIaffYvbH5QcQ0pM6DNalgB9Gen/gsQAVja9aTFQxrqlk5DP5fTUvcyku 5WgKKINg1LUoV12b+bmc9+qibyK7yvJD7mfmZsVeB0YxAuxOfv3HyKew39JwRUey/1ml X6Ah8cbGDJJnvmnaRkKsow31B+POPtE2xnuhsDvPpI9Mm38Nhov/uWCmL8NPfSlHseLn FfJKdECAkaKchrBIquDVOAbWuXCjaw3S9bMIg5AePGTaYsEYuwUql1JUeRmxCcR3RnaR hNNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=T8zmsg/IzMXQyj8cUpKUiHl2M6KcAvulktd+iXwdmgU=; b=vV98OtPlu+dA2ujbRwq4jTEf0pHfdNlRmjKP6HPCwtm121jgn0hbOdtlLeQmOLWWJK Pay4pJN6o3H3D0fkJjuox9nyjSKn6MQxlEb2tt4+RNNxj0FrTrNh6XPCqrnbsR0Uv1/d LmYhep5A/MW3/qbLC8CD7dyhvGp2JXfZe+23O8QJoiAR6Tcd7/yDzzSt6m0HRnJv6NhK dAmr+ktyboQEIpCZyh3GGtrCSA71fqqttxjfKeH6UIMawJdpX9ja8egXdK0dwSVJG4lj w0aHwJgrBB2Fs22b4XgR5Bk96ODUyhSQa3dOJdBkxvJKEfBZSPXC8XTPyuxIewNgzxlK VOWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QZ9cLYTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si7286368eds.471.2020.09.14.06.05.51; Mon, 14 Sep 2020 06:06:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QZ9cLYTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726163AbgINNCw (ORCPT + 99 others); Mon, 14 Sep 2020 09:02:52 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:34705 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726056AbgINMmy (ORCPT ); Mon, 14 Sep 2020 08:42:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600087372; 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: in-reply-to:in-reply-to:references:references; bh=T8zmsg/IzMXQyj8cUpKUiHl2M6KcAvulktd+iXwdmgU=; b=QZ9cLYTREcCBxCFLiK3aEyC19dIbTX0/LYhEJ6aTPr5Oc75tYis480yg+srlIg2vWi32Ak 1U2SphkDWDwHjqnqQMSENn9APIoYEuwgm1UZMXAnVUybrrv4ife7eNcowl/gmy564uZUFp IvBtc+la+KF9CBkoprHD//7QxxL88Ow= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-357-KAOKS257P9inAAzeFZ_WRQ-1; Mon, 14 Sep 2020 08:42:50 -0400 X-MC-Unique: KAOKS257P9inAAzeFZ_WRQ-1 Received: by mail-wm1-f71.google.com with SMTP id w3so2415619wmg.4 for ; Mon, 14 Sep 2020 05:42:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=T8zmsg/IzMXQyj8cUpKUiHl2M6KcAvulktd+iXwdmgU=; b=TgLH4hOpOJTr494kSG9jo4Ep5/ydUGq1j/rMJ0Rn5uhm0UofosrCQq4NhB7u5QEjs0 ulctrI4MiFJH8tQN41wMb6UpPIy+pzbGkr8YonQuO6TQyhUj0cuZzrlCPPE9Jyus41nW Few/6Gz276N2VatIzFqIhwkiHFB/12em2AZOgUgeAhyC1/3KEdYl0U0rW7ZO01Yis/ZS AFCuGZpoPd50PAmObkNbGf91zmn6eqcYyiB0ABpj+/YdtBKa41QLGgZXf/htRHKwV53M Mt2fVJRTe3clB4qZ84s7z9zztoM7iJh6BFmRDCsRl3whQAG5XDoQhWMRlAKYBR/GLSIW z4sA== X-Gm-Message-State: AOAM530/i1B/+kvMQ4XXv8n3fnXmLNlIcp1In9yFbJkMGfVcY/PVDRyq zR4Uee/RCy8J1Ph0ggQrjQP7l1Xan7Ni05r93RSk/fzBGyJmAirNDmmWzl9KYy4hlTK3FVZlUGB 8zZY4/5arKLXiGLDdRFahJIDj X-Received: by 2002:a1c:7c17:: with SMTP id x23mr15434376wmc.165.1600087369059; Mon, 14 Sep 2020 05:42:49 -0700 (PDT) X-Received: by 2002:a1c:7c17:: with SMTP id x23mr15434355wmc.165.1600087368808; Mon, 14 Sep 2020 05:42:48 -0700 (PDT) Received: from vitty.brq.redhat.com (g-server-2.ign.cz. [91.219.240.2]) by smtp.gmail.com with ESMTPSA id k6sm17725600wmi.1.2020.09.14.05.42.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 05:42:48 -0700 (PDT) From: Vitaly Kuznetsov To: Joerg Roedel Cc: Joerg Roedel , Sean Christopherson , Wanpeng Li , Jim Mattson , x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Carpenter , Borislav Petkov , Paolo Bonzini , Colin King Subject: Re: [PATCH -tip] KVM: SVM: nested: Initialize on-stack pointers in svm_set_nested_state() In-Reply-To: <20200914121304.GC4414@suse.de> References: <20200914115129.10352-1-joro@8bytes.org> <87ft7klg38.fsf@vitty.brq.redhat.com> <20200914121304.GC4414@suse.de> Date: Mon, 14 Sep 2020 14:42:47 +0200 Message-ID: <87d02olebc.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joerg Roedel writes: > Hi Vitaly, > > On Mon, Sep 14, 2020 at 02:04:27PM +0200, Vitaly Kuznetsov wrote: >> this was previously reported by Colin: >> https://lore.kernel.org/kvm/20200911110730.24238-1-colin.king@canonical.com/ >> >> the fix itself looks good, however, I had an alternative suggestion on how >> to fix this: >> https://lore.kernel.org/kvm/87o8mclei1.fsf@vitty.brq.redhat.com/ > > This looks good to me, mind sending your diff as a patch with correct > Fixes tag? > Sure, I was under the impression your "KVM: SVM: nested: Don't allocate VMCB structures on stack" is not commited yet and it can be fixed but I now see that it made it to 'tip' tree. Will send the patch out shortly. -- Vitaly