i835GM flicker on panning

2013-09-22 Thread Thomas Richter
Hi folks, hi Daniel, there is still an issue with flicker on panning with the 835GM chipset. As already explained, the flicker only appears if the panning position satisfies certain alignment constraints, in specific. As long as the plane pointer is aligned to 64 byte boundaries, everything wo

Re: i835GM flicker on panning

2013-09-22 Thread Thomas Richter
On 22.09.2013 22:03, Daniel Vetter wrote: Hm, that sounds a bit more like the ddx is having fun with rendering. Have you tried switching the backed from to either SNA or UXA? Also adding relevant mailing lists ... No, whether I use uxa or sna makes no difference, same problem. I don't think it'

Re: i835GM flicker on panning

2013-09-23 Thread Thomas Richter
Hi Daniel, hi others, On 22.09.2013 22:03, Daniel Vetter wrote: Hm, that sounds a bit more like the ddx is having fun with rendering. Have you tried switching the backed from to either SNA or UXA? Also adding relevant mailing lists ... No, whether I use uxa or sna makes no difference, same pr

Re: i835GM flicker on panning

2013-09-23 Thread Thomas Richter
Hi folks, Can you please test with Option "LinearFramebuffer" "true"? Thanks, Daniel Tested again. Yes, indeed, LinearFramebuffer does make a difference. Without it, panning to the right causes flicker, with it, moving the mouse to the right - panning right (thus scrolling the scre

[HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-08 Thread Thomas Richter
Hi Alan, hi Dominik, maybe you want me to help out a bit - I'm having trouble getting a Delock PCMCIA to USB-2 adapter to work under linux, with strange behavior in some situations. The trouble is that while I can *read* via fast (usb 2.0) transfers from the port, an ehci-triggered write just

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-09 Thread Thomas Richter
On 09.08.2013 19:46, Alan Stern wrote: On Fri, 9 Aug 2013, Thomas Richter wrote: Hi Alan, hi Dominik, maybe you want me to help out a bit - I'm having trouble getting a Delock PCMCIA to USB-2 adapter to work under linux, with strange behavior in some situations. The trouble is that wh

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
On 10.08.2013 03:07, Alan Stern wrote: Nope. udevd refuses to start and says that it requires at least 2.6.32, which means that apparently something changed in the kernel-userland interface in 2.6.32. Thus, my conclusion that there's probably something nasty going on in userland with udev. Wha

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
Hi Alan, later... ok, bisected this even more. 2.6.31.14 kernel, old udev works fine. Then removed /etc/rcS.d/S02udev to be sure the 2.6.32 kernel would not pull the new udev. Rebuild 2.6.32.1 with *identical* kernel configuration, booted up, manually started the *old* udev as in 2.6.31.14, a

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
On 10.08.2013 14:04, Alan Stern wrote: On Sat, 10 Aug 2013, Thomas Richter wrote: What about other usb modules? I would probably need a short recap on through which modules the user data flows before the write is triggered, and which modules are involved in the configuration of the NEC

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
Hi Josep, Have you tried to wait for 5 minutes? It could also be related to it what happens to my kernel 3.11.0-rc4 (and rc3) and USB I plug the drive. Only after 5 minutes of high-speed of USb bus, it mounts. No, currently I don't even depend on gnome mounting it. I don't run a desktop. I j

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
On 10.08.2013 22:03, Josep Lladonosa wrote: I add that some usb pendrives mount immediately and some others don't... Nope, all the same here... None works. Pen drive, hard disk, does not matter. Greetings, Thomas -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
Hi Josep, Perhaps both cases are related, and if you waited after those 5 minutes of resets, your pen would work fine... Have you checked your /var/log/messages after insertion of pen? My automount is under XFCE, not Gnome... ;) Unclear. Messages I get seem to make sense. First, it detects t

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
On 11.08.2013 03:46, Alan Stern wrote: On Sat, 10 Aug 2013, Thomas Richter wrote: Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and yenta_socket as well. No changes were necessary. Also replaced ehci-hcd, Do you mean that you took the source code for ehci-hcd from the

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
On 11.08.2013 03:46, Alan Stern wrote: On Sat, 10 Aug 2013, Thomas Richter wrote: Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and yenta_socket as well. No changes were necessary. Also replaced ehci-hcd, Do you mean that you took the source code for ehci-hcd from the

[PCMCIA] Solved: No USB 2.0 (ehci) in PCMCIA slot on E7110

2013-08-11 Thread Thomas Richter
Dear Alan, Josep, David, dear PCMCIA maintainers, this is on followup of a hang I reported earlier when using a delock (NEC-based) PCMCIA card in a O2Micro slot of an oldish E7110 Fujitsu laptop. The phenomenon is that read accesses through the ehci interface of the USB host adapter are unreli

[PATCH] joydev.c: Digital joysticks on analog ports

2005-07-07 Thread Thomas Richter
ts all default input modes to "digital" instead of analog. The new ioctl JSIOCSDIGITAL for joydev allows to adjusts this on the running driver. Greetings, Thomas Richter Patch for drivers/input/joydev.c: /* snip */ --- ../linux-2.4.31/drivers/input/joydev.c 2003-06-13 16:51:34

Re: Fw: [Bugme-new] [Bug 4334] New: kernel support for netmos 9835/9735 crippled since 2.6.9

2005-03-14 Thread Thomas Richter
Hi Andrew, > I'm inclined to simply revert that change. In case the mentioned lines do cause problems, please do not hesitate to remove them. As the comments indicate, the patch was completely untested as I haven't had the cards available. However, please ensure that the parallel port remains a

[PATCH] snd_hda_intel for F/S T4210

2007-08-29 Thread Thomas Richter
Hi folks, the patch below, to be applied to sound/pci/hda/patch_sigmatel.c fixes the audio output on the Fujiutsu/Siemens lifebook T4210 (and probably on others). It is suitable for the kernel 2.6.23-rc4 (and probably others). Without the patch, audio fails and the hda driver fails to load with

[PATCH] tools: fix compile error of freq-step.c

2017-08-15 Thread Thomas Richter
freq-step [root@s8360046 timers]# ./freq-step CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: 348 ns [SKIP] 1..0 # Skipped: [SKIP] [root@s8360046 timers]# Signed-off-by: Thomas Richter --- tools/testing/selftests/timers/freq-step.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] [PATCH v2] perf test: add platform dependency to test 15

2017-06-22 Thread Thomas Richter
'!s390x' <--- new skipped [s390x] './tests/attr//test-stat-C1' <--- new The test is skipped with return code 0. Suggested-by: Jiri Olsa Signed-off-by: Thomas Richter Reviewed-by: Jiri Olsa Reviwed-by: Arnaldo Carvalho de Melo --- tools/perf/tests/attr.py | 48 +

[PATCH] perf report: Create auxiliary trace data files for s390

2018-08-06 Thread Thomas Richter
perf]# ./perf report ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file ch

