a potential refactoring of the hvc_console to use tty_port
functions.
Signed-off-by: Hendrik Brueckner
---
drivers/tty/hvc/hvc_console.c | 11 ++-
drivers/tty/hvc/hvc_console.h |3 +++
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/drivers/tty/hvc/hvc_console.c b
caused undesired disconnects during the
login phase. To prevent these kind of disconnects, implement the dtr_rts
callback to implicitly handle the HUPCL termios control via the hvc_console
driver.
Signed-off-by: Hendrik Brueckner
---
drivers/tty/hvc/hvc_iucv.c | 64
Hi folks,
this series resolves an issue for hvc back-ends that transfer
terminal data over an established communication path.
The current implementation of the hvc_console layer notifies its
back-ends for tty open, close, and hangups. However, there are
conditions where the hangup-on-close (HUPC
With this commit, the perf tool then reports:
failed to mmap with 95 (Operation not supported)
which is more clear.
Cc: Pu Hou
Cc: Thomas-Mich Richter
Signed-off-by: Hendrik Brueckner
---
kernel/events/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ker
Arnaldo,
On Thu, Aug 02, 2018 at 09:49:09AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Thu, Aug 02, 2018 at 09:46:20AM +0200, Thomas Richter escreveu:
> > Add initial support for s390 auxiliary traces using the
> > CPU-Measurement Sampling Facility.
>
> Could you please provide one or two paragr
ric W. Biederman
> Cc: Andrei Vagin
> Cc: Hendrik Brueckner
> ---
> init/Kconfig | 24
> 1 file changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/init/Kconfig b/init/Kconfig
> index 041f3a022122..9c529c763326 100644
> --- a/init/Kconfig
On Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Jan 15, 2018 at 01:31:00PM +0100, Thomas-Mich Richter escreveu:
> > On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote:
> > > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo
> > > escreveu:
>
o I would propose to go with adding the cpum_cf/ specific ones first.
If necessary, they could go into the perf/arch/s390/ directory and included
in builtin-stat. I put a todo on my list to provide at least a
tx-commit/abort for the nonconstraint transactions. (The other would still be
speci
On Mon, Jul 02, 2018 at 04:33:28PM -0600, Mathieu Poirier wrote:
> It can be advantagous to have access to all the information conveyed by
> a perf_event when setting up the AUX buffer, as it is the case when
> dealing with PMU specific driver configuration communicated to the kernel
> using an ioc
porary C program, in order to get the correct output:
>
> static const char *syscalltbl_arm64[] = {
> [46] = "ftruncate",
>
> Cc: Ravi Bangoria
> Cc: Alexander Shishkin
> Cc: Hendrik Brueckner
> Cc: Jiri Olsa
> Cc: Michael Ellerman
> Cc: Namhyung
27;open*', just like was already possible on x86, s390, and powerpc, which
> means arm64 can now pass the "Check open filename arg using perf trace +
> vfs_getname" test.
>
> Cc: Ravi Bangoria
> Cc: Alexander Shishkin
> Cc: Hendrik Brueckner
> Cc: Jiri Olsa
porary C program, in order to get the correct output:
>
> static const char *syscalltbl_arm64[] = {
> [46] = "ftruncate",
>
> Cc: Ravi Bangoria
> Cc: Alexander Shishkin
> Cc: Hendrik Brueckner
> Cc: Jiri Olsa
> Cc: Michael Ellerman
> Cc: Namhyung
On Thu, Jun 11, 2015 at 12:25:01PM +0200, Peter Zijlstra wrote:
> On Thu, 2015-06-11 at 11:59 +0200, Hendrik Brueckner wrote:
> > The ENOTSUPP (which actually should be EOPNOTSUPP for user space) does not
> > trigger a fallback event selection, for example, by perf record.
> >
ENOENT causes the perf tool to fallback to a software-based cycle PMU that
supports interrupts.
The commit 53b25335dd ("perf: Disable sampled events if no PMU interrupt")
introduced that incompatible change.
Reported-by: Michael Holzheu
Signed-off-by: Hendrik Brueckner
---
kernel/eve
ng care of the
accounting.
Reported-by: Michael Holzheu
Signed-off-by: Hendrik Brueckner
---
kernel/events/core.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 4c66465..d9051e0 100644
--- a/kernel/events/core.c
+++ b/
On Tue, Oct 15, 2013 at 03:47:50PM -0500, Benjamin Herrenschmidt wrote:
> On Tue, 2013-10-15 at 17:36 +0200, Hendrik Brueckner wrote:
> > On Sat, Oct 12, 2013 at 07:43:24AM +1100, Benjamin Herrenschmidt wrote:
> > > On Fri, 2013-10-11 at 14:47 +0200, Hendrik Brueckner wrote:
&g
On Wed, Oct 16, 2013 at 06:21:12PM -0500, Benjamin Herrenschmidt wrote:
> On Wed, 2013-10-16 at 11:04 +0200, Hendrik Brueckner wrote:
> > Indeed, two callbacks change the DTR line. The main difference is that
> > tiocmget/tiocmset can be called from user space by ioctl. That'
Hi Benjamin,
On Fri, Oct 11, 2013 at 06:15:11PM +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2013-07-02 at 17:07 +0200, Hendrik Brueckner wrote:
> > Introduce a new callback to explicitly handle the HUPCL termios control
> > flag.
> > This prepares for a follow-up co
Hi Benjamin,
On Sat, Oct 12, 2013 at 07:43:24AM +1100, Benjamin Herrenschmidt wrote:
> On Fri, 2013-10-11 at 14:47 +0200, Hendrik Brueckner wrote:
> > The tiocmget/tiocmset callbacks are used to set and get modem status and
> > triggered through an tty ioctl.
> >
> >
content. Introduce a
system_certificate_list_size (8-byte aligned because of unsigned long) variable
that stores the length. Let the linker calculate this size by introducing
a start and end label for the certificate content.
Signed-off-by: Hendrik Brueckner
---
kernel/system_certificates.S
On Mon, Oct 20, 2014 at 10:48:13AM +0200, Peter Zijlstra wrote:
> On Sun, Oct 19, 2014 at 05:08:08PM -0700, Andy Lutomirski wrote:
> > There are a whole bunch of implementations of that
> > callback:
> >
> > - perf_event_idx_default seems fishy
>
> I suppose I did that to encode the rule that 0
On Mon, May 20, 2019 at 02:03:22PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, May 20, 2019 at 04:42:42PM +0200, Thomas Richter escreveu:
> > Perf report fails to display s390 specific event numbered bd000
> > on an x86 platform. For example on s390 this works without error:
> >
> > [root@m35
h 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 file changed, 77 insertions(+), 18 deletions(-)
>
Looks sane to me.
Thanks, Thomas.
Reviewed-by: Hendrik Brueckner
Hi John,
On Fri, Apr 20, 2018 at 02:53:27PM +0100, John Garry wrote:
> On 20/04/2018 14:25, Thomas-Mich Richter wrote:
> >On 04/20/2018 12:51 PM, John Garry wrote:
> >>I noticed that in 4.17-rc1 support was included for s390 perf pmu-events. I
> >>also notice that the JSONs contain many common (i
Hi Andreas,
On Wed, Jun 15, 2016 at 12:00:59PM +0200, Andreas Ziegler wrote:
>
> your patch "s390/crc32-vx: add crypto API module for optimized CRC-32
> algorithms" showed up in linux-next today (next-20160615) as commit
> 364148e0b195.
>
> The patch defines the Kconfig option CRYPTO_CRC32_S3
21 -
> 6 files changed, 1754 deletions(-)
> delete mode 100644 arch/s390/oprofile/hwsampler.c
> delete mode 100644 arch/s390/oprofile/hwsampler.h
> delete mode 100644 arch/s390/oprofile/op_counter.h
>
Reviewed-by: Hendrik Brueckner
On Mon, Jun 06, 2016 at 12:44:50PM +0200, Christian Borntraeger wrote:
> On 06/06/2016 12:29 PM, Peter Zijlstra wrote:
> > On Mon, Jun 06, 2016 at 11:29:36AM +0200, Hendrik Brueckner wrote:
> >
> >>>> Looks like perf_pmu_register does not like to be called twice
re_context. The point here is how to solve this issue on s390.
It would not be a good approach to pull them together because their are
different hardware interfaces (different facilities, different instructions).
Sharing is also not an option like ARM does this for its littleBIG PMU. One
option
eletion(-)
> >
> > --- a/arch/s390/kernel/perf_cpum_sf.c
> > +++ b/arch/s390/kernel/perf_cpum_sf.c
> > @@ -1518,7 +1518,7 @@ static int cpumf_pmu_notifier(struct not
> >
> > switch (action & ~CPU_TASKS_FROZEN) {
> > case CPU_ONLINE:
> >
n",
> file_offset + head, event->header.size,
> -event->header.type);
> - err = -EINVAL;
> +event->header.type, strerror(-skip));
> + err = skip;
> goto out;
> }
>
Thanks for solving this issue.
Reviewed-by: Hendrik Brueckner
Hi Arnaldo,
On Fri, Feb 02, 2018 at 01:23:22PM -0300, Arnaldo Carvalho de Melo wrote:
>
> I noticed, after fast forwarding my perf/urgent branch to
> torvalds/master, that this appears in my perf build:
>
> Warning: Kernel ABI header at 'tools/arch/s390/include/uapi/asm/unistd.h'
> differ
Correct the broken uapi for the BPF_PROG_TYPE_PERF_EVENT program type
by exporting the user_pt_regs structure instead of the pt_regs structure
that is in-kernel only.
Signed-off-by: Hendrik Brueckner
Reviewed-by: Thomas Richter
Cc: Will Deacon
Cc: Mark Rutland
Cc: Arnaldo Carvalho de Melo
h to keep the header file
in sync with kernel changes.
Suggested-by: Thomas Richter
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Cc: Arnaldo Carvalho de Melo
Cc: Jiri Olsa
Cc: Heiko Carstens
---
tools/perf/arch/s390/Makefile | 1 +
tools/perf/arch/s390/ut
Synchronize the uapi kernel header files which solves the broken
uapi export of pt_regs. Because of arch-specific uapi headers,
extended the include path in the Makefile.
With this change, the test_verifier program compiles and runs successfully
on s390.
Signed-off-by: Hendrik Brueckner
ter
Fixes: 0515e5999a466dfe ("bpf: introduce BPF_PROG_TYPE_PERF_EVENT program type")
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Cc: Arnaldo Carvalho de Melo
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Alexander Shishkin
Cc: Jiri Olsa
Cc: Namhyung Kim
C
function is added for s390 to support
BPF prologue creation.
Hendrik Brueckner (5):
bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program
type
arm64/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program
version
only. (Of course, s390 tries to ensure keep it stable as much as possible.)
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Cc: Martin Schwidefsky
Cc: Heiko Carstens
Cc: Arnaldo Carvalho de Melo
Cc: Alexei Starovoitov
Cc: Daniel Borkmann
---
arch/s390/include
Hi Alexei,
On Sun, Dec 03, 2017 at 09:51:10AM -0800, Alexei Starovoitov wrote:
> On Fri, Dec 01, 2017 at 03:19:04PM +0100, Hendrik Brueckner wrote:
> > --- a/include/uapi/linux/bpf_perf_event.h
> > +++ b/include/uapi/linux/bpf_perf_event.h
> > @@ -8,11
Correct the broken uapi for the BPF_PROG_TYPE_PERF_EVENT program type
by exporting the user_pt_regs structure instead of the pt_regs structure
that is in-kernel only.
Signed-off-by: Hendrik Brueckner
Reviewed-by: Thomas Richter
Acked-by: Alexei Starovoitov
Cc: Will Deacon
Cc: Mark Rutland
Cc
e.h (#4/6) as suggested by Alexei.
Hendrik Brueckner (6):
bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program type
s390/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program
type
arm64/bpf: correct broken uapi for BPF_PROG_TYPE_PERF_EVENT program
type
s390/uapi:
h to keep the header file
in sync with kernel changes.
Suggested-by: Thomas Richter
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Acked-by: Alexei Starovoitov
Cc: Arnaldo Carvalho de Melo
Cc: Jiri Olsa
Cc: Heiko Carstens
---
tools/perf/arch/s390/Makefile
Correct whitespace and coding style issues in the s390 asm/ptrace.h
uapi header file. This is preparatory work to copy it to the tools/
directory for inclusion by selftests and perf.
Signed-off-by: Hendrik Brueckner
---
arch/s390/include/uapi/asm/ptrace.h | 118
Synchronize the uapi kernel header files which solves the broken
uapi export of pt_regs. Because of arch-specific uapi headers,
extended the include path in the Makefile.
With this change, the test_verifier program compiles and runs successfully
on s390.
Signed-off-by: Hendrik Brueckner
version
only. (Of course, s390 tries to ensure keep it stable as much as possible.)
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Acked-by: Alexei Starovoitov
Cc: Martin Schwidefsky
Cc: Heiko Carstens
Cc: Arnaldo Carvalho de Melo
Cc: Daniel Borkmann
---
arch/s390
ter
Fixes: 0515e5999a466dfe ("bpf: introduce BPF_PROG_TYPE_PERF_EVENT program type")
Signed-off-by: Hendrik Brueckner
Reviewed-and-tested-by: Thomas Richter
Acked-by: Alexei Starovoitov
Cc: Arnaldo Carvalho de Melo
Cc: Peter Zijlstra
Cc: Ingo Molnar
Cc: Alexander Shishkin
Cc: Jiri Ol
Hi Arnaldo,
On Wed, Dec 06, 2017 at 11:40:57AM -0300, Arnaldo Carvalho de Melo wrote:
> From: Hendrik Brueckner
>
> On s390, object files must be compiled with position-indepedent code in
> order to be incrementally linked or linked to shared libraries.
> Therefore, add -fPIC to
ray(j, sizeof(*new), GFP_KERNEL);
> if (!new)
> return NULL;
> j = 0;
> --
Looks good to me. Thanks.
Acked-by: Hendrik Brueckner
Commit-ID: 8a1898db51a3390241cd5fae267dc8aaa9db0f8b
Gitweb: http://git.kernel.org/tip/8a1898db51a3390241cd5fae267dc8aaa9db0f8b
Author: Hendrik Brueckner
AuthorDate: Tue, 20 Jun 2017 12:26:39 +0200
Committer: Ingo Molnar
CommitDate: Wed, 21 Jun 2017 11:58:30 +0200
perf/aux: Correct
Commit-ID: 28b8f954003e59dbf0b56be6df0d81f83e64f36b
Gitweb: https://git.kernel.org/tip/28b8f954003e59dbf0b56be6df0d81f83e64f36b
Author: Hendrik Brueckner
AuthorDate: Fri, 19 Jan 2018 09:56:14 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 23 Jan 2018 09:51:37 -0300
tools
Commit-ID: 95f28190aa012b18eab14799b905b6db3cf31529
Gitweb: https://git.kernel.org/tip/95f28190aa012b18eab14799b905b6db3cf31529
Author: Hendrik Brueckner
AuthorDate: Fri, 19 Jan 2018 09:56:13 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 23 Jan 2018 09:51:37 -0300
tools
Commit-ID: 092bd3cd7169085b09e4a5307de95e461d0581d7
Gitweb: https://git.kernel.org/tip/092bd3cd7169085b09e4a5307de95e461d0581d7
Author: Hendrik Brueckner
AuthorDate: Fri, 19 Jan 2018 09:56:16 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 23 Jan 2018 09:51:38 -0300
perf
Commit-ID: b3fa38963a6a95bef888350ff3125182462c523c
Gitweb: https://git.kernel.org/tip/b3fa38963a6a95bef888350ff3125182462c523c
Author: Hendrik Brueckner
AuthorDate: Fri, 19 Jan 2018 09:56:17 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 23 Jan 2018 09:51:38 -0300
perf
Commit-ID: 0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2
Gitweb: https://git.kernel.org/tip/0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2
Author: Hendrik Brueckner
AuthorDate: Fri, 19 Jan 2018 09:56:15 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 23 Jan 2018 09:51:37 -0300
perf
Commit-ID: ea40b6d3222e5feef178d9b49baead28e9b5fe20
Gitweb: https://git.kernel.org/tip/ea40b6d3222e5feef178d9b49baead28e9b5fe20
Author: Hendrik Brueckner
AuthorDate: Fri, 13 Apr 2018 09:42:23 +0200
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 26 Apr 2018 13:47:07 -0300
perf
Commit-ID: baa676103037e0dd145bb905eb51bc0b2f48fd49
Gitweb: https://git.kernel.org/tip/baa676103037e0dd145bb905eb51bc0b2f48fd49
Author: Hendrik Brueckner
AuthorDate: Thu, 8 Feb 2018 12:47:49 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 15 Feb 2018 10:06:00 -0300
perf
Commit-ID: 690d22d9d4423b4522fb44a71145403eef2df834
Gitweb: https://git.kernel.org/tip/690d22d9d4423b4522fb44a71145403eef2df834
Author: Hendrik Brueckner
AuthorDate: Thu, 8 Feb 2018 12:47:50 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 15 Feb 2018 10:06:08 -0300
perf
Commit-ID: f1d0b4cde922863004ce3f5f39e8662cc0686c96
Gitweb: https://git.kernel.org/tip/f1d0b4cde922863004ce3f5f39e8662cc0686c96
Author: Hendrik Brueckner
AuthorDate: Thu, 8 Feb 2018 12:47:48 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Thu, 15 Feb 2018 10:06:15 -0300
Revert
Commit-ID: 7af7919f0f4bde0cec1f546f924be81cfe50533d
Gitweb: https://git.kernel.org/tip/7af7919f0f4bde0cec1f546f924be81cfe50533d
Author: Hendrik Brueckner
AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 27 Dec 2017 12:15:49 -0300
tools
Commit-ID: 164a747f1ac2380c582988d2a4d9a9af13f8e644
Gitweb: https://git.kernel.org/tip/164a747f1ac2380c582988d2a4d9a9af13f8e644
Author: Hendrik Brueckner
AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 27 Dec 2017 12:15:50 -0300
perf
Commit-ID: 901bb0280b60782603e999a6c1e30ddfe1c7b0fb
Gitweb: https://git.kernel.org/tip/901bb0280b60782603e999a6c1e30ddfe1c7b0fb
Author: Hendrik Brueckner
AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 27 Dec 2017 12:15:50 -0300
perf
Commit-ID: a9a3f1d18a6c9ccf89728e23474645aa91e2f4f1
Gitweb: https://git.kernel.org/tip/a9a3f1d18a6c9ccf89728e23474645aa91e2f4f1
Author: Hendrik Brueckner
AuthorDate: Wed, 13 Dec 2017 17:46:54 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Wed, 27 Dec 2017 12:15:57 -0300
perf
Commit-ID: 1dc4ddf112a408e607a073d951b962b6c6e2bd6c
Gitweb: https://git.kernel.org/tip/1dc4ddf112a408e607a073d951b962b6c6e2bd6c
Author: Hendrik Brueckner
AuthorDate: Thu, 30 Nov 2017 09:49:25 +0100
Committer: Arnaldo Carvalho de Melo
CommitDate: Tue, 5 Dec 2017 10:24:32 -0300
perf
62 matches
Mail list logo