• Fenghua Yu's avatar
    x86/intel_rdt: Add basic resctrl filesystem support · 5ff193fb
    Fenghua Yu authored
    Use kernfs as basis for our user interface filesystem. This patch
    supports mount/umount, and one mount parameter "cdp" to enable code/data
    prioritization (though all we do at this point is ensure that the system
    can support CDP).  The file system is not populated yet in this patch.
    
    [ tglx: Fixed up a few nits and added cdp handling in case of error ]
    Signed-off-by: default avatarFenghua Yu <fenghua.yu@intel.com>
    Cc: "Ravi V Shankar" <ravi.v.shankar@intel.com>
    Cc: "Tony Luck" <tony.luck@intel.com>
    Cc: "Shaohua Li" <shli@fb.com>
    Cc: "Sai Prakhya" <sai.praneeth.prakhya@intel.com>
    Cc: "Peter Zijlstra" <peterz@infradead.org>
    Cc: "Stephane Eranian" <eranian@google.com>
    Cc: "Dave Hansen" <dave.hansen@intel.com>
    Cc: "David Carrillo-Cisneros" <davidcc@google.com>
    Cc: "Nilay Vaish" <nilayvaish@gmail.com>
    Cc: "Vikas Shivappa" <vikas.shivappa@linux.intel.com>
    Cc: "Ingo Molnar" <mingo@elte.hu>
    Cc: "Borislav Petkov" <bp@suse.de>
    Cc: "H. Peter Anvin" <h.peter.anvin@intel.com>
    Link: http://lkml.kernel.org/r/1477692289-37412-4-git-send-email-fenghua.yu@intel.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    5ff193fb
intel_rdt.c 9.29 KB