[PATCH 4/4] perf stat: Add transaction flag (-T) support for s390

2018-06-21 Thread Thomas Richter
rt_no_special 0.001070109 seconds time elapsed [root@s35lp76 perf]# Suggested-by: Andi Kleen Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/builtin-stat.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin

[PATCH 1/4] Revert "perf list: Add s390 support for detailed/verbose PMU event description"

2018-06-21 Thread Thomas Richter
This reverts commit 038586c34301578e538f6c5aa79ca82bce1b9152. Fix the support of detailed/verbose PMU event description by using the "Unit": keyword in the json files to address event names refering to the /sys/devices/cpum_[cs]f devices. Signed-off-by: Thomas Richter Reviewed-b

[PATCH 2/4] perf list: Add s390 support for detailed PMU event description

2018-06-21 Thread Thomas Richter
Correct the support of detailed/verbose PMU event description by using the "Unit": keyword in the json files to address event names refering to the /sys/devices/cpum_[cs]f devices. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s

[PATCH 3/4] perf json: Add s390 transaction counter definition

2018-06-21 Thread Thomas Richter
61232 seconds time elapsed [root@s35lp76 perf]# Suggested-by: Andi Kleen Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z13/transaction.json | 7 +++ tools/perf/pmu-events/arch/s390/cf_z14/transaction.json | 7 +++ tools/perf/pm

[PATCH 4/4 v2] perf stat: Add transaction flag (-T) support for s390

2018-06-22 Thread Thomas Richter
rt_no_special 0.001070109 seconds time elapsed [root@s35lp76 perf]# Suggested-by: Andi Kleen Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/builtin-stat.c | 12 1 file changed, 12 insertions(+) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin

[PATCH 4/4 v3] perf stat: Add transaction flag (-T) support for s390

