Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5083109ioo; Tue, 31 May 2022 19:46:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3fn3AYRPO7X5DTlNtXhBDhmddvwDp+kCFCY/2s5BSkVHfP89rb1w+wV3VjRno5gCvoh9J X-Received: by 2002:a63:5313:0:b0:3fa:9d26:9fe9 with SMTP id h19-20020a635313000000b003fa9d269fe9mr35421398pgb.214.1654051602465; Tue, 31 May 2022 19:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654051602; cv=none; d=google.com; s=arc-20160816; b=V80t4G5xEtPS+W54Tzqwqo+vmczmntvFBf+k8kyS0PNwUdv4dbnoNG49wo7F0p0DH2 f+T6PfQed50HS31j8557fUNkWGTsjAjbEApclwjh+GSlQ2VQg56MiGgCPgqSxpuzJm4D qukj75VdC6mnTU+1iw2Inoakta6aMs1ldFuJ8Axc7LoHFgFfj4gZzZyUyK1ASNGWb+zS d6KRRBAgG/PUe6UCP3RbN/Ldw2/1rhTSaQW/NOJpbSVKPivinIO3DQ6rczzSFDFmiP1g m7m4NDG6DobuUT9iQvB3KW/4v4YW8IOSROXcVhNSHf8m3coSvIMS6hwqx/+/g5YoZxIh Jhjg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eX7y4w5Wx3R/SIFCoxYuQBaAlg6+uBVzFPv3ZTN8PDc=; b=wexFlY9NgIPDc6Sj9RyhhZndw0OVgFYb5vlZyM+HWteaptjgoJw5xM/rimN3mn7VGc Xqg4sZgt9AG4VhqVBMOkQ+kLJgRw9OASz+SE+OM8CPLY3tloFimzmh5rLhK36/H/KBDF ixcb7qJGCaBZqNHbHCHHquhEpDs6t6oy2jIFzZRUQGfLouP819mrXc8bxbAqNZerqYfY nSPc35Fx8eks3s9EHkzvLlieh1V7wRd4AVdHnHv1OvQX5JZxnG6SrD/+3KzfDR3ecdOZ hWtTsL0LNiB+rnZYeDPwu5zJ7Ysxq4C3YLxAwUUqORpO9XAOthJt7o6fej/Ud7nQ7W6C ifmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=e2OiJJm4; 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 s197-20020a6377ce000000b003f5cc9c76dcsi743629pgc.48.2022.05.31.19.46.09; Tue, 31 May 2022 19:46:42 -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=e2OiJJm4; 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 S243066AbiE3Tfi (ORCPT + 99 others); Mon, 30 May 2022 15:35:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233186AbiE3Tff (ORCPT ); Mon, 30 May 2022 15:35:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D727403D4; Mon, 30 May 2022 12:35:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F1CA8B80EF5; Mon, 30 May 2022 19:35:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3C0AC385B8; Mon, 30 May 2022 19:35:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1653939331; bh=eijbhpTJ2B3JlcVU/XzMFj2+PLIBef38WosQNqTCfrk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e2OiJJm48j1Ovm1Iw5XFX7Lpl8jev4IHDuE4+pdi0xlYhRdnfkd+yEHVf/DDjnLHY Es3rfrST95gJYei1rlGgdtBu3MOrhTV6+HKayuKixhs+tJwiluiyObU8DE7JFvaNDY 8vbExebiT7c90LgMJpIG4hQhdooOenpAyVgnVOxg= Date: Mon, 30 May 2022 21:35:27 +0200 From: Greg Kroah-Hartman To: Mikulas Patocka Cc: Borislav Petkov , Yazen Ghannam , "Rafael J. Wysocki" , Tony Luck , linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org Subject: Re: Warnings when suspending to disk Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Mon, May 30, 2022 at 12:16:24PM -0400, Mikulas Patocka wrote: > Hi > > The commit 7f99cb5e60392fc3494c610776e733b68784280c ("x86/CPU/AMD: Use > default_groups in kobj_type") causes the following warnings to be printed > during suspend to disk and resume from disk. There are many of these > warnings, 3 for each core. And if you revert that change it goes back to not warning? that is odd. > > The machine is two six-core Opterons 8435. > > Mikulas > > > [ 31.349584] PM: hibernation: hibernation entry > [ 31.350319] Filesystems sync: 0.000 seconds > [ 31.350417] Freezing user space processes ... (elapsed 0.001 seconds) done. > [ 31.351994] OOM killer disabled. > [ 31.357889] PM: hibernation: Preallocating image memory > [ 34.791852] PM: hibernation: Allocated 735563 pages for snapshot > [ 34.792065] PM: hibernation: Allocated 2942252 kbytes in 3.43 seconds (857.79 MB/s) > [ 34.792296] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done. > [ 34.793791] printk: Suspending console(s) (use no_console_suspend to debug) > [ 34.795159] serial 00:03: disabled > [ 34.795248] serial 00:02: disabled > [ 34.824316] mptbase: ioc0: pci-suspend: pdev=0x00000000f4bc4e1a, slot=0000:02:06.0, Entering operating state [D3] > [ 35.470390] amdgpu 0000:07:00.0: amdgpu: BACO reset > [ 35.533783] Disabling non-boot CPUs ... > [ 35.535798] smpboot: CPU 1 is now offline > [ 35.537754] ------------[ cut here ]------------ > [ 35.537764] kernfs: can not remove 'threshold_limit', no directory Before you suspend, is this directory (and the other ones) really there? Are they not getting created now properly somehow? Any warning messages at boot time? thanks, greg k-h