From patchwork Thu Aug 8 16:57:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vijendar Mukunda X-Patchwork-Id: 13757956 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2062.outbound.protection.outlook.com [40.107.243.62]) (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 3EFD4190470; Thu, 8 Aug 2024 16:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.243.62 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723136298; cv=fail; b=tcLjZ6DYSTN8NFz2wNzNw8KpzR+jzL8j+2xJuTZupcpYrE3MkK21O9fNec6coVDGvwhCqUlCHkDojx0F72C4MOUP1qjDuKfEyT4QJuLotEepVWtxLyCGzPfgztbuIJayl5UpJx6wz/0UHuBsUwXkOPm4F8U+oVwRAlZW8qI/9Vo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723136298; c=relaxed/simple; bh=ex7B6V0lrijfFWFpq3gHEcX4n9dh9E3WIaSEXvhZuGQ=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ShVq0t8JeIiJhoNQpwJUQO54RJCDFQPh3TdLTHCXeN+5L/cZ9nJM+tTIrTjvvtoK/Y5L/41k3PKP8K7rmf+1xmVMc7ajmarammo52xw671LBtTtQys+gGlSZAHQKyLqHLXpt7rNgWQy9lYagreY/gxXLTtVUWiCeGlwt4DBe/uI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=QCd5/ijQ; arc=fail smtp.client-ip=40.107.243.62 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="QCd5/ijQ" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pU5iNuFD6bUJtN912jpJFVIEyx33j2UADGLQHIgPWrdQYDdcJ3hqzj/g0rXOQg1qY76sMwLbRzahsZfWCOlPhG+41xeISbB7uaHn8pheej8ACftE14vk1WaS0qhM5r8mT/kbBHZXlocDccYx5Ik05WcpviVNMUKQIQ7HOb73eZvfEYBUPaGjy086rYFe8rQGDR2A/c/Dpdb5YuS7zq1E9yzXBhf7oec7SzMRB2PahgR+DzFUZzRv6CMslalWVzc5Xqvrc0nvV3SePLlAmTvjQACaDUw/cQqwnIvTDjb2MU4K9hLyRzNfVz8PCjSmidnY/BQeY00mqiNwGcYMGBGZ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7qg3kiNEPQGX/I2YEZc5TuZUgdQu5BfCY0a/r75ORUM=; b=IVF59zlh0NnWh54/ZRSmqDRMoP5QgImzMfqYeruv8ohqcaPgt3fQ4mkgSJvRIswfO2uwChai9zcQFDXqTkT82EPrfvNslVOlHMhtI4hPu4lpKwSRyfkp62pz48jwNFTq9aSttz7lzxVowC3fFdzHGNaWvQwV379Cw+61Hbl0BZN7H9mRe13menhDkBq/3Lrsgnnv5Prupd4XbKBHw5gyQHccQuA83R13eeRAxVymBRZyI9ageupE8n5ZS+CuTk6ScDTB4Z9QCZhzfkb0GX5pMdh/HYl1l4QoIOKkXtKrEc0zcXIRJyzy2HjUXoXdI/0yzgHSZfhBQFKQHPenubvPEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7qg3kiNEPQGX/I2YEZc5TuZUgdQu5BfCY0a/r75ORUM=; b=QCd5/ijQKgA8ZUL0BrfhXTAei3pn4bplSYVsyLmbhqKPJflRwRoiUctWab+9nfZ2yn9XrdoDxELizgtQqBLGhQkFTitF93n1CFm839iIO2lnVE8vUfB/2Z9lWcBB+6wERAyJptKcJrp/G+PO4TgP+w8tVJvDR4ylzWGAMT/dshw= Received: from BN9PR03CA0186.namprd03.prod.outlook.com (2603:10b6:408:f9::11) by PH8PR12MB6793.namprd12.prod.outlook.com (2603:10b6:510:1c4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.13; Thu, 8 Aug 2024 16:58:12 +0000 Received: from BL6PEPF0001AB57.namprd02.prod.outlook.com (2603:10b6:408:f9:cafe::e) by BN9PR03CA0186.outlook.office365.com (2603:10b6:408:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.30 via Frontend Transport; Thu, 8 Aug 2024 16:58:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB57.mail.protection.outlook.com (10.167.241.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7849.8 via Frontend Transport; Thu, 8 Aug 2024 16:58:11 +0000 Received: from vijendar-X570-GAMING-X.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 8 Aug 2024 11:58:06 -0500 From: Vijendar Mukunda To: CC: , , , , , , , , , , , , , , , , Vijendar Mukunda Subject: [PATCH RESEND 0/8] AMD SOF stack fixes and improvements Date: Thu, 8 Aug 2024 22:27:45 +0530 Message-ID: <20240808165753.3414464-1-Vijendar.Mukunda@amd.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB57:EE_|PH8PR12MB6793:EE_ X-MS-Office365-Filtering-Correlation-Id: 6f4a89c2-3e81-4b14-9a98-08dcb7cb493f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|1800799024|7416014|376014|36860700013; X-Microsoft-Antispam-Message-Info: /bngjULU+sLDdgw+X39ORUlHcrJVAlDvj42f4U1lmeJMoWkjfNFLAkW/jYLLUhPiGSryNupTydp4oNu68DvoJdYAeymok5nIzNc5ZiDcP6PikiY9fcNJlNHjHzIGhA6GfN+o+uMSDIbuKdf88xtWOeyFtaDvH69HafICU7zO5XkY6dXH+s1O0Ln3OzoCdvoNc9uMF7H1GqxmFB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UbRXp+THLNrmJSdfyJJlipxBUCWcat7FXi95F5Zg23n/zroC80Oao9450Ktnd22bdiSdub5uqnT5eqa34Bh8KhGKP3r9ttElyoHPdk48c+/0x3C5tyMA X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(1800799024)(7416014)(376014)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2024 16:58:11.4135 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f4a89c2-3e81-4b14-9a98-08dcb7cb493f X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB57.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB6793 This patch series consists of few fixes and improvments for AMD SOF stack. Link: https://github.com/thesofproject/linux/pull/5103 Reviewed-by: Ranjani Sridharan Reviewed-by: Pierre-Louis Bossart Vijendar Mukunda (8): ASoC: SOF: amd: Fix for incorrect acp error satus register offset ASoC: SOF: amd: fix for acp error reason registers wrong offset ASoC: SOF: amd: move iram-dram fence register programming sequence ASoC: SOF: amd: fix for acp init sequence ASoC: SOF: amd: update conditional check for cache register update ASoC: SOF: amd: modify psp send command conditional checks ASoC: SOF: amd: remove unused variable from sof_amd_acp_desc structure ASoC: amd: acp: Convert comma to semicolon sound/soc/amd/acp/acp-sdw-sof-mach.c | 6 +-- sound/soc/sof/amd/acp-dsp-offset.h | 6 ++- sound/soc/sof/amd/acp-loader.c | 2 +- sound/soc/sof/amd/acp.c | 59 ++++++++++++++++++---------- sound/soc/sof/amd/acp.h | 10 +++-- sound/soc/sof/amd/pci-acp63.c | 3 +- sound/soc/sof/amd/pci-rmb.c | 3 +- sound/soc/sof/amd/pci-rn.c | 3 +- sound/soc/sof/amd/pci-vangogh.c | 1 - 9 files changed, 60 insertions(+), 33 deletions(-)