Skip to content

Commit b9e6612

Browse files
committed
Merge tag 'x86_urgent_for_v6.10_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Borislav Petkov: - An ARM-relevant fix to not free default RMIDs of a resource control group - A randconfig build fix for the VMware virtual GPU driver * tag 'x86_urgent_for_v6.10_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/resctrl: Don't try to free nonexistent RMIDs drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency
2 parents d1505b5 + 739c976 commit b9e6612

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/x86/kernel/cpu/resctrl/monitor.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,8 @@ void free_rmid(u32 closid, u32 rmid)
519519
* allows architectures that ignore the closid parameter to avoid an
520520
* unnecessary check.
521521
*/
522-
if (idx == resctrl_arch_rmid_idx_encode(RESCTRL_RESERVED_CLOSID,
522+
if (!resctrl_arch_mon_capable() ||
523+
idx == resctrl_arch_rmid_idx_encode(RESCTRL_RESERVED_CLOSID,
523524
RESCTRL_RESERVED_RMID))
524525
return;
525526

drivers/gpu/drm/vmwgfx/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
config DRM_VMWGFX
33
tristate "DRM driver for VMware Virtual GPU"
44
depends on DRM && PCI && MMU
5-
depends on X86 || ARM64
5+
depends on (X86 && HYPERVISOR_GUEST) || ARM64
66
select DRM_TTM
77
select DRM_TTM_HELPER
88
select MAPPING_DIRTY_HELPERS

0 commit comments

Comments
 (0)