Bug 264840 - dev/vmware/pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change
Summary: dev/vmware/pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-virtualization (Nobody)
URL: https://lore.kernel.org/lkml/20220620...
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2022-06-23 08:10 UTC by Wentao Wang
Modified: 2022-06-24 02:11 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback? (jpaetzel)
koobs: maintainer-feedback? (imp)
koobs: mfc-stable13?
koobs: mfc-stable12?


Attachments
vmw_pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change. (419 bytes, patch)
2022-06-23 08:10 UTC, Wentao Wang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wentao Wang 2022-06-23 08:10:46 UTC
Created attachment 234880 [details]
vmw_pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change.

vcpuHint has been expanded to 16 bit on host side to enable interruptions to be routed to more CPUs. Guest side should align with the change. 
This change has been tested with hosts with 8-bit and 16-bit vcpuHint, on both platforms host side can get correct value.
Comment 1 Wentao Wang 2022-06-23 08:13:42 UTC
My similar accepted patch for Linux:
https://lore.kernel.org/lkml/20220620124744.578658384@linuxfoundation.org/