[PATCH 3/3] drm/i915: Don't do MTRR setup if PAT is enabled

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

 



On 3/13/12 2:02 PM, H. Peter Anvin wrote:

> However, for the overall goal of the patch sequence, I think it is a
> good thing to not use MTRRs when PAT is available.  Part of me is
> wondering if we shouldn't simply turn off the X86_FEATURE_PAT in
> boot_cpu_info when PAT is disabled.

It looks like the only user of cpu_has_pat is the PAT code itself, so 
that should be safe in the sense of not breaking anyone's expectations. 
  And it would avoid needing to export another symbol.  I like.

Will respin to do that, with better descriptions.

- ajax


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux