Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2401470lqp; Sun, 24 Mar 2024 17:59:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUb7DhVvySUTlvwJrykeX+P8/emQ+hhumKb8gfoLxj58jPHY9xtE3qUDIjOigPwwra11JEB6vIuePN0OdKS0Fni0DQOMTrbKc4nfT54MQ== X-Google-Smtp-Source: AGHT+IFsXodfgdRxuf9Fzz5LVNCN3SwPhw11LiLKshj5FphEGZOR/fbKcnP0HxJdu7o1i8oHrMAe X-Received: by 2002:a81:4950:0:b0:611:85da:1a66 with SMTP id w77-20020a814950000000b0061185da1a66mr723754ywa.35.1711328345018; Sun, 24 Mar 2024 17:59:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711328344; cv=pass; d=google.com; s=arc-20160816; b=b7lqdnzxQbIB978G/XAW42srZ2j5z+FGzWlkn/7rsFJg18oCv2iEHPuAjyuLchNK0s SqwYDJVAoPTxAKFp382uIGISwLaFz9UBGGh9yHM8b6Pg0GaG7Unq5K2R6tSmS6LsdSdB xGOsa6JT4UTV9BvjlemnjnNI2er7ti3TB47OnUGDZckVcesl7zOhf1Ku3xcJrJIyXWpJ Ds9pgK1OFmvvBQUS4/3EhKu/5iK+ntgoh61Tk2NTB+gS2iDJZVJHA3z6I2Q1p9OjD0YL zrBgawCHa4Nd7ukLSq7R82+Kq4qFxn0SalYEnJ7424Ose8iicEkEVwLpXXEAwx66o7AR 9y1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qicF4JTKLkeeTpLn+ZiUpwrtYucC0DsMpOiXavJXut0=; fh=/sOjYFbTOTDNfHufPaVOn+SUxETFj4FjC+Tv5eN2vwM=; b=ylsJmq8iL0jc++2Za+9y40H4HBy6nePZdEPrPrfFjXYyUCdcl3N7L5enQdUtMMWgus S4QPJ7ho6oBvDccP5ZX35yODViMLapJV2gt4uyffWXz+ODXEvV0KG1GSz66+IxZklF03 fYoJpkg0YJXWPELkZJZIpf2dML1dwWMEW2gWIxxPOPhJmL639eBvVyXo2H2gLqrl71lm 18V+T5kizD+35tUeXCqwDUGpWQbSrFl16TExHNlXf+IjGSAgR+xP+XE7zZtI8SP9S81y OmfcrScjmoV73kLlfg5TfLXefbXnv+pCoa7SZOfU33ojWlSFPTst0ZgjLs3uyscxI8AO uvvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jobbP03T; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113537-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gd27-20020a05622a5c1b00b004312638637csi4785530qtb.504.2024.03.24.17.59.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:59:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jobbP03T; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113537-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113537-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B8A971C24533 for ; Mon, 25 Mar 2024 00:59:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D05911C09DB; Sun, 24 Mar 2024 22:45:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jobbP03T" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAA6E1C09BC; Sun, 24 Mar 2024 22:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320338; cv=none; b=tCqtvaFu0X4UOAmMZ0ocKwJ8W7BDXwKCQcjc230evdgKxouieLRXOWv75XWME35FwXZmkuj8baQKOXFT1aS6Dx83ogItAzOF4U6VYO+SmNASyA2ELWdAqXczTOfUQKCF2zKsY/sEULaKhhIuiOp4UAGmMKMvEy7MtgJ5QS8J+9g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320338; c=relaxed/simple; bh=PYENx02CKZGs2pTnzPJ7cRTd7xeRIal9wjJ8Gx4KiIY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZG6n2iw1bVeM0MWctKSgrKRyrXmXP+GBjbP015ZwP46o9gJ+rhz9EP5jL7ylJSWWbMY12gp7DpNkJ8nmHCcjM5uGz5FVIpZPH+MUbBJapxLWBSY/dXTnewyL55AWK4dzyTXSx9uMBH9LMtJATWnKaorooNvze6ZmqbJNK9pv5xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jobbP03T; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF20EC43399; Sun, 24 Mar 2024 22:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320338; bh=PYENx02CKZGs2pTnzPJ7cRTd7xeRIal9wjJ8Gx4KiIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jobbP03Tlb+4i+2EjqZzPisaOS4ougWrY5i+wh6wU1mujTmXlKX0rzt2wd8QCJiA3 00iQYz7jHkIBesHPXTT2tVtnU3iELNarhV7jHTqYrrGhZnvsbRiWjO8eKnbPA4kHSm m3d0faqLb7NujzeALUEvVtFmXpvqfYhecqw3eHn2rDnTplv9PfwfzD0n3w/LerjlVH 2ME0arb70c7Bl83pYlEGGLHhwZnSd4itnT+udNcBAcRMsiiZt+1+bXxG7VIfKG6fAg QOtOkJyrSqR4He61Y7X6D1HwdRx6/BXZ3/9hJZKo5jIdV9ZWWdS5C62mT3M61lN3ZO THZBCNwrWJxEA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Linu Cherian , Sunil Goutham , Subbaraya Sundeep , "David S . Miller" , Sasha Levin Subject: [PATCH 6.8 646/715] octeontx2-af: Use matching wake_up API variant in CGX command interface Date: Sun, 24 Mar 2024 18:33:45 -0400 Message-ID: <20240324223455.1342824-647-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Linu Cherian [ Upstream commit e642921dfeed1e15e73f78f2c3b6746f72b6deb2 ] Use wake_up API instead of wake_up_interruptible, since wait_event_timeout API is used for waiting on command completion. Fixes: 1463f382f58d ("octeontx2-af: Add support for CGX link management") Signed-off-by: Linu Cherian Signed-off-by: Sunil Goutham Signed-off-by: Subbaraya Sundeep Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c index 6c70c84986904..3c0f55b3e48ea 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c @@ -1338,7 +1338,7 @@ static irqreturn_t cgx_fwi_event_handler(int irq, void *data) /* Release thread waiting for completion */ lmac->cmd_pend = false; - wake_up_interruptible(&lmac->wq_cmd_cmplt); + wake_up(&lmac->wq_cmd_cmplt); break; case CGX_EVT_ASYNC: if (cgx_event_is_linkevent(event)) -- 2.43.0