Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2619960lqp; Mon, 25 Mar 2024 04:48:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjnxM3tNKu+nr7PF8F8QZtujgpnxfmyHa51GGN5eec9cCnzlLFkBtj+o0XhGfCdS1DM1jqfWNPyvcbarZASliqnyNN7zzv16wug2kL1g== X-Google-Smtp-Source: AGHT+IGL3iQG9MkNvpZO1SR4RiGpPHLQtevWrSujUqAM6L0ApdAYS8SmYf4cKrC4RMJAYiutdiwq X-Received: by 2002:a0c:fe8f:0:b0:696:92e6:50e5 with SMTP id d15-20020a0cfe8f000000b0069692e650e5mr917858qvs.43.1711367307281; Mon, 25 Mar 2024 04:48:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711367307; cv=pass; d=google.com; s=arc-20160816; b=UMcv/st9+TSzIJYdU9wjxCNUBTBbxFjmtHN/ujSbsCLfH2i/YexUF4ckMiiWdUhYFg n/kStN4RWGJti8PCs1p7s+KTsXINYYpFocWIQZ8hbvBZ39hPs36n51QZ1Hp1BF5vKwhe +pqDGhG6djLiV8G3Q11ex7hOPhnNDIL8IhYpmrYPNDycvzxuBUWyljeemwAy8yvZiyn1 fFzMRLud6Lno6ydnjoeTk0gViJideN0+64OgYwOQmxUhzLARsozGZfXbpULGyh8Ul4ww 3vmS5W0h5BJUOhYCxK+tK2GgcyxOnCWGbcZhBvpa9d49I/5r+DLi18VUrVRHdzdZRF2l cjJg== 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=AABUjw8Uc5Sh8n3DjT74hOoRxSMdwv3Iox+Mp4zvX8k=; fh=/sOjYFbTOTDNfHufPaVOn+SUxETFj4FjC+Tv5eN2vwM=; b=iyrtROM8Rl+j0YQmaXcw9tBAR7r6uL5K7rkrWIa/Y1/jmbaiaeZRvzn+5Rg1VuJN0B 0lIzRAL2Ktla3t41PwXGMAUnlXm4PQwgM4fB97kUB/I2vOiA9FyFpa6JnHuYazSf2355 mu1ddB5E9giA4ahYWrBEfgcN2YtLgD9HsNZoOqtlycKkYLYXAEy2lI45P3GbCCK2+I6Z 9E2VS/vQUfL4R4eC4kvkVBR+7XQPh2jonnFrkTlOjvKeDzS5o6y0LXgDt/36Vmi2R6Ns yHvApICSzj6PUgjOQbaHiyf8nNwu/gPlHel3OG0soFAOQiZ5HQ4c2IoPTC8H95j0sBwf LbjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FEL9H/Mm"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116214-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id nf7-20020a0562143b8700b006918314d9a7si7426886qvb.375.2024.03.25.04.48.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 04:48:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FEL9H/Mm"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116214-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 087EE1C3538F for ; Mon, 25 Mar 2024 11:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDCBD3BD1F2; Mon, 25 Mar 2024 03:34:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FEL9H/Mm" 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 6A6E017DC13; Sun, 24 Mar 2024 23:44:01 +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=1711323842; cv=none; b=Sm+SsfN+zarfYfLR9+czJfyyopbC5O4Mhfj6bN0bl99CA/qISprtUcxPtW7jkehJ8bTZ9+0SLiEXMILOyJCVXIu+jsJohPZ2fL6U7fk+SdjRflRqX2k77cIuwnq+Y1WbEYjm75TBqv4IlkBkPSZ4KexvY3sm2/+hb57dboSkABo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323842; c=relaxed/simple; bh=qgJvgN2LHYJYDjN6bEkAEEGgxks64Tc9fbrS0uhs42A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OPN01S20gB3sewnDvH0kxfKChbt4YDqh7cK0kvzpbThY25QlSmwbS3nGemc8LcIUG0w6f1o+iYD/ZFskVKO7VUm95C588RzAY+KPguhzHSy4HXlUoF8PZXWdTsSrJVejdxXLY8aA+2/ITeJuUtOlkQop/01lOBiDVYcow5poXR0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FEL9H/Mm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F9AAC43390; Sun, 24 Mar 2024 23:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323841; bh=qgJvgN2LHYJYDjN6bEkAEEGgxks64Tc9fbrS0uhs42A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FEL9H/Mmpl76d6jVruOMs/+6AOngj+7cNlRbeTo+OmG4IUF7MJi8l+kIxpAvIPm9V YYwNYKczIWQSA3VLX2WhC0t5zCeFReGxc86CmS3GAjbvMlpjwVpuGVsNajhWCExxpC M/V8lXvvEfzSxjA4gxbFAEfdrnK2TvEXaQ34m8L8JFDY0G+zdomGys4IO1PLQFSKP7 ZytVmb8nRD6EPMVY2nA3XSkGrwggxrJpY8DyZRksjfxMnJWYT+eI8YoB+Gl//130St ef2nMIISnbH6TKPKCwXe2JZMmexBg5lT+p4tIVJ7I0c5fnBs9WCEB2W3VcYga/MzIx QoeJxJqAIW/Bw== 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 5.10 219/238] octeontx2-af: Use matching wake_up API variant in CGX command interface Date: Sun, 24 Mar 2024 19:40:07 -0400 Message-ID: <20240324234027.1354210-220-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234027.1354210-1-sashal@kernel.org> References: <20240324234027.1354210-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 c0a0a31272cc2..55dfe1a20bc99 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.c @@ -714,7 +714,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