Message ID | 20170526003826.10834-3-david.daney@cavium.com |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wYnPb40kfz9s8H for <patchwork-incoming@ozlabs.org>; Fri, 26 May 2017 10:41:23 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=CAVIUMNETWORKS.onmicrosoft.com header.i=@CAVIUMNETWORKS.onmicrosoft.com header.b="orrjI+NC"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163378AbdEZAiz (ORCPT <rfc822;patchwork-incoming@ozlabs.org>); Thu, 25 May 2017 20:38:55 -0400 Received: from mail-sn1nam01on0079.outbound.protection.outlook.com ([104.47.32.79]:46609 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S939361AbdEZAii (ORCPT <rfc822;netdev@vger.kernel.org>); Thu, 25 May 2017 20:38:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jhvmtc8cSw4Guw3tSuwhL3iqvJs62Cijin40n0ei8hM=; b=orrjI+NCeGRZ7kEiiYZk8TcX2heucfqOxA+1KoH/SrIklEvYRPeJDwMLj1gMxLe5jJrVBn0lRQ8JEv8MndDpnPY/Yd0VLgmReWelV9TXMHTESdIR77EqQr7/3XJhgLvZqI0Cv11AWT/B7LDdjsJ0BcpDXhaeay8D4nWCxPcfHFY= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=cavium.com; Received: from ddl.caveonetworks.com (50.233.148.156) by DM5PR07MB3500.namprd07.prod.outlook.com (10.164.153.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Fri, 26 May 2017 00:38:32 +0000 From: David Daney <david.daney@cavium.com> To: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org Cc: Markos Chandras <markos.chandras@imgtec.com>, David Daney <david.daney@cavium.com> Subject: [PATCH 2/5] MIPS: Correctly define DBSHFL type instruction opcodes. Date: Thu, 25 May 2017 17:38:23 -0700 Message-Id: <20170526003826.10834-3-david.daney@cavium.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170526003826.10834-1-david.daney@cavium.com> References: <20170526003826.10834-1-david.daney@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: SN1PR0701CA0034.namprd07.prod.outlook.com (10.162.96.44) To DM5PR07MB3500.namprd07.prod.outlook.com (10.164.153.31) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR07MB3500: X-MS-Office365-Filtering-Correlation-Id: 59e5a47a-3ec1-401b-253c-08d4a3cf8987 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DM5PR07MB3500; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3500; 3:uuzQpziERt+H4fcYZhmstFw3Af5CTbsZWR9x+raRJ0EEL0PtSV4mzXh2l/WC5S3MbUP9xkA/n9i6RZN0pm/Y5235mSu5ZipxLEniLpVoo532Y6TPJSovnatMpKGp43DfPuS/gEG6LpMcPUfavLPZOrg9KVs6qSjrk7UgSKkHrsSVL+tO0wguBXhysy0A8V+afO9ers+F+EiyHROv6Xs9qCt9FvNRqD0Jmlsxvwrm6+FOwjuGaOKDUfFIGhAYGck21ZCF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hMUMq6p3BPUwMDkvQ34g8HaQGuzB4A7ALkuL9o+qut+mN84jFWfzDfticGM0RwLgDyYwdjt7YKP5YA8qXxigorMFs8EbJa+lmsX8406FT8m/VBUo/Htk64j3bS+4Mn5XZ4t1rS458g1y/LfE/Ferm/Aoxmckrv5M7lIgAo+vXlOcniVzSSIlvptFZfwLnCk7f73Pmv0iyFRao2R32ywT5XbEpgQFS+CSjHCw4dYEJ0sJnmHgAo7cGujgOolNmqV1de8+4N5DHvZtm97x9Ar6gFHR03 X-Microsoft-Antispam-PRVS: <DM5PR07MB3500CAA50D4C7B613C2CB8D097FC0@DM5PR07MB3500.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123558100)(20161123560025)(20161123562025)(6072148); SRVR:DM5PR07MB3500; BCL:0; PCL:0; RULEID:; SRVR:DM5PR07MB3500; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3500; 4:RUQE97KscKjBH9yiHt4lsq6WIbgWBCwikDdIKH+UfbgnW5Its8+1O/NAfAkqsBhd+OUmAhbrZNb0Eaw2gTHbX0h5KwECD7SkEqPHKq//LGAf40ih3G+OSKIni9g4kilsDfIXyPr7r8P4STrFRFb7KQGFu0b1LlOgre4recvMl4oDAnLJth4V4bLbY8a1MLqtzWAl1d2azJzh/xleblisec3CngY4bz00xCCMebv9ebao6E/a5wAuP51C7fD5KHXM/5DCFfw7oIOIMgQte6VLdIGZflRQL7gBnSTXRB/kZrS/kx6qumgeV+MHpwZE2IoGWJCyjPLgSVj6z1EJ1VstXtEaecTYiQx7O0AVfoKP3YrF69JeroekwiOQsRfX5OLjU8u1eGUNx7X+CI6Uv4Uqi6VeX6sg+cLjbwvjAEDNI5wIlQN84Fo2a9++oINsR+02CGeO6f1/CErhXmhqOd8UuprCnx5hjiL00pKq6bMlYSn7CGoZ9aiKjotyUgawVR3aCNOavZDwHzSTSbK8zsSVBIYt0iN40cpNRS6A8cW1sSzr5EVZdPS1qwIWhx3jMX8Jnle1Z9QxyzmH/19PJOcD6qAm2Zwr6Qex2HLgASb2EntzYniFzUSvKdbgeRMi3WkEPyLy6waRzCrmaapsdy4xGMdaCimb/y+Tjz/dqIbgW6I8gNYWA8ojz2iqwI9mmF0x9fb8PfrhyNXukdT7fhSZ2Ov5NCDsipTGFIbUGHtJMl+9DA2qmBSsgidR1CtpMQKLGfZ+b8iYLwWY0629BBsNkwHNxab4CzLHIkK6Ygd5A8o= X-Forefront-PRVS: 031996B7EF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39400400002)(39840400002)(39410400002)(39850400002)(305945005)(3846002)(5660300001)(7736002)(2906002)(53936002)(6512007)(25786009)(189998001)(478600001)(1076002)(107886003)(38730400002)(72206003)(81166006)(5003940100001)(6666003)(66066001)(47776003)(50466002)(8676002)(50226002)(42186005)(76176999)(53416004)(50986999)(6506006)(86362001)(33646002)(2950100002)(4326008)(36756003)(6486002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3500; H:ddl.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR07MB3500; 23:PkngFQb+S+SDaccoE9cI6CXdLIppCdL1MeXyr3xq7?= =?us-ascii?Q?+5cR7Kgt8iMdQJNWeiI+03ZeBTx9xCbkmpsoe32adtc6I9H4GGnFrrYhR94w?= =?us-ascii?Q?rbArW3iBCzDsU2U/QI4SaVfV4YgX+os8h6CS9Um/ZmJ9l4bEF94Of2QLz0sh?= =?us-ascii?Q?IYOSSCFZwSKa6a6W4aHShHev2NqhVuitAejei7QLT8lyYR25v7v6sL1aANZC?= =?us-ascii?Q?OM8bQD6KWXGaJV92T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iY+cbK7lRX3gW9upEFqLjblz098OAfGAMMn7D+xlVjOfjbmjv00tl9ffd26tY5T1zGjQUuWOnIEEG5P7SjjQFRDPGFWc3E248ueqiWS17SyodXH6d80W5Uw62TkovkpCDqI4XirL7dW6LEKc+LIqosvyDmrg== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2017 00:38:32.0441 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3500 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index b5e46ae..e5f5385 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h @@ -276,12 +276,19 @@ enum lx_func { */ enum bshfl_func { wsbh_op = 0x2, - dshd_op = 0x5, seb_op = 0x10, seh_op = 0x18, }; /* + * DBSHFL opcodes + */ +enum dbshfl_func { + dsbh_op = 0x2, + dshd_op = 0x5, +}; + +/* * MSA minor opcodes. */ enum msa_func {
DSHD was incorrectly classified as being BSHFL, and DSHD was missing altogether. Signed-off-by: David Daney <david.daney@cavium.com> --- arch/mips/include/uapi/asm/inst.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)