From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,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 02D61C433DB for ; Wed, 13 Jan 2021 15:07:24 +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 893B423370 for ; Wed, 13 Jan 2021 15:07:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 893B423370 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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.66564.118276 (Exim 4.92) (envelope-from ) id 1kzhjS-0004MD-3r; Wed, 13 Jan 2021 15:06:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 66564.118276; Wed, 13 Jan 2021 15:06:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kzhjS-0004M6-0D; Wed, 13 Jan 2021 15:06:46 +0000 Received: by outflank-mailman (input) for mailman id 66564; Wed, 13 Jan 2021 15:06:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kzhjR-0004M1-G9 for xen-devel@lists.xenproject.org; Wed, 13 Jan 2021 15:06:45 +0000 Received: from mail-wr1-x42f.google.com (unknown [2a00:1450:4864:20::42f]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 680531a7-b635-42c4-887b-d38e196bbc48; Wed, 13 Jan 2021 15:06:44 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id c5so2468683wrp.6 for ; Wed, 13 Jan 2021 07:06:44 -0800 (PST) Received: from [192.168.1.7] ([212.22.223.21]) by smtp.gmail.com with ESMTPSA id z130sm3357385wmb.33.2021.01.13.07.06.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jan 2021 07:06:43 -0800 (PST) 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" X-Inumbo-ID: 680531a7-b635-42c4-887b-d38e196bbc48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=MeOIDaJKSJSo2RdR4NgmQsM+ZS2NEHjzQQM1jB+2O7Q=; b=kcSjvJ86OiYFji/DjfxWgTd82rM9dq1exhxGKcQ2iPlqkMuO3e8RXY9/Xn9ddA7RCC c40GMqkg+MWnET1fZ3+3qYDcLPw1O8/nqHL6u/g5s64CbALeAAToqFYmbphJgc3EEp43 3srx+imRWOGM+wsP2R58WVUc1mawV+DtQtpNzNxBkVs38g72KBCVCal9fO99GYOXF+JM hqSfdCyP4O5j0yjum1XC0WD7VbYOMPW2NsQ3dBY2Bub2yKVmwgkLP2D+JBcz+jA9E8gc WdIa+HHXyWm71dzw/EwQ1lBHSXAPymZEFXxxXVVb+d1/uRXfmNMsoM2ZKbW4nI7jNZaj UHZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=MeOIDaJKSJSo2RdR4NgmQsM+ZS2NEHjzQQM1jB+2O7Q=; b=SoiwF4I8UghUTd9Lfl/ej+uV/on44h/63l5/R8xRNlKa+m9llpZzFSvBRk1jmefzFA FiVXgCGCiJxSG52TGXy4eyE3Lrfu/BpoUzuB7C3E6Ms5Iw/ng/Ey9DQzChl1BFxdDVLT LH0SzG3VZopLdrnwN6O77keNfJS/0r34o6BwnD08YVgIiETLy+nM6350PC97V9C6IRRM 21oVNtpViR7BhdqGFb9aR6ICWSaz8U1Vi0QGKUh9Tn1JAyBVRxXbhb6Im0lVO4+UIgcr pHYk7YDvn7n5uxKzx9Z8HLtW9/3rOy7VZm5/5IMyLgc6WJ/qd6cLbBOVein96ewn8GYY K0ng== X-Gm-Message-State: AOAM532b+wDOwl2Jt7bRJKtWVPbql3tzJUfcqkZQQGqzInSLEzOrYl3A 3G5/CJsxhEJMEbiL6pOj2UA= X-Google-Smtp-Source: ABdhPJy+y+aSwF2JfcTtqJPdSd17wjuNZZpT4CQblvfpCqfWxIasiLYz3Lp2YmOrCspGOij2T40Yrw== X-Received: by 2002:adf:f891:: with SMTP id u17mr3112015wrp.253.1610550403872; Wed, 13 Jan 2021 07:06:43 -0800 (PST) Subject: Re: [PATCH 2/6] x86/mm: p2m_add_foreign() is HVM-only To: Jan Beulich Cc: "xen-devel@lists.xenproject.org" , Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , George Dunlap , Andrew Cooper References: <2dcbe286-4112-e4b3-dc12-9691154365b3@suse.com> <448a6ef3-2cbd-da9c-e4ef-88122d246833@gmail.com> <18c21c64-d350-482a-c778-c8478d3daf2c@suse.com> <257224ea-4ba3-302e-e198-e92c8c1036b3@suse.com> From: Oleksandr Message-ID: <898d609c-8652-e43d-4400-27986cc37371@gmail.com> Date: Wed, 13 Jan 2021 17:06:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <257224ea-4ba3-302e-e198-e92c8c1036b3@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 12.01.21 13:58, Jan Beulich wrote: Hi Jan. > On 11.01.2021 09:23, Oleksandr wrote: >> On 11.01.21 09:41, Jan Beulich wrote: >>> If you could also provide your exact .config, I could see whether I >>> can repro here with some of the gcc5 versions I have laying around. >> Please see attached > Builds perfectly fine with 5.4.0 here. Thank you for testing. I wonder whether I indeed missed something. I have switched to 5.4.0 again (from 9.3.0) and rechecked, a build issue was still present. I even downloaded 5.4.0 sources and built them to try to build Xen, and got the same effect.  What I noticed is that for non-debug builds the build issue wasn't present. Then I decided to build today's staging (414be7b66349e7dca42bc1fd47c2b2f5b2d27432 xen/memory: Fix compat XENMEM_acquire_resource for size requests) instead of 9-day's old one when I had initially reported about that build issue (7ba2ab495be54f608cb47440e1497b2795bd301a x86/p2m: Fix paging_gva_to_gfn() for nested virt). Today's staging builds perfectly fine with 5.4.0. It seems that commit in the middle (994f6478a48a60e3b407c7defc2d36a80f880b04 xsm/dummy: harden against speculative abuse) indirectly fixes that weird build issue with 5.4.0... -- Regards, Oleksandr Tyshchenko