Skip to content

Conversation

@yamahata
Copy link
Contributor

…rted

Returning -EOPNOTSUPP is a fatal error. It means that The driver doesn't know the feature. Not that the feature is not supported due to the runtime platform reason. Return 0 for MSHV_CAP_LOWER_VTL_TIMER_VIRT on non-TDX platform, which is safer.

Fixes: 3528fd7 ("drivers: hv: mshv_vtl: Advertise TDX timer service extension")

…rted

Returning -EOPNOTSUPP is a fatal error. It means that The driver doesn't
know the feature.  Not that the feature is not supported due to the runtime
platform reason.  Return 0 for MSHV_CAP_LOWER_VTL_TIMER_VIRT on non-TDX
platform, which is safer.

Fixes: 3528fd7 ("drivers: hv: mshv_vtl: Advertise TDX timer service extension")
Signed-off-by: Isaku Yamahata <[email protected]>
@hargar19 hargar19 requested a review from dcui December 15, 2025 17:03
@hargar19 hargar19 merged commit 97a9e14 into microsoft:product/hcl-main/6.12 Dec 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants