Re: [PATCH hyperv-next 5/6] arch, drivers: Add device struct bitfield to not bounce-buffer

From: Roman Kisel
Date: Thu Apr 10 2025 - 11:16:14 EST




On 4/10/2025 12:21 AM, Christoph Hellwig wrote:
On Wed, Apr 09, 2025 at 09:44:03AM -0700, Roman Kisel wrote:
Do you feel this is shoehorned in `struct device`? I couldn't find an
appropriate private (== opaque pointer) part in the structure to store
that bit (`struct device_private` wouldn't fit the bill) and looked like
adding it to the struct itself would do no harm. However, my read of the
room is that folks see that as dubious :)

We'll need per-device information. But it is much higher level than a
need bounce buffer flag.


I see, thanks for the explanation!

--
Thank you,
Roman