Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2569071lqp; Mon, 25 Mar 2024 03:00:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0omVVHWHDOgAwrSeByklJCVpuyVvYfxQurWWFYsdc/LJBRAwux4HcpUQikyLTu5WjADwdQ15/ylVcrL1OwzV68Ng3zDmYowj0qTq9yw== X-Google-Smtp-Source: AGHT+IETeKX5X8TEKTeB91FvuMsG4eD1iFwui3Cj1BpCzblOZH7SHTC7FxJBu4cr4lHnD0nB0h2Q X-Received: by 2002:a05:622a:4e0d:b0:431:5e0b:dfd1 with SMTP id dh13-20020a05622a4e0d00b004315e0bdfd1mr1295609qtb.40.1711360814238; Mon, 25 Mar 2024 03:00:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711360814; cv=pass; d=google.com; s=arc-20160816; b=0itCS8nUBou2K/kIfwPnjXh3rhtO6+dX3KPftPoWbDsdhCcjGZJDkJOHKrz/iJmdsn lGXMzxiD4GRDlnbh7ilyOcpwCrJ6IvG7YrP8kxzpMBlD0hGk5yJ2b3PaOgo711Ukx4Ul XGPX6eoLp5zKKE2zHhCsuCNaXtM3rn7hXm89MapwyYwmljyM1G6LwyYDqHxW21WoSB18 N4tYHRW/huKYJ8MtE2ecJa2vWd/SdDU4YXYLwBZms6xbUn4rBoYWCZohxmNu/onuxAa4 GQjR/OOuwZQtgXxmvcGrz1PgSZQ/RwNzv34k9q5pFogkecXTozhBeMLhgrla+MX7v9Av MhSQ== 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=9AyntckKrw3kM1Uv7+uCdK/TdABtvbXpsCbWLiybW3E=; fh=/sOjYFbTOTDNfHufPaVOn+SUxETFj4FjC+Tv5eN2vwM=; b=M1bTMK/i5nwgYn9mr0ZMGQ23Z91/H3mCCwiiywbXsDpzWakYXrSGuK1b/GQY/zBV/n kDMMuFVmr8RDkyxv7v0ifEilpj8T7uUnVrHU6kJ8boY9SEchpRWbb/o7C0N6Gp7pVnX+ gaWgABJrwNS5GB+hPxJM4GRmrmDoBnUnhwMgUzW1YWrGwaTQaQBor+O7RdQ5oEMEJLUZ HHunH2P79GAJnc9HtFw7ygtdPGpVDwpKbuarur/S92Z3hMatIN4VjW+vvXZLaYk+aONC /Lj3CGhEvOqdqxhUuMspmQvPqq20zdMvSMyLCoP3BjBFas6haLztqPkn1NTqogvYUW41 D82A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ta6TkNcX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115990-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 18-20020ac85712000000b00431508e27e5si2585391qtw.705.2024.03.25.03.00.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 03:00:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115990-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=Ta6TkNcX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115990-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115990-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 E80FC1C32068 for ; Mon, 25 Mar 2024 10:00:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B716C399906; Mon, 25 Mar 2024 03:05:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ta6TkNcX" 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 9E29A15EFAC; Sun, 24 Mar 2024 23:18:41 +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=1711322321; cv=none; b=HuLbWz1GdblIj4lz+Ijw6pb4BVHrLvUZfpodSiZ/1E9R6pL6nsCHr6XzXqt0D9F8lFkcy7qw6ct1m+h4RGo019HirypfzEDMjesrKEvbdBmM7Z9Cq2H0KTW3Zg5sTuFBdIdASp/Mw4qqLD7Hhyfo0be89TWp6PmmX7wx7RHMFns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322321; c=relaxed/simple; bh=vAioPwQOVXbK7PSHkg5qgEEJ8TIXQklEziFOCRAIHY0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=W3VlFiXA55Lg6BHfxN3YN1uMN/I0ixeroQXnoQQR3o+2kePCcZvwPV+l/n9eJa46YhDjDmVj9irn1NDfMzhXJr8GiN4FUet0kqrnBF56DXxynhYmQa6DClBV85QxPgUNWgrLowIilOxA5p99WtcF9ahSP7KLriHr1l/9q3tJv7o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ta6TkNcX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B130EC433C7; Sun, 24 Mar 2024 23:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322321; bh=vAioPwQOVXbK7PSHkg5qgEEJ8TIXQklEziFOCRAIHY0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ta6TkNcXAiy2y1YAXYCFooCJXWngEi5h1LOw/bhoTLZK1sqDFmaA384tK4ck4gBnT P+tj2Fx7qfwIJrtd8Q32h9Kc56/86dwk4ZkHfQiUYc+CH/hHERjoegjsoxn614NYAZ exmSS+gKu04R7yCDgnndOENJhL36GALMhBeGHv9eIQRSPyJUfOxpLCLwHPvWSosos7 0jhulSZfkUi9doQqgCG5O3fr1H0RwWlfTTMAwAYL0+wLCymJBa6dDr9OGw+sk5Cq77 5HAdSycZJ998Bi2ROnqZSYfg2P3E8pQABALkL5C6tOGOfZWZaQ5dA1CydfVCC8QWoT vJv64acDmgEgA== 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.1 404/451] octeontx2-af: Use matching wake_up API variant in CGX command interface Date: Sun, 24 Mar 2024 19:11:20 -0400 Message-ID: <20240324231207.1351418-405-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-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 90be87dc105d3..e6fe599f7bf3a 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c @@ -1346,7 +1346,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