Re: [RFC PATCH 0/11] Support Write-Through mapping on x86

From: H. Peter Anvin
Date: Tue Jul 15 2014 - 16:10:54 EST


On 07/15/2014 12:53 PM, Andy Lutomirski wrote:
>
> Note that MTRRs are already partially deprecated: all drivers *should*
> be using arch_phys_wc_add, not mtrr_add, and arch_phys_wc_add is a
> no-op on systems with working PAT.
>
> Unfortunately, I never finished excising mtrr_add. Finishing the job
> wouldn't be very hard.
>

The use of MTRRs in drivers is separate from the MTRR global setup done
by the firmware, though.

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/