From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14D93C433F5 for ; Mon, 30 May 2022 19:35:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243069AbiE3Tfi (ORCPT ); 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: 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