From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 07 Sep 2015 10:29:34 +0200 (CEST) Received: from mailapp01.imgtec.com ([195.59.15.196]:3338 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27006709AbbIGI3cM0lMV (ORCPT ); Mon, 7 Sep 2015 10:29:32 +0200 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id CDB056917AFA5; Mon, 7 Sep 2015 09:29:24 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 7 Sep 2015 09:29:26 +0100 Received: from [192.168.154.88] (192.168.154.88) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Mon, 7 Sep 2015 09:29:25 +0100 Subject: Re: [PATCH 1/2 for-4.3] MIPS: BPF: Avoid unreachable code on little endian To: Aurelien Jarno , References: <1441471618-5613-1-git-send-email-aurelien@aurel32.net> CC: Ralf Baechle From: Markos Chandras Message-ID: <55ED4AE5.6060404@imgtec.com> Date: Mon, 7 Sep 2015 09:29:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1441471618-5613-1-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.88] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 49118 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Markos.Chandras@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On 09/05/2015 05:46 PM, Aurelien Jarno wrote: > On little endian, avoid generating the big endian version of the code > by using #else in addition to #ifdef #endif. Also fix one alignment > issue wrt delay slot. > > Cc: Ralf Baechle > Cc: Markos Chandras > Cc: stable@vger.kernel.org # v4.2+ > Signed-off-by: Aurelien Jarno > --- > arch/mips/net/bpf_jit_asm.S | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Reviewed-by: Markos Chandras -- markos From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailapp01.imgtec.com ([195.59.15.196]:3338 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27006709AbbIGI3cM0lMV (ORCPT ); Mon, 7 Sep 2015 10:29:32 +0200 Subject: Re: [PATCH 1/2 for-4.3] MIPS: BPF: Avoid unreachable code on little endian References: <1441471618-5613-1-git-send-email-aurelien@aurel32.net> From: Markos Chandras Message-ID: <55ED4AE5.6060404@imgtec.com> Date: Mon, 7 Sep 2015 09:29:25 +0100 MIME-Version: 1.0 In-Reply-To: <1441471618-5613-1-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Aurelien Jarno , linux-mips@linux-mips.org Cc: Ralf Baechle Message-ID: <20150907082925.wNBKx9aYh3NU_SzCaYq-ZQjL8Te4W_wHXxxFDTVsPhc@z> On 09/05/2015 05:46 PM, Aurelien Jarno wrote: > On little endian, avoid generating the big endian version of the code > by using #else in addition to #ifdef #endif. Also fix one alignment > issue wrt delay slot. > > Cc: Ralf Baechle > Cc: Markos Chandras > Cc: stable@vger.kernel.org # v4.2+ > Signed-off-by: Aurelien Jarno > --- > arch/mips/net/bpf_jit_asm.S | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) Reviewed-by: Markos Chandras -- markos