From patchwork Tue Jun 25 06:43:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1951933 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W7b000ppWz20Z9 for ; Tue, 25 Jun 2024 16:43:59 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sLzu6-0007yG-Cd; Tue, 25 Jun 2024 06:43:46 +0000 Received: from mail-pl1-f170.google.com ([209.85.214.170]) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sLzu4-0007xz-Tu for kernel-team@lists.ubuntu.com; Tue, 25 Jun 2024 06:43:45 +0000 Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1f480624d10so42621245ad.1 for ; Mon, 24 Jun 2024 23:43:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719297822; x=1719902622; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/AximmJKMxR+3JhD/Nn6u/YB3jShap/33vwvn0Xydqk=; b=uN0Ny3ZU4ub4yHKRQobbrbV2jchb04kJxhHXBJETES970iktxDOwkIyMhcLvuSsq2t 2KTnBx6J1KJUUeG3NkbKSOnpp3WE1bT2SvMF/0MB6ABcHZA4PiRON8v5S1Vdu0GBei6S qgRBIq2zfWwwJhtBFPoCN0sqBMG/aIKUgWO4yi89JNl0dFmHoSxgiycp8l+NK0OdFrkg AkE2MDwDfhdAk0QlrZufJ/P6ez/S1LTD5z6hrES781nrUcB2SnEW8skQ+YZfdwmX5gQ8 uwwXRnYw7KTAdVd74oiPoRvKxHUGuigFdhlU87sh07bJT3q/WoJJyCNkP9AWVTRDTlTD 4Ldw== X-Gm-Message-State: AOJu0YyK7Gc+lq1IXsHacP8gi00j2zqA091aIl0KPNNVFkbq6Kbon7TM RnQBkCY9KyacX4pER5IkUvSf7Luob95IXXSDW0hp7ZtvYeQtBz1TtxYL+Bhl X-Google-Smtp-Source: AGHT+IH07YWN6fqDPMx0a2Tet0LIY1Q+EG0gw0HotSfQCV/AQg8rHCx/EsXy0eh+i5t7/U7IwWnonw== X-Received: by 2002:a17:902:c407:b0:1f6:e4ab:a1f2 with SMTP id d9443c01a7336-1fa1d51e50amr80925415ad.25.1719297822062; Mon, 24 Jun 2024 23:43:42 -0700 (PDT) Received: from localhost.localdomain (125-229-129-140.hinet-ip.hinet.net. [125.229.129.140]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fa1d3773d1sm46767525ad.270.2024.06.24.23.43.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 23:43:41 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/7][SRU][Noble] Update amd-pmf for AMD strix series Date: Tue, 25 Jun 2024 14:43:14 +0800 Message-ID: <20240625064321.3302827-1-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.214.170; envelope-from=vicamo@gmail.com; helo=mail-pl1-f170.google.com 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/2058330 [Impact] Missing AMD-PMF support for AMD Strix platforms. [Fix] A few commits from v6.9-rc1. [Test Case] And feature enabled message should appear in dmesg: amd-pmf AMDI0103:00: registered PMF device successfully Access via sysfs: root@test:/sys/devices/platform/AMDI0103:00# cat cnqf_enable on [Where problems could occur] PMF once caused cpufreq locks or other unexpected behaviors in the past and may take additional fix to address. [Other Info] While this is in v6.9-rc-1 now, Noble and OEM-6.8 will be nominated for fix. Shyam Sundar S K (7): platform/x86/amd/pmf: Differentiate PMF ACPI versions platform/x86/amd/pmf: Disable debugfs support for querying power thermals platform/x86/amd/pmf: Add support to get sbios requests in PMF driver platform/x86/amd/pmf: Add support to notify sbios heart beat event platform/x86/amd/pmf: Add support to get APTS index numbers for static slider platform/x86/amd/pmf: Add support to get sps default APTS index values platform/x86/amd/pmf: Update sps power thermals according to the platform-profiles drivers/platform/x86/amd/pmf/acpi.c | 136 +++++++++++++++++++++++++- drivers/platform/x86/amd/pmf/core.c | 15 ++- drivers/platform/x86/amd/pmf/pmf.h | 85 ++++++++++++++++ drivers/platform/x86/amd/pmf/sps.c | 145 +++++++++++++++++++++++++++- 4 files changed, 374 insertions(+), 7 deletions(-) Acked-by: Manuel Diewald Acked-by: Marcelo Henrique Cerri