Skip to content
  • Luis R. Rodriguez's avatar
    x86/mm/mtrr: Remove kernel internal MTRR interfaces: unexport mtrr_add() and mtrr_del() · 2baa891e
    Luis R. Rodriguez authored
    The effort to replace mtrr_add() with architecture agnostic
    arch_phys_wc_add() is complete, this will ensure write-combining
    implementations (PAT on x86) is taken advantage instead of using
    MTRR. With the effort done now, hide direct MTRR access for
    drivers.
    
    The legacy user-space /proc/mtrr ABI is not affected.
    
    Update x86 documentation on MTRR to reflect the completion of
    the phasing out of direct access to MTRR, also add a note on
    platform firmware code use of MTRRs based on the obituary
    discussion of MTRRs on Linux [0].
    
      [0] http://lkml.kernel.org/r/1438991330.3109.196.camel@hp.com
    
    
    
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    Cc: <syrjala@sci.fi>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Andy Walls <awalls@md.metrocast.net>
    Cc: Antonino Daplas <adaplas@gmail.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Dave Airlie <airlied@redhat.com>
    Cc: Dave Hansen <dave.hansen...
    2baa891e