Re: [PATCH 3/4] x86, pci: Add interface to force mmconfig

From: Andi Kleen
Date: Tue Mar 14 2017 - 22:24:34 EST


> I agree that it should be fairly safe to do ECAM/MMCONFIG without
> locking. Can we handle the decision part by adding a "lockless" bit
> to struct pci_ops? Old ops don't mention that bit, so it will be
> initialized to zero and we'll do locking as today. ECAM/MMCONFIG ops
> can set it and we can skip the locking.

That's what my other patch already did.

-Andi