Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2407714pxu; Mon, 7 Dec 2020 06:00:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJys55ZPTTKdT1dVkKY93HM+Gnw8PQMP1/5jipGTNZZK2RMlaNuDAmaDKIEtuXqeuDvfZzC/ X-Received: by 2002:a05:6402:3192:: with SMTP id di18mr11915756edb.332.1607349646204; Mon, 07 Dec 2020 06:00:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607349646; cv=none; d=google.com; s=arc-20160816; b=I6R/iMmwm8rAAB+Xi3DfuQg56C+LO0209TnOVXmYd7U8kMzLBHAO2qy90qOh6ykQkb iXLDO3i00eHGME6RUssfAaT4WBudIM2LV2hHf1kvXEAm66687+Iu5+AyZH2Job+Q+hby zPXHjS9rbGrVOjLyHDdAlDcYa1Ce9cv2VWj4a988CBqrOOjV6B/zJnaDSN6HJsN4YIp6 tXZnqaoU2MAEBIFPAmIY586qCAUxY+cD6uVjEXCDVfJ55DJnun3X1Gs0t++NcY0Abg0c xYDnrINXN9m+4NbnNcR1jpxRVYl0HKhuE40ZF1t1krAy9fMvqcpkYGOVQXkBOgeBbsRm dGMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=ZMQ3OsR3km5PFN/IF7IgQjAU7PMzxYh8IIKPlWtDXio=; b=kWCAbdEnGOYZoOzM9WSUFhDZuVyvAcgJTs6IZtfgJzWq72l+cJo4sUgrnQQOYLrtKL QsSsrXt0Tr9H6zKrbWYirn3S8pNztq+8PgQuZbo04ybuRL/Y+yGqyZgCLK/uzE/n1JZF 0RELTT0+47fG/pHNndygBpqvogun/uideRgl98KTzzrankTWvOJIcYORJyj1rqgzZWqJ 4dTdwA7FAW/YCIsF1crDLDOhWlWtBt3LqszAmCo+rrz4oEjaaQJgz0FF5dWdnvCqDGRv oi5dqRpV9fHr5lVDY8eaQbAxiaesgHpRGEeVpMxam3rvldhRavjwlXRryEoZw3BLpyFW 8R7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si6372167ejm.641.2020.12.07.06.00.18; Mon, 07 Dec 2020 06:00:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726348AbgLGN4P (ORCPT + 99 others); Mon, 7 Dec 2020 08:56:15 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:34929 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbgLGN4P (ORCPT ); Mon, 7 Dec 2020 08:56:15 -0500 Received: by mail-oi1-f195.google.com with SMTP id s2so5961145oij.2; Mon, 07 Dec 2020 05:55:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZMQ3OsR3km5PFN/IF7IgQjAU7PMzxYh8IIKPlWtDXio=; b=j75/TKI1Jr0cnwVkNqvXoGV2mXETzNTXvhYk8x8507JyyculbY6wkcjAWas4V1PPSO 5gXr2BnmRy30Prf6XatHzHbR2x8xdZh4zrBqQ2y1YgAB1T+oQyqgWXtu+bOxO1vkAlVR bB8raYdFa4kl7ZlzqexDDtWYckhWp0pXXuNkPEzfZBpMf/HDKuiIgpImDr9nqMzM7Uc7 I7Ryiy1rt9hZeJLAz3bjchRu7Uz3pDcWvjk0c1iUfgtv1mDFXQ7MFnwB2jBpTyj/upkl WXLW+uJO37swHFABbyyQWUrtGVoIlinU9T0F7xc6NdwrxndAPmtKRibFrZRNKy4/3bCx AjfQ== X-Gm-Message-State: AOAM531dAfmhJQ9+kpPa/W8TtTACjy1wEuHFUfP9AglhnMS8HqIknGyp vIULBvbL8gUYgCIfy4STAZnRWWKy2pMem/zcA0k= X-Received: by 2002:aca:5197:: with SMTP id f145mr3814978oib.71.1607349334338; Mon, 07 Dec 2020 05:55:34 -0800 (PST) MIME-Version: 1.0 References: <20201125144847.3920-1-punitagrawal@gmail.com> <87zh2tp4x2.fsf@stealth> In-Reply-To: <87zh2tp4x2.fsf@stealth> From: "Rafael J. Wysocki" Date: Mon, 7 Dec 2020 14:55:17 +0100 Message-ID: Subject: Re: [RFC PATCH 0/4] Add processor to the ignore PSD override list To: Punit Agrawal Cc: "Rafael J. Wysocki" , Wei Huang , Linux Kernel Mailing List , Linux PM , Borislav Petkov , "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 4, 2020 at 11:45 PM Punit Agrawal wrote: > > Hi Rafael, > > Punit Agrawal writes: > > > Hi, > > > > While looking into Giovanni's patches to enable frequency invariance > > on AMD systems[0], I noticed an issue with initialising frequency > > domain information on a recent AMD APU. > > > > Patch 1 refactors the test to ignore firmware provided frequency > > domain into a separate function. > > > > Patch 2 adds said APU (Family: 0x17, Model: 0x60, Stepping: 0x01) to > > the list of CPUs for which the PSD override is ignored. I am not quite > > happy with having to special case a particular CPU but also couldn't > > find any documentation to help identify the CPUs that don't need the > > override. > > Are you be OK to pick the first two patches if there are no issues? Please send them as non-RFC and change the name of override_acpi_psd() to indicate that it is AMD-specific. Thanks!