From mboxrd@z Thu Jan 1 00:00:00 1970 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 8973713B58B; Mon, 23 Jun 2025 13:15:55 +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=1750684555; cv=none; b=jR4NopSrqgFlTEv07O2EUDcjloKvQhQk2u36Wa8rYBZ8kbDSa9FY+TH9SRedXnDcSm3EamLQosVR5IfTtK8Sgv7HSHlGAuyVSuK0xIsHCdnrPe+DvD1f1LRsHgEzdT9CkPupjY+T6Q4tZMrC7abcYyzOl7fwpH5ZyzkRTQYjHE0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750684555; c=relaxed/simple; bh=FWHfOCBD84C0+sljnkjtrjKBnOyjfiFzR/+Pu28eDkM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZmVez+UlVqRO+3/u+IBXW1Lv5hT9pf9+KdpLGBGloT6sX3mGNUjr/HA3LHeZyPdAakvffQ/08vDbChSag3PXdwSVtOwOgsJ7IX8yVEzggG1rIfaZBsqwCzDuoIjdv+dRHbdq7A0HxeozZH2XaD2QPH7KRtr/Aos036L7gLAZMnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rO46IK5q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rO46IK5q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C5ECC4CEF0; Mon, 23 Jun 2025 13:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750684555; bh=FWHfOCBD84C0+sljnkjtrjKBnOyjfiFzR/+Pu28eDkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rO46IK5qscZOQvCRKZAKMXw9UE09u/83cUBss5RwtwEqtOjx4fTSCHCMXrsYx5PZb ROrO9ktO4jPvfNrZbQxsuio8p1ftGLZGeKqdt/N1bi4oP9J3Q9jwLYixBPlX79eEbl bR+fIfucFE0Ikt8NjUdoqaLHMOgIw64EzsLeNuSE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Wan Junjie , Ioana Ciornei , Christophe Leroy Subject: [PATCH 6.15 111/592] bus: fsl-mc: fix GET/SET_TAILDROP command ids Date: Mon, 23 Jun 2025 15:01:09 +0200 Message-ID: <20250623130702.918519508@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130700.210182694@linuxfoundation.org> References: <20250623130700.210182694@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Wan Junjie commit c78230ad34f82c6c0e0e986865073aeeef1f5d30 upstream. Command ids for taildrop get/set can not pass the check when they are using from the restool user space utility. Correct them according to the user manual. Fixes: d67cc29e6d1f ("bus: fsl-mc: list more commands as accepted through the ioctl") Signed-off-by: Wan Junjie Signed-off-by: Ioana Ciornei Cc: stable@vger.kernel.org Reviewed-by: Ioana Ciornei Link: https://lore.kernel.org/r/20250408105814.2837951-4-ioana.ciornei@nxp.com Signed-off-by: Christophe Leroy Signed-off-by: Greg Kroah-Hartman --- drivers/bus/fsl-mc/fsl-mc-uapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/bus/fsl-mc/fsl-mc-uapi.c +++ b/drivers/bus/fsl-mc/fsl-mc-uapi.c @@ -275,13 +275,13 @@ static struct fsl_mc_cmd_desc fsl_mc_acc .size = 8, }, [DPSW_GET_TAILDROP] = { - .cmdid_value = 0x0A80, + .cmdid_value = 0x0A90, .cmdid_mask = 0xFFF0, .token = true, .size = 14, }, [DPSW_SET_TAILDROP] = { - .cmdid_value = 0x0A90, + .cmdid_value = 0x0A80, .cmdid_mask = 0xFFF0, .token = true, .size = 24,