On Thu, Mar 23, 2023 at 09:43:58AM +0100, Ard Biesheuvel wrote: > > No. PRP0001 support in ACPI does not depend on OF, so drivers that may > be bound to such devices should not either. > > If you are concerned about the memory used by such tables, you can > always propose making PRP0001 support configurable in the ACPI core, > but making individual devices depend on OF for PRP0001 matching seems > wrong to me. What I am against is removing of_match_ptr by doing a million tiny patches. Either we should keep it, in which case the of_match_table field should be made conditional on OF or perhaps a new Kconfig option if there is no way to reconcile this with ACPI, or we decide to get rid of it and you should do one giant patch to remove of_match_ptr across the kernel tree. We should not be doing a patch for every single driver that has of_match_table based on whether it can or cannot be used through ACPI. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt