From patchwork Thu Mar 1 07:33:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 130126 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2482759edc; Wed, 28 Feb 2018 23:36:41 -0800 (PST) X-Google-Smtp-Source: AG47ELu++8htig1hJbchPjz9XtjqSwTtVj24pLI2rMy8TvDOVE/HsN9oSoHFAhUfWmMs81rVpA8B X-Received: by 10.223.208.132 with SMTP id y4mr696096wrh.185.1519889801428; Wed, 28 Feb 2018 23:36:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519889801; cv=none; d=google.com; s=arc-20160816; b=y5e9oEwPLB/9GqrVs+19xmvUAeZAl7y6NQR7bre+1qQADron8a5l/wuw13PUtMuRnZ dYKmorD2q62HKXiYW0kXIPhsGwFyB7jLYJcF+huEp5+x5yL+Lz9fBBGI+EjVVuKLYtDJ RMd1bmvIgBc5dWt7wg7r4Sy9wg9oyGJRaR53JFATvRohFtVNHioE/kliMl+sKzyYvW/N /23tIYj2Nx3+x5EEDx9dDr/1i8AOkAOSn0LDYlHJi9L+Q6dpKA7oz7NAdnQ3EGUECDrm sBqDy1JIKdoqPxkmKfCM+lMJ6T13jxRUf1tvu/aFyHfEY1LlRgOueEsPwcDz2WnT5frX THvg== 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=mUsTL1/GMsIBGE5EsFrf2y8jFmLDZ7hefHCEcavaHWY8u1ThhJxYMLocNcm5ihruK0 NpV9wHbt0C3F+/8iLAjdofanXLc+ucVWWZInwLUvrzKZu3RoHNHF4dgPzycd8/uKtYVM aq5WevNuXOfmHloXIQzX6jBS6NaMMK0sw7rZvD0KG+0eA8VY1RibQ8mAcl8+RuJpcmGV UYFsGAMEpQ0XplwQUMAXrsTlGjHn4U6pJMGYMyaYjCFvLt+o3hAdiV4bZxHTv70+kEtX SE22sV/6qNWejWqbMM+RA3bZKK89r85wszcLIE3YT0Gh+cmOBb8Uxy0wP/5uc5uh4o6+ tLMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=Z/Sz2pMV; 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 63si2319136wmf.47.2018.02.28.23.36.41; Wed, 28 Feb 2018 23:36:41 -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=Z/Sz2pMV; 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 EFC405F20; Thu, 1 Mar 2018 08:35:06 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0064.outbound.protection.outlook.com [104.47.2.64]) by dpdk.org (Postfix) with ESMTP id D423A5B3A for ; Thu, 1 Mar 2018 08:35:04 +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=Z/Sz2pMVs6dEuNdWdq2Qs86UsdVuKPQ0OSRkr6vaV7D4t2pzyitkbhTuz+ayG/YaMN/BkqfCDKiY312GNQFpccB3Qy/5MQh6nXNGHbFj6owD/Am8nkdLFYV8hpUw0VQDvhMX2YbTVek5+FFX2PkfsIudcAHNM2YEtDcFr2Ldxjg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 07:35:03 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net Date: Thu, 1 Mar 2018 13:03:14 +0530 Message-Id: <1519889597-5805-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> References: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::29) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7fd4d878-983e-487d-610b-08d57f46f2af X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3: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NypejZIv97jvUT1QZZn/h5dQpmLS+PE1Zfmr5DD3QZsGSpSU7gVl2OK7+SYfQwr+ipCsIEe6+YWRcW+cJLUHHsZ1tWOZwM8Bl1tYCD6qIuv9jtkyGtbsnqaF02gNOByWpxUwbJGdEm8iG+veP90zd+xzF6pLChfsWzWJo4MS2uBJ8Th1Rwd7y3729AFCoAKe0w46W5xuSR/1AjkF8ooxaG8DZ94utgNHaNIEyzPo2fDRhkAgr1bXXNMWAT/7s4w47pknWaPwSYXiKUHeQcKN5QS2tVQ9RvtB8CNEBM9toJCnKDunE53rkecaufRvKMtmfxg+io4kS9a6PaIp1749/by8CWk4HFXpqIdwMOzX/; 4:emiZiRY5wfx+UInT7wIyjRGpytNkWVgPbM4jnlzOEHntfNP+9O7DQFl20JN7R1J99Rw1IeN+043rQXJ1TGZfmDFWN4yzPxwkp3u1u6mPeMluNEkEIVEKOwxSEzbHFjRSuYZfgGFubaVvam9o66k8R+zf/V16uayelcifoEmXd19P/KsR5FnKcPqrP5Jh6Pvk2mnuXLkRJE8uO2sV/vudzontZwFXHCHK3DceVAxKWiYEFMCKcBotaWLu5Pyz0s/9SUFMLb2xI1oRfPMiSTOpGlzE9qxQ4+71WYcaZkyv3Um2hL59gFH+RnaizJzCS7FE 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)(944501224)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39380400002)(366004)(346002)(39860400002)(199004)(189003)(7736002)(8676002)(26005)(16526019)(386003)(55236004)(106356001)(81166006)(50226002)(47776003)(81156014)(6506007)(66066001)(8936002)(16586007)(316002)(2906002)(4326008)(25786009)(6116002)(5660300001)(3846002)(186003)(86362001)(305945005)(6512007)(2950100002)(6666003)(97736004)(50466002)(48376002)(478600001)(5009440100003)(52116002)(36756003)(53936002)(68736007)(76176011)(51416003)(6486002)(105586002)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; 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) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0753; 23:AcYgKAQNKHrWmF5gU2i/yFw2iOmanEUhSZ7KhxtqP?= wwf9z6MKYJv3JS4131GyFFSGEJN7Yaj1+g5tQcxeIQEtCL1VcvKwx9yS2nfEUPE3eYDcSQdOYi/oyOqfprt+iWizE3yNm5q+YOYFtVFZppDuUC2WQVbZRTpeBotTJJylhqs46dgh5p2AW8tuvEWKIYH+5nU2f3lKBIig9s4Ux8NBHVpp8v2gT8YigCoddzRoAEHOuPFqcZdhFQh7ic/SlKXhZQ7rkWtDosrKt7F93GoNct3fyvLcJjNOaKbogtu72Iupc5e6SCb2FMno/ZewWRe2lgoY3pqO+6YdpEp4oNSwBe3LgIEz0GeWsImBxR6LWYowi2sXxiBOL9O7eFyknR2PsBLurSQvz4iOK1xI6v2LwNxa/5SYpgWOIbDK/zew9xcatDTLY4WJ5DGCXp528qTGM1dMS7D11VRsms4Dq+jCOn287m7iny5cON0R6y2YrNrE6YONmNTfldjAyIjntqWMLyQtfXtAZw/SWcCjLy/Q2Bk/ZkCN7NermYh5eoZ122SfS7YGuNzc1JmL5PFprvSmeE8UaG2Grfmy5vHyGYh4+S72/Bda8O5gmwQEtrWmIxGR7eM67H4Vg8hmY/QgUN5QmOoNX/BC/b5BV9XIYE988TojPK38i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b/0=; 24:Kq+JZyO3ogAGhUTtlSGzymtt9Y6PVUYEFg687QTNP6HCQjniQZoB5AYeTHmgqovNvKBajrUWgwUVuHDs74AM5wnp6fQoY/m65qrKcZ8YKI4=; 7:6enqLzFpKcv2yL2GGol3/5MckIUCpIvCyDb2T71MlUZmifPzach8xTjU5k2N/RVfKYN2uJ9s8ReaUjZW79NXRuWeE6W6KrvuVrRI04MithF2Ob/B/Bw7M4neicPwOVtr3UExyMnY3IxHZopO2q6Ex2O6W5UHIcuJzy+URZw78duPNZhbGCXxValJEm3v28uLB3KHsMBW23z78CjfTuatQzrhvkUCL/1ypK7AjA8mK1MVfXBehCvqlALa1xtXdXv2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 07:35:03.1311 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7fd4d878-983e-487d-610b-08d57f46f2af X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: [dpdk-dev] [PATCH v2 07/10] 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