lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1707061637510.3798@vshiva-Udesk>
Date:   Thu, 6 Jul 2017 16:39:44 -0700 (PDT)
From:   Shivappa Vikas <vikas.shivappa@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>
cc:     Vikas Shivappa <vikas.shivappa@...ux.intel.com>, x86@...nel.org,
        linux-kernel@...r.kernel.org, hpa@...or.com, peterz@...radead.org,
        ravi.v.shankar@...el.com, vikas.shivappa@...el.com,
        tony.luck@...el.com, fenghua.yu@...el.com, andi.kleen@...el.com
Subject: Re: [PATCH 19/21] x86/intel_rdt/mbm: Basic counting of MBM events
 (total and local)



On Sun, 2 Jul 2017, Thomas Gleixner wrote:
>>  	INIT_LIST_HEAD(&r->evt_list);
>>
>>  	if (rdt_mon_features & (1 << QOS_L3_OCCUP_EVENT_ID))
>>  		list_add_tail(&llc_occupancy_event.list, &r->evt_list);
>> +	if (is_mbm_total_enabled())
>> +		list_add_tail(&mbm_total_event.list, &r->evt_list);
>> +	if (is_mbm_local_enabled())
>> +		list_add_tail(&mbm_local_event.list, &r->evt_list);
>
> Confused. This hooks all monitoring features to RDT_RESOURCE_L3. Why?

They are really L3 resource events as per the spec.
CPUID.(EAX=0FH, ECX=0):EDX.L3[bit 1] = 1 if L3 monitoring and we query for all 
the llc_occupancy, l3 total and local b/w with the same resource id 1.

>
> Thanks,
>
> 	tglx
>
>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