2018-06-25 Thread Thomas Richter
1 tx_nc_tend 11 tx_nc_tabort 0 tx_c_tabort_special 0 tx_c_tabort_no_special 0.001070109 seconds time elapsed [root@s35lp76 perf]# Suggested-by: Andi Kleen Signed-off-by: Thomas Richter Suggested-by: Hendrik Brueckner Revi

[PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-08 Thread Thomas Richter
rt ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file changed, 91 insert

Ping [PATCH v3] perf report: Create auxiliary trace data files for s390

2018-08-21 Thread Thomas Richter
rt ... [root@p23lp27 perf]# ll /tmp/aux.smp.00 -rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00 [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/s390-cpumsf.c | 94 +-- 1 file changed, 91 insert

[PATCH v2] perf build: Fix installation directory for bpf

2018-07-26 Thread Thomas Richter
ring : Ok 40.2: BPF pinning : Ok 40.3: BPF prologue generation : Ok 40.4: BPF relocation checker : Ok [root@p23lp27 perf]# Suggested-by: Stefan Liebler Suggested-by: A

[PATCH v2] perf build: Fix installation directory for bpf

2018-07-31 Thread Thomas Richter
ring : Ok 40.2: BPF pinning : Ok 40.3: BPF prologue generation : Ok 40.4: BPF relocation checker : Ok [root@p23lp27 perf]# Suggested-by: Stefan Liebler Suggested-by: A

[PATCH 1/3] perf auxtrace: Support for perf report -D for s390

2018-08-02 Thread Thomas Richter
]: PERF_RECORD_AUXTRACE size: 0x4 offset: 0 ref: 0 idx: 4 tid: -1 cpu: 4 Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/util/auxtrace.c | 1 + tools/perf/util/Build| 1 + tools/perf/util/auxtrace.c | 3

[PATCH 0/3] perf report: Add s390 auxiliary trace support

2018-08-02 Thread Thomas Richter
perf report interprets the perf.data input file with option -D. Patch 3: Display auxiliary trace in UI. Resolve addresses to symbols and file names. Thomas Richter (4): perf auxtrace: Support for perf report -D for s390 perf report: Add raw report support for s390 auxiliary

[PATCH 2/3] perf report: Add raw report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
The basic sampling entry and diagnostic sampling entry sizes can be extracted using the trailer entries in the SDB. On older hardware these values (bsdes and dsdes in the trailer entry) are reserved and zero. Older hardware use hard coded values based on the s390 machine type. Signed-off-by: Thomas

[PATCH 3/3] perf report: Add GUI report support for s390 auxiliary trace

2018-08-02 Thread Thomas Richter
2.04% 2.04% ls [kernel.kallsyms] [k] ___might_sleep 1.83% 1.83% ls [kernel.kallsyms] [k] debug_lockdep_rcu_enabled 1.44% 1.44% ls [kernel.kallsyms] [k] dput .... Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner ---

[PATCH] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-23 Thread Thomas Richter
tmricht/linux-next/tools/build/Makefile.build:96: recipe for target 'libbpf.o' failed Fix this by using strerror_r return value in pr_warning statement. Also fixes a possible initialization issue. Cc: Wang Nan Signed-off-by: Thomas Richter --- tools/lib/bpf/libbpf.c | 6 +++--- 1 file change

[PATCH] perf test: Fix subtest number when showing results

2018-07-24 Thread Thomas Richter
: BPF filter subtest 4: Ok [root@s35lp76 ~]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/tests/builtin-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c index dd850a26d5

[PATCH v2] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-25 Thread Thomas Richter
the supplied buffer is not needed. This is also consistant with all the other pr_warning() statements in this file which all use strerror(). Also fixes a possible initialization issue. Cc: Wang Nan Cc: Alexei Starovoitov Cc: Daniel Borkmann Signed-off-by: Thomas Richter --- tools/lib/bpf

[PATCH] perf kvm: Fix subcommands on s390

2018-07-12 Thread Thomas Richter
compare with the CPU identifier string. Fix this by changing the comparison. Fixes: eca0fa28cd0d ("perf record: Provide detailed information on s390 CPU") Cc: Stefan Raspl Cc: # 4.17 Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/util/kvm-st

[PATCH] perf trace: Warn about --call-graph dwarf invalid parameters

2018-01-11 Thread Thomas Richter
]# ./perf trace --no-syscalls --call-graph dwarf,4096,4 callchain: No more arguments needed for --call-graph dwarf[,xxx] Please specify something to trace. [root@s35lp76 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/callchain.c | 4 1 file changed, 4 insertions(+) diff --git a/tools

[PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-12 Thread Thomas Richter
hat for call-graph=fp the kernel stack unwinder is used and it stops after unwinding x entries. For dwarf the complete stack data is returned and the unwinding is done by perf itself and it uses --max-stack command line flag. Signed-off-by: Thomas Richter Reviewed-by: Hendrick Brueck

[PATCH] perf test: Fix test trace+probe_libc_inet_pton.sh for s390x

2018-01-17 Thread Thomas Richter
tel the test case runs unchanged and succeeds. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- .../perf/tests/shell/trace+probe_libc_inet_pton.sh | 23 +- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/tools/perf/tests/shell/trace+probe_libc_in

[PATCH] perf record: Fix failed memory allocation for get_cpuid_str

2018-01-17 Thread Thomas Richter
first parameter and operates on a NULL pointer which might cause core dumps. Signed-off-by: Thomas Richter --- tools/perf/arch/x86/util/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/arch/x86/util/header.c b/tools/perf/arch/x86/util/header.c index

[PATCH] perf stat: Add support for s390 transaction counters

2018-03-12 Thread Thomas Richter
76 perf]# Output on x86 is unchanged. Signed-off-by: Thomas Richter Reviewed--by: Hendrik Brueckner --- tools/perf/builtin-stat.c | 162 ++ 1 file changed, 135 insertions(+), 27 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/

[PATCH] perf stat: Make function perf_stat_evsel_id_init static

2018-03-12 Thread Thomas Richter
Function perf_stat_evsel_id_init() has global linkage but is only used in util/stat.c. Make it static. Signed-off-by: Thomas Richter --- tools/perf/util/stat.c | 2 +- tools/perf/util/stat.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/perf/util/stat.c b/tools

[PATCH Resent] perf annotate: Fix s390 target function disassembly

2018-03-06 Thread Thomas Richter
are always zero which is an invalid address. Fix this by skipping the first operand on s390. Signed-off-by: Thomas Richter Tested-by: Christian Borntraeger Reviewed-by: Hendrik Brueckner --- tools/perf/util/annotate.c | 8 1 file changed, 8 insertions(+) diff --git a/tools/perf/util/an

[PATCH v2] perf annotate: Fix s390 target function disassembly

2018-03-07 Thread Thomas Richter
are always zero which is an invalid address. Introduce a s390 specific call parsing function which skips the first operand on s390. Signed-off-by: Thomas Richter --- tools/perf/arch/s390/annotate/instructions.c | 53 +++- tools/perf/util/annotate.c | 2 +-

[PATCH 2/5] perf list: Add pmu event json file for IBM z196

2018-03-26 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM z196. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z196/basic.json | 74 +++ .../perf/pmu-events/arch/s390/cf_z196/crypto.json | 98

[PATCH 5/5] perf list: Add pmu event json file for IBM z14

2018-03-26 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM z14. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z14/basic.json | 50 tools/perf/pmu-events/arch/s390/cf_z14/crypto.json | 98 +++ .../perf/pmu

[PATCH 4/5] perf list: Add pmu event json file for IBM z13

2018-03-26 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM z13. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z13/basic.json | 74 + tools/perf/pmu-events/arch/s390/cf_z13/crypto.json | 98 ++ .../perf/pmu

[PATCH 3/5] perf list: Add pmu event json file for IBM zEC12 zBC12

2018-03-26 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM zEC12 and zBC12. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- .../perf/pmu-events/arch/s390/cf_zec12/basic.json | 74 +++ .../perf/pmu-events/arch/s390/cf_zec12/crypto.json | 98

[PATCH 1/5] perf list: Add pmu event json file for IBM z10EC z10BC

2018-03-26 Thread Thomas Richter
Add CPU measurement counter facility event description files (json files) for IBM z10EC and z10BC. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z10/basic.json | 74 ++ tools/perf/pmu-events/arch/s390/cf_z10/crypto.json | 98

[PATCH] perf test: Adapt test case record+probe_libc_inet_pton.sh for s390

