From patchwork Thu Jan 17 21:53:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brijesh Singh X-Patchwork-Id: 10769179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 77AA413A4 for ; Thu, 17 Jan 2019 21:54:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6850A2A877 for ; Thu, 17 Jan 2019 21:54:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C1BE2AC6E; Thu, 17 Jan 2019 21:54:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B39CC2A877 for ; Thu, 17 Jan 2019 21:54:22 +0000 (UTC) Received: from localhost ([127.0.0.1]:55643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkFcD-0002Da-Cb for patchwork-qemu-devel@patchwork.kernel.org; Thu, 17 Jan 2019 16:54:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkFbE-0001Ro-1E for qemu-devel@nongnu.org; Thu, 17 Jan 2019 16:53:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkFbD-0000Yc-9G for qemu-devel@nongnu.org; Thu, 17 Jan 2019 16:53:19 -0500 Received: from mail-eopbgr740047.outbound.protection.outlook.com ([40.107.74.47]:8750 helo=NAM01-BN3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gkFbD-0000WF-0A for qemu-devel@nongnu.org; Thu, 17 Jan 2019 16:53:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nX+j7KpIJVu1da+ak3Gt2nsG8ur7WhoqJt0hGpMy4mI=; b=3fjY3j4Z+dkoqk0hkRJQkrK9zo8LO8VujZrCbNQ0eU2dsDxakyd5bzgm0V191Ikvi7q7UAqH+k+wwEA9mJ5dDMVF8enp5j3DvyXIiSM2NUKY+j6/kVCL7NEbPBvr3e6cb7H6JDVfZjS456/LX5u5iSFiSCKGhaXfBp3iU9AzesE= Received: from DM6PR12MB2682.namprd12.prod.outlook.com (20.176.116.31) by DM6PR12MB2714.namprd12.prod.outlook.com (20.176.116.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Thu, 17 Jan 2019 21:53:15 +0000 Received: from DM6PR12MB2682.namprd12.prod.outlook.com ([fe80::10bf:617c:4515:4ad2]) by DM6PR12MB2682.namprd12.prod.outlook.com ([fe80::10bf:617c:4515:4ad2%2]) with mapi id 15.20.1516.019; Thu, 17 Jan 2019 21:53:15 +0000 From: "Singh, Brijesh" To: "qemu-devel@nongnu.org" Thread-Topic: [PATCH 0/2] Fix SEV VM device assignment Thread-Index: AQHUrq8Ms0OduC+EGUucteMOcYhp/w== Date: Thu, 17 Jan 2019 21:53:15 +0000 Message-ID: <20190117215300.29694-1-brijesh.singh@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR05CA0026.namprd05.prod.outlook.com (2603:10b6:805:de::39) To DM6PR12MB2682.namprd12.prod.outlook.com (2603:10b6:5:4a::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM6PR12MB2714; 20:PuwJQYiJ0QCa1vyn2cOUMB+XnW/aKbq0cSwktFUpo2z7lCWzkPfzaqZ0fUtIfQwqtEHgpyVow3ISxMYDIyHfRzBXGZiIuM8WJX1aTXTu0favuETbwpX1s1ALzC5rEClvL58L+COcTjMESWbfR9BzkyVefs9X69vwsMcdlx7xdW1onUJxjlpVfvi8ddikRsKt0Q7u9DMx/GImy7uezWlwSOPg+hi3cylRsTU4WH4IsI3UUOCY5UJFGYgr8henQwXY x-ms-office365-filtering-correlation-id: 5ebec2ed-9f3d-4cf3-3006-08d67cc62ef3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR12MB2714; x-ms-traffictypediagnostic: DM6PR12MB2714: x-microsoft-antispam-prvs: x-forefront-prvs: 0920602B08 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(346002)(39860400002)(396003)(376002)(366004)(199004)(189003)(2501003)(7736002)(6916009)(4744005)(2351001)(4326008)(52116002)(68736007)(105586002)(106356001)(6306002)(6486002)(6512007)(6436002)(81166006)(256004)(5640700003)(99286004)(81156014)(305945005)(8936002)(86362001)(53936002)(50226002)(8676002)(2906002)(14454004)(486006)(316002)(476003)(6116002)(97736004)(1076003)(14444005)(2616005)(25786009)(3846002)(966005)(66066001)(102836004)(54906003)(36756003)(386003)(71200400001)(478600001)(71190400001)(186003)(6506007)(5660300001)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR12MB2714; H:DM6PR12MB2682.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: LlPiC//9TL3kcgIPhuPIHG/tL5s7ptH90BZbC2/TQjw8C/i3M/2vYmXJqbAX5JH4Rl+ZWv50dtGKY9b5uDRSaMJhqt1FAUTxYQJstcW9W+Lnb/JtFarFtehQigr6YTAIPNnA7aWKIVzqTqm7GJIz8HdaHFxf4gBEpu5Uw7pWXNPjhn4HSc3kUPizDI8wEJKiw7zWOaFNRStFyD1R1nxdH5TzofKAknrdYl61bASPK5ZaWsgEJ7tcGYvD5EzZ91F/9onz1/EQa+QWO8vCGN9JzS0MPogl+48ZwDgszKNxMjs4m1UvBrFi4DIZE8VS/sbJodiTvMDgf4YJ+LTJem+Lf0R9a30PEQM0JGv0q2HU8m3AO9JCOtCqn/GHgnLWK31chFk5Yu3fHheKXmkdJ0st6qb/lMQeacbwqZ1K+ib6/rA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ebec2ed-9f3d-4cf3-3006-08d67cc62ef3 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2019 21:53:15.0090 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2714 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.74.47 Subject: [Qemu-devel] [PATCH 0/2] Fix SEV VM device assignment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "alex.williamson@redhat.com" , "Singh, Brijesh" Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Fix: https://bugzilla.redhat.com/show_bug.cgi?id=1667249 Brijesh Singh (2): memory: Fix the memory region type assignment order target/i386: sev: Do not pin the ram device memory region memory.c | 9 ++++++++- target/i386/sev.c | 11 +++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-)