From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Gordeev Subject: [kvm-unit-tests PATCH v3 0/6] pci: Complete conversion of PCI API to struct pci_dev Date: Mon, 27 Feb 2017 15:12:31 +0100 Message-ID: Cc: Alexander Gordeev , Thomas Huth , Andrew Jones To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56170 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbdB0ON4 (ORCPT ); Mon, 27 Feb 2017 09:13:56 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 85F1F3A76AF for ; Mon, 27 Feb 2017 14:12:41 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: Hi Andrew, The PCI BAR checks series v2 evolved to a rework of the framework itself. Hopefully, the result will be less confusion. I do not post an extensive sanity checks for now - let's see if the changes would make it in. Thanks! Cc: Thomas Huth Cc: Andrew Jones Alexander Gordeev (6): pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0 pci: Do not use 0 for unimplemented BARs in pci_dev::resource[] pci: Accomodate 64 bit BARs in pci_dev::resource[] pci: Turn struct pci_dev into device handle for PCI functions pci: Rework pci_bar_is_valid() pci: Make PCI API consistent wrt using struct pci_dev lib/pci-host-generic.c | 4 +-- lib/pci.c | 93 ++++++++++++++++++++++++++++---------------------- lib/pci.h | 5 ++- x86/intel-iommu.c | 2 +- x86/vmexit.c | 1 - 5 files changed, 57 insertions(+), 48 deletions(-) -- 1.8.3.1