Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4222867rwr; Mon, 8 May 2023 05:00:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sMaE2kuAEC4PBTRKoR8zIM6n1RqlplXJZEmv042ZTKHCA2dfWlhsBhinBbeVxU7GBUlWf X-Received: by 2002:a17:90a:7b8d:b0:247:3548:e470 with SMTP id z13-20020a17090a7b8d00b002473548e470mr10132886pjc.29.1683547222756; Mon, 08 May 2023 05:00:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683547222; cv=none; d=google.com; s=arc-20160816; b=JKdvBDrFt4NrffGOdeUrkeBESkFm/M4iRFg+F99LXFTriaav9sZAV2Sh2x4kaAsGGD qK4vNbJZnq2LCY6C9l/EoY8oFoOMULW7uuGh0qHcEdngtTXK8rq4PidS7KAbucTN0Gpj SIG47r3S62XOSJA1L7uodyAeeMidM6cTqhmtQu4wFWghn5aLP/XA83E00E9ce0JOa4/N 9CXw6vOrYRnbdqdPbIoventbj2zRY0omXnWcKne7k5e7mXIoVrTPxRgo+YSuYe571zTE bZed9KGeiX4utcSpCshUQGp1zzlJxpTGtlXMtrzMYx4n4O0vCn6Iyd4x9//SllV9Sk9U Kv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id; bh=d+3Qr6G4pfNqDcYS82y2YKBvndvFnUUMJFuexx9vzBU=; b=oM+tuMGKRcuKgjcHaCvm4QSPPX2afAJmc0gfVDScGbPdmAHuQkfgMFQ8q4xbpZbLDz HZl21ydvCXn0I/4XtMgO1yPvRL/tQOyir2awYxlmllQkOGYhSEIQuEa9Qm+vLMcgEV0P exsdXAQklz2JPN70l5g5Ad6/RY59y3BAlgx5xG1vPVuJc7HuovRn/hyaKPyCkRzrFxVd 9BfsTnN6jPUU/1B4beabiCoFEpk/8Nld9vs4aDLWwit4kIckY3q1yJVVr+QvLwxnRUtD sezFMUcYjsumFvxTldRF3QywXBBeVw7ICNXREWdElJbZwHCTXPEuHh4OeUgG+IocPLoi yLLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u126-20020a637984000000b00520dfb861fcsi8266768pgc.309.2023.05.08.05.00.08; Mon, 08 May 2023 05:00:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233897AbjEHLNf (ORCPT + 99 others); Mon, 8 May 2023 07:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232941AbjEHLNd (ORCPT ); Mon, 8 May 2023 07:13:33 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEC8A35B0A; Mon, 8 May 2023 04:13:31 -0700 (PDT) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1pvynr-0005Pi-Be; Mon, 08 May 2023 13:13:15 +0200 Message-ID: <084837c4-72c8-be92-fd1c-5ccbd805c559@leemhuis.info> Date: Mon, 8 May 2023 13:13:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US, de-DE To: Mario Limonciello , Guenter Roeck , Linux regressions mailing list Cc: Bjorn Helgaas , Hans de Goede , Shyam Sundar S K , Sanket Goswami , Richard gong , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <20230427053338.16653-1-mario.limonciello@amd.com> <20230427053338.16653-2-mario.limonciello@amd.com> <7b74c389-97b7-4f56-851b-6ce17950a4d1@roeck-us.net> From: Thorsten Leemhuis Subject: Re: [PATCH 1/2] amd_nb: Add PCI ID for family 19h model 78h In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1683544411;11068df8; X-HE-SMSGID: 1pvynr-0005Pi-Be X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07.05.23 14:51, Mario Limonciello wrote: > On 5/6/23 09:05, Guenter Roeck wrote: >> On Thu, Apr 27, 2023 at 12:33:36AM -0500, Mario Limonciello wrote: >>> s2idle previously worked on this system, but it regressed in kernel >>> 6.4 due to commit 310e782a99c7 ("platform/x86/amd: pmc: Utilize SMN >>> index 0 for driver probe"). >>> >>> The reason for the regression is that before this commit the SMN >>> communication was hardcoded, but after amd_smn_read() is used which >>> relies upon the misc PCI ID used by DF function 3 being included in >>> a table.  The ID was missing for model 78h, so this meant that the >>> amd_smn_read() wouldn't work. >>> >>> Add the missing ID into amd_nb, restoring s2idle on this system. >>> >>> Fixes: 310e782a99c7 ("platform/x86/amd: pmc: Utilize SMN index 0 for >>> driver probe") >>> Signed-off-by: Mario Limonciello >> FWIW: >> >> Acked-by: Guenter Roeck >> >> Note that this patch is not upstream, meaning the second patch >> in the series can not be applied either. I am not sure if that is >> because of "regressed in kernel 6.4" - after all, that kernel does not >> exist yet. The offending patch _is_ in the upstream kernel, though. >> It might make sense to inform the regression bot if the problem is >> not fixed when v6.4-rc1 is made available. > > You're right; the commit message should: > > s,but it regressed in kernel 6.4 due,but it regressed in, > > Boris told me that he's waiting for 6.4-rc1 to pick this series up. Which afaics means that users of -rc1 are now affected by this and might waste time bisecting a known issue that could easily have been fixed already. :-/ That doesn't feel right. Or am I missing something? /me wonders I he should start tracking regressions more closely during the merge window to catch and prevent situations like this... > #regzbot ^introduced 310e782a99c7 Thx for adding it. #regzbot fix: 7d8accfaa0ab65e42 Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.