diff --git a/SOURCES/rhel-rt.rules b/SOURCES/rhel-rt.rules index 2fcf8db..5084f69 100644 --- a/SOURCES/rhel-rt.rules +++ b/SOURCES/rhel-rt.rules @@ -2,11 +2,18 @@ # insure /dev/rtc points to /dev/rtc0 # we use PROGRAM rather than SYMLINK because there is -# a (good) possiblity that a /dev/rtc device file +# a (good) possibility that a /dev/rtc device file # already exists and we want to replace it (hence the # ln -sf) KERNEL=="rtc0", PROGRAM+="/bin/ln -sf rtc0 /dev/rtc" # Give permission to the realtime group to write a zero to /dev/cpu_dma_latency -# This will tell the power management system not to tranistion to a high cstate +# This will tell the power management system not to transition to a high cstate KERNEL=="cpu_dma_latency", GROUP="realtime" + +# Give permission to the realtime group to read the per cpu msr and cpuid +# registers. This is needed by cyclictest in rt-tests when using the new +# feature to read the smi counters. This is necessary but not sufficient +# A program that wants to access these registers will also need CAP_SYS_RAWIO +SUBSYSTEM=="msr", GROUP="realtime", MODE="0640" +SUBSYSTEM=="cpuid", GROUP="realtime", MODE="0640" diff --git a/SPECS/rt-setup.spec b/SPECS/rt-setup.spec index 4e5e621..d366086 100644 --- a/SPECS/rt-setup.spec +++ b/SPECS/rt-setup.spec @@ -1,6 +1,6 @@ Name: rt-setup Version: 1.59 -Release: 2%{?dist} +Release: 4%{?dist} License: GPL+ Summary: Setup RHEL-RT environment details Group: System Environment/Base @@ -105,6 +105,14 @@ rm -rf %{buildroot} %attr(0755, root, root) %{_bindir}/rt-setup %changelog +* Mon Jun 27 2016 John Kacur - 1.59-4 +- Rebuild for z-stream +Resolves: rhbz#1348849 +* Tue Jun 14 2016 John Kacur - 1.59-3 +- Fix some spelling mistakes in the comments in rhel-rt.rules +- Add udev rules to allow the realtime group to access msr and cpuid registers +Resolves: rhbz#1348849 + * Fri Jul 10 2015 Clark Williams - 1.59-2 - removed post-install script that disables irqbalance (1203764) - fixed typo in requires for tuned-profiles-realtime (1241936)