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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 3A7F8C47080 for ; Tue, 1 Jun 2021 07:34:45 +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 4B4D96139A for ; Tue, 1 Jun 2021 07:34:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B4D96139A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rmail.be 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.134700.250567 (Exim 4.92) (envelope-from ) id 1lnyv7-0004zZ-3q; Tue, 01 Jun 2021 07:34:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 134700.250567; Tue, 01 Jun 2021 07:34:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lnyv7-0004zS-0z; Tue, 01 Jun 2021 07:34:37 +0000 Received: by outflank-mailman (input) for mailman id 134700; Tue, 01 Jun 2021 07:34:35 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lnyv5-0004yD-Oc for xen-devel@lists.xenproject.org; Tue, 01 Jun 2021 07:34:35 +0000 Received: from mail.rmail.be (unknown [85.234.218.189]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id fde5eead-cb44-45fe-b7b8-7bf0977246d6; Tue, 01 Jun 2021 07:34:33 +0000 (UTC) Received: from mail.rmail.be (localhost [127.0.0.1]) by mail.rmail.be (Postfix) with ESMTP id 739C5B1133A for ; Tue, 1 Jun 2021 09:34:33 +0200 (CEST) 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: fde5eead-cb44-45fe-b7b8-7bf0977246d6 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Jun 2021 09:34:33 +0200 From: AL13N To: xen-devel@lists.xenproject.org Subject: pci passthrough issue introduced between 4.14.1 and 4.15.0 Message-ID: <9562f5c0911567f12ed9fef8830f3018@mail.rmail.be> X-Sender: alien@rmail.be User-Agent: Roundcube Webmail/1.0.9-1.2.mga5 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. looking deeper, if you start with only 1 entry or 0 and you do pci-attach for the other pci entries, all of this works fine. this is the pci section in question: pci=['0000:04:00.0,permissive=1', '0000:00:1a.0,permissive=1,rdm_policy=relaxed,seize=1', '0000:00:1d.0,permissive=1,rdm_policy=relaxed,seize=1'] this works fine in 4.12.1 and 4.14.1, but fails in 4.15.0, however booting with pci=['0000:04:00.0,permissive=1'] and then doing []# xl pci-attach '0000:00:1a.0,permissive=1,rdm_policy=relaxed,seize=1' []# xl pci-attach '0000:00:1d.0,permissive=1,rdm_policy=relaxed,seize=1' also works, Regards, Maarten (alien on Libera and OFTC)