From patchwork Tue Feb 27 17:25:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 129840 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp540537edc; Tue, 27 Feb 2018 09:28:45 -0800 (PST) X-Google-Smtp-Source: AG47ELuME6Pp+VjC2OO9DDKNQdaI2xuKUMbHkGRhahVyksdyHe0TNua0d2A5A5izoBq8TmyC15hW X-Received: by 10.28.177.215 with SMTP id a206mr6775256wmf.142.1519752525769; Tue, 27 Feb 2018 09:28:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519752525; cv=none; d=google.com; s=arc-20160816; b=A7N6cAZVavySF4fdx+8706nQHTg3g76ImXEk2xnvyKUUrKB6V6FPSTfpBku4gvWl56 UrtX44NhPWgUUJRyIUjc1tMv6J+6yZQRXVriIAvl+K2RUMsHOprZo7n3nFYxF9tpozpf zBFZv8e+AOcMB1QENhCfcCh88CtR8OUM9pUAoXyzcARI1QNE+IAe13YeqPL7iVQQR9ux u/D+S3bXlz4iKEYiP+y1fDuWAkk5sc1dFr0t8e5qhCyMTvnazjwTS8KV31C0BXstVvfS rITbMZ1Kx4G+wpX5KOsQtO5LP0DTN3v1wdsEGI83ogLlTywHUqJyx8jY8YsfSvk9uRrM Q0Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=MjmjqcIGob+uoQE6xVPSpAX0+Fx7g6gjkoE6LLToVQI=; b=z/vFLEMVpjGrVl4djMMNf/wt5Bz+5wgN/V2FGcTZrRocSBEF4xDlbGCqDRdvlHDG0k /z/dujXuTuWbuzNEraYKu4i7Qrsc3hQNlCl4nsZ28A+y1VYMKxkfyjRdsP4y1waB+n2t ybsJOWMvm2rbIgozXfNwMzla/1/wK/JBlE6TWqJC3jN/11EJYRHwF/s0rfiP7mUeMRSX BmJvu1oE28RlencckXmAVOaTlV5Iqqyyd+zZrM1q/ncpXPaLbz3ZXBjH4b3Qiz2wsMxv Q4mgJA1EUbrqG3U7Ux8SAjwXCQNU18tGJ3o1iuyi+sUoNoobOac/cd2nZyy5JXFkSv6X P7Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=AtQZF5TI; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id x3si9350977wre.44.2018.02.27.09.28.45; Tue, 27 Feb 2018 09:28:45 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=AtQZF5TI; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 704955B18; Tue, 27 Feb 2018 18:27:44 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0042.outbound.protection.outlook.com [104.47.0.42]) by dpdk.org (Postfix) with ESMTP id EA39F4F91 for ; Tue, 27 Feb 2018 18:27:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MjmjqcIGob+uoQE6xVPSpAX0+Fx7g6gjkoE6LLToVQI=; b=AtQZF5TI7xjRI2AXaKR3mk0ih3kaBlY8PbaUyjU0kkjdaAOjWPIBvZMRomo5zty3UXcq/IZsXUjnH7nw7AtiB/beWPIIni61YvsSx38AY+BudTOMJSY6hxdIJiEpBj0TnlOEEzTDY57GhivM0OC9Vy4bSMFKfIHbYN7MVEWg8w0= Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Tue, 27 Feb 2018 17:27:37 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net, shreyansh.jain@nxp.com Date: Tue, 27 Feb 2018 22:55:51 +0530 Message-Id: <1519752352-15442-7-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> References: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::27) To DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 02456b55-0191-4b06-6b43-08d57e0765b9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:DB4PR04MB0768; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0768; 3:n14Int2ull9YcPct8NY0DZw6B2C471X5Eu/Tag+n5D6X77+liME++fsOl2/uq4JiezhEs9loRHvBjuP2cD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a6mCoEqw2H6YTQrFl+zL87svJu38l+bMF1s+BOuLo0bEpFCpeLyWNAdMGqsYRZLRFJ2YeAgn3uPdtJQ8EirX3ZiZEcy/WI9Im8NcMcuSbOOkb3bEVIBcs4bvBOihhH+Y+uVyZ3naW8978cY/tYOj5BEUhaXNo9PR/GhiCAbBn1q+OcsIOODZSXzYYkt+ZPOjTtuXN5swGq8BS0784mCS8z+s6imY18E14MaOP8YX0pmhOamd8zEPdVgWfDiRzjPIi08rh+rl; 4:gRefr6QZ9yJaBDi2kOIY1qXrvUQDUpYmOIghPcKZxQyFWE9Ahm7ApvQ8mNAJ97YpPyE/iImTvSRCf6E7gi/5No8vLLW9Jg6rgncWel2dvYcBI1CobJbwTFATA9QjBM2U1sdhVq1ODjb0QW2uFDD72IqYI+JzQSnENFDIwmZ2OfzFfiWp5brb30HeI6jhHBFbGk7CBEgFNZ5gjExDu1FOrqSQX7dij6Z36oVd7ltGc4qBmd23et9lce6cl/y/fOfaKMpqOT91SoIYZrGJK7GCwxMcePXLsNXzogp635kJbNkGie+4FqL4jrONHsKfCx3Y X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501198)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:DB4PR04MB0768; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0768; X-Forefront-PRVS: 05961EBAFC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39860400002)(39380400002)(346002)(199004)(189003)(26005)(316002)(68736007)(105586002)(16586007)(6512007)(36756003)(66066001)(2906002)(47776003)(386003)(6346003)(4326008)(53936002)(6486002)(8676002)(55236004)(8936002)(97736004)(81156014)(76176011)(3846002)(5009440100003)(7736002)(5660300001)(6116002)(25786009)(50226002)(6506007)(305945005)(478600001)(81166006)(51416003)(52116002)(6666003)(106356001)(86362001)(2950100002)(16526019)(48376002)(50466002)(186003)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0768; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0768; 23:tGYaqqPI1vZuOSDTBAW8sxcY1t1ywTRbkVDrHvtp0?= 1UkaYoDcyL8hYSwoLrAjZOOO7ZTetfl3Z4gFv51JPbs6zs1mVdGUr+CBVfM4FsxR9iY3NBrpieUjxaj6OIneBo25TpbqJZwlKa2meuubaC+1xrvoXxNfS10d89NoP/8cTnq+qaNhEQpCPqzcOG/9ylj63mI2I/yoGYYNz8jAdWrtNBXe4rUBLVgcHuiCjVc5c0woQ42K3B2FZWlkVNuOnq4faSaBVAm14C4fsBRHIejuxNZDmMbZb3lgrVJuAqZn2yjheJ9swReHK6J0dZTfdgPqIIpSQDaIg+IpxYleCEeUfAIoNkYFYCjEJ3Ni+XC1K+4V/HMzkSvgFv7HovTni0YgM0gkY9jyDPYb6Pyzuf2RwdWdK5zG78TeUdHAj39yIJPPEJNLjMV5s9muDd5LFLBl3Re+KuVpBp/c2McvreObho+91/R4AE9bLRKvuhQTNXNtnptVx3wiTiR6meNDxgq+1N06ZrXZAfRaI2jzQ+JRrk5T50H/e99vW1MFfO5YxsocSu93V+zPhAL5w/9o0nXKe4IQbAWcB14+kEZuXZrvZB91jkrPHJscQ4aYCsH1naP5hkacvPd8iVK10no5fxnQCT/eiVKp08w54rb2zfNunMFIJaHgx0Exmka7VnoeK1E+SGujFrc3e4DIM3JSRLPeLtc82xy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ZLo7h9+G2KCclqiDBR+ZPxFi4QbDiSwq+pKFqGL2rdXnSvfTE8iX6ZcmvWIJSZ0c7tXnwGQ9bpB4Pq8WNfg9cLclA0P0xM=; 7:GLFk59lFTkRXTJ9PYQknRo/JD9F8SiAQeQsFRt/pKJdG27JEgNqpukKTdoHb7wDy3hqK0eCfNPQ0C9fgCU1tprHfxTUQI+eApX+3hgsJW0puJgqz50ZMrWnHYIaBFnLdmchBlJYz5jJtwUfU9HMu9lLUVY8mAP4Qpy5V63p8l7ycbK7Bced2cEbP65VtqmKM2JVVaRzGJMy2iDB4TQHh3i2q1jkwY1BtlG6LAmsPAb8CQwgH7a46PetHOKkXF7rq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2018 17:27:37.0564 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02456b55-0191-4b06-6b43-08d57e0765b9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0768 Subject: [dpdk-dev] [PATCH 6/7] bus/fslmc: enabling dpaa2 compilation for other platforms 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" Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_sys_decl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.7.4 diff --git a/drivers/bus/fslmc/qbman/qbman_sys_decl.h b/drivers/bus/fslmc/qbman/qbman_sys_decl.h index 5640b04..fa6977f 100644 --- a/drivers/bus/fslmc/qbman/qbman_sys_decl.h +++ b/drivers/bus/fslmc/qbman/qbman_sys_decl.h @@ -36,4 +36,18 @@ static inline void prefetch_for_store(void *p) #define dccivac(p) RTE_SET_USED(p) #define prefetch_for_load(p) { asm volatile ("pld [%0]" : : "r" (p)); } #define prefetch_for_store(p) { asm volatile ("pld [%0]" : : "r" (p)); } + +#else +#define dcbz(p) RTE_SET_USED(p) +#define lwsync() +#define dcbf(p) RTE_SET_USED(p) +#define dccivac(p) RTE_SET_USED(p) +static inline void prefetch_for_load(void *p) +{ + RTE_SET_USED(p); +} +static inline void prefetch_for_store(void *p) +{ + RTE_SET_USED(p); +} #endif