We could introduce a Kconfig switch per driver and let the driver handle the bit. Everything else could be removed. This would make it easier to track the usages. It would be nice if we could agree on a naming scheme so that all switches are named similar which would make it easier to track the usage.
But there are cases where there is no driver in coreboot for a given PCI device which needs this bit. For now, we (Siemens) handle this cases on mainboard level. So either we need drivers for these devices (just simply setting the master bit) or we can agree on some kind of exceptions. I am open to everything.
Werner
-----Ursprüngliche Nachricht----- Von: ron minnich rminnich@gmail.com Gesendet: Dienstag, 10. November 2020 16:15 An: Nico Huber nico.h@gmx.de Cc: coreboot coreboot@coreboot.org Betreff: [coreboot] Re: Deprecating spurious PCI bus master enabling (was Re: Planning the next coreboot release)
nice idea!
On Tue, Nov 10, 2020 at 7:13 AM Nico Huber nico.h@gmx.de wrote:
On 10.11.20 16:06, Nico Huber wrote:
If anybody knows or discovers more cases where it needs to be enabled in advance by coreboot, please mention it here.
We just discussed on IRC cases where unfixable OS drivers might need it. For such cases, it would probably be best to add individual Kconfig switches for each case. This would make it easier to get rid of the big switch.
Nico _______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org
_______________________________________________ coreboot mailing list -- coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org