From patchwork Fri Oct 15 19:58:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Hung X-Patchwork-Id: 1541910 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=uOLyaS83; 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 4HWHBj29YDz9sRR for ; Sat, 16 Oct 2021 06:58:19 +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 1mbTLD-00081R-1z; Fri, 15 Oct 2021 19:58:07 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mbTLB-00081C-6k for kernel-team@lists.ubuntu.com; Fri, 15 Oct 2021 19:58:05 +0000 Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) (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-0.canonical.com (Postfix) with ESMTPS id 0D1344001A for ; Fri, 15 Oct 2021 19:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634327885; bh=QC48+IhOgANFen9hQSWMAyz5yZXtzY8NGvgh4SI5sbs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=uOLyaS83jsDH+HOHOnW0f59BaqUDiPgq4PICTnhDBaQvb5jGsSTAb6kMHZvDtrzzD o27zmWBKshD9Dl+SWIZK4WB+FUdDbnthRgEO4QpV38V1UUt/cco+iRwjyfMyJFWtx+ iG7+LHtWOGkDe8RopKO0+Ws9a3syBK14Xq+RHQkWR0j08I/vd95wjDQdxKtVw60f1a ivOh1JTHevi20BurDOT7ayXDk+Gzih52XFeLq3Z0DUEvLRwF4fTu7XQseSisTE56Gy KyJf1jTTBCsLXvLHbcXrE09/3rE+A/fm/cc13JIhGel9pxlwOL4W7AzTy5ECIn1lMe u4HXOGspaAHRA== Received: by mail-pg1-f198.google.com with SMTP id s19-20020a63e813000000b00287d976d152so5551868pgh.3 for ; Fri, 15 Oct 2021 12:58:04 -0700 (PDT) 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=QC48+IhOgANFen9hQSWMAyz5yZXtzY8NGvgh4SI5sbs=; b=kElDkUdtKCL7M2njvoqP56ldrBifwEcOxV/L9zoQMvY2AQgWl86tIK0H6JwBV4wH14 kkdZdAXPCitQAbjnMMdTCuQIE/XFh+MChVbJ19iA827Wb6zSERHyOyXHV02X+QNSUVJM wkUIxuSdBApG1d+DvoKB9cb2L/dq0Y1RVGurxSV9Odvpvfk2BDDWQ7hlf65RAdwajuW0 r3lz0UmRmNcvknxnZijnx0/SB4a+7r0zPZsut4tKPr8gobzWMXEnHxK1BWVTRKEFGsv0 Nanh4M2Nn+Bc6oG4/WC0yDTyfDQyA/UlYStlDqpg0JuibHCwDcP9NC6PehLbD9rCuxwO ea5g== X-Gm-Message-State: AOAM533k6ZNA5ffwwlsXPyUaXju5P2/LwfAZ+gYzQ+26wF4PP/0SF6Jr 9d/Yy/0g448QZLGuzsIp2flGTqaOFipQNw0dcanpKBX1Eiv1WatWM1rLHT9MEz9VP0iZT1F4NPe 5u9nANDwQA0lhuFkhx1VIBSJasfU70fbLs9ACDbD11g== X-Received: by 2002:a63:4f0d:: with SMTP id d13mr10535712pgb.169.1634327883135; Fri, 15 Oct 2021 12:58:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+dnpsjAXFlCDJ/LDyXk80sAtagBEPU7dvwLuZXdac7AMF9z/ydcWExUQxCp9WlBbLSwEavg== X-Received: by 2002:a63:4f0d:: with SMTP id d13mr10535685pgb.169.1634327882695; Fri, 15 Oct 2021 12:58:02 -0700 (PDT) Received: from canonical.com (node-1w7jr9yebujeq5th4a1ypmgpl.ipv6.telus.net. [2001:56a:78ed:fb00::f19]) by smtp.gmail.com with ESMTPSA id i7sm5509618pfr.218.2021.10.15.12.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 12:58:02 -0700 (PDT) From: Alex Hung To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][OEM-5.14] Yellow Carp S0i3 stability fix Date: Fri, 15 Oct 2021 13:58:00 -0600 Message-Id: <20211015195801.1043106-1-alex.hung@canonical.com> X-Mailer: git-send-email 2.33.1 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/1945348 [Impact] Below errors are reported with S0i3 on Yellow carp where under stress testing with 5.14.0 through 5.14.8. [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block failed -110 amdgpu 0000:04:00.0: amdgpu: amdgpu_device_ip_resume failed (-110). PM: dpm_run_callback(): pci_pm_resume+0x0/0x90 returns -110 amdgpu 0000:04:00.0: PM: failed to resume async: error -110 [Fix] The patch fixes this by forcing exit gfxoff for sdma resume. The patch is in 5.15-rc4 (https://github.com/torvalds/linux/commit/26db706a6d77b9e184feb11725e97e53b7a89519) [Test] This is requested by AMD. [Where problems could occur] Low risk. This only affects AMD platforms with s0ix supports. The changes repeat what is (should be) done in firmware. Prike Liang (1): drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 8 ++++++++ 1 file changed, 8 insertions(+) Acked-by: Tim Gardner