Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1866446pxb; Mon, 12 Apr 2021 08:27:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL3098IT9iyXAtdPd7p2en9BTBbj09auLW5zYQtk17l2fBBnFBZFZ4KE5Tzdpu//2QSmmO X-Received: by 2002:a17:902:a9c2:b029:e7:147f:76a1 with SMTP id b2-20020a170902a9c2b02900e7147f76a1mr27692008plr.5.1618241250963; Mon, 12 Apr 2021 08:27:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618241250; cv=none; d=google.com; s=arc-20160816; b=Ewdmy8NyCFXBRoA9syGKN3i0cXkDapMrwjElyFAll3XOTbMm9qRHAuFUCHLELwW7eX 0704VjAtjaSOD0fG9S0n4MUjxAMo09nJiKKLNS/K5MaBfQcLpO3WYEbzjxBG4a/TTJ3e JfjN/8FRHRbmDCLpWi2NzKPV+OVie+cICqUr0CNbtxutcQWfls60SWzmKrdpTiHPkmGZ cP1EleE06Tmzn0fjgO3vRcHQ7JW17MbzovMtZ4lREVohIbALYtRiIz0GkGnpaGZjJdbs /ML+cFCW6CsMge+VxsgdJrmcq5VEO2r0zv5hOKD5pYY3ogSZ5XMhgYljhbMavW+QnRgb bRrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xUt6fto8lahvrjxdR5wc/WBuC4njw9UvLYhRUh/F7vk=; b=NOZ+1tAqRu4Y3w99F/gErqE1YZEKpJ9TOYDWb4ABy4CUdEDdOzIH5F5xahoJipqI2D UtTNC9sHeoKkQ6h87emPw8dLeh2wZvP205SEz/nKOyzEQWYOhegcEUcK1KIAaYdcz6tX y8GrJPspXrCmBvZqqLIEHTm7as1CG8PcEjrTnOB8kFvvCMQtFDqkgpMvPJ2SgzBCwBXm OVEDToH+nGrD7n2g/DulpQTTodTXq7QHCewT+v2nzarEUVZcCDtQrtUKpafVSRE+hYYW xmVlMLVbBs9H37MpaIHRQpDn2t3ep5Baw7w3+8Fb6a7b7Vqh2bbKPtpvq9u3wTcrNTLg GhLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=Tq20uzkB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si14754792pgc.99.2021.04.12.08.27.18; Mon, 12 Apr 2021 08:27:30 -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=@firstfloor.org header.s=mail header.b=Tq20uzkB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242859AbhDLPZi (ORCPT + 99 others); Mon, 12 Apr 2021 11:25:38 -0400 Received: from one.firstfloor.org ([193.170.194.197]:45758 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242755AbhDLPZd (ORCPT ); Mon, 12 Apr 2021 11:25:33 -0400 Received: by one.firstfloor.org (Postfix, from userid 503) id 1343086BFB; Mon, 12 Apr 2021 17:25:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1618241113; bh=xUt6fto8lahvrjxdR5wc/WBuC4njw9UvLYhRUh/F7vk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tq20uzkBH5OB7bq3S6TcwCJtRtjrWOnBdObDzdrBHsZXkpI8wgupelktONUR5eOYn G2VB/9Jok/plWseR3LtKoA5ovNvPKnHfsWmiLyhGOneZmRwf9fgq00zJ/2oA/wJEVY a1M7K3NLz4zkPcxk7SPLXWKbBmOuoiFEJJ5bmUcQ= Date: Mon, 12 Apr 2021 08:25:12 -0700 From: Andi Kleen To: "Liuxiangdong (Aven, Cloud Infrastructure Service Product Dept.)" Cc: Like Xu , andi@firstfloor.org, "Fangyi (Eric)" , Xiexiangyou , kan.liang@linux.intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, wei.w.wang@intel.com, x86@kernel.org, "Xu, Like" Subject: Re: [PATCH v4 01/16] perf/x86/intel: Add x86_pmu.pebs_vmx for Ice Lake Servers Message-ID: <20210412152511.igvdfilnuv6ed6hi@two.firstfloor.org> References: <20210329054137.120994-2-like.xu@linux.intel.com> <606BD46F.7050903@huawei.com> <18597e2b-3719-8d0d-9043-e9dbe39496a2@intel.com> <60701165.3060000@huawei.com> <1ba15937-ee3d-157a-e891-981fed8b414d@linux.intel.com> <60742E82.5010607@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60742E82.5010607@huawei.com> User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The reason why soft lockup happens may be the unmapped EPT pages. So, do we > have a way to map all gpa > before we use pebs on Skylake? Can you configure a VT-d device, that will implicitly pin all pages for the IOMMU. I *think* that should be enough for testing. -Andi