]> xenbits.xensource.com Git - xen.git/commit
x86/pv: Fix `global-pages` to match the documentation
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 16 Dec 2019 13:58:45 +0000 (13:58 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 16 Dec 2019 16:04:10 +0000 (16:04 +0000)
commitb041709c369b36cb17a019a196fba773ec7e77bd
treed9f945829e24a5bc0ff8a85b3d55d95af63bbcda
parent414a47da4adbac70d58650b90c900d67645b3fb6
x86/pv: Fix `global-pages` to match the documentation

c/s 5de961d9c09 "x86: do not enable global pages when virtualized on AMD or
Hygon hardware" in fact does.  Fix the calculation in pge_init().

While fixing this, adjust the command line documenation, first to use the
newer style, and to expand the description to discuss cases where the option
might be useful to use, but Xen can't account for by default.

Fixes: 5de961d9c09 ('x86: do not enable global pages when virtualized on AMD or Hygon hardware')
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/pv/domain.c