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 17D36A04BC; Thu, 8 Oct 2020 10:44:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 37C2D1BAB6; Thu, 8 Oct 2020 10:44:30 +0200 (CEST) Received: from mail-il1-f194.google.com (mail-il1-f194.google.com [209.85.166.194]) by dpdk.org (Postfix) with ESMTP id BE3C31BAB5 for ; Thu, 8 Oct 2020 10:44:27 +0200 (CEST) Received: by mail-il1-f194.google.com with SMTP id q1so4953595ilt.6 for ; Thu, 08 Oct 2020 01:44: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=D8MJNNA+WGGGFooehn/mZoimWwZGsYBhYjW2t0hWbpU=; b=km416QJW+Qtu5RRPIEAq8NEHCSacUXBIwYSMhpDp6Z0pdAN6skRKgzRs3IIQwaomNZ fvbUyqdZQQvm58MwEvNmqjrCeMJoIpm7EHw38o+4eG4QA2tJkl3/HO/AN4X+fnAC9cTw P4bt0VIFehpgdJgH5kTHIBblcGg/FoxVj/6bnY39cSxrySwVyPnYOG/NSJMgJKLzVhXM Zc+DLLyi47T9jWpxn8ak6fsh2mXrbgXxfWOfcB8f5fFzCSIOmIpmR52904hHnvf4Mm+O XExbl+p1l6aG/CkLTtn35lBjhYQJybbVcDhDBHKoKXm5nCSNCsm2o6QG+YmLzJyZWEkb DueA== 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=D8MJNNA+WGGGFooehn/mZoimWwZGsYBhYjW2t0hWbpU=; b=qTGivBrkY9QOcUC+vw+iHC0apMQLbHdHDRfAyLZFVySuq5WtdG+m8/mcZnX9nLNdzp l4qZ3mOX6M0oK7uUgMgwA/ITuxL1/JlWLwxfdej5a/USaEvJWAi0cNbzp1jayVACKSxd dKK2Z7c7rP3fH1eFf7dBP9pu28XWIExY4y08jbkyYzZaUp4EfiRmi1RrdWZjxS4/Luhj SJyhGKzaP15ljNwaG0kqtRhmAG63Fby+sCGREEQ5yNP2QVdBB0eJfLEKkbpeQVtj8az6 Ap5c15QIcCZRRItEMrlgWG11xKZO3J/0tXpQc/VRDx/eq8FyQhP/xblB0r8AOgro9IDJ 2aWw== X-Gm-Message-State: AOAM53078GMyxy125LffTgYORChWGHFmE0BOpWeY9LHTYt1DII4wzkOV 8FuOl9MaF6XyYOS1v7yBZILcIa4rMQoPNwhXhSM= X-Google-Smtp-Source: ABdhPJzNi7j7/Zva05WOaX/4l0lwqIvys0sIa8gp6XvieRTmtcA0nrgsYkGkJztmrTdCwDsfHAnXmjn9q3pXTrOzcfs= X-Received: by 2002:a92:d7c4:: with SMTP id g4mr5992818ilq.162.1602146666119; Thu, 08 Oct 2020 01:44:26 -0700 (PDT) MIME-Version: 1.0 References: <1599214740-3927-1-git-send-email-liang.j.ma@intel.com> <1601647919-25312-1-git-send-email-liang.j.ma@intel.com> <1601647919-25312-2-git-send-email-liang.j.ma@intel.com> <16022545.g3EcnA0i2J@thomas> In-Reply-To: <16022545.g3EcnA0i2J@thomas> From: Jerin Jacob Date: Thu, 8 Oct 2020 14:14:09 +0530 Message-ID: To: Thomas Monjalon Cc: Liang Ma , dpdk-dev , David Hunt , Stephen Hemminger , "Ananyev, Konstantin" , Anatoly Burakov , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , David Christensen , Jerin Jacob Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v4 02/10] eal: add power management intrinsics 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 Thu, Oct 8, 2020 at 2:04 PM Thomas Monjalon wrote: > > > Add two new power management intrinsics, and provide an implementation > > in eal/x86 based on UMONITOR/UMWAIT instructions. The instructions > > are implemented as raw byte opcodes because there is not yet widespread > > compiler support for these instructions. > > > > The power management instructions provide an architecture-specific > > function to either wait until a specified TSC timestamp is reached, or > > optionally wait until either a TSC timestamp is reached or a memory > > location is written to. The monitor function also provides an optional > > comparison, to avoid sleeping when the expected write has already > > happened, and no more writes are expected. > > > > For more details, Please reference Intel SDM Volume 2. > > I really would like to see feedbacks from other arch maintainers. > Unfortunately they were not Cc'ed. Shared the feedback from the arm64 perspective here. Yet to get a reply on this. http://mails.dpdk.org/archives/dev/2020-September/181646.html > Also please mark the new functions as experimental. > >