]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/HVM: drop stdvga's "stdvga" struct member
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Sep 2024 07:13:27 +0000 (09:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Sep 2024 07:13:27 +0000 (09:13 +0200)
commitb740a9369e81bdda675a9780130ce2b9e75d4ec9
tree580694f96e098ed48e2b369f88cc500763c1b08f
parenteb7cd0593d88c4b967a24bca8bd30591966676cd
x86/HVM: drop stdvga's "stdvga" struct member

Two of its consumers are dead (in compile-time constant conditionals)
and the only remaining ones are merely controlling debug logging. Hence
the field is now pointless to set, which in particular allows to get rid
of the questionable conditional from which the field's value was
established (afaict 551ceee97513 ["x86, hvm: stdvga cache always on"]
had dropped too much of the earlier extra check that was there, and
quite likely further checks were missing).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/include/asm/hvm/io.h