From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Gordeev Subject: [kvm-unit-tests PATCH v2 0/4] pci: Various PCI BAR checks Date: Mon, 23 Jan 2017 08:44:06 +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]:33110 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbdAWHoO (ORCPT ); Mon, 23 Jan 2017 02:44:14 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 36A3A8124D for ; Mon, 23 Jan 2017 07:44:15 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: Hi Andrew, Here is v2 of the series - it improves BAR validation function and scatters more calls to that around. Cc: Thomas Huth Cc: Andrew Jones Alexander Gordeev (4): pci: Rework pci_bar_is_valid() pci: Split and rename pci_bar_is_valid() to pci_bar_exists() pci: Ensure BAR validity for public functions pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0 lib/pci-host-generic.c | 6 +++--- lib/pci-testdev.c | 2 +- lib/pci.c | 35 ++++++++++++++++++++++++++++++++--- lib/pci.h | 5 +++++ x86/vmexit.c | 2 +- 5 files changed, 42 insertions(+), 8 deletions(-) -- 1.8.3.1