Package: cpufrequtils / 008-1.1

Metadata

Package Version Patches format
cpufrequtils 008-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_add_cpufreq aperf_manpage.patch | (download)

Makefile | 2 2 + 0 - 0 !
man/cpufreq-aperf.1 | 44 44 + 0 - 0 !
man/cpufreq-info.1 | 2 1 + 1 - 0 !
man/cpufreq-set.1 | 2 1 + 1 - 0 !
4 files changed, 48 insertions(+), 2 deletions(-)

---
0001 Only x86 has cpuid instruction.patch | (download)

utils/aperf.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch 1/8] only x86 has cpuid instruction

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

0003 cpufrequtils aperf Fix MSR read on 32 bit.patch | (download)

utils/aperf.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 3/8] cpufrequtils aperf: fix msr read on 32-bit

The cpufreq-aperf command does not work on 32-bit systems. The reason
for that is a wrong count argument passed to the read() call. Instead
of the buffer size, the size of the pointer to the buffer is used. On
64-bit systems this just happened to work, because we need to read an
8 byte value and a pointer has a size of 8 bytes on 64-bit. On 32-bit
systems only 4 bytes are read, which then triggers the error path.

Signed-off-by: Frank Arnold <frank.arnold@amd.com>
0004 i18n Catalan.patch | (download)

Makefile | 2 1 + 1 - 0 !
po/ca.po | 415 415 + 0 - 0 !
po/cs.po | 3 2 + 1 - 0 !
po/de.po | 3 2 + 1 - 0 !
po/fr.po | 3 2 + 1 - 0 !
po/it.po | 3 2 + 1 - 0 !
po/pt.po | 2 1 + 1 - 0 !
7 files changed, 425 insertions(+), 6 deletions(-)

 [patch 4/8] i18n: catalan

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

0005 cpufrequtils sysfs increase MAX_LINE_LEN.patch | (download)

lib/sysfs.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 5/8] cpufrequtils sysfs: increase max_line_len

larger sysfs data (>255 bytes) was truncated and thus used improperly

Signed-off-by: Roman Vasiyarov <rvasiyarov@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

0006 aperf fix compilation on x86 32 with fPIC.patch | (download)

utils/cpuid.h | 14 13 + 1 - 0 !
1 file changed, 13 insertions(+), 1 deletion(-)

 [patch 6/8] aperf: fix compilation on x86-32 with -fpic

ebx is used to store the GOT pointer when compiled with -fPIC, so it's
not usable by inline assembly.

https://bugs.gentoo.org/375967

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

0007 po add missing word in DE.patch | (download)

po/de.po | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 7/8] po: add missing word in de

Reported-by: Michael Basse
Reported-by: <tkranz@zedat.fu-berlin.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

0008 cpufrequtils make NLS optional.patch | (download)

Makefile | 1 1 + 0 - 0 !
utils/info.c | 10 9 + 1 - 0 !
utils/set.c | 10 9 + 1 - 0 !
3 files changed, 19 insertions(+), 2 deletions(-)

 [patch 8/8] cpufrequtils: make nls optional

https://bugs.gentoo.org/205576

Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>

10_build_static_lib.patch | (download)

Makefile | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

---
11_dont_touch_po_files.patch | (download)

Makefile | 9 7 + 2 - 0 !
1 file changed, 7 insertions(+), 2 deletions(-)

---