From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5A6FF3ED5C8; Wed, 20 May 2026 17:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779297871; cv=none; b=DgUpZ7+A2oDOE+/NikdormxBEJtSkDXaORq+q2lMpgm4Uvx1BmMNQAs1Cs497vxTsCZZMoqHpupMtDGq5YpVqoidfNH/UUd2egAVS5eKsLcXMJ3c4dXjBqLIHACtTY6wBY4j17o3t52BUgc7HlcUaQU2HhkLPnzhpI3oZNYDSD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779297871; c=relaxed/simple; bh=r7zCcBZPNdR8iamA0aDY9yl6PqQuYLWbv9YUSm9yLLY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qoxQtg8+tjZwWbiBjy7meDVYZWgixPp0JplCauc/KFx2iRPH5+T+PTN4uR/VvggmHX44zm42yTBwNLXoh4rjwiy97nKokPDMlI376O0ZJERUC8VvqogvOQR6phRCWw1iNCZdlqQO4TGaPLgOOiL/k7P1bYNnGPX4zQJHdj1yL/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hSu++tpP; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hSu++tpP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E92F1F000E9; Wed, 20 May 2026 17:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779297870; bh=Fj8BqrIgn9EBiSfoM5YDMXKYFx5ojXvqDDVLbYhQh0M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=hSu++tpP9mMZIWroXVrAsWUk848QzmcYDiyv9mlSiV/ANy39IBYHpZ9dmnpiU8nY3 qQkyoSTNE15LLuXgOBwOrqh7ciZzZhSXSdK6TtnvxGrTw5VuQaL9Mlo/3yCCQHq5r8 bq9jAhqp2PUHLuwkcMiFn0JbkRTM2lOl2I1LkH/Y= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Aleksander Jan Bajkowski , Herbert Xu , Sasha Levin Subject: [PATCH 6.18 195/957] crypto: inside-secure/eip93 - fix register definition Date: Wed, 20 May 2026 18:11:18 +0200 Message-ID: <20260520162138.779604365@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162134.554764788@linuxfoundation.org> References: <20260520162134.554764788@linuxfoundation.org> User-Agent: quilt/0.69 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.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Aleksander Jan Bajkowski [ Upstream commit b7abbc8c7acaeb60c114b038f1fa91bbedb3d16a ] Checked the register definitions with the documentation[1]. Turns out that the PKTE_INBUF_CNT register has a bad offset. It's used in Direct Host Mode (DHM). The driver uses Autonomous Ring Mode (ARM), so it causes no harm. 1. ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference Fixes: 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support") Signed-off-by: Aleksander Jan Bajkowski Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- drivers/crypto/inside-secure/eip93/eip93-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/inside-secure/eip93/eip93-regs.h b/drivers/crypto/inside-secure/eip93/eip93-regs.h index 0490b8d151311..116b3fbb6ad79 100644 --- a/drivers/crypto/inside-secure/eip93/eip93-regs.h +++ b/drivers/crypto/inside-secure/eip93/eip93-regs.h @@ -109,7 +109,7 @@ #define EIP93_REG_PE_BUF_THRESH 0x10c #define EIP93_PE_OUTBUF_THRESH GENMASK(23, 16) #define EIP93_PE_INBUF_THRESH GENMASK(7, 0) -#define EIP93_REG_PE_INBUF_COUNT 0x100 +#define EIP93_REG_PE_INBUF_COUNT 0x110 #define EIP93_REG_PE_OUTBUF_COUNT 0x114 #define EIP93_REG_PE_BUF_RW_PNTR 0x118 /* BUF_PNTR */ -- 2.53.0