[PATCH v2 09/18] pci: Add config for Enhanced Allocation
Andrew Scull
ascull at google.com
Wed Apr 13 18:30:36 CEST 2022
> > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> > index 47cd074aa1..fd2203420c 100644
> > --- a/drivers/pci/Kconfig
> > +++ b/drivers/pci/Kconfig
> > @@ -67,6 +67,13 @@ config PCI_SRIOV
> > if available on a PCI Physical Function device and probe for
> > applicable drivers.
> >
> > +config PCI_ENHANCED_ALLOCATION
> > + bool "Enable support for Enhanced Allocation of resources"
> > + default y
> > + help
> > + Enable support for Enhanced Allocation which can be used by supported
> > + devices in place of traditional BARS for allocation of resources.
> > +
>
> Why do we need a config option for EA as it can be figured out in the run time?
I wanted to have the option to disable the logic for handling EA at
runtime. A glance at the code suggested there's a whole other rabbit
hole of missing safety checks that I've opted to leave for another
day.
More information about the U-Boot
mailing list