From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.1 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796029376; b=m/t01f3u0an+SuhXLUAJQH57uBb8PHjHpX4OYOU6yobXho8SWtJZvyj72xNhTRCkkbz5 Znik2U0y36WP0xnr8OyZamPndwgt77VV6m2fFYcdZR2+eq+izjhmA25pxh6zlwyEyM5nd 38LTioAv142CwZTBr8duTtZvKSbHif+watoPNYgnSjDypajmnLqwFleQ7p5ix3k4pMR8l Qrk9rsrzBKrIooWRLc7akX7CUcbcLpHBzU5B0ORij4Aw33XtgyZ8o+zcEBfXiTF2E6VKc z8gpawrmghoWFKp90+doe1XPFAuFoXD8O5E8rrTaOOPVzqmdMVpf5/nK085A2LAsNcg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796029376; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:Content-Type:X-EOPAttributedMessage: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=sTYK4P3dVkOkI1CVy/mWHpAFeO27RYuPZp8LFHxDCJI=; b=BLmgWw2py2XJu4Qkube9x+MMXbzT/8ur67/eg4UHonf6ijYTFJ3bcZLr4w/sWExxfkpH U0Jh9HMC6FGsdH35R6SxLMTBMVA13yUVX2Ot3HwMhyN2b2YLYtIPAt/brgtFys1n68MDV H6HPzmv/0gxE0jPNHpdEVqmoTXpK04/U/sWdyUFGOkEZ+GaX0Au4S1fyMmBLlMLmAJC/6 /vT/0ywj8qdR5YZGw+hpPwUB/Wj11iVTgRz6rnX7vyqte3jSJgeSwOthWI4Mf3boBwTnS 70hvls5oD0kyfrmCEb4bOXLlwIZz/kB+I1U6BlBY957IhoJCajLnbr7F7JF7OnymRKw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=KiI0FxMp; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.201.1 Received: from CH4PR04CU002.outbound.protection.outlook.com (mail-northcentralusazon11013001.outbound.protection.outlook.com [40.107.201.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4BE9606A325; Mon, 30 Nov 2026 09:02:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A4BE9606A325 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, unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=KiI0FxMp ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hLCEjqPbKON45jQnaOnJV+kqfiLzPOD9ALsZVL6Zh9d9q29iASTQV1tGc5lPz0isKAKlQR5cmW7Bg330O+n8QwBE8YQGapYB7AWkdtgM4844LigBUrzSn8FQpczzYndIHsmozYucLyjDCzpxO/b/tIIvCNy7ymrDDpSEULq/CKaah+MIzNQ33zkdNiEiI2Obpb7b9LWanyTXDIlbtHolRmUGHQdI7KVEoQGWwCpOUNGKy0LjPiGvgnAtxRZE1i9ZLg0QUkxQvmDY0vieMMBZrTQAwQR5J7Mqn3yAgGM0xuyOaQp0zI7ifJKPnSihHWU+LmfQkPKKO9NqK+PjpEOgPQ== 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=sTYK4P3dVkOkI1CVy/mWHpAFeO27RYuPZp8LFHxDCJI=; b=Q3BLrw8PEVW4WibvY5dEaRogLwQL3rAxtvRulLRHRy0FoEyo5BAnaa0ZdTLWgef+IG9LZPRvb/hx7HcmDXwdckyjt6pDi8O1wo3apkp1Xm2gg3V7vQQy7hBe6qgEfJ0o2qSPAKxQQUo+K8+jNW7mgqGCA6NAzXhJYSjfccOKN6N+ziVevjHJzgLxE/x0bq5wMxpDyfFZ3iNaap6SZU36lAyNhvRwIWwN80BPak+LRP5pOiGfqL2jIF2NynyD0vzOmNrP6U5PfXPDRoyyXRDYTnNdMWNKoQeOg+KdfnHD1nuPxQi9f8lEc5ndO/qczQbMu8DmZrGMqlIKsAKuFbRuJA== 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=sTYK4P3dVkOkI1CVy/mWHpAFeO27RYuPZp8LFHxDCJI=; b=KiI0FxMpveukMGeR9cy9/IxfzMZuIE2VWpTPHgkVE+tKFjltvTaQu20ijdcTke6V6iNfssHhFyo4qLpVA356i+3+TAj0a8qGMrll45r1DRt/6M7fPRCMNb05A4wKfUUVPknY22yzRmPLLt4GQrrUdLDqpDIDf6hyn+cES2QIbUc= Received: from BN1PR13CA0029.namprd13.prod.outlook.com (2603:10b6:408:e2::34) by CHBPR12MB492794.namprd12.prod.outlook.com (2603:10b6:610:36a::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Mon, 30 Nov 2026 09:02:51 +0000 Received: from BN5PEPF0004698E.namprd02.prod.outlook.com (2603:10b6:408:e2:cafe::89) by BN1PR13CA0029.outlook.office365.com (2603:10b6:408:e2::34) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.9 via Frontend Transport; Mon, 30 Nov 2026 09:02:51 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; 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=satlexmb08.amd.com; pr=C Received: from satlexmb08.amd.com (165.204.84.17) by BN5PEPF0004698E.mail.protection.outlook.com (10.167.245.43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Mon, 30 Nov 2026 09:02:51 +0000 Received: from satlexmb08.amd.com (10.181.42.217) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 03:02:51 -0600 Received: from sof-build.amd.com (10.180.168.240) by satlexmb08.amd.com (10.181.42.217) with Microsoft SMTP Server id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 03:02:46 -0600 From: To: CC: , , , , , , , , , , , , , , , "Siva Subramanian Ravi Saravanan" Subject: [PATCH v2 0/2] ASoC: SOF: amd: acp7x: fix S4 resume with ASP carveout firmware loading Date: Mon, 30 Nov 2026 14:32:21 +0530 Message-ID: <20261130090246.3653208-1-sravisar@amd.com> X-Mailer: git-send-email 2.43.0 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN5PEPF0004698E:EE_|CHBPR12MB492794:EE_ X-MS-Office365-Filtering-Correlation-Id: a0dbaea7-0fa2-4cca-56a4-08df4ec0b6aa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|82310400026|36860700016|1800799024|23010399003|11063799006|261009223027099003|18002099003|13003099007|10067099003|56012099006|261028144727099003|261026140227099003|261026121527099003|261022105027099003|261022075727099003|261102123227099003|261021121427099003|261022115727099003; X-Microsoft-Antispam-Message-Info: xLAV/vJg6JQnkto3/0dyHRcChOTN8i77IgYqDZUQjFAEa+Vs7mJGkKbLO6RNTmPtYwbL9TotdAqtyMqrFaKq3nLLv/vk7laGdRCf3xIU3ylHwT4GMzCgKtEf4yUArg4MbYbYq0+uzLrdVFA0I8Zfor3tP2/LmHFzt3R8N3kqauXYHvFvpiez9ktl/BazHadBbwjYZOTRNLW4QiJgtMxnT2+X8srkzN8ZnVLUPLmiCOHJ2XETN7gcmXTTysczc/y+/lbKctcU+hw4xgwzdEJjLfRTQ8caJqMzuE2drK1N8jyojJ7GCcREumJEe6pU2fMHdATpk47Fcn+eqeiXO+NjW3i8I+3PYvNQw14Etp2m8sRGVAGdipvarVtMhW+wYcCsXRrHEL3US9TF70QddxFZnzgstCguu/Cd5K6wh5XyhA+eaTQ/1F6MQ5WhhvHO064rD8N6F0tXvJ6nEnNm9Z8a+L4jEa4ck8EiRN/0ijc9SOGrBI8FjVGZvH3q1vIdB5kDBzDiQRI/vhpjhDMjeRAO9/hAQpk1P6rUteqK2WTbinO66t/DOIV4aDaoLpxeQ7M2sAoT993AXkMHfhpp37RSLp/UHpxk6qx0bkZX4fTUXdiO2TA3taJoXV3XVqybM5AaGLAiZPrdgrATsGzP/ZTYi4OhdKkqI0gp58TsEWuMDQU= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:satlexmb08.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(82310400026)(36860700016)(1800799024)(23010399003)(11063799006)(261009223027099003)(18002099003)(13003099007)(10067099003)(56012099006)(261028144727099003)(261026140227099003)(261026121527099003)(261022105027099003)(261022075727099003)(261102123227099003)(261021121427099003)(261022115727099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0C/H3xI4RK2AgbOtpNkrLrHWXLNj+ncTpcbH0D2ZSaJs/pD7k0DydZQa9FYDKFyAcwKKELeHQr+tNLnseOMS90qQ7Gi7tnq+5KLw4rgK2nBQ9TwAH8uLMzeLlmeKgz7BVLLemmKlxMoUoa7TEBPK6INwf6aZIlhRa7czVv7+Sc+IfrDpa7iMi2+YINnw6OTMEWNxMFZ7KIlz7+L/HhEt7YA/NteTmYN1viM9iKkVjab0g1kp4fXxo6/5TQw/XMit7VJ+5thuX0m7xYsmNETgWnBgQeeQ9ePfO6f3OY8/Uho4cdQhA2UaYK51gX4WHAAfAUywWaghZGBuAZcXvXfF31rzZdB516O31OaPw+ihbV8Nyr7CntAe0L9TsGJPLGLvLPvNQ4vBkG3s1TkfZjovj2nMgwGw/qlnylpGvQSsqNRua4uuDmNOnJH7D4BsWJd0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 09:02:51.4812 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a0dbaea7-0fa2-4cca-56a4-08df4ec0b6aa 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=[satlexmb08.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN5PEPF0004698E.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CHBPR12MB492794 From: Siva Subramanian Ravi Saravanan On ACP7.B/7.F with signed firmware, the DSP firmware is loaded through the ASP carveout in DDR. The carveout loses its contents across S4 (hibernate), but on resume the loader still SHA-DMAs the image from it, so the DSP fails to boot. Patch 1 enables ACPI target power states for ACP7.B/7.F so the driver can tell S4 apart from S3. It does not change behaviour on its own. Patch 2 clears the cached carveout firmware address on S4/S5 resume, forcing a full request_firmware() + VALIDATE_IMAGE reload. S0ix/s2idle resume keeps the fast path. Changes in v2: - Patch 2: clear fw_code_carveout_addr at the start of resume for S4/S5, before the SoundWire and acp_init()/acp_memory_init() early returns, and on suspend if the firmware has crashed or failed to boot. - Link to v1: https://lore.kernel.org/all/20261125053843.1611378-1-sravisar@amd.com/ Siva Subramanian Ravi Saravanan (2): ASoC: SOF: amd: acp7x: enable ACPI target power states ASoC: SOF: amd: acp7x: reload firmware from disk on S4 resume sound/soc/sof/amd/acp.c | 11 +++++++++++ sound/soc/sof/amd/pci-acp7x.c | 2 ++ 2 files changed, 13 insertions(+) base-commit: a6c7e545d8abac8ad0b48da4c8b4ca5ef8ea8eda -- 2.43.0