Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by TIPC at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Acked-by: Ying Xue <ying@windriver.com>
Tested-by: Yi
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by openvswitch at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Acked-by: Pravin B Shelar <pshe...@ovn.org>
Cc: "Dav
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by caif at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Dmitry Tarnyagin <dmitry.tarnya...@lockless.no>
Cc: "Dav
On 1/5/18 7:17 AM, David Miller wrote:
From: "Yang Shi" <yan...@alibaba-inc.com>
Date: Fri, 05 Jan 2018 06:46:48 +0800
Any more comment on this change?
These patches were not really submitted properly.
If you post a series, the series goes to one destinat
Hi David,
I'm not sure if CAIF is still maintained by Dmitry Tarnyagin. Do you
have any comment on this one?
Thanks,
Yang
On 12/7/17 11:13 AM, Yang Shi wrote:
Hi folks,
Any comment on this one?
Thanks,
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out
Hi David,
Any comment is appreciated.
Thanks,
Yang
On 12/7/17 11:27 AM, Pravin Shelar wrote:
On Fri, Nov 17, 2017 at 3:02 PM, Yang Shi <yan...@alibaba-inc.com> wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are no
Hi David,
Any more comment on this change?
Thanks,
Yang
On 12/7/17 5:40 PM, Ying Xue wrote:
On 11/18/2017 07:02 AM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by TIPC at all.
So, remove the unused
On 12/7/17 11:20 AM, Jon Maloy wrote:
-Original Message-
From: netdev-ow...@vger.kernel.org [mailto:netdev-
ow...@vger.kernel.org] On Behalf Of Yang Shi
Sent: Thursday, December 07, 2017 14:16
To: linux-ker...@vger.kernel.org
Cc: linux...@kvack.org; linux-fsde...@vger.kernel.org
Hi folks,
Any comment on this one?
Thanks,
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by TIPC at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alib
Hi folks,
Any comment on this one?
Thanks,
Yang
On 11/17/17 5:48 PM, Yang Shi wrote:
It looks the email address of Pravin in MAINTAINERS file is obsolete,
sent to the right address.
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h
Hi folks,
Any comment on this one?
Thanks,
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by caif at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alib
Hi folks,
Any comment on this one?
Thanks,
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by vfs at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alib
The email to Herbert is returned, resent it.
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by crypto at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <
It looks the email address of Pravin in MAINTAINERS file is obsolete,
sent to the right address.
Yang
On 11/17/17 3:02 PM, Yang Shi wrote:
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by openvswitch at all.
So, remove
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by crypto at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Herbert Xu <herb...@gondor.apana.org.au>
Cc: "Dav
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by pstore at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Kees Cook <keesc...@chromium.org>
Cc: Anton Vorontsov <an...
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by btrfs at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Chris Mason <c...@fb.com>
Cc: Josef Bacik <jba...@fb.com>
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by openvswitch at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Pravin Shelar <pshe...@nicira.com>
Cc: "Dav
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by vfs at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Alexander Viro <v...@zeniv.linux.org.uk>
---
fs/dcache.c
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by TIPC at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Jon Maloy <jon.ma...@ericsson.com>
Cc: Ying Xue <ying@wi
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by caif at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Dmitry Tarnyagin <dmitry.tarnya...@lockless.no>
Cc: "Dav
Preempt counter APIs have been split out, currently, hardirq.h just
includes irq_enter/exit APIs which are not used by kmemleak at all.
So, remove the unused hardirq.h.
Signed-off-by: Yang Shi <yan...@alibaba-inc.com>
Cc: Michal Hocko <mho...@suse.com>
Cc: Andrew Morton
for temp
registers which not need to be saved/restored during function call. So, replace
R23 and R24 to R10 and R11, and remove tmp_used flag to save 2 instructions for
some jited BPF program.
CC: Daniel Borkmann <dan...@iogearbox.net>
Acked-by: Zi Shen Lim <zlim@gmail.com>
Signed-off-
for temp
registers which not need to be saved/restored during function call. So, replace
R23 and R24 to R10 and R11, and remove tmp_used flag.
CC: Zi Shen Lim <zlim@gmail.com>
CC: Daniel Borkmann <dan...@iogearbox.net>
Signed-off-by: Yang Shi <yang@linaro.org>
---
Apply
aarch64 doesn't have native store immediate instruction, such operation
has to be implemented by the below instruction sequence:
Load immediate to register
Store register
Signed-off-by: Yang Shi <yang@linaro.org>
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmai
n call stack
| |
+-+
low
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmail.com>
Signed-off-by: Yang Shi <yang@linaro.org>
---
V4 --> V3:
* Save/restore x25 and x26
V3 --> V2:
* Make FP point to FP'
* Fix a compile warning
n call stack
| |
+-+
low
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmail.com>
Signed-off-by: Yang Shi <yang@linaro.org>
---
V3 --> V2:
* Make FP point to FP'
* Fix a
Changelog in V2:
Split to two patches according to the suggestion from Zi Shen Lim
Show A64_FP in stack layout diagram
Correct "+64" to "-64"
Yang Shi (2):
arm64: bpf: fix JIT frame pointer setup
arm64: bpf: make BPF prologue and epilogue align with ARM64 AA
all stack
| |
+-+
low
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmail.com>
Signed-off-by: Yang Shi <yang@linaro.org>
---
arch/arm64/net/bpf_jit_comp.c | 34 +-
1 file changed, 29 insertions(+), 5 deletions(
BPF fp should point to the top of the BPF prog stack. The original
implementation made it point to the bottom incorrectly.
Move A64_SP to fp before reserve BPF prog stack space.
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmail.com>
Signed-off-by: Yang Shi <yang
e sysreg.h is useless for BPF samples, just exclude it from Makefile via
defining __ASM_SYSREG_H.
Signed-off-by: Yang Shi <yang@linaro.org>
---
samples/bpf/Makefile | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile
index
aarch64 doesn't have native store immediate instruction, such operation
has to be implemented by the below instruction sequence:
Load immediate to register
Store register
Signed-off-by: Yang Shi <yang@linaro.org>
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi.w...@gmail
aarch64 doesn't have native support for XADD instruction, implement it by
the below instruction sequence:
Load (dst + off) to a register
Add src to it
Store it back to (dst + off)
Signed-off-by: Yang Shi <yang@linaro.org>
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wang <xi
A64_SP => +-+
| |
| ... | Function call stack
| |
+-+
low
Signed-off-by: Yang Shi <yang@linaro.org>
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wa
A64_SP => +-+
| |
| ... | Function call stack
| |
+-+
low
Signed-off-by: Yang Shi <yang@linaro.org>
CC: Zi Shen Lim <zlim@gmail.com>
CC: Xi Wa
aarch64 and s390x support eBPF JIT too, correct document to reflect this and
avoid any confusion.
Signed-off-by: Yang Shi <yang@linaro.org>
---
Documentation/networking/filter.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/networking/filter.
When running "mod X" operation, if X is 0 the filter has to be halt.
Add new test cases to cover A = A mod X if X is 0, and A = A mod 1.
CC: Xi Wang <xi.w...@gmail.com>
CC: Zi Shen Lim <zlim@gmail.com>
Signed-off-by: Yang Shi <yang@linaro.org&
8083
7560: 008751e0 8000 0001 124e2d1d 00107b77
Convert hashtab lock to raw lock to avoid such warning.
Signed-off-by: Yang Shi <yang@linaro.org>
---
This patch is applicable to mainline kernel too.
kernel/bpf/hashtab.
Define aarch64 specific registers for building bpf samples correctly.
Signed-off-by: Yang Shi <yang@linaro.org>
---
samples/bpf/bpf_helpers.h | 12
1 file changed, 12 insertions(+)
diff --git a/samples/bpf/bpf_helpers.h b/samples/bpf/bpf_helpers.h
index 3a44d3a..af44e56
39 matches
Mail list logo