Hi Jan, > > Carve out EFI Boot Guard's watchdog arming part in preparation to > > enable aarch64 support -- which is then naturally restricted to > > the switching logics only -- as the watchdog drivers are specific > > to x86. For x86, there's no change in behavior. > > > > This is pragmatic but not future-proof. Eventually, we will be > confronted with non-U-Boot UEFI firmware that probably will not have > proper watchdog support. > > Just build an empty driver list for now but excluding the x86-targeting > drivers from the build. Should also be simpler.
Well, the probing part in scan_devices() may as well be specific to the platform then. So you may probably end up with multiple/different implementations of scan_devices() depending on the platform ― besides the platform-specific hard-wired list of watchdog drivers. As we don't have this now, I opted for this to not introduce boilerplate. Either way, your suggestion is then to have an empty watchdog driver list for aarch64 and still call scan_devices() which in turn calls probe_watchdog() for each successfully enumerated PCI device, knowing that this is void? Aside, scan_devices() is and has been a misnomer as it (mediately) does more than just scanning devices... Kind regards, Christian -- Dr. Christian Storm Siemens AG, Technology, T RDA IOT SES-DE Otto-Hahn-Ring 6, 81739 München, Germany -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20210818160819.iwwk5f4uyo6bvmyh%40MD1ZFJVC.ad001.siemens.net.
