Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4708853imm; Mon, 17 Sep 2018 20:21:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ0zP9P32TEt9jvF4HF03k7tmcq6PagLvcK2rke46ZhjtPmbNgdboywvt8/MOzO4BLiHIVD X-Received: by 2002:a63:5964:: with SMTP id j36-v6mr25634842pgm.222.1537240869080; Mon, 17 Sep 2018 20:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537240869; cv=none; d=google.com; s=arc-20160816; b=aasb0HB9W35hHxcY/J0G/pJ8iLF0sON4eGjEcIzwH/dbomlRm1jON2ri6m8BsrEvLq JBFYlKnc6P5u+IN8679wIAPnFqnYS4UpPjLR3sHqZ/0QlGvv2+gjqouoEbL4yJG/Z9NK sb9t/IZQ/EKt6l9uRYJmw6ay3TH9IkUhYNPF+n+XMxQtyP75ZtITh+sNlC7dx+YG7CP0 z6yBrn2DO8nRdIBsu2/9PcUlzBSiEGFTcmpqsOE8rCXnncateVrjmKCHaFZt4MCSkodn IHkRPMqxM9RwboYKagrQhtBznqS7ByoWAKUGL69pU03q9JNUxls5ltLSfxyd7UVUHWt2 0sHw== 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=U6jMuqKpf728aNrGocDAkZ9QICuU15vgMuy1KRR4vsKAJqVwX5i9lQlenLsUXLMXl9 UCQH1NCn3HFStYju6kzVoB6Sq3nwR1mvhjvCDPr2DH47yB37fTKeKVPV6zeZ3g5QITBL ZZioQ9rL7PtYORKK9P2aXGt2M9dxtu07s6W4znmt8pkCcWQoBppOQ1h0pO/y33Xc0FYk wdkgX41D6rOE74tvLyX7erzCW1mHdthlJ2EZ+HeazaiHocY+ZMjOCxT/xaV1t5IK3mGL gFHGhGxZD2kxcRG/bus1+rg5S8lz2lpUZD+cclWkcJsdbbD8ih6oEoqMmuHh1R9v+b7R qIaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ftYx5Jxz; 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 x25-v6si18586217pfi.138.2018.09.17.20.20.54; Mon, 17 Sep 2018 20:21:09 -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=ftYx5Jxz; 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 S1729383AbeIRItd (ORCPT + 99 others); Tue, 18 Sep 2018 04:49:33 -0400 Received: from mail-sg2apc01on0104.outbound.protection.outlook.com ([104.47.125.104]:35137 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729295AbeIRIta (ORCPT ); Tue, 18 Sep 2018 04:49:30 -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=ftYx5JxzEB0LZfm8OQXS1q6GECkggBNkmXYCp5X3n33t/6c4srLSN45YRixMadi0t4ulyZQkV2b2332+EfU/j+/zl1tE20zirgTFca5X05niAKBFI47mueR6bMYGGejqGO33rbHlkzrvmoDQNRNpvu5JzVAjHe6RbXTfh3EWQlw= Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM (52.133.156.18) by HK0P153MB0180.APCP153.PROD.OUTLOOK.COM (52.133.212.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.5; Tue, 18 Sep 2018 03:18:56 +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.1185.006; Tue, 18 Sep 2018 03:18:56 +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 V2 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page Thread-Topic: [PATCH V2 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page Thread-Index: AQHUTv5VCQI1tpqiNk6i3QFgEFo38g== Date: Tue, 18 Sep 2018 03:18:55 +0000 Message-ID: <20180918031754.113013-8-Tianyu.Lan@microsoft.com> References: <20180918031754.113013-1-Tianyu.Lan@microsoft.com> In-Reply-To: <20180918031754.113013-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;HK0P153MB0180;6:6g+0T+14b9Kmafh0hdqGAbHwnkN5a1+V6KY93Jh0cc0MP2lgsxUcUffhTugOy1TNQKBDiBrYybuwPsFMJ09IudP9e6GIMMpYC32PJjjv+V6vPeLJbc64R38vzONZYwEuWiQavTj8SVnlPuq0Vd8A1c3F2kPm8gjNewQXDbBr+ScqxiNlPDAQdp4U45T67DRs7dkBYuVapngIz5ZlpHQOozKfwaPAhmBVNgQHLCqMbWmniXv5wFwSux5dHndn6tbp9BbrUK+9I/aPFJJxz/XiqmkXq/phuZNXA+jSJVsE6qD05pZ9YxCHxTmERoNhMGzuXPGN6YkFAspvPF/evnWM44AAcbcazAa2com0P6elE1IdUKm+FryXbB2OkLt4s5OKEWcM9okqFnYoAIl88IKeDRQPSBc4FEhgeIAt+c66XrLrf6m1PmwCRaUjDbQr5iW9xdNOy6YCLKyJh/AwCAEnHg==;5:oATPxDavMjGrjJNLWX6/MvG9TlbQdc5EtT3lyy8DTyfqdt9XLSc+qhnTzS86WMWnF7Sy6C50+tdqIjC7X/lhB+n69uje4gVrI1MrRM3A7CrtMtkwklnFpyeEBZdipkpBs4vMLfXwk0HzJ+TEhpSOYkvNnu/K3R7gylE3bhXjF5E=;7:HJ2qEswUfZ7FaYsdiFOp251ryLj1UBrtlMS0S+5GLc1LEf0dMDeeEH35xqYQ+EBveSyt2kZIs+74yfZ3wuje360VVQ/4tXn3EQYcwJH753HcFNeGnxvfUs7yRQVJK8mUaiGqSK+Cr4v15IJI/4wJnMLf890k+LghvMqSG1GStITNwR4u4/5DnQdGLdd7DUIv3jJI2pKXZSc7fKgNMYUtubkAGpui9SN6SJ1E217IEQHjO+7pkRuBXMKuaErf+o0x x-ms-office365-filtering-correlation-id: 1115b55b-4bad-44aa-dcd7-08d61d1577f1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HK0P153MB0180; x-ms-traffictypediagnostic: HK0P153MB0180: 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)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699050);SRVR:HK0P153MB0180;BCL:0;PCL:0;RULEID:;SRVR:HK0P153MB0180; x-forefront-prvs: 0799B1B2D7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(376002)(396003)(39860400002)(346002)(136003)(199004)(189003)(26005)(102836004)(2906002)(7736002)(6506007)(22452003)(59246006)(54906003)(316002)(14454004)(86362001)(86612001)(36756003)(6436002)(10090500001)(6486002)(6512007)(305945005)(7416002)(53936002)(2900100001)(5250100002)(256004)(97736004)(72206003)(478600001)(106356001)(8676002)(81156014)(81166006)(5660300001)(8936002)(6116002)(3846002)(99286004)(76176011)(10290500003)(1076002)(105586002)(476003)(2616005)(11346002)(446003)(66066001)(486006)(107886003)(25786009)(109986005)(68736007)(1671002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:HK0P153MB0180;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: vHW5JGupMkNxJosri9rgZ/7iQ2v/np+1smbSvx1rzCjug+gdXD7gS6f32cJHu1aFgu1MZZ5UrBX14R2gciDPvN2cqK2i38TDAD4I+ma1pOe2wCAJgqPcYFTsUc7HjWZKfU18Ap/9dT+BK+6+ViznfrflYiHO7AvpKBy3CiuxZ2g8ekB3fWV6OOlK75haNb4uxab4Mb1wUtpTCpzm5LXTeQnPg31BLXk7fZ88sFsVDR1RBcY6YGK+r8oNh2TE9rc334zHcabhLTOeYcOuChAbLCBPieX9+Mrr3CGE68cY3dUugr33U1dil1v1Trre5dSTAidj772XjzSCfstSArpBdzmvarqe6C+dgIRW9av7Pq0= 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: 1115b55b-4bad-44aa-dcd7-08d61d1577f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2018 03:18:55.8188 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0P153MB0180 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