On Thu, Dec 22, 2022 at 12:23:49PM +0000, Marc Zyngier wrote: > Mark Brown <broonie@xxxxxxxxxx> wrote: > > the users to directly use the generated mask macros, writing > > > > #define ARM64_FEATURE_MASK(x) (x##_MASK) > > > > obviously looks redundant and if we look at the users updating them turns > If the two are strictly equivalent, then let's use the former as it > results in a tiny diff. They are. I'm tempted to move the define to a KVM header to discourage new use. > Constantly repainting these files causes no end of conflicts when > rebasing large series (pKVM, NV...), and makes backporting of fixes > much harder than it should be. Specially considering that there is a > single occcurence of an ID register with non-4bit fields. > Just put a FIXME in the various files so that people do the repainting > as they change this code. OK. It does result in the half transitioned files looking really messy which for the main arm64 code I'd expect to generate complaints but like you say the conversions have their disadvantages too so if you're OK with it.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm