[PATCH openEuler-5.10-LTS 03/30] x86/speculation: Add a common function for MD_CLEAR mitigation update