From patchwork Tue Jan 4 19:38:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1575356 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=WGrLrCyD; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JT2wP6yQTz9t0Z for ; Wed, 5 Jan 2022 06:38:28 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1n4pdR-0007Rd-Ao; Tue, 04 Jan 2022 19:38:17 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1n4pdP-0007RU-Mt for kernel-team@lists.ubuntu.com; Tue, 04 Jan 2022 19:38:15 +0000 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 7773A3F1A4 for ; Tue, 4 Jan 2022 19:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641325095; bh=CAgyfup6PJpAZyPCDmVZM9uEg7ku3uTTWmETDbkUNV0=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=WGrLrCyDcaM0vZDmqIwJ8r9gl1TIRM7L674auHoV5Tnuhuz1oggmqizkQGM/MeYLW qSpsb14m5tzCa+Ih4m5GaTCUqEw6YM0IhEgR5pdzUIGUz9fnR75sed92OcCPRThCMe zfKa6RCoWXsaANyt77AorP1Ju7nVSJ+NOdt3avOIbATWnD78GT3YydN0RXNwGUzw3u Dokkoh+72G2fUULsfSg1oR9m+rxXI33eP0g+YZlUt2EHYC6OkclG6QeGW9ZmsY2C1P cD6h0aSj5F764RchHF4k6WpSVFXR/HSz14+ViHWm58HwfGkf12RWUrVXGmMQGVUhgz mx5OrorNoO4rw== Received: by mail-pf1-f197.google.com with SMTP id e10-20020a62ee0a000000b004bbfb89d2ffso11820023pfi.7 for ; Tue, 04 Jan 2022 11:38:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=CAgyfup6PJpAZyPCDmVZM9uEg7ku3uTTWmETDbkUNV0=; b=L0i5A8A5PYvjWboxE2OP0FG3lTPFFFMsp3q2b6dWd5jyaBp3DfZ9KqUsilUtgja38H eV9q81pIhw3sikrfaEnA0tTF69Hr4FElQpDJ6bUemhkOu6rUi7fhOUzmxmdFJkszYSLd UUDOLb1SFUwrNoTOrGngN3WgudDhFCCAyxh698BihassI2v+8H9QyeHoaNub/+TPvZgm RTqImD3iJQxYVPamFQWNTcT3tH0Pa2SKbkpgkjoi52R/9/G+ISmVa9EJ/94BB5kka/U8 De569J9RvKPYgHF+3J2Tz4vurfHfxV45uYsWgcM+vMd9vjOLa2SYiLICTVpr+oRnAy/w wvoA== X-Gm-Message-State: AOAM530wtxx4ajvwL6y9cnxG+JMKIuPpeAnDYh6TsUBnWOuINYyfQcKI GWPj34SpbCpHtP6UYkJA48y1I5sn5Tt3J5+pBaDusKIqCl3azRToDePYMbDcZfLFBCVlrXPjaGf IiILpZ6cUs2QKMpTdRt8vZkUMrGEerIoP+2Fd028iGw== X-Received: by 2002:a63:6d3:: with SMTP id 202mr43883626pgg.324.1641325093795; Tue, 04 Jan 2022 11:38:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxE/VVsqfawUDw17vkMj1kl6RJbCObhmHYSfto3Tg9ZUZxO0o+86P4hM+TMqMxnB6nuX0jmPA== X-Received: by 2002:a63:6d3:: with SMTP id 202mr43883604pgg.324.1641325093413; Tue, 04 Jan 2022 11:38:13 -0800 (PST) Received: from canonical.com (node-1w7jr9yebujetyoh6yfsc5nua.ipv6.telus.net. [2001:56a:78ed:fb00:f9fe:3ac7:4fc1:f3f2]) by smtp.gmail.com with ESMTPSA id u5sm44272590pfk.67.2022.01.04.11.38.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 11:38:12 -0800 (PST) From: Alex Hung To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][OEM-5.14] Fix for rare suspend (s0ix) failures on AMD systems Date: Tue, 4 Jan 2022 12:38:10 -0700 Message-Id: <20220104193811.1506192-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1956373 [Impact] A rare (~1%) failure has been reported in the community for a period of time on Renoir platforms with s0ix. This failure was also corroborated once by a Cezanne user. [Fix] In the s0ix entry need retain gfx in the gfxoff state, so skipping setting gfx cgpg in the S0ix suspend-resume process. The fix was cherry-picked from 5.16-rc8. [Test] This is requested by AMD. [Where problems could occur] Low risk. This only affects AMD systems that support s0ix. Prike Liang (1): drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 7 ++----- drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 3 ++- 2 files changed, 4 insertions(+), 6 deletions(-) Acked-by: Tim Gardner