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 CC721C678D5 for ; Thu, 9 Mar 2023 02:32:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjCICcl (ORCPT ); Wed, 8 Mar 2023 21:32:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbjCICcj (ORCPT ); Wed, 8 Mar 2023 21:32:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4764A9F06F; Wed, 8 Mar 2023 18:32:38 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D76B761A01; Thu, 9 Mar 2023 02:32:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C17C8C433D2; Thu, 9 Mar 2023 02:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678329157; bh=WDIzNaCnMgf9e8ImKQVv8UsiZdziknmkM1n23FD5XO4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uCYhb3wvRO+4KuGHlAGo7egmXEcNUSAHfPD7OpZup/zvxwe0DmsymSRch7zT9HD1N gEbY93JiI/MRPIZIUeIsVzAb3ieVd1CCRUbwzPDx4FiPpoIT6zN/OAXCuaUCyV99xU cHow912na0SoT/eXlCQkmwbk+QELuEPA7vnOODGl5o5fUA+CcguOAyYUEPLHSJJ8d5 kSG2apbFVRCq7T1C6dFOuCGUUsfkj/YwBL0XYq9bJ/EhijhagXwagOcD2nABxDzp3f 7ItfvuwH+kGcTRvGp35aGEb3KHiD+Y1Xmwt/ZK12TjaNvPvuQmoUbBJQ8YJX/oAl7b T3FII0XRg5xQw== Date: Wed, 8 Mar 2023 18:32:35 -0800 From: Jakub Kicinski To: Sai Krishna Cc: , , , , , , , Subject: Re: [net PATCH v3] octeontx2-af: Unlock contexts in the queue context cache in case of fault detection Message-ID: <20230308183235.06f3e506@kernel.org> In-Reply-To: <20230307104908.3391164-1-saikrishnag@marvell.com> References: <20230307104908.3391164-1-saikrishnag@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Mar 2023 16:19:08 +0530 Sai Krishna wrote: > From: Suman Ghosh > > 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. Applied to net, thanks!