Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752057AbbKJXAX (ORCPT ); Tue, 10 Nov 2015 18:00:23 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36781 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751300AbbKJXAV (ORCPT ); Tue, 10 Nov 2015 18:00:21 -0500 From: Yang Shi To: ast@kernel.org, daniel@iogearbox.net, catalin.marinas@arm.com, will.deacon@arm.com Cc: zlim.lnx@gmail.com, xi.wang@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH 0/2] arm64: bpf: add BPF_ST and BPF_XADD instructions support Date: Tue, 10 Nov 2015 14:41:39 -0800 Message-Id: <1447195301-16757-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 22 Current ARM64 BPF JIT doesn't have store immediate and XADD instructions support, and aarch64 doesn't have native instructions for them. Implement them in instruction sequence. For detail, please refer to the commit log. The implementation is tested by test_bpf kernel module. The patches are applied after my BPF JIT stack fix [1]. [1] https://patches.linaro.org/56268/ Yang Shi (2): arm64: bpf: add 'store immediate' instruction arm64: bpf: add BPF XADD instruction arch/arm64/net/bpf_jit_comp.c | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/