<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/cpu/intel_rdt.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-04-20T13:57:59Z</updated>
<entry>
<title>x86/intel_rdt: Fix padding when resource is enabled via mount</title>
<updated>2017-04-20T13:57:59Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-19T23:50:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adcbdd70309dba5a12a9d8158deb6a62a6d5fc98'/>
<id>urn:sha1:adcbdd70309dba5a12a9d8158deb6a62a6d5fc98</id>
<content type='text'>
Currently max width of 'resource name' and 'resource data' is being
initialized based on 'enabled resources' during boot. But the mount can
enable different capable resources at a later time which upsets the
tabular format of schemata. Fix this to be based on 'all capable'
resources.

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Tested-by: Prakhya, Sai Praneeth &lt;sai.praneeth.prakhya@intel.com&gt;
Cc: fenghua.yu@intel.com
Cc: tony.luck@intel.com
Cc: ravi.v.shankar@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1492645804-17465-2-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt/mba: Add schemata file support for MBA</title>
<updated>2017-04-14T14:10:09Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64e8ed3d4a6dcd6139a869a3e760e625cb0d3022'/>
<id>urn:sha1:64e8ed3d4a6dcd6139a869a3e760e625cb0d3022</id>
<content type='text'>
Add support to update the MBA bandwidth values for the domains via the
schemata file.

 - Verify that the bandwidth value is valid

 - Round to the next control step depending on the bandwidth granularity of
   the hardware

 - Convert the bandwidth to delay values and write the delay values to
   the corresponding domain PQOS_MSRs.

[ tglx: Massaged changelog ]

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-9-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt: Make schemata file parsers resource specific</title>
<updated>2017-04-14T14:10:09Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c6ea67de52c29a8b45e5fc7569fc4336bfd557b0'/>
<id>urn:sha1:c6ea67de52c29a8b45e5fc7569fc4336bfd557b0</id>
<content type='text'>
The schemata files are the user space interface to update resource
controls. The parser is hardwired to support only cache resources, which do
not fit the requirements of memory resources.

Add a function pointer for a parser to the struct rdt_resource and switch
the cache parsing over.

[ tglx: Massaged changelog ]

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-8-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt/mba: Add info directory files for Memory Bandwidth Allocation</title>
<updated>2017-04-14T14:10:08Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db69ef65636e6da135680d75d8646bd7e76136bc'/>
<id>urn:sha1:db69ef65636e6da135680d75d8646bd7e76136bc</id>
<content type='text'>
The files in the info directory for MBA are as follows:

 num_closids
 	The maximum number of CLOSids available for MBA

 min_bandwidth
 	The minimum memory bandwidth percentage value

 bandwidth_gran
 	The granularity of the bandwidth control in percent for the
	particular CPU SKU. Intermediate values entered are rounded off
	to the previous control step available. Available bandwidth
	control steps are minimum_bandwidth + N * bandwidth_gran.

 delay_linear
 	When set, the OS writes a linear percentage based value to the
	control MSRs ranging from minimum_bandwidth to 100 percent.

	This value is informational and has no influence on the values
	written to the schemata files. The values written to the
	schemata are always bandwidth percentage that is requested.

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-7-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt: Make information files resource specific</title>
<updated>2017-04-14T14:10:08Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a507a6ad8a6955a7d57255377edcef576823749'/>
<id>urn:sha1:6a507a6ad8a6955a7d57255377edcef576823749</id>
<content type='text'>
Cache allocation and memory bandwidth allocation require different
information files in the resctrl/info directory, but the current
implementation does not allow to have files per resource.

Add the necessary fields to the resource struct and assign the files
dynamically depending on the resource type.

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-6-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt/mba: Add primary support for Memory Bandwidth Allocation (MBA)</title>
<updated>2017-04-14T14:10:08Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05b93417ce5b924c6652de19fdcc27439ab37c90'/>
<id>urn:sha1:05b93417ce5b924c6652de19fdcc27439ab37c90</id>
<content type='text'>
The MBA feature details like minimum bandwidth supported, bandwidth
granularity etc are obtained via executing CPUID with EAX=10H ,ECX=3.

Setup and initialize the MBA specific extensions to data structures like
global list of RDT resources, RDT resource structure and RDT domain
structure.

[ tglx: Split out the seperate structure and the CBM related parts ]

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-5-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt/mba: Memory bandwith allocation feature detect</title>
<updated>2017-04-14T14:10:07Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab66a33b032eb5b8186aeaf648127bce829c9efd'/>
<id>urn:sha1:ab66a33b032eb5b8186aeaf648127bce829c9efd</id>
<content type='text'>
Detect MBA feature if CPUID.(EAX=10H, ECX=0):EBX.L2[bit 3] = 1.
Add supporting data structures to detect feature details which is done
in later patch using CPUID with EAX=10H, ECX= 3.

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-4-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>x86/intel_rdt: Add resource specific msr update function</title>
<updated>2017-04-14T14:10:07Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2017-04-14T12:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0921c54769bac209b302027384e9dc081198c8f5'/>
<id>urn:sha1:0921c54769bac209b302027384e9dc081198c8f5</id>
<content type='text'>
Updating of Cache and Memory bandwidth QOS MSRs is different.

Add a function pointer to struct rdt_resource and convert the cache part
over.

Based on Vikas all in one patch^Wmess.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
</content>
</entry>
<entry>
<title>x86/intel_rdt: Move CBM specific data into a struct</title>
<updated>2017-04-14T14:10:07Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2017-04-14T11:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d3e11b4d6ffd363747ac6e6b5522baa9ca5a20c0'/>
<id>urn:sha1:d3e11b4d6ffd363747ac6e6b5522baa9ca5a20c0</id>
<content type='text'>
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 &lt;tglx@linutronix.de&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
</content>
</entry>
<entry>
<title>x86/intel_rdt: Cleanup namespace to support multiple resource types</title>
<updated>2017-04-14T14:10:07Z</updated>
<author>
<name>Vikas Shivappa</name>
</author>
<published>2017-04-08T00:33:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2545e9f51ea860736c4dc1e90a44ed75e9c91e3b'/>
<id>urn:sha1:2545e9f51ea860736c4dc1e90a44ed75e9c91e3b</id>
<content type='text'>
Lot of data structures and functions are named after cache specific
resources(named after cbm, cache etc). In many cases other non cache
resources may need to share the same data structures/functions.

Generalize such naming to prepare to add more resources like memory
bandwidth.

Signed-off-by: Vikas Shivappa &lt;vikas.shivappa@linux.intel.com&gt;
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-3-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
</feed>
