Bug 1027250 - Add support to tuned for setting MSR_IA32_ENERGY_PERF_BIAS Intel CPU MSR
Summary: Add support to tuned for setting MSR_IA32_ENERGY_PERF_BIAS Intel CPU MSR
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: All
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1015675
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 12:25 UTC by Jaroslav Škarvada
Modified: 2015-11-02 13:53 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.12.1-98.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1015675
Environment:
Last Closed: 2014-06-13 13:04:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Comment 1 Jaroslav Škarvada 2013-11-06 12:26:36 UTC
Tuned needs to run x86_energy_perf tool to modify the MSR:

type=AVC msg=audit(1383740537.980:1592): avc:  denied  { write } for  pid=43003 comm="x86_energy_perf" name="msr" dev="devtmpfs" ino=1152 scontext=system_u:system_r:tuned_t:s0 tcontext=system_u:object_r:cpu_device_t:s0 tclass=chr_file
type=SYSCALL msg=audit(1383740537.980:1592): arch=c000003e syscall=2 success=no exit=-13 a0=7fff48938330 a1=2 a2=7fff4893833f a3=7fff489380e0 items=0 ppid=41071 pid=43003 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="x86_energy_perf" exe="/usr/bin/x86_energy_perf_policy" subj=system_u:system_r:tuned_t:s0 key=(null)

Comment 2 Jaroslav Škarvada 2013-11-06 12:26:57 UTC
The same code is heading into f21.

Comment 3 Jaroslav Škarvada 2013-11-06 12:27:25 UTC
And also f20.

Comment 4 Miroslav Grepl 2013-11-06 20:23:30 UTC
commit 9dd2836b055b65f62f96bd7ecd9f0ea138531a1c
Author: Miroslav Grepl <mgrepl>
Date:   Wed Nov 6 22:22:47 2013 +0100

    Allow x86_energy_perf  tool to modify the MSR

Comment 7 Ludek Smid 2014-06-13 13:04:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.