2018-04-12 Thread Thomas Richter
1393c0 __GI___inet_pton (/usr/lib64/libc-2.26.so) fe60d getaddrinfo (/usr/lib64/libc-2.26.so) 2f40 main (/usr/bin/ping) [root@f27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/tests/shell/record+probe_libc_inet_pton.s

[PATCH] perf record: Remove unnecessary warning for missing sysfs entry

2018-04-12 Thread Thomas Richter
moved the warning, if the directory is not present memory node information is not available and won't be displayed. Signed-off-by: Thomas Richter --- tools/perf/util/header.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 121df

[PATCH] perf record: Change warning for missing sysfs entry to debug

2018-04-12 Thread Thomas Richter
statement. So it is only shown when debug level 2 or higher is set. Signed-off-by: Thomas Richter --- tools/perf/util/header.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 121df1683c36..a8bff2178fbc 100644 --- a/t

[PATCH] perf list: Add s390 support for detailed/verbose pmu event description

2018-03-20 Thread Thomas Richter
Functions] dea_blocked_cycles [DEA Blocked Cycles] dea_blocked_functions [DEA Blocked Functions] Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/pmu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/util/pmu.c b/tools/perf

[PATCH] perf list: Add s390 support for detailed/verbose pmu event description

2018-04-09 Thread Thomas Richter
From: Thomas Richter Perf list with flags -d and -v print a description (-d) or a very verbose explanation (-v) of CPU specific counter events. These descriptions are provided with the json files in directory pmu-events/arch/s390/*.json. Display of these descriptions on s390 requires the

[PATCH v2] perf list: Add s390 support for detailed/verbose pmu event description

2018-04-10 Thread Thomas Richter
From: Thomas Richter Perf list with flags -d and -v print a description (-d) or a very verbose explanation (-v) of CPU specific counter events. These descriptions are provided with the json files in directory pmu-events/arch/s390/*.json. Display of these descriptions on s390 requires the

[PATCH] perf annotate: Handle s390 pc relative load and store instruction.

2018-03-08 Thread Thomas Richter
output is parsed (like on x86) and perf annotate shows those lines as: lgrl %r7,mp_+0x60 This patch handles the s390 specific instruction parsing for pc relative load and store instructions. Signed-off-by: Thomas Richter --- tools/perf/arch/s390/annotate/instructions.c | 63

[PATCH] perf stat: Fix core dump when flag T is used

2018-03-08 Thread Thomas Richter
inter to the necessary error information instead of NULL. Technically only the else part is needed to avoid the core dump, just lets be save... Signed-off-by: Thomas Richter --- tools/perf/builtin-stat.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/perf/builti

[PATCH 2/2 v2] perf stat: Add support for flag T on s390

2018-03-14 Thread Thomas Richter
00 K/sec 0 cpum_cf/TX_NC_TABORT/ #0.000 K/sec 0 cpum_cf/TX_NC_TEND/ #0.000 K/sec 1.001934710 seconds time elapsed [root@s35lp76 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/builtin-stat.c | 30 +

[PATCH 1/2 v2] perf stat: Rework x86 transaction counter handling

2018-03-14 Thread Thomas Richter
ing on the architecture and the CPU measurement facility counter list. This scheme can be easily extended to support other architectures. Output does not change. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Reviewed-by: Hendrik Brueckner --- tools/perf/builtin-st

[PATCH v2] perf test: S390 does not support watchpoints in test 22

2018-09-28 Thread Thomas Richter
: 22.1: Read Only Watchpoint: Skip 22.2: Write Only Watchpoint : Skip 22.3: Read / Write Watchpoint : Skip 22.4: Modify Watchpoint : Skip [root@s8360046 perf]# Signed-off-by: Thomas Richter

[PATCH v3] perf test: S390 does not support watchpoints in test 22

2018-09-28 Thread Thomas Richter
]# ./perf test -v 22 22: Watchpoint: Disabled [root@s8360046 perf]# Signed-off-by: Thomas Richter --- tools/perf/tests/builtin-test.c | 1 + tools/perf/tests/tests.h| 1 + tools/perf/tests/wp.c | 12 3 files changed, 14 insertions

[PATCH 4/4 v4] perf stat: Add transaction flag (-T) support for s390

2018-06-26 Thread Thomas Richter
tend 11 tx_nc_tabort 0 tx_c_tabort_special 0 tx_c_tabort_no_special 0.001070109 seconds time elapsed [root@s35lp76 perf]# Suggested-by: Andi Kleen Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Acked-by: Andi Kle

[PATCH] perf test 39 (Session topology) dumps core on s390

2018-05-24 Thread Thomas Richter
cket_id number is too big.You may need to upgrade the perf tool. end Session topology: Skip [root@p23lp27 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/tests/topology.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --gi

[PATCH v2] perf test 39 (Session topology) dumps core on s390

2018-05-28 Thread Thomas Richter
cket_id number is too big.You may need to upgrade the perf tool. end Session topology: Skip [root@p23lp27 perf]# Signed-off-by: Thomas Richter --- --- tools/perf/tests/topology.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/tools/p

[PATCH] perf docu: Update section on cpu topology

2018-05-28 Thread Thomas Richter
Add an explanation of each cpu's core and socket identifier to the documentation. Signed-off-by: Thomas Richter --- tools/perf/Documentation/perf.data-file-format.txt | 8 1 file changed, 8 insertions(+) diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools

[PATCH] perf docu: Update section on cpu description

2018-05-28 Thread Thomas Richter
Fix the section HEADER_CPUDESC so the documentation matches code. Swap the two members of struct nr_cpus. Signed-off-by: Thomas Richter --- tools/perf/Documentation/perf.data-file-format.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf.data

[PATCH 3/3] perf stat: Remove duplicate event counting

2018-06-14 Thread Thomas Richter
51446 551446 Performance counter stats for '/root/mytesttx 1': 1 tx_nc_tend 0.000961134 seconds time elapsed [root@s35lp76 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/pmu.c | 71 ++- 1 file ch

[PATCH 2/3] perf alias: Rebuild alias expression string to make it comparable

2018-06-14 Thread Thomas Richter
ble. s390 for example has terms specified as event=0x0091 (read from files ..//events/ and terms specified as event=0x91 (read from JSON files). Signed-off-by: Thomas Richter --- tools/perf/util/pmu.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --gi

[PATCH 1/3] perf alias: Remove trailing newline when reading sysfs files

2018-06-14 Thread Thomas Richter
Remove a trailing newline when reading sysfs file contents such as /sys/devices/cpum_cf/events/TX_NC_TEND. This show when verbose option -v is used. Output before: tx_nc_tend -> 'cpum_cf'/'event=0x008d '/ Output after: tx_nc_tend -> 'cpum_cf'/'ev

[PATCH 2/3 v2] perf alias: Rebuild alias expression string to make it comparable

2018-06-15 Thread Thomas Richter
ble. s390 for example has terms specified as event=0x0091 (read from files ..//events/ and terms specified as event=0x91 (read from JSON files). Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Jiri Olsa --- tools/perf/util/pmu.c | 25 - 1 file changed,

[PATCH 1/3 v2] perf alias: Remove trailing newline when reading sysfs files

2018-06-15 Thread Thomas Richter
Remove a trailing newline when reading sysfs file contents such as /sys/devices/cpum_cf/events/TX_NC_TEND. This shows when verbose option -v is used. Output before: tx_nc_tend -> 'cpum_cf'/'event=0x008d '/ Output after: tx_nc_tend -> 'cpum_cf'/'ev

[PATCH 3/3 v2] perf stat: Remove duplicate event counting

2018-06-15 Thread Thomas Richter
51446 551446 Performance counter stats for '/root/mytesttx 1': 1 tx_nc_tend 0.000961134 seconds time elapsed [root@s35lp76 perf]# Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc: Jiri Olsa --- tools/perf/util/pmu.c | 71 +

[PATCH] perf/stat: Handle different PMU names with common prefix

2018-10-23 Thread Thomas Richter
1 tx_c_tend 0.001815365 seconds time elapsed 0.000123000 seconds user 0.001756000 seconds sys [root@s35lp76 perf]# Fixes: 292c34c10249 ("perf pmu: Fix core PMU alias list for X86 platform") Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner Cc:

[PATCH] perf ftrace: Command fails on s390

2021-04-09 Thread Thomas Richter
| | | | 4) | rcu_read_lock_sched_held() { 4) 0.552 us|rcu_lockdep_current_cpu_online(); 4) 6.124 us| } Signed-off-by: Thomas Richter --- tools/perf/builtin-ftrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/buil

[PATCH 2/2] perf annotate: Fix s390 target function disassembly

2018-02-28 Thread Thomas Richter
ch is an invalid address. Fix this by skipping the first operand on s390. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/util/annotate.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/annotate.c b/tools/perf/util/

[PATCH 1/2] perf annotate: Remove s390 basr instruction from call table

2018-02-28 Thread Thomas Richter
Since the target address is unknown to perf it can not be handled. Therefore remove the right arrow from such an instruction as the target function can not be identified. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/annotate/instructions.c | 3 +-- 1 file

[PATCH] inode: debugfs_create_dir uses mode permission from parent

2018-04-27 Thread Thomas Richter
inode() into callers") Signed-off-by: Thomas Richter Cc: Greg Kroah-Hartman --- fs/debugfs/inode.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 13b01351dd1c..80618330d86a 100644 --- a/fs/debugfs/inode.c +++ b/fs/debug

[PATCH v2] inode: debugfs_create_dir uses mode permission from parent

2018-04-27 Thread Thomas Richter
─ [drwxr-xr-x] events # │   ├── [drwxr-xr-x] alarmtimer Fixes: edac65eaf8d5c ("debugfs: take mode-dependent parts of debugfs_get_inode() into callers") Signed-off-by: Thomas Richter Cc: Greg Kroah-Hartman --- fs/debugfs/inode.c | 4 +++- 1 file changed, 3 insertions(+), 1 delet

[PATCH] perf: test 60 fails on s390 inline missing on s390

2018-05-02 Thread Thomas Richter
1347e8 __inet_pton (inlined) f19d7 gaih_inet.constprop.5 (/usr/lib64/libc-2.24.so) f4c3f __GI_getaddrinfo (inlined) 410b main (/usr/bin/ping) Allow __inet_pton listed as inline. Signed-off-by: Thomas Richter --- tools/perf/tests/she

[PATCH] perf test: Use header file util/debug.h

2018-05-28 Thread Thomas Richter
Use the header file util/debug.h instead of declaration of verbose variable. Signed-off-by: Thomas Richter --- tools/perf/tests/python-use.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/tests/python-use.c b/tools/perf/tests/python-use.c index 5d2df65ada6a

[PATCH] kprobes: Fix random address output of blacklist file

2018-04-26 Thread Thomas Richter
("printk: hash addresses printed with %p") Cc: # v4.15+ Cc: To: Ananth N Mavinakayanahalli To: Anil S Keshavamurthy To: David S Miller To: Masami Hiramatsu To: Andrew Morton To: a...@kernel.org To: Steven Rostedt Signed-off-by: Thomas Richter --- kernel/kprobes.c | 2 +- 1 file c

[PATCH] pert/report: Support s390 diag event display on x86

2019-04-26 Thread Thomas Richter
35lp76 --stdio > /dev/null interpreting bpf_prog_info from systems with endianity is not yet supported interpreting btf from systems with endianity is not yet supported [root@f29 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/s390-cpumsf.c | 95 --- 1 fil

[PATCH] perf tests: Fix test 68 zstd compression for s390

2020-07-29 Thread Thomas Richter
0.002 MB, ratio is 3.609) ] Checking compressed events stats: # compressed : Zstd, level = 1, ratio = 4 COMPRESSED events: 1 2ELIFREPh end Zstd perf.data compression/decompression: Ok [root@t35lp46 perf]# Signed-off-by: Thomas Richter Reviewed-by: Sumanth Korikkar --

Re: [PATCH] perf test: Skip test 68 for Powerpc

2020-12-08 Thread Thomas Richter
: Ok [root@m35lp76 perf]# However on my fedora32 machine it still fails: [root@t35lp46 perf]# cat /etc/fedora-release Fedora release 32 (Thirty Two) [root@t35lp46 perf]# ./perf test -F 68 68: PE file support : FAILED! [root@t35lp46 perf]# Note that I am running the

Re: [PATCH] perf test: Fix perf test 42

2021-03-24 Thread Thomas Richter
On 3/23/21 7:06 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 22, 2021 at 01:53:39PM +0100, Thomas Richter escreveu: >> For some time now the perf test 42: BPF filter returns an error >> on bpf relocation subtest, at least on x86 and s390. This is caused by >> >>

[PATCH] perf test: Remove perf sub test 42.4 BPF relocation checker

2021-03-24 Thread Thomas Richter
42.3: BPF prologue generation : Ok # Signed-off-by: Thomas Richter --- tools/perf/tests/bpf.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tools/perf/tests/bpf.c b/tools/perf/tests/bpf.c index f57e075b0ed2..c72adbd67386 100644 --- a/tools/perf/tests/bpf.c +++ b/

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-03 Thread Thomas Richter
On 3/2/21 9:10 PM, Liang, Kan wrote: > > > On 3/2/2021 12:08 PM, Thomas Richter wrote: >> On 3/2/21 4:23 PM, Liang, Kan wrote: >>> >>> >>> On 3/2/2021 9:48 AM, Thomas Richter wrote: >>>> On 3/2/21 3:03 PM, Liang, Kan wrote: >>>&

[PATCH] perf test: Fix perf test 42

2021-03-22 Thread Thomas Richter
: Ok 42.3: BPF prologue generation : Ok 42.4: BPF relocation checker: Ok # Signed-off-by: Thomas Richter --- tools/perf/tests/bpf-script-test-relocation.c | 4 ++-- tools/perf/tests/bpf.c| 11 +++ 2 files changed, 13 insertions(+), 2 deletion

[PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
@t35lp46 perf]# Fixes: commit c7444297fd3769 ("perf test: Support PERF_SAMPLE_WEIGHT_STRUCT") Signed-off-by: Thomas Richter --- tools/perf/util/evsel.c| 8 +--- tools/perf/util/synthetic-events.c | 6 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
On 3/2/21 3:03 PM, Liang, Kan wrote: > > + Athira Rajeev > > On 3/2/2021 8:31 AM, Thomas Richter wrote: >> Executing perf test 27 fails on s390: >>   [root@t35lp46 perf]# ./perf test -Fv 27 >>   27: Sample parsing >>   --- start --- >>   end --

Re: [PATCH] perf test: Test case 27 fails on s390 and non-x86 platforms

2021-03-02 Thread Thomas Richter
On 3/2/21 4:23 PM, Liang, Kan wrote: > > > On 3/2/2021 9:48 AM, Thomas Richter wrote: >> On 3/2/21 3:03 PM, Liang, Kan wrote: >>> >>> + Athira Rajeev >>> >>> On 3/2/2021 8:31 AM, Thomas Richter wrote: >>>> Executing perf test 27

[PATCH] tool/perf: Perf build fails on 5.12.0rc2 on s390

2021-03-09 Thread Thomas Richter
d a value when it is defined. Output after: [root@m35lp76 perf]# make util/synthetic-events.o CC util/synthetic-events.o [root@m35lp76 perf]# Signed-off-by: Thomas Richter --- tools/perf/util/synthetic-events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/

Re: Kernel OOPS when reloading i915 after resume from suspend

2014-07-02 Thread Thomas Richter
Am 02.07.2014 23:22, schrieb Pavel Machek: Hi! still experimenting with the resume from suspend on the Fujitsu S6010. I can, however, still create a kernel oops. The kernel source comes from alm_fixes5, kernel 3.15.0-rc7+. For that, do the following: 1) Shut down X, 2) Unbind the consoles: ec

Kernel OOPS when reloading i915 after resume from suspend

2014-06-29 Thread Thomas Richter
Hi Ville, hi Daniel, still experimenting with the resume from suspend on the Fujitsu S6010. I can, however, still create a kernel oops. The kernel source comes from alm_fixes5, kernel 3.15.0-rc7+. For that, do the following: 1) Shut down X, 2) Unbind the consoles: echo 0 > /sys/class/vtconso

[PATCH] perf report: Add s390 diagnosic sampling descriptor size

2019-02-11 Thread Thomas Richter
Samples # Total Lost Samples: 0 # Samples: 3K of event 'SF_CYCLES_BASIC_DIAG' # Samples: 162 of event 'CF_DIAG' [root@s38lp82 perf]# Fixes: 2b1444f2e28b ("perf report: Add raw report support for s390 auxiliary trace") Signed-off-by: Thomas Richter Reviewed-by:

[PATCH 0/3] perf/java: Add s390 support for jitted JAVA

2019-09-09 Thread Thomas Richter
(perf jvmti): Compile jvmti/* and generate a loadable libperf-jvmti.so Patch 2 (perf): Include JVMTI into the s390 build Patch 3 (perf/java): Add detection of java-11-openjdk-devel package Thomas Richter (3): perf jvmti: Link against tools/lib/string.h to have weak strlcpy() perf: Include

[PATCH 3/3] perf/java: Add detection of java-11-openjdk-devel package

2019-09-09 Thread Thomas Richter
With Java 11 there is no seperate JRE anymore. Details: https://coderanch.com/t/701603/java/JRE-JDK Therefore the detection of the JRE needs to be adapted. This change works for s390 and x86. I have not tested other platforms. Suggested-by: Andreas Krebbel Signed-off-by: Thomas Richter

  1   2   3   >