Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD40AC4363A for ; Thu, 29 Oct 2020 13:40:28 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CCBC20796 for ; Thu, 29 Oct 2020 13:40:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="LvC1tcQQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CCBC20796 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.14168.35170 (Exim 4.92) (envelope-from ) id 1kY8A5-0005GN-RG; Thu, 29 Oct 2020 13:40:17 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 14168.35170; Thu, 29 Oct 2020 13:40:17 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kY8A5-0005GG-O9; Thu, 29 Oct 2020 13:40:17 +0000 Received: by outflank-mailman (input) for mailman id 14168; Thu, 29 Oct 2020 13:40:16 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kY8A4-0005GA-Kj for xen-devel@lists.xenproject.org; Thu, 29 Oct 2020 13:40:16 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e56244f9-637f-432b-9926-a2ae2319acb5; Thu, 29 Oct 2020 13:40:15 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F2333AD5F; Thu, 29 Oct 2020 13:40:14 +0000 (UTC) Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kY8A4-0005GA-Kj for xen-devel@lists.xenproject.org; Thu, 29 Oct 2020 13:40:16 +0000 X-Inumbo-ID: e56244f9-637f-432b-9926-a2ae2319acb5 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e56244f9-637f-432b-9926-a2ae2319acb5; Thu, 29 Oct 2020 13:40:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1603978815; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q1Bpm8q+ni/LHNqViyLzcib+SJg2pmfkMPF/cyhDaY0=; b=LvC1tcQQM3Qi52PjN8fRYqtdvymULGqB22kJgLpoggxRZvpR00J8JnoSk6s+PyBV/23awh wSn4Y9nigJ1Ld7fjHqnyeDkax8kCQPxYppZM1kQDAK80/Hmt0RbTHo26NWjYVPCiLTiS21 tHT0bf4EruNg6EdqP5EkLuRVbmfY1d0= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F2333AD5F; Thu, 29 Oct 2020 13:40:14 +0000 (UTC) Subject: Ping: [PATCH v3 0/3] x86: shim building adjustments (plus shadow follow-on) From: Jan Beulich To: Tim Deegan Cc: Andrew Cooper , Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , George Dunlap , "xen-devel@lists.xenproject.org" References: Message-ID: <73ec8762-d7c4-c46f-b0bf-f40b89377312@suse.com> Date: Thu, 29 Oct 2020 14:40:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Tim, On 19.10.2020 10:42, Jan Beulich wrote: > The change addressing the shadow related build issue noticed by > Andrew went in already. The build breakage goes beyond this > specific combination though - PV_SHIM_EXCLUSIVE plus HVM is > similarly an issue. This is what the 1st patch tries to take care > of, in a shape already on irc noticed to be controversial. I'm > submitting the change nevertheless because for the moment there > looks to be a majority in favor of going this route. One argument > not voiced there yet: What good does it do to allow a user to > enable HVM when then on the resulting hypervisor they still can't > run HVM guests (for the hypervisor still being a dedicated PV > shim one). On top of this, the alternative approach is likely > going to get ugly. > > The shadow related adjustments are here merely because the want > to make them was noticed in the context of the patch which has > already gone in. > > 1: don't permit HVM and PV_SHIM_EXCLUSIVE at the same time > 2: refactor shadow_vram_{get,put}_l1e() > 3: sh_{make,destroy}_monitor_table() are "even more" HVM-only unless you tell me otherwise I'm intending to commit the latter two with Roger's acks some time next week. Of course it would still be nice to know your view on the first of the TBDs in patch 3 (which may result in further changes, in a follow-up). Jan