From patchwork Tue Feb 17 07:04:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Kirjanov X-Patchwork-Id: 440489 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 807D21402A8 for ; Tue, 17 Feb 2015 18:02:59 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 5A3A31A0C71 for ; Tue, 17 Feb 2015 18:02:59 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 9DEFA1A025C for ; Tue, 17 Feb 2015 18:00:52 +1100 (AEDT) Received: by labge10 with SMTP id ge10so33884555lab.12 for ; Mon, 16 Feb 2015 23:00:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CPyFB7B3PAUDH3sPyDYm9Ev2fbfftVZBcC7e3YekRDE=; b=eIP2rYj4RY2e5r+PlxbAbqOvxZNa/s9lXc+ACd6nkbF9htcT/8A+6Sv2Z0xLTOpqJi GVLJMw5V8ikkT58F7fOg/ydT1LHju032xa6rOW6GXI8Mi3PI+GIEAeHn35HzQuoqNDOO tkwufaFsghGF9tgE7ZsVcLkFnMV6GOwJV6ttFMjFBifWQ1ebX+bhvhQQHMyUQgrldKGE FThwu4xhWrGNRAaLADo5EixazxP2KL1rWWN8PT1NJKxlo/NiR43aAIUAUSO2hOI8Anxn IF0f1kbrX1hjFpi048oMa2L/96h0W8v788VrsEcjeCXJR1NHEiv+QXcan5BpJ6VCohFJ jWug== X-Gm-Message-State: ALoCoQmzmWfnOIWYbcEg4WvWWPwhfB/en4Dt229PFCe6MaSW2ztxPWFznKvMJc9AOFR8D/gmjqvr X-Received: by 10.152.26.136 with SMTP id l8mr6173166lag.109.1424156449195; Mon, 16 Feb 2015 23:00:49 -0800 (PST) Received: from localhost.localdomain ([87.228.41.15]) by mx.google.com with ESMTPSA id ky8sm3377043lac.4.2015.02.16.23.00.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Feb 2015 23:00:48 -0800 (PST) From: Denis Kirjanov To: netdev@vger.kernel.org Subject: [PATCH net-next v2 2/6] ppc: bpf: add reqired opcodes for ppc32 Date: Tue, 17 Feb 2015 10:04:39 +0300 Message-Id: <1424156683-2682-3-git-send-email-kda@linux-powerpc.org> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1424156683-2682-1-git-send-email-kda@linux-powerpc.org> References: <1424156683-2682-1-git-send-email-kda@linux-powerpc.org> Cc: Denis Kirjanov , linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Signed-off-by: Denis Kirjanov --- arch/powerpc/include/asm/ppc-opcode.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 03cd858..2eadde0 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -212,6 +212,8 @@ #define PPC_INST_LWZ 0x80000000 #define PPC_INST_STD 0xf8000000 #define PPC_INST_STDU 0xf8000001 +#define PPC_INST_STW 0x90000000 +#define PPC_INST_STWU 0x94000000 #define PPC_INST_MFLR 0x7c0802a6 #define PPC_INST_MTLR 0x7c0803a6 #define PPC_INST_CMPWI 0x2c000000