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 61C6B2AEE4; Mon, 23 Jun 2025 21:44:23 +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=1750715063; cv=none; b=d/eAuDT5BR/GxQjvoLbl94eX/bj+omt/61ySsuay0ga1qvsJ/prfXzYzgR7qM1ewcLLN/6zQFj0ZHv/r4ygphJsmAFHoLoKLfakHg46gy5epVBtznFe+UTA6JrFU+/Zu8RR0k9F+bWU39+XuDQGwBXHUSn6X3jIIuNXK94HH90E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750715063; c=relaxed/simple; bh=I0eMfIul1OCqhIlmPv/SRFxi46PiDEbWzYs2P6CqoRU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ruGLiW869epkiWHCZ4ght7GuXhiRauN0lcleIV0osB34y6v2iwHlw3kfJ051eBg5Rpf4dkQ2lxTKc/jAhnGlFLgLAtE5V8arhI2V/DteXSBFz3OrAXqvpfRtsKqdwnBhXdK9F4+9+WwEUsvh/ggT4esv5IYhYYwF92rUZ1MVocs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UU7f94zb; 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="UU7f94zb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2744C4CEEA; Mon, 23 Jun 2025 21:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750715063; bh=I0eMfIul1OCqhIlmPv/SRFxi46PiDEbWzYs2P6CqoRU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UU7f94zb89BeimONnq350FSmKJhL/217m6r59Gi0XW2fEnQ4MR2Z/00BU8IJUHf3p Zfm5KUPVFobbDHw8KSIh1AmQaAxjl6cYPG4Y9Sxcp8qa2cL2xygC3bR4bPQDWdGw7b 8REq8G4aA3dBLmGjj0BQiOEHb/3VmBdzII93rY+Y= 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 5.15 226/411] bus: fsl-mc: fix GET/SET_TAILDROP command ids Date: Mon, 23 Jun 2025 15:06:10 +0200 Message-ID: <20250623130639.351196023@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130632.993849527@linuxfoundation.org> References: <20250623130632.993849527@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.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,