lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1358525267-14268-1-git-send-email-jiang.liu@huawei.com>
Date:	Sat, 19 Jan 2013 00:07:38 +0800
From:	Jiang Liu <liuj97@...il.com>
To:	"Rafael J . Wysocki" <rjw@...k.pl>,
	Bjorn Helgaas <bhelgaas@...gle.com>
Cc:	Jiang Liu <jiang.liu@...wei.com>, Yinghai Lu <yinghai@...nel.org>,
	Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>,
	Yijing Wang <wangyijing@...wei.com>,
	Jiang Liu <liuj97@...il.com>, linux-kernel@...r.kernel.org,
	linux-pci@...r.kernel.org,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
	Toshi Kani <toshi.kani@...com>,
	Myron Stowe <myron.stowe@...hat.com>
Subject: [RFC PATCH v5 0/8] introduce PCI bus notifier chain to get rid of the ACPI PCI subdriver interfaces

This is an RFC patchset to address review comments in thread at:
https://patchwork.kernel.org/patch/1946851/. The patch just pasts
compilation. If no objection to the new implementation, I will
go on to modify acpiphp driver and conduct tests.

The main changes from V4 to V5 includes:
1) introduce a dedicated notifier chain for PCI buses
2) change pci_slot as built-in driver
3) unify the way to create/destroy PCI slots
4) introduce a kernel option to disable PCIe native hotplug

TODO:
1) change acpiphp as built-in and unify the way to create/destroy ACPI
   based hotplug slots.
2) change other ACPI PCI subdriver in Yinghai's root bridge hotplug series
   to use the PCI bus notifier chain.
3) Remove the ACPI PCI subdriver interface eventaully.

Jiang Liu (8):
  PCI: make PCI device create/destroy logic symmetric
  PCI: split registration of PCI bus devices into two stages
  PCI: add a blocking notifier chain for PCI bus addition/removal
  ACPI, PCI: avoid building pci_slot as module
  PCI, ACPI: hook PCI bus notifications to create/destroy PCI slots
  pci_slot: replace printk(KERN_xxx) with pr_xxx()
  PCI/PCIe: add "pci=nopciehp" to disable PCIe native hotplug
  PCI/PCIe: only claim PME from firmware when CONFIG_PCIE_PME is
    enabled

 Documentation/kernel-parameters.txt |    2 +
 drivers/acpi/Kconfig                |    5 +-
 drivers/acpi/internal.h             |    5 +
 drivers/acpi/pci_root.c             |    8 +-
 drivers/acpi/pci_slot.c             |  217 ++++++++++-------------------------
 drivers/acpi/scan.c                 |    1 +
 drivers/pci/bus.c                   |   26 ++++-
 drivers/pci/pci.c                   |    2 +
 drivers/pci/pci.h                   |    1 +
 drivers/pci/pcie/portdrv_core.c     |    7 +-
 drivers/pci/pcie/portdrv_pci.c      |    3 +
 drivers/pci/probe.c                 |    7 +-
 drivers/pci/remove.c                |   15 +--
 include/linux/pci.h                 |   21 ++++
 14 files changed, 142 insertions(+), 178 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