Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1527461imm; Wed, 26 Sep 2018 20:52:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV62+MpT554UVzs5kTrM2svCiP0vNsvjhVHCXa9IRfrt1ZBtWPrQZ2QitBu7hTDtuxYqJj7Ou X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr8936668pla.298.1538020360594; Wed, 26 Sep 2018 20:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538020360; cv=none; d=google.com; s=arc-20160816; b=nUKEOCzJ+sBWjlMyFS1denLgswyOdxWJqAx94s+zg8xCmSdDmg00glrDIDePzQ8D+B hxPTWUMijhu8Ib5egP089HoXQJkeW31bjhbfyGhqE37d1NH8Q4d45i5PzVUiqjPgVEOq jnC7+1McIDpSHtBGBA2NYuSf5aB+LB7s7SBWuQ9LoKwcVgUFdFkrLFKWhuA8SXO6poFb QGkXMQLz/6aGmQqfTm7HpwLwhLDiXnraPmP+jrFW6OmQkqAbKFJD9YTlmTCRCsM3MscG m+RF/MV0Uo1lRVleiO9IY7r38mMXB/xWAeaNX/for/RRsjo5b/otk1oVnKQoAx1gOvCM NvYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:from:dkim-signature; bh=K2CGbHgZQz9Q5WJeNWx/Rhg/k0ckXE/QkwWnYN4LLgU=; b=dk2fw5Ef19Oa1KbyPsAKScFplY0320M2YlFDGj4O7leymD3VL5s4z957rLCSo6ex23 A0m+4zD7CW1k6MGWOdneQM8FKWT3n0yLD3OABenNghXhQ0j9MyGf/xxfaic52iba/lGz yy2yuTFJI7kCGWZoOZsAP5C/NXjjFfqcaeSL+gUGan1n7f5mpy86pmgyveZF/+peb1Xu u0VJDyRPYSGCO7BiPce9Ip9akLCY+6vY2b3kUPl0t9JCQudDxOaJysTRjrlyhuNpaAA6 0UGVN0TvA1JPPAx2YiNeX52V69DlZqguq+7PUABkSbaj+2FTVZoJafV0jIAjq26JjsEk LmiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="In9/OXyH"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7-v6si938451pfh.3.2018.09.26.20.52.25; Wed, 26 Sep 2018 20:52:40 -0700 (PDT) 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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="In9/OXyH"; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727295AbeI0KFv (ORCPT + 99 others); Thu, 27 Sep 2018 06:05:51 -0400 Received: from mail-pu1apc01on0133.outbound.protection.outlook.com ([104.47.126.133]:32445 "EHLO APC01-PU1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727239AbeI0KFv (ORCPT ); Thu, 27 Sep 2018 06:05:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K2CGbHgZQz9Q5WJeNWx/Rhg/k0ckXE/QkwWnYN4LLgU=; b=In9/OXyH57MS4wSg0p8fZOdFciCBSkrKxW+qwL6zbGIwBOv4uUIJ5PXKuLxFkT3WG6eiOm/JlY+7C0hblWsaxzW+9a3R2hzAuPZXspG0QcuO+7kkZVre5XlQxzvcBHIKwk7/wEOwOQXZt80cLYGO+P+M8br38WwOvkQEj2MAIC4= Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM (52.133.156.18) by HK0P153MB0177.APCP153.PROD.OUTLOOK.COM (52.133.210.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.3; Thu, 27 Sep 2018 03:49:30 +0000 Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267]) by HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267%3]) with mapi id 15.20.1207.011; Thu, 27 Sep 2018 03:49:30 +0000 From: Tianyu Lan CC: Tianyu Lan , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "pbonzini@redhat.com" , "rkrcmar@redhat.com" , "devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "Michael Kelley (EOSG)" , vkuznets , Jork Loeser Subject: [PATCH V3 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page Thread-Topic: [PATCH V3 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page Thread-Index: AQHUVhUYMpyLpDusNUO5O6sPkAmOSQ== Date: Thu, 27 Sep 2018 03:49:29 +0000 Message-ID: <20180927034829.2230-8-Tianyu.Lan@microsoft.com> References: <20180927034829.2230-1-Tianyu.Lan@microsoft.com> In-Reply-To: <20180927034829.2230-1-Tianyu.Lan@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tianyu.Lan@microsoft.com; x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HK0P153MB0177;6:4uzo3AI+dbJz6xJUBbr8pBKba0cqv8l2g9ojgf1fJiPSjUcQvtThyWiJ3us6S/xpLXIYKJnKPWDJQRgyjUiokpdrGKLE0DQ9v2hV8WxTRIDZdORYFnESf5p0l0WB8pUPT+GhlrVdU/C8qy3iqYhUBgsNIBsTsucfTHTKMG4UVIGvWVaqc59GOu/DyhFrE12dOQgKpUh45JgBJe5vGWc3XljQTiXY5DGGbENYhfnR3pHrC7PAv/CUXW3Qh8Xhph+WQWHHZSGs65AfbE9Sh+tAqFMY9I83WOiS4EaKlenA/A/4Xqwr+gKpLAfZMlmGB/p3FlvY/kH8yOlt7y90EjXcG5s/ywbDOqJhLCpbO3f0vzhQcap/4P6+uHuQVveJmyh2B+gfbUWdngm2UCrLyx+DNOHcwhxKUcYGmpChkvE4X2Q7yOdj3GWbrimKO5swoCjtW3rxUsGVjiE5AWEsAcfxjA==;5:j13Npsv+ffAJ+1GKxe2ZsD+1QZCrTr3FWrtg1C7xI9Aq1+BFDtT4DmE9iy9xtPKiibb5xuJkvjr4BaHaxQwpWi8/XHhuAap5OHFdcxrP3U1IWVINIPr4pO78jOsxVO5zIbygTcE1unV1+72l1olbVaWUDI9ICGxzhjXdvtnIX7E=;7:hsbkNMIsc/xukr4zhrE1g3BPWASLf/MZTZybmLt0SIWnsk37LyDCDioh+CbMbgMvo2W3ze1nCts+39YeWPspGfJhOfyDpNMQV0h3xPMzTT8AgcWISjmx08MQxtlf7uI74xObbhBVm92uYekbhkXcmDgxjDV/BJ6P5W/IkAS1ZkWx7AKSucmKWGFdZNV+WE9/PpRAzr4DigXrDzuh96UfSVZwFvqb0h91/5OpvFXAFV58Ty8LwaB9zDUPZ8OJ8TAu x-ms-office365-filtering-correlation-id: 24768fb3-5f73-49fb-6a1f-08d6242c3ad6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HK0P153MB0177; x-ms-traffictypediagnostic: HK0P153MB0177: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051);SRVR:HK0P153MB0177;BCL:0;PCL:0;RULEID:;SRVR:HK0P153MB0177; x-forefront-prvs: 0808323E97 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(136003)(396003)(346002)(39860400002)(366004)(199004)(189003)(105586002)(99286004)(10290500003)(486006)(478600001)(68736007)(106356001)(14454004)(72206003)(81156014)(6486002)(8676002)(6506007)(1671002)(81166006)(6512007)(2900100001)(2906002)(6436002)(76176011)(8936002)(10090500001)(3846002)(6116002)(54906003)(36756003)(316002)(59246006)(102836004)(26005)(1076002)(5660300001)(5250100002)(109986005)(107886003)(11346002)(446003)(2616005)(4326008)(25786009)(476003)(22452003)(7416002)(53936002)(86612001)(86362001)(71190400001)(71200400001)(66066001)(7736002)(256004)(305945005)(34290500001)(97736004);DIR:OUT;SFP:1102;SCL:1;SRVR:HK0P153MB0177;H:HK0P153MB0129.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 8KFuSHqoWuUDN3T3l9SRAMEVcv5mzRgVheXvPExhiH7q5zuFWMg1TunUZwXVMce4GePULWr4pH/G/+cRQdsYZJvjrlQQyg7E5aKOJ4CuAlaJMPqdo+p7+ZS5A0xxjyKyFNu0zpCpj1NMJFAJMSLUp/yHUNT24SDbgBIub/CQpTDir+Iq3ccvEgjMTAMzRIEQBi0aLILlGeIWqrcH0xfvf/wJGKJ9sMLDfR2cfQebHtQYUVHHMwbvfV/69rwYo0An/Ilrf4tYloJ4Q7R/dg3t6zhGHN0VHB3eb5jxy8BAm0FPMx5NxLP16QEi8PHgY3r29Q/tvjLr1EELpdnnpn981g5/2+arx7CYj3SG+zucpfI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24768fb3-5f73-49fb-6a1f-08d6242c3ad6 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2018 03:49:29.9752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0P153MB0177 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PV EPT tlb flush function will accept a list of flush ranges and use struct kvm_mmu_page as the list entry. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_hos= t.h index a6b77978502e..c96bc4cbe4b7 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -279,6 +279,7 @@ struct kvm_rmap_head { =20 struct kvm_mmu_page { struct list_head link; + struct list_head flush_link; struct hlist_node hash_link; =20 /* --=20 2.14.4