[PATCH v2] ptp: Add vDSO-style vmclock support

David Woodhouse dwmw2 at infradead.org
Fri Jul 26 06:17:18 PDT 2024


On Fri, 2024-07-26 at 09:14 -0400, Michael S. Tsirkin wrote:
> For purposes of virtio, should we label all the fields here
> __le?

Yes. Peter and I discussed that, and it's mostly just a cosmetic change
at this point. The simple ACPI thing only exists on LE platforms for
*now* anyway.

We also had a discussion about the use of signed integers. Our fallback
was "declare it to be an uint16_t in the protocol but that it is to be
interpreted such that if it's greater than 0x8000 you subtract 0x8000
from the result". Or whatever actually added up correctly for twos-
complement signed integers in reality.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5965 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240726/99d06cac/attachment.p7s>


More information about the linux-arm-kernel mailing list