On Fri, Mar 23, 2018 at 1:41 PM, Thomas Gleixner <t...@linutronix.de> wrote:
> On Fri, 23 Mar 2018, Joel Fernandes wrote:
>> On Fri, Mar 23, 2018 at 2:11 AM, Thomas Gleixner <t...@linutronix.de> wrote:
>> > On Thu, 22 Mar 2018, Joel Fernandes wrote:
>> Sor
Starovoitov <a...@kernel.org>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index cf17c7932a6e..13f74b67ca44 100644
--- a/samples/bpf/Makefile
+++ b/samples/
stress test.
Acked-by: Alexei Starovoitov <a...@kernel.org>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/map_perf_test_kern.c | 2 +-
samples/bpf/map_perf_test_user.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/bpf/map_perf_t
is
going to run on. To fix this, lets pass ARCH so the header knows which target
the BPF program is being compiled for and can use the correct pt_regs code.
Acked-by: Alexei Starovoitov <a...@kernel.org>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/
Acked-by: Alexei Starovoitov <a...@kernel.org>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/README.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/samples/bpf/README.rst b/samples/bpf/README.rst
index 79f9a58f1872..2b906127ef54 100644
--- a
.
Changes since v3:
- just a repost with acks
[1] https://lkml.org/lkml/2017/8/7/417
Joel Fernandes (4):
samples/bpf: Use getppid instead of getpgrp for array map stress
samples/bpf: Enable cross compiler support
samples/bpf: Fix pt_regs issues when cross-compiling
samples/bpf: Add
Hi Alexei,
On Tue, Sep 5, 2017 at 8:24 PM, Alexei Starovoitov
<alexei.starovoi...@gmail.com> wrote:
> On Sun, Sep 03, 2017 at 11:23:21AM -0700, Joel Fernandes wrote:
>> These patches fix issues seen when cross-compiling eBPF samples on arm64.
>> Compared to [1], I dropped the
stress test.
CC: Alexei Starovoitov <a...@kernel.org>
CC: Daniel Borkmann <dan...@iogearbox.net>
Cc: David Miller <da...@davemloft.net>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/map_perf_test_kern.c | 2 +-
samples/bpf/map_perf_test_user.c |
net>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 2 +-
tools/testing/selftests/bpf/bpf_helpers.h | 56 +++
2 files changed, 50 insertions(+), 8 deletions(-)
diff --git a/samples/bpf/Makefile b/samples/bpf/Mak
<a...@kernel.org>
CC: Daniel Borkmann <dan...@iogearbox.net>
Cc: David Miller <da...@davemloft.net>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/samples/bpf/Makefile b/samples/bpf/Mak
CC: Alexei Starovoitov <a...@kernel.org>
CC: Daniel Borkmann <dan...@iogearbox.net>
CC: David Miller <da...@davemloft.net>
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/README.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/samples/
controversial
bit.
[1] https://lkml.org/lkml/2017/8/7/417
Joel Fernandes (4):
samples/bpf: Use getppid instead of getpgrp for array map stress
samples/bpf: Enable cross compiler support
samples/bpf: Fix pt_regs issues when cross-compiling
samples/bpf: Add documentation on cross compilation
On Tue, Aug 8, 2017 at 8:35 PM, David Miller <da...@davemloft.net> wrote:
> From: Joel Fernandes <joe...@google.com>
> Date: Mon, 7 Aug 2017 18:20:49 -0700
>
>> On Mon, Aug 7, 2017 at 11:28 AM, David Miller <da...@davemloft.net> wrote:
>>> The amo
Hi Dave,
On Mon, Aug 7, 2017 at 11:28 AM, David Miller wrote:
>
> Please, no.
Sorry you dislike it, I had intentionally marked it as RFC as its an
idea I was just toying with the idea and posted it early to get
feedback.
>
> The amount of hellish hacks we are adding to
On Mon, Aug 7, 2017 at 6:06 AM, Joel Fernandes <joe...@google.com> wrote:
> inline assembly has haunted building samples on arm64 for quite sometime.
> This patch uses the pre-processor to noop all occurences of inline asm when
> compiling the BPF sample for the BPF target.
the cross target is
running and its not smart to rely on it.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 6 ++
1 file changed, 6 insertions(+)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 6c7468eb3684..e5642c8c144d 100644
--- a/samples/bpf/Ma
stress test.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/map_perf_test_kern.c | 2 +-
samples/bpf/map_perf_test_user.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/bpf/map_perf_test_kern.c b/samples/bpf/map_perf_test_kern.c
index 245165
-kernel/2015-November/024036.html
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 40 +---
samples/bpf/arm64_asmstubs.h | 3 +++
samples/bpf/bpf_helpers.h | 12 ++--
samples/bpf/generic_asmstubs.h | 4 +
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/README.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/samples/bpf/README.rst b/samples/bpf/README.rst
index 79f9a58f1872..2b906127ef54 100644
--- a/samples/bpf/README.rst
+++ b/samples/bpf/README.rst
@@
is
going to run on. To fix this, lets pass ARCH so the header knows which target
the BPF program is being compiled for and can use the correct pt_regs code.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 2 +-
samples/bpf/bpf_helpers.
the cross target is
running and its not smart to rely on it.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 6 ++
1 file changed, 6 insertions(+)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index 6c7468eb3684..e5642c8c144d 100644
--- a/samples/bpf/Ma
-kernel/2015-November/024036.html
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 40 +---
samples/bpf/arm64_asmstubs.h | 3 +++
samples/bpf/bpf_helpers.h | 12 ++--
samples/bpf/generic_asmstubs.h | 4 +
is
going to run on. To fix this, lets pass ARCH so the header knows which target
the BPF program is being compiled for and can use the correct pt_regs code.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/Makefile | 2 +-
samples/bpf/bpf_helpers.
stress test.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/map_perf_test_kern.c | 2 +-
samples/bpf/map_perf_test_user.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/bpf/map_perf_test_kern.c b/samples/bpf/map_perf_test_kern.c
index 245165
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/README.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/samples/bpf/README.rst b/samples/bpf/README.rst
index 79f9a58f1872..2b906127ef54 100644
--- a/samples/bpf/README.rst
+++ b/samples/bpf/README.rst
@@
Hi Daniel,
>>>
>>> So the only arch that sets __ARCH_WANT_SYSCALL_DEPRECATED
>>> is score:
>>>
>>>$ git grep -n __ARCH_WANT_SYSCALL_DEPRECATED
>>>arch/score/include/uapi/asm/unistd.h:7:#define
>>> __ARCH_WANT_SYSCALL_DEPRECATED
>>>include/uapi/asm-generic/unistd.h:837:#ifdef
>>>
On Fri, Aug 4, 2017 at 6:58 AM, Daniel Borkmann <dan...@iogearbox.net> wrote:
> On 08/04/2017 07:46 AM, Joel Fernandes wrote:
>>
>> When cross-compiling the bpf sample map_perf_test for aarch64, I find that
>> __NR_getpgrp is undefined. This causes build
When cross-compiling the bpf sample map_perf_test for aarch64, I find that
__NR_getpgrp is undefined. This causes build errors. Fix it by allowing the
deprecated syscall in the sample.
Signed-off-by: Joel Fernandes <joe...@google.com>
---
samples/bpf/map_perf_test_user.c | 2 ++
1 file c
28 matches
Mail list logo