Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2612150rwb; Sun, 6 Aug 2023 23:49:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrilkj8/zNENW7baB477H2AEHn21nij8/gB6R+pN0X5PMIv2kMJnawFWpqSdevJNH2+q5Q X-Received: by 2002:a17:906:245:b0:99c:10e8:52d7 with SMTP id 5-20020a170906024500b0099c10e852d7mr9099365ejl.31.1691390943849; Sun, 06 Aug 2023 23:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691390943; cv=none; d=google.com; s=arc-20160816; b=XdJGn5LiKXPDHh8/9siBaw5yqRluUlinU++OoC5V5BTxMZnYlVa6n10ZUyUaSR3ivr QjWpofkRURkgpOKd2tr/wL3lULXs/YuxQVaITgCgjffFloSsAOFwalk00+nySVy/lr1O Dw5sCz2TFghHtZH2DfxfKnGHxzfid8bfO56j0zP6yfZSP+Cop5S2xPnzEq+8D/BXrxbH ahzTPYZJEk1b1pJHxNX+MoCt/Zkpg+YneuMl0CpgVuR80vXziutj8kxJ2zEfvtWs5hHb hvVlZDpNnZZ/QYrPh7FJajKEr7uHfIcIeKATZmcCgYdNflEXlJ9GwuFSEqKWC8+yWDzT x4Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GAcGeKIsRewWEw9Mcg80qXtmUtC1aFGBfQwLMc+WJa8=; fh=fWOU/VI8mDXfG85RlpoLzwKRErEKTwQbCvQ6cDUmlrk=; b=m9kZYeTz43CWV3Cs5ugFfWpvd4qirTxfQeNB1ysr/xS19eez8ykUTEy+pT0Kcc4N/1 eIQbbwIDliRhwx8cYaAoqlKyCDTbueL2SRrSJqO3gbihy1G4Da774jNDxPO3xaSgPbSb WaEkxP8sxbyvGeyJuQegQRd4pkSN5bs+GcZsa2UPdvgv0yJhmH40l6N+0VbalhA7d/kt D+T5OIOF6ykzVDsUtzhJhKwlkGD3Kf75V7Ul9CsG5LtiIfPkN7t9jynAqDwhdLzsZUg1 j0wxGqdvgRVLkiZHVJE26AQvo1sr5T2YhrcwdnbGJgQ5QdfFAbAKgsiLGvgiSC9yMmqU w1kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xv3pC6z4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a170906264a00b009930d4e327dsi5533119ejc.880.2023.08.06.23.48.37; Sun, 06 Aug 2023 23:49:03 -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=@linuxfoundation.org header.s=korg header.b=xv3pC6z4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230095AbjHGGkA (ORCPT + 99 others); Mon, 7 Aug 2023 02:40:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjHGGj6 (ORCPT ); Mon, 7 Aug 2023 02:39:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B374BA; Sun, 6 Aug 2023 23:39:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (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 dfw.source.kernel.org (Postfix) with ESMTPS id 2730161554; Mon, 7 Aug 2023 06:39:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02C00C433C7; Mon, 7 Aug 2023 06:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691390396; bh=cLRE+sII7UxJ95Wse28eozoKbP82elCRGURB4T28oU0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xv3pC6z4NdGXo6fFO2mAE0b7pnfTYgjb109MExyrfTcLvK1Nb0Ld75UnbO+0aByN3 /yyKCBy5B+XW5LNWCm1k1MgrJirKlbInMghvuZJw7m1cAPmaBiRJYIxrFUra4Jsubx KIqy2yPpqlk6KnycbxENlR3VzDHUoGHteVhNLduE= Date: Mon, 7 Aug 2023 08:39:53 +0200 From: Greg Kroah-Hartman To: Jannik =?iso-8859-1?Q?Gl=FCckert?= Cc: Bagas Sanjaya , Huang Rui , Nathan Chancellor , Nick Desaulniers , Linux Kernel Mailing List , Linux Power Management , Linux LLVM Build Support Subject: Re: Fwd: CFI violation when reading amd_pstate/status Message-ID: <2023080747-outsider-despite-acd2@gregkh> References: <2023080743-amendable-moonlit-15b7@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Mon, Aug 07, 2023 at 08:21:37AM +0200, Jannik Gl?ckert wrote: > Hi Greg, > > our kernel uses the Fedora config and has a homeopathic patchset on > top of upstream - see > https://gitweb.gentoo.org/proj/linux-patches.git/tree/?h=6.4 except > the 50** patches. > Namely we don't touch cpufreq or pm. > > > Comm: cat Tainted: P > > I am not using any out of tree modules, the kernel switches to > Tainted: P on the first CFI violation. Ah, ok. Then work with the amd_pstate driver authors on this, odds are one of the sysfs callbacks is incorrectly created which is quite easy to do for stuff like this. CFI also gets confused at times when dealing with sysfs attributes due to them being cast in all sorts of crazy ways. good luck! greg k-h