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 A775BA04C1; Sat, 23 Nov 2019 10:00:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7EE22952; Sat, 23 Nov 2019 10:00:56 +0100 (CET) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id 8AB1891; Sat, 23 Nov 2019 10:00:55 +0100 (CET) Received: by mail-io1-f65.google.com with SMTP id k1so10735649ioj.6; Sat, 23 Nov 2019 01:00:55 -0800 (PST) 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=mMo5q3nOLHcXFfUwmOIjTIS+S0PLhmfmjI80QahP/gk=; b=dDTFDMMAn/KSWHPo6OscrGr91xWLn9wBHke2z/QOFizqm6kxH7PJ/q0pvuu5E2yfeO DlVOrmO4n7dOzsrI2x27ZGRaMSaVWGe26t6UBJxS/NNm/Qoro3e2zQftaIh6wGHfrg3d 4df7aXyuL3vf1w5VZ1dRa6ql9l385B5Pon0mgc3vEHWrTYWkgEP1bbLbq4Btla9uKayX LojH1JCHgKDZ91+rSDaZg40CcI+ksuLRnG9KdszHvwEEqAuHFiT9f2pl0H/HrVNulwgf N4tT22rC59EgrI9F9V4mvTLCQYwqSHFGcqvd/7S0gBNwhl1R/4Nkply/dJ5NHdezlwje 324A== 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=mMo5q3nOLHcXFfUwmOIjTIS+S0PLhmfmjI80QahP/gk=; b=YcyZqHL3JCkItULgwAD9DxB3FSTzhurGSjHvOvCZI6ptU0C6T3YnVgVKDAw4ODzX5Z 3koc2dIqHmIMxxrRDORr+8iNlchrdGBMz8pc8/DBlJ+tf18jDyA1XEPXAmvEfB3u4EPU p6lQSox+yo74CpJE3QDCdoVuE3mdRJ0RzgM0ilwKH6AMZd9zvtaj5QKwvBaRYmPitTOw xiCG5WzFgKHS0lmamAqFR/R4CbZpgornkW9iph+yDUnwQkXSwLVULUZVckBv3B/aN3cR TIwLz/+CVXTBpB36AknasWd37nQvkCO3ugeVjO+/JZqAOcO4uU9dB9HNO/EDaZw2elkQ auyA== X-Gm-Message-State: APjAAAWfMgFx7HvI4nijV6aXLdl4/p8jn3deEn+AGSMXs9Vfwv7b3Ak1 8idoaNYJR+uaBoMaP6EsfPndOpasSthgpDHw7WDYGNg+ixg= X-Google-Smtp-Source: APXvYqxqY71b3eUYXPPU+/m36an4vAJUN//Fk3mL3EIaLkShtLoLZCp51j3jmpujGb9tIJsV1toejoqiFv51fes9WKo= X-Received: by 2002:a02:ad10:: with SMTP id s16mr19069447jan.104.1574499654544; Sat, 23 Nov 2019 01:00:54 -0800 (PST) MIME-Version: 1.0 References: <20191122154431.17416-1-pbhagavatula@marvell.com> In-Reply-To: From: Jerin Jacob Date: Sat, 23 Nov 2019 18:00:38 +0900 Message-ID: To: Pavan Nikhilesh Bhagavatula Cc: Jerin Jacob Kollanukkaran , "dev@dpdk.org" , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race condition 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 Sat, Nov 23, 2019 at 1:07 AM Pavan Nikhilesh Bhagavatula wrote: > > +Cc: stable@dpdk.org > > >-----Original Message----- > >From: pbhagavatula@marvell.com > >Sent: Friday, November 22, 2019 9:14 PM > >To: Jerin Jacob Kollanukkaran ; Pavan Nikhilesh > >Bhagavatula > >Cc: dev@dpdk.org > >Subject: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race > >condition > > > >From: Pavan Nikhilesh > > > >Fix HW race condition observed when timeout resolution is low (<5us). > >When HW traverses a given TIM bucket it will clear chunk_remainder, > >but since SW always decreases the chunk_remainder at the start of the > >arm routine it might cause a race where SW updates chunk_remainder > >after HW has cleared it that lead to nasty side effects. > > > >Fixes: 95e4e4ec7469 ("event/octeontx2: add timer arm timeout burst") > > > >Signed-off-by: Pavan Nikhilesh Series applied to dpdk-next-eventdev/master. Thanks.