[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 05/12] x86/xen: set MTRR state when running as Xen PV initial domain



On Mon, Mar 06, 2023 at 05:34:18PM +0100, Juergen Gross wrote:
> +     for (reg = 0; reg < MTRR_MAX_VAR_RANGES; reg++) {
> +             op.u.read_memtype.reg = reg;
> +             if (HYPERVISOR_platform_op(&op))
> +                     break;
> +
> +             /*
> +              * Only called in dom0, which has all RAM PFNs mapped at
> +              * RAM MFNs, and all PCI space etc. is identity mapped.
> +              * This means we can treat MFN == PFN regarding MTTR settings.
                                                                ^^^^

"MTRR"

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.