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=-7.2 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,URIBL_BLOCKED,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 40436C43460 for ; Wed, 7 Apr 2021 14:35:37 +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 ED45761260 for ; Wed, 7 Apr 2021 14:35:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ED45761260 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine 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.106707.204023 (Exim 4.92) (envelope-from ) id 1lU9H7-0000Ah-Dy; Wed, 07 Apr 2021 14:35:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 106707.204023; Wed, 07 Apr 2021 14:35:21 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lU9H7-0000Aa-Au; Wed, 07 Apr 2021 14:35:21 +0000 Received: by outflank-mailman (input) for mailman id 106707; Wed, 07 Apr 2021 14:35:19 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lU9H5-0000AV-Eh for xen-devel@lists.xenproject.org; Wed, 07 Apr 2021 14:35:19 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 3d60c8d4-34cc-4084-8833-058683277948; Wed, 07 Apr 2021 14:35:18 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 50A17B160; Wed, 7 Apr 2021 14:35:17 +0000 (UTC) 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: 3d60c8d4-34cc-4084-8833-058683277948 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=1617806117; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WFSEL4nRth0J69lPxEZrlqbP01zO3uFSQEnfw8shlIo=; b=cHP0axwJVHRK0SRVpY7Nud60wxboW1m0zwpaLcbLxFGXiBFxksdar6zTvl2laCAXLtxbKB vDkSa6WinQI8eBBGiao0Ps02a1f4i7T86w+JqFDWOAd2V+hsTnyg2/Ad95iRu/PvGsSPEZ 6hmN0RfyeQvDK6mnbsDivSkyKheV7Bs= Cc: Juergen Gross , Boris Ostrovsky , Konrad Wilk From: Jan Beulich Subject: [PATCH 0/3] xen-pciback: a fix, a workaround, and some simplification To: "xen-devel@lists.xenproject.org" Message-ID: Date: Wed, 7 Apr 2021 16:35:16 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit The first change completes a several years old but still incomplete change. As mentioned there, reverting the original change may also be an option. The second change works around some odd libxl behavior, as described in [1]. As per a response to that mail addressing the issue in libxl may also be possible, but it's not clear to me who would get to doing so at which point in time. Hence the kernel side alternative is being proposed here. The third change is some simplification that I noticed would be possible while doing the other work here. As to Konrad being on the Cc list: I find it puzzling that he's listed under "XEN PCI SUBSYSTEM", but pciback isn't considered part of this. 1: redo VF placement in the virtual topology 2: reconfigure also from backend watch handler 3: simplify vpci's find hook Jan [1] https://lists.xen.org/archives/html/xen-devel/2021-03/msg00956.html