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=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 22F0BC4708F for ; Tue, 1 Jun 2021 10:08:41 +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 D756D6136E for ; Tue, 1 Jun 2021 10:08:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D756D6136E 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.134767.250674 (Exim 4.92) (envelope-from ) id 1lo1K4-0006Iu-Ro; Tue, 01 Jun 2021 10:08:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 134767.250674; Tue, 01 Jun 2021 10:08:32 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lo1K4-0006In-P2; Tue, 01 Jun 2021 10:08:32 +0000 Received: by outflank-mailman (input) for mailman id 134767; Tue, 01 Jun 2021 10:08:31 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lo1K3-0006Ig-6B for xen-devel@lists.xen.org; Tue, 01 Jun 2021 10:08:31 +0000 Received: from smtp-out2.suse.de (unknown [195.135.220.29]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e69cafdb-9885-4632-a491-1f0fc3ee296b; Tue, 01 Jun 2021 10:08:30 +0000 (UTC) Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 552611FD30; Tue, 1 Jun 2021 10:08:29 +0000 (UTC) Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 347FC118DD; Tue, 1 Jun 2021 10:08:29 +0000 (UTC) Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id GMJ/Cx0HtmBrAwAALh3uQQ (envelope-from ); Tue, 01 Jun 2021 10:08:29 +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" X-Inumbo-ID: e69cafdb-9885-4632-a491-1f0fc3ee296b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1622542109; 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: in-reply-to:in-reply-to:references:references; bh=1z4ijang45Vhplh+/3psU16FFTJ8psvdcXAbjGXAiK0=; b=m+6BBpDym4XTglt7cntwLFLqOWdtqgw/W0sNMjRfBb7Z1IXfTx4Z1O6K8/vvTGwBfLqxKd 6dR++eXckXZsrobfF0LcwfBL/8w+QQ+iBfsL28eE/k6zDNXrhlCzu+dKMmzrBjHqzfH1n6 nIhOZLWgmyVN8qkNJH3tqoK4lkiK0Lc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1622542109; 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: in-reply-to:in-reply-to:references:references; bh=1z4ijang45Vhplh+/3psU16FFTJ8psvdcXAbjGXAiK0=; b=m+6BBpDym4XTglt7cntwLFLqOWdtqgw/W0sNMjRfBb7Z1IXfTx4Z1O6K8/vvTGwBfLqxKd 6dR++eXckXZsrobfF0LcwfBL/8w+QQ+iBfsL28eE/k6zDNXrhlCzu+dKMmzrBjHqzfH1n6 nIhOZLWgmyVN8qkNJH3tqoK4lkiK0Lc= Subject: Re: pci passthrough issue introduced between 4.14.1 and 4.15.0 To: AL13N References: <6ccb04f2d93be6089b049df1f94a91dd@mail.rmail.be> Cc: Xen-devel From: Jan Beulich Message-ID: Date: Tue, 1 Jun 2021 12:08:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <6ccb04f2d93be6089b049df1f94a91dd@mail.rmail.be> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 01.06.2021 09:36, AL13N wrote: > Not 100% it's a bug or something i did wrong, but, > > with xl create i start a PV with 3 pci passthroughs > > after wards, xl pci-list shows all 3 nicely > > looking at the domU boot logs, pcifront is only creating one pci device > and lspci in the guest shows only 1 pci entry > > in at least 4.14.1 it still works. This reminds me of my report at https://lists.xen.org/archives/html/xen-devel/2021-03/msg00956.html Meanwhile the proposed pciback change has gone in upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/xen/xen-pciback?id=c81d3d24602540f65256f98831d0a25599ea6b87 I wasn't, however, aware that this may have been an issue going from 4.14.1 to 4.15.0, i.e. something that was presumably (as George also has just said) a regression in the tools. Or else I probably wouldn't have suggested taking care of this in Linux. Nevertheless you may want to give that change a try. Jan