From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7108C433EA for ; Fri, 17 Jul 2020 15:05:48 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 72D2521702 for ; Fri, 17 Jul 2020 15:05:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="lR7IdlBn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="DYbzY5qT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72D2521702 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B43091BEE6; Fri, 17 Jul 2020 17:05:47 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1EB6A1BEDD for ; Fri, 17 Jul 2020 17:05:46 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id A44955C00B5; Fri, 17 Jul 2020 11:05:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 17 Jul 2020 11:05:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= y9WCCSM2mIi8lDUir/lEvDyuZSJcsH2K6rJi/CwYRLQ=; b=lR7IdlBn8bMmXHk9 EDU1TdXWdM8DcNVzkABCCwASZKMzoKHp6/pVsHaC6wXQjBiPfJMhIOP7kOt+E/I1 iLrJMpHKcdHw3GvlYf5TG9OEjEbsGLITnZ4oSyoHl2TvHg5D+uQbaMcGNXJtodMG gPpdGzciFXNsLmDX2EssKPcnU8RhfA14tGEMVHXJdvOUere4jQpiQ70Iv2mFgz2k rRP5d7N04pFUIsPL0624U3YyoSb8Ql/9Roa9kQmnJkno2xomR3pPwU3z/e3bEB73 iqfC8onOLC4675CU2rVKasc+AQjHvcPDU3aHAZSWqhBARV8ZqT7tfq2PbPBwWqKo og8bWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=y9WCCSM2mIi8lDUir/lEvDyuZSJcsH2K6rJi/CwYR LQ=; b=DYbzY5qT6E12k9SshIjrO5fMfXfNIQu5+R030+AIULEhFxGqEqa7YzvkN r7Gh+4MDAFPOTzqqn4YH86JrtkvhYS8PGWHLOYYhFb7Oxx2+bAPBKp59mlFeFcMv N98L3yFPK4aKr1JMadsqJLAmnTxGtw8SbUxZw7JJxYPJ3EU6hDmrVyXmelTOBp9f iC+VirWkGfhIxmlQEkaRo1L8KRogB9he9P8c/dctNd7l5qDDFN+eHq9w8A3rjNdW hRY2/XPDfwQIiOqaPJSIj6gfu6ED1Egxyr3XDf89CeHi89GLB5RdWw3QaOVOM9e1 U6AJi1Vq0LDmLUmpFNA3yFbqTdEWg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfeeigdekfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EBFF9328005A; Fri, 17 Jul 2020 11:05:44 -0400 (EDT) From: Thomas Monjalon To: Viacheslav Ovsiienko Cc: dev@dpdk.org, matan@mellanox.com, rasland@mellanox.com Date: Fri, 17 Jul 2020 17:05:43 +0200 Message-ID: <2065696.4d1Aeg7Mo6@thomas> In-Reply-To: <1594996104-372-3-git-send-email-viacheslavo@mellanox.com> References: <1591771085-24959-1-git-send-email-viacheslavo@mellanox.com> <1594996104-372-1-git-send-email-viacheslavo@mellanox.com> <1594996104-372-3-git-send-email-viacheslavo@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 3/3] common/mlx5: fix DevX register access opcode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/07/2020 16:28, Viacheslav Ovsiienko: > The dedicated MLX5_CMD_OP_ACCESS_REGISTER_USER opcode > must be used to read hardware register content from > unprotected mode. Otherwise? What was broken? > > Fixes: 737f44a25d97 ("common/mlx5: add register access DevX routine")