Hi Ludwig, On Wed, Mar 29, 2017 at 03:34:47PM +0200, Ludwig Petrosyan wrote: > Dear Linux PCI support team > > I need help ! > > We are using MTCA crate system with the Ubuntu Linux for an > accelerator control system. > > The hotplug is very important for us, as most the crates are > installed in the tunnel. > > For a long time the PCIe hotplug works fine, we use the following > boot parameters: > > "noacpi noapic clock=tsc acpi=off apic=off pciehp.pciehp_force=1 > pciehp.pciehp_debug=1 pcie_ports=native" > > After some point (seems after upgrading to kernel 3.x.x) we got > problems (main problem is: the memories not remapped, > > I mean: if I have some endpoint after removing and inserting back > the memories are not remapped, > > I know that I could not add new endpoint in running system, but it > has to be possible to remove and insert back existing endpoint). > > Now I am mixed out: what to use PCIe native hotplug or ACPI ..., I > could not find any documentation about using PCIe hotplug > > and how to configure. Sounds like a possible regression, since it worked in an older kernel but doesn't work any more. Can you collect complete dmesg logs from the newest working kernel and the oldest broken kernel, along with "lspci -vv" output (as root), and open a report at https://bugzilla.kernel.org in the drivers/pci component? Please attach the logs instead of pasting them inline. I'm slightly concerned about all the boot parameters because you're turning off ACPI support in Linux, and there's some possibility of a conflict between ACPI hotplug support in the BIOS and the PCIe native hotplug you're probably using now. Bjorn