Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtio_pci_cap64: specify offset_hi, length_hi endianness #196

Open
mkroening opened this issue Jun 13, 2024 · 2 comments
Open

virtio_pci_cap64: specify offset_hi, length_hi endianness #196

mkroening opened this issue Jun 13, 2024 · 2 comments

Comments

@mkroening
Copy link

We should be explicit about the endianness of offset_hi and length_hi in virtio_pci_cap64.

Proposal: https://lore.kernel.org/virtio-comment/PH0PR12MB5481A6C266BD5303B98AF5EEDCC72@PH0PR12MB5481.namprd12.prod.outlook.com/T/#m6d45232211d1e1b617171189515a5e11c9b7642c

@mstsirkin
Copy link
Contributor

consistent with 32 bit cap

@mstsirkin
Copy link
Contributor

paravmellanox pushed a commit to paravmellanox/virtio-spec that referenced this issue Jul 9, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: oasis-tcs#196
paravmellanox pushed a commit to paravmellanox/virtio-spec that referenced this issue Jul 11, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: oasis-tcs#196
paravmellanox pushed a commit to paravmellanox/virtio-spec that referenced this issue Jul 11, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: oasis-tcs#196
paravmellanox pushed a commit to paravmellanox/virtio-spec that referenced this issue Jul 11, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: oasis-tcs#196
Message-Id: <[email protected]>
mstsirkin pushed a commit that referenced this issue Jul 11, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: #196
Message-Id: <[email protected]>
mstsirkin pushed a commit that referenced this issue Jul 11, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: #196
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
mstsirkin pushed a commit that referenced this issue Jul 12, 2024
While the capability introduction says "This virtio structure capability uses little-endian format,"
it might be preferrable to be explicit about the endianness of offset_hi and length_hi.

Signed-off-by: Martin Kröning <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Fixes: #196
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants