From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7784FA0613 for ; Fri, 27 Sep 2019 13:03:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2A7CC1B9B5; Fri, 27 Sep 2019 13:03:29 +0200 (CEST) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by dpdk.org (Postfix) with ESMTP id 51D984C74 for ; Fri, 27 Sep 2019 13:03:27 +0200 (CEST) Received: by mail-io1-f68.google.com with SMTP id b136so15222360iof.3 for ; Fri, 27 Sep 2019 04:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oshKYgUJiz53rclmVL3P/qole1t7HbU4MDJ28Ye4CCY=; b=ZHxikwluZuwuel2HaFz9hll/KCgy0aTGBtYiwkiLKPeWmJ7tdqhsk6cY3Gcje8u1Va EwVWKH9vpp3VlPjPo7wBMEgJjS73N20o70qlToTQR/wtj/fA9JZTQuliKTTBadoczXPo WYhHP1xwm5CzUpPwJQmBWV0JeQK/ygHXMIUJMnZKsD//NzbxrKg+wHMJKKxDZsyvpB+n Fr5oppqOSRw6FC2AQqTysD3nrBXOcSd748WdjWMkJ/Thr9Tqj5KjswhkE4gtdrIlr90g p7qRniI+AHxrp56ejQjsWGFtjpCYcRgDCUVtGpZjpad4DbgZU4xwLP10PnbAjO+Xh/sg ysBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oshKYgUJiz53rclmVL3P/qole1t7HbU4MDJ28Ye4CCY=; b=tQkIKya7nC+VQQI4lOTgz9SML13fVbJuXW7ETtWVbZeNLM89wXc5TGsYrlSqONrDir dIiK69iy1aShoFIYh2sms8/xcIXI7b7mWSaTeBvBqNTkQAjv2Zh/i4Tfvu9/MSmzIDGA dbnVvkhtnwhYNd6wzPHUWXXkexedQwgKJIARyU6YzUzsjVzpyKXBFCR8HoToTDAkX+lh h9WaRU9NjzVvHcVdVANvkwn9NWBCr1U6Lz0UcndAdY803eJr0vka6dmeKx9Q2tAGXvXu 2bkeqSacu5goUEPIPZYG5RFyVcIkPLRphD67J7DG0pHMYvRbJY8DsJq4D/6ca9VPiLiy V5MA== X-Gm-Message-State: APjAAAWBhI4fztulxXr1h7ozcIHONnezeQA4n6GHolvmP92l3lBYcP6m VDJMU7Q/zCHOjU2y4coEW6D3ol+PmAnz25jsn05COXlXtud+UA== X-Google-Smtp-Source: APXvYqwIZPSPlNQhGnqHT7GrtbqNsp3JxzPbW7ww/JLNZoTcg/GcKBPMcNMGTS1LY/rjj8rvaLaSdDajHIby3jRaW7w= X-Received: by 2002:a92:8702:: with SMTP id m2mr4226745ild.294.1569582205885; Fri, 27 Sep 2019 04:03:25 -0700 (PDT) MIME-Version: 1.0 References: <1561911676-37718-1-git-send-email-gavin.hu@arm.com> <1569562904-43950-1-git-send-email-gavin.hu@arm.com> <1569562904-43950-3-git-send-email-gavin.hu@arm.com> In-Reply-To: <1569562904-43950-3-git-send-email-gavin.hu@arm.com> From: Jerin Jacob Date: Fri, 27 Sep 2019 16:33:14 +0530 Message-ID: To: Gavin Hu Cc: dpdk-dev , nd@arm.com, Thomas Monjalon , Stephen Hemminger , Hemant Agrawal , Jerin Jacob , Pavan Nikhilesh , Honnappa.Nagarahalli@arm.com, ruifeng.wang@arm.com, phil.yang@arm.com, steve.capper@arm.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v7 2/7] eal: add the APIs to wait until equal 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" On Fri, Sep 27, 2019 at 11:12 AM Gavin Hu wrote: > > The rte_wait_until_equal_xx APIs abstract the functionality of > 'polling for a memory location to become equal to a given value'. > > Add the RTE_ARM_USE_WFE configuration entry for aarch64, disabled > by default. When it is enabled, the above APIs will call WFE instruction > to save CPU cycles and power. > > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang > Reviewed-by: Steve Capper > Reviewed-by: Ola Liljedahl > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Phil Yang > Acked-by: Pavan Nikhilesh Acked-by: Jerin Jacob