]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/intel_rdt: Move CBM specific data into a struct
authorThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 11:00:36 +0000 (13:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Apr 2017 14:10:07 +0000 (16:10 +0200)
commitd3e11b4d6ffd363747ac6e6b5522baa9ca5a20c0
treedbea1fcf4b240ba745c51e233e23000f322160ea
parent2545e9f51ea860736c4dc1e90a44ed75e9c91e3b
x86/intel_rdt: Move CBM specific data into a struct

Memory bandwidth allocation requires different information than cache
allocation.

To avoid a lump of data in struct rdt_resource, move all cache related
information into a seperate structure and add that to struct rdt_resource.

Sanitize the data types while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
arch/x86/include/asm/intel_rdt.h
arch/x86/kernel/cpu/intel_rdt.c
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c
arch/x86/kernel/cpu/intel_rdt_schemata.c