Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2241452ybt; Tue, 16 Jun 2020 00:19:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkPXdOb2bbWFEVjLMNSLvFaJ4AJnCJ9lBrUZ6SamBzSUAYL4kCiEz9JyV7U2p7Ylgt83DC X-Received: by 2002:a50:d785:: with SMTP id w5mr1282307edi.212.1592291946463; Tue, 16 Jun 2020 00:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592291946; cv=none; d=google.com; s=arc-20160816; b=W7ADchRwlnPrZZj7UJ6FMtFfDr7mpi7x3dDuhWEA9n1zmOdQpIBmqkRkrPauuXsDrB 38NhgcD7NZDpkiIHiFMukL8ur4GKtPDFT3YUQLTzUnvFZtODOrpMPi31cYEnHnV87Ctn eA37ECyW0PbWH9/fpLlX3vG8ir2cznBPnXVhtyrc/Xxk4f969+7NapYUC/F53zS7iWpm qfreWi2BTOACqcaHSwIUEPgPIBgwkYug9hiwlX+jzgBXfQCZNFUw/lc+YDRST+kkPjZf X4/zp6rMMFIDdcJkgrQ3vlbF1NBKKlipBGHZpyQHNlU7XnirZxOcbJMhtBI93hgvNQo4 3zuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dkim-signature; bh=kqqj+cXlA4iqkOMsPDccnqPjXsRNFLSsY1Ejj84JMWU=; b=pZQE5tjEwVrPL608ybJ0w0uNlu2wKaW0mbh5FmRP5feKCfZeC42vUut7OhTkrgItn4 yVsMpE2CYRdLbK5wNTDKtOx5skbhaSZb1KZVyPtaxf/I8mZLPsBvxsMP3AXjwpLBlJR3 F4YbkQ/jPNR8YLz5a9WzGCr0LW7ZTStJTq8ahucz4HtB3MMuxf56V1lYWK0NAwlpFAPe 06gEQlDFWLsi0ia/HgHROJkBMZ/19Nw8WzQ2c7N9rHCtAV4Thjg4PrdMNLA02M51jCBi St5svVE0GOu1htWx9Uf9raUt82DyJpC8A4tyT3oNYFyEenmMPx3iw2xwAIhOZcDwthwf 2tcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=HAp8mr0Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si10222165ejy.164.2020.06.16.00.18.43; Tue, 16 Jun 2020 00:19:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=HAp8mr0Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726665AbgFPHOx (ORCPT + 99 others); Tue, 16 Jun 2020 03:14:53 -0400 Received: from mout.gmx.net ([212.227.15.15]:57977 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726064AbgFPHOv (ORCPT ); Tue, 16 Jun 2020 03:14:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1592291678; bh=EuUBO0VmlPFaxt3vLnX3dhOWmNeNwX7SoxPFN6RUYuA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HAp8mr0YJI1iS0IjVLoARG4pStqtvDWuJS6hnG3SSpw6U3UA/KyrSo22t7HKLJp2N CxjxWx3LMkPxRwk331El8+norZ0/gGtQ2CaNePr6mOZEvyThdILvEQJq6W07BytxC0 IcPDbwZjLoj3JY1fa4iXJukoWUtweYAugnRkIZ/E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from strobe-jhalfs ([92.73.64.60]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MsHs0-1isj3s2LV4-00tjs4; Tue, 16 Jun 2020 09:14:38 +0200 From: Stephen Berman To: Sebastian Andrzej Siewior Cc: Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: power-off delay/hang due to commit 6d25be57 (mainline) References: <87y2owwo2o.fsf@rub.de> <20200609202339.cgy57twm2zdtjhje@linutronix.de> <87tuzjcovq.fsf@gmx.net> <20200610102514.4vdzu5u7d6vnpicn@linutronix.de> <87imfyh6yx.fsf@gmx.net> <87wo4dligz.fsf@gmx.net> <20200612110122.jossn5zrktcvpbpm@linutronix.de> <87tuzdrgm5.fsf@gmx.net> <20200614171005.3zy673p6bpwoqnmq@linutronix.de> <874krcsquv.fsf@gmx.net> <20200615145130.bcdidqkp6w23xb6c@linutronix.de> Date: Tue, 16 Jun 2020 09:14:37 +0200 In-Reply-To: <20200615145130.bcdidqkp6w23xb6c@linutronix.de> (Sebastian Andrzej Siewior's message of "Mon, 15 Jun 2020 16:51:30 +0200") Message-ID: <87tuzbh482.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:ov6gSU6GyFb0newgb6X1LcpeaWyBhJsLfz7JhwYU/WzbUWsGhHH uSqv59iDkkdpQiwfi0hxGmt7Jm+3HtdBRII+k5GoZ0eH7Hv9fBeesI54h8Rd66MjMIYl0aL 0XvCPCCkPvAKxz/n7jg7oWt0HjOtjEP65RE2jjFz6WF8TK6UIuqIET7bFidI4pR+yHrVeaP xY63JaRKCbSgUhSHfTG/A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JtbKXg+tQHE=:cuxWp1wgSoKdA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x3dnmeEf5X0jTluHZaa77NhBl7tc0//wEIqFtVl1+ xgqL257x51axS3EVufBEUmN7vt4DJh7CFLZhZBRgUR/ij8vn+TaIqI245YzqbrmShFa7H00cv twXKSB/AMYDPllyXB7nSPU5Kz/AG70aHmbXv7FycmY8Pdqd+n02x0ZwU/Gb2IOYVHU/CRaKAU gQeOEM3J2oaVJgH0S Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jun 2020 16:51:30 +0200 Sebastian Andrzej Siewior wrote: > I attached a modified acpi_dbg.patch. Please enable: > - CONFIG_ACPI_DEBUG=y > > Looking at your 5.1 you have tracing enabled (hope it still is). > > The attached patch will dump the date into the tracing buffer, so you > console should remain "clean". Once it records 300 of those "requests > for acpi_ev_notify_dispatch" it will stop recording. > After 4-5 minutes please do > cat /sys/kernel/debug/tracing/trace > file.txt > > compress it and send it. I set CONFIG_ACPI_DEBUG=y, applied the patch and rebuilt 5.6.4, but: $ cat /sys/kernel/debug/tracing/trace > trace.txt cat: /sys/kernel/debug/tracing/trace: No such file or directory Here are all the 5.6.4 config options with "TRACING" or "TRACE"; do I need to set any that aren't set? CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_TRACEPOINTS=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_PM_TRACE=y CONFIG_PM_TRACE_RTC=y CONFIG_HAVE_KPROBES_ON_FTRACE=y CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_RELIABLE_STACKTRACE=y # CONFIG_MAC80211_MESSAGE_TRACING is not set # CONFIG_DMA_FENCE_TRACE is not set CONFIG_IWLWIFI_DEVICE_TRACING=y # CONFIG_TRACE_SINK is not set # HW tracing support # end of HW tracing support CONFIG_STACKTRACE=y CONFIG_RCU_TRACE=y CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_NOP_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_DYNAMIC_FTRACE=y CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y CONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=y CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_TRACE_CLOCK=y CONFIG_EVENT_TRACING=y CONFIG_CONTEXT_SWITCH_TRACER=y CONFIG_TRACING=y CONFIG_GENERIC_TRACER=y CONFIG_TRACING_SUPPORT=y CONFIG_FTRACE=y # CONFIG_BOOTTIME_TRACING is not set # CONFIG_FUNCTION_TRACER is not set # CONFIG_STACK_TRACER is not set # CONFIG_IRQSOFF_TRACER is not set # CONFIG_SCHED_TRACER is not set # CONFIG_HWLAT_TRACER is not set # CONFIG_MMIOTRACE is not set # CONFIG_FTRACE_SYSCALLS is not set # CONFIG_TRACER_SNAPSHOT is not set CONFIG_BLK_DEV_IO_TRACE=y # CONFIG_TRACE_EVENT_INJECT is not set # CONFIG_TRACEPOINT_BENCHMARK is not set # CONFIG_TRACE_EVAL_MAP_FILE is not set # CONFIG_FTRACE_STARTUP_TEST is not set CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_HAVE_MMIOTRACE_SUPPORT=y CONFIG_CC_HAS_SANCOV_TRACE_PC=y # CONFIG_BACKTRACE_SELF_TEST is not set Steve Berman