Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933457AbbLGVfU (ORCPT ); Mon, 7 Dec 2015 16:35:20 -0500 Received: from mga03.intel.com ([134.134.136.65]:30338 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932519AbbLGVcg (ORCPT ); Mon, 7 Dec 2015 16:32:36 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,396,1444719600"; d="scan'208";a="855913334" From: Keith Busch To: LKML , x86@kernel.org, linux-pci@vger.kernel.org Cc: Jiang Liu , Thomas Gleixner , Dan Williams , Bjorn Helgaas , Bryan Veal , Ingo Molnar , "H. Peter Anvin" , Martin Mares , Jon Derrick , Keith Busch Subject: [PATCHv6 0/7] Driver for new "VMD" device Date: Mon, 7 Dec 2015 14:32:22 -0700 Message-Id: <1449523949-21898-1-git-send-email-keith.busch@intel.com> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2041 Lines: 53 v5 -> v6: Fixed kernel doc. Fixed S-o-B on PATCH 1/7. Added driver power management to save and restoring VMD pci state. Allow VMD domains to be accisble to aer_inject, which requires a minor change to use 32-bit pci domains. Changed child bus resource conflict detection on walking the pci domain. If the bus resource aperture is not large enough, we can enumerate only a sub-tree of the topology. A bridge device with subordinate outside the range should not be allocated. Checking for the conflict after the child is allocated retains pointer to the removed subordinate bus. The way to fix that is to call "pci_remove_bus_device" instead, but I don't think we want to remove the bridge dev since it is accessible, albeit not very useful as a bridge device. Keith Busch (6): pci: child bus alloc fix on constrained resource Export msi and irq functions for module use x86-pci: allow pci domain specific dma ops x86/pci: Initial commit for new VMD device driver aer_inject: Use 32 bit int type domains pciutils: Allow 32-bit domains Liu Jiang (1): msi: Relax msi_domain_alloc() to support parentless MSI irqdomains arch/x86/Kconfig | 13 + arch/x86/include/asm/device.h | 10 + arch/x86/include/asm/hw_irq.h | 5 + arch/x86/pci/Makefile | 2 + arch/x86/pci/common.c | 38 +++ arch/x86/pci/vmd.c | 695 ++++++++++++++++++++++++++++++++++++++ drivers/pci/msi.c | 2 + drivers/pci/pcie/aer/aer_inject.c | 16 +- drivers/pci/probe.c | 6 + kernel/irq/irqdomain.c | 1 + kernel/irq/msi.c | 8 +- 11 files changed, 785 insertions(+), 11 deletions(-) create mode 100644 arch/x86/pci/vmd.c -- 2.6.2.307.g37023ba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/