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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABhMZUU_YNMXAU0Mr5zQMzxrk_XkFzk1HrwAN0SQxDf8n+F9kA@mail.gmail.com>
Date:	Tue, 6 Mar 2012 21:44:34 -0700
From:	Bjorn Helgaas <bjorn.helgaas@...il.com>
To:	Yinghai Lu <yinghai@...nel.org>
Cc:	Jesse Barnes <jbarnes@...tuousgeek.org>, x86 <x86@...nel.org>,
	linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/23] PCI, x86: pci root bus hotplug support

On Tue, Mar 6, 2012 at 12:13 AM, Yinghai Lu <yinghai@...nel.org> wrote:
> will add pci_stop_and_remove_bus() to support remove bus in
> /sys/devices/pci.../pci_bus/...
>
> it support pci root bus removal.

Does this series support hot-add, too, or just removal?

If it is intended to support hot-add, I didn't see any support for
_CBA, which I *think* is the way hotplug-capable host bridges are
required to report MMCONFIG areas.

> To rescan root, need to
> echo 1 > /sys/bus/pci/rescan_root
>
> this patcheset include some IOMM and dmar and pnpacpi fix with device refcount leaking.
>
> The patches need to apply to pci/for-linus and pci/linux-next
> and [PATCH 00/36] PCI: pci_host_bridge related cleanup and busn_alloc
>
> could get from
>        git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-root-bus-hotplug
>
> Thanks
>
> Yinghai
>
> Yinghai Lu (23):
>  PCI, sys: Use device_type and attr_groups with pci dev
>  PCI, sysfs: create rescan_bridge under /sys/.../pci/devices/... for pci bridges
>  PCI: Add pci_bus_add_single_device()
>  PCI: make pci_rescan_bus_bridge_resize use pci_scan_bridge instead
>  PCI: clean up rescan_bus_bridge_resize
>  PCI: rescan with bus or bridge using callback method too
>  pci, dmar: Update dmar units devices list during hotplug
>  PNPACPI: Fix device ref leaking in acpi_pnp_match
>  IOMMU: Fix tboot force iommu logic
>  PCI, x86: Fix non acpi path pci_sysdata leaking with release_fn
>  PCI: separate out pci_assign_unassigned_bus_resources()
>  PCI: Move back pci_rescan_bus()
>  PCI: move pci_stop_and_remove_behind_bridge down
>  PCI: add __pci_remove_bus_devices()
>  PCI: add pci_stop_and_remove_bus()
>  PCI: add pci bus removal through /sys/.../pci_bus/.../remove
>  PCI, ACPI: make acpi_pci_root_remove remove pci root bus too
>  PCI, ACPI: add acpi_pci_root_rescan()
>  PCI: add /sys/bus/pci/rescan_root
>  PCI: add __pci_scan_root_bus() that can skip bus_add
>  x86, PCI: add __pci_scan_root_bus_on_node() that can skip bus_add
>  x86, PCI: add __pcibios_scan_specific_bus that can skip bus_add
>  x86, PCI: add pcibios_root_rescan
>
>  Documentation/ABI/testing/sysfs-bus-pci |   27 +++++
>  arch/x86/include/asm/pci.h              |    2 +
>  arch/x86/pci/common.c                   |   28 +++--
>  arch/x86/pci/legacy.c                   |   44 ++++++-
>  drivers/acpi/pci_root.c                 |   66 +++++++++++
>  drivers/iommu/intel-iommu.c             |  193 ++++++++++++++++++++++++++++--
>  drivers/pci/bus.c                       |   39 ++++++
>  drivers/pci/pci-sysfs.c                 |  137 ++++++++++++++++++++--
>  drivers/pci/pci.h                       |    1 +
>  drivers/pci/probe.c                     |   43 ++++++-
>  drivers/pci/remove.c                    |   77 ++++++++-----
>  drivers/pci/setup-bus.c                 |   20 +---
>  drivers/pnp/pnpacpi/core.c              |    7 +-
>  include/linux/dmar.h                    |    4 +
>  include/linux/pci.h                     |    6 +
>  15 files changed, 604 insertions(+), 90 deletions(-)
>
> --
> 1.7.7
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
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