Re: [PATCH 01/20] bitfield: introduce HWORD_UPDATE bitfield macros

From: Jakub Kicinski
Date: Thu Jun 12 2025 - 18:01:52 EST


On Thu, 12 Jun 2025 16:10:37 -0400 Yury Norov wrote:
> I don't think that that having HWORD_UPDATE() in bitfield.h is a wrong
> thing. Jakub, if you do, we can just create a new header for it.

Yes, I'd prefer to contain it. This looks very much like a CSR tooling
convention of Rockchip's ASIC developers. IOW this is really about how
CSRs are access for a specific vendor, not a generic bitfield operator.