Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08752C636D6 for ; Thu, 23 Feb 2023 09:53:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234191AbjBWJxW (ORCPT ); Thu, 23 Feb 2023 04:53:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234160AbjBWJxI (ORCPT ); Thu, 23 Feb 2023 04:53:08 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EFFE53EC7 for ; Thu, 23 Feb 2023 01:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677145938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hiWA9MAreXUI6IRZzfTpL89haVwrA8zEt2E8eApKBoQ=; b=JIXS6NMIJ/oFowtH5inLVyK+qc3eEwA3UIaP2T08d+Hfwd3uTqD/QyGpsa3B7mThNJWZ4T qWrWh9Y2cYcAiWFINBT9rJ6y5Nxm8f1Yw9mSLscaTn6EAoaTe3AkPSv7iBfHdts3oBPhvh Urx+s+2HmtiI7F1zNnw/BZAu0rBrNM8= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-3-7NyFuWVLPimh3zkG2W9Kag-1; Thu, 23 Feb 2023 04:52:17 -0500 X-MC-Unique: 7NyFuWVLPimh3zkG2W9Kag-1 Received: by mail-qt1-f199.google.com with SMTP id c13-20020ac84e0d000000b003b9bd2a2284so4924143qtw.4 for ; Thu, 23 Feb 2023 01:52:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677145936; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hiWA9MAreXUI6IRZzfTpL89haVwrA8zEt2E8eApKBoQ=; b=8FigFlnS0JAnFRE3g+vh8bVyH+icPUNKlQUAUqgxj4yeR8pIdQQDtfneJoiKt0i8B4 IomO0AjDnuOsLUY6jBFzLmjMgxoAU2VgFTLRoKMkkTfw9ZrFChVLOgkgHTvUrE/7nvg7 3a6yEmVkWAvs8+NCFNcRPOfl8crmA6fRbot0QXIO9+yw89NHvr6X4VXJ4N+jFlJf0df8 dRmIHeBC+gg1Eg0ZTAVrf3vlcy5pQz5ecZxnZGf6YA6wEgo/3bjETGsOn1+L/7h3mKkL hGqO/sdLsjeVlP54wpiU3fqU35gLjOhRasMlsdcDGYL5WNR7WJOp/p7iRbm1yi5OGEXA C+Vw== X-Gm-Message-State: AO0yUKV4Jd7V+TICkj+rEAJKXVxc7zfiBnVscyfzya5zmiywsrE5j2xt 0RoVdbWPRxxykdsnCaqcmKCMEB/JLJswQDB0kQwjb28bHXl6KDs0OGpmYNfVOPlbs+BkMj8kZ1A kOn5zwc27BPXo5Id7xJ6L6321 X-Received: by 2002:a05:622a:118f:b0:39c:da22:47b8 with SMTP id m15-20020a05622a118f00b0039cda2247b8mr24571219qtk.1.1677145936724; Thu, 23 Feb 2023 01:52:16 -0800 (PST) X-Google-Smtp-Source: AK7set+8cQmNNnQVUSxvHo9JVgmb+kjKrxF67imPwpha8hzRWci5qd3zoqSBgG5eIJ9xBrhDRma/NQ== X-Received: by 2002:a05:622a:118f:b0:39c:da22:47b8 with SMTP id m15-20020a05622a118f00b0039cda2247b8mr24571198qtk.1.1677145936408; Thu, 23 Feb 2023 01:52:16 -0800 (PST) Received: from gerbillo.redhat.com (146-241-121-8.dyn.eolo.it. [146.241.121.8]) by smtp.gmail.com with ESMTPSA id a14-20020a05622a064e00b003b9b41a32b7sm3834484qtb.81.2023.02.23.01.52.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 01:52:16 -0800 (PST) Message-ID: <8e05cf636937ad59e32b4ae7f1e7e8732c694421.camel@redhat.com> Subject: Re: [net PATCH] octeontx2-af: Unlock contexts in the queue context cache in case of fault detection From: Paolo Abeni To: Sai Krishna , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sgoutham@marvell.com, sumang@marvell.com Date: Thu, 23 Feb 2023 10:52:12 +0100 In-Reply-To: <20230222065921.1852686-1-saikrishnag@marvell.com> References: <20230222065921.1852686-1-saikrishnag@marvell.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2023-02-22 at 12:29 +0530, Sai Krishna wrote: > From: Suman Ghosh >=20 > NDC caches contexts of frequently used queue's (Rx and Tx queues) > contexts. Due to a HW errata when NDC detects fault/poision while > accessing contexts it could go into an illegal state where a cache > line could get locked forever. To makesure all cache lines in NDC > are available for optimum performance upon fault/lockerror/posion > errors scan through all cache lines in NDC and clear the lock bit. >=20 > Fixes: 4a3581cd5995 ("octeontx2-af: NPA AQ instruction enqueue support") > Signed-off-by: Suman Ghosh > Signed-off-by: Sunil Kovvuri Goutham > Signed-off-by: Sai Krishna After the net-next merge, this does not apply cleanly to net anymore. Please rebase and re-post, thanks! Paolo