Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp109300rwe; Wed, 31 Aug 2022 17:30:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR4m2qw+rRTZBVteGWaY1tkVBvGr9lhZJ1bFvqz2CYjq6LP/wRzHFAlj5vyldBTGJmbVoFmw X-Received: by 2002:a17:907:9816:b0:741:89cc:af19 with SMTP id ji22-20020a170907981600b0074189ccaf19mr11947996ejc.492.1661992258905; Wed, 31 Aug 2022 17:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661992258; cv=none; d=google.com; s=arc-20160816; b=kQq9aLv2IFWa+SuE6r7e5ILdEikcbQQiy4+ZoLBdTpDxcKs4SPSoM9SqJcHHDHLIyD 9nzP+CxZD5a3wtpYe03GWTmdd8nxOCPzwqOIxuykS25j8WEzHOz65rSwJZS+AddaoE9t wegwG5eQDZIGgu4RVyRtCBA5+qbygEqxMLdlSq5+Qqfcsl3SZrtQrCMkSPUlgwTUQGjr 5NhskvSXjwqg3q819AYv0dhR83hXSmuaKLEvg97xGnTscau161iatRY41hvvz7F6TnaE HM2OWnm6hGIeSul9Pr7I7HXPH/lxldwP0tQ+mVvnWGa33kz0K4J4K0mejfytxjewvSmA t8LQ== 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:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=Vy9viZo5c1Cs22twzs93d/4uL2Kw42CK2c0Hxu3ubro=; b=mnS09ud+ZfErtd/aRrxaXs8xIOaWDkgirTD/zCOcHLoJNKmOOe2zVJkMpQ3nkJKnhx QKuY+9g5CRMHdTJYcXBJgaL/B20SgfI/fivq0OjAQShu7VHoiGypszjHlcoYc8agoPRI 1ksoBC5vztGKtCVqPmtjPTSKBSIgIsWHlIY9FIIFL8I1CDETRLYN0gGqdeelGs54NEC1 PU5WQeIf4WSxfo3q61A158HaT0nnBWeM1ZJKqo4SG6wwBsgEON1UToh4xsaa5ad9lnuY roHyRp8boCMFoshrCX1W7lXgEnEWz8zylJCv7ajK5EYtmpgS9Njc4ADuhtLWVH/qgxm0 I1VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1soSmH97; 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 e2-20020a50ec82000000b00445eb9dfb3dsi474541edr.353.2022.08.31.17.30.33; Wed, 31 Aug 2022 17:30:58 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1soSmH97; 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 S231487AbiIAABD (ORCPT + 99 others); Wed, 31 Aug 2022 20:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230421AbiIAAA6 (ORCPT ); Wed, 31 Aug 2022 20:00:58 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88C0E7B282; Wed, 31 Aug 2022 17:00:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=Vy9viZo5c1Cs22twzs93d/4uL2Kw42CK2c0Hxu3ubro=; b=1soSmH97o8W8jbuZ1w3OF5EvDF T8O7g8vlBZakvoElaYA/OrfyamBoMy2Mv1r7ia6r/8+CP+muZpWdmTNCGzZLUgisQhnKpFe+tJPYg qcCNA3ohp0mPbstAVcXLiAEJEKC5BGEDqs7YWLtdLhfmOTIruBYHIu0Pu/aNU4FAB7SOqGzdjo75m 8DHGmXVSpNQ5Ww5yPQduf5BHn0+e5WSDHKB/4elNXe25sLrIxAhH30CUdez1YmoAnpiPzEqzeX6YP mJiEMvBCmVcMzFZsz1EfG86mDMxjgGxf83JeeudoJ6Xy7t7Cz0ipkagy6eRFT6+YxrooWZm2rZbX1 wLR0VYeA==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oTXde-008l8i-Ay; Thu, 01 Sep 2022 00:00:54 +0000 Message-ID: Date: Wed, 31 Aug 2022 17:00:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: configuration x86/Kconfig bug? or AMD feature request Content-Language: en-US To: Steven J Abner , linux-kernel@vger.kernel.org, Hans de Goede , "open list:X86 PLATFORM DRIVERS" References: From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,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 Hi-- On 8/31/22 16:54, Steven J Abner wrote: > Hi > I am tailoring a kernel for AMD 2400g on ASRock B450 using 5.18.12 as base. > I found a feature I don't believe I need, and the system seems to work just > fine without it. A quick glance at the code seems like I'll be just fine, too. > In /drivers/platform/x86/Kconfig:1159  I altered the text to: > > config PMC_ATOM >      bool "Intel Atom SOC Power Management Controller Driver" >      default y >      depends on PCI >      select COMMON_CLK I can't tell what you changed it to. > Please have a look and decide if x86 must include this code to function properly. > Nothing but being x86 selects this. 'default y' was chosen only because forced y before. > Steve > > I wish to be personally CC'ed the answers/comments posted to the list > in response to my posting, please. I not part of the list. That kconfig option has been deleted: commit 3cd8cc98d634 Author: Hans de Goede Date: Tue May 3 16:02:07 2022 +0200 platform/x86: Drop the PMC_ATOM Kconfig option The def_bool y PMC_ATOM Kconfig option provides a couple of symbols used by the code enabled by the X86_INTEL_LPSS option and it registers some clocks. These clocks are only registered on Bay Trail, Cherry Trail and Brasswell Intel SoCs and kernels targeting these SoCs must always have the X86_INTEL_LPSS option enabled otherwise many things will not work. Building the PMC_ATOM code on kernels which are not targeting the mentioned SoCs and which do not have the X86_INTEL_LPSS enabled is not useful. This means that we can simplify things by replacing the PMC_ATOM Kconfig option in Makefiles with X86_INTEL_LPSS and then drop the option. Maybe that commit should be backported? -- ~Randy