From: Sasha Levin <sashal@xxxxxxxxxx> Sent: Friday, November 18, 2022 6:11 PM
From: Anirudh Rayabharam <anrayabh@xxxxxxxxxxxxxxxxxxx>
[ Upstream commit 4ad1aa571214e8d6468a1806794d987b374b5a08 ]
Add a data structure to represent the reference TSC MSR similar to
other MSRs. This simplifies the code for updating the MSR.
Signed-off-by: Anirudh Rayabharam <anrayabh@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20221027095729.1676394-2-anrayabh@xxxxxxxxxxxxxxxxxxx/
Signed-off-by: Wei Liu <wei.liu@xxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
Sasha -- I don't think this patch needs to be backported to any stable versions. Anirudh
or Wei Liu, can you confirm? The patch is more about enabling a new scenario than fixing a bug.