Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1944890rwi; Tue, 11 Oct 2022 02:39:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/QWXDIKHPANMMwqHzhyaZP5vwnB53mfpLML1/AoLXahGKZ+RFKZOQVM6domFbxvHgL7TM X-Received: by 2002:a63:e00a:0:b0:43c:7f5c:822b with SMTP id e10-20020a63e00a000000b0043c7f5c822bmr19829833pgh.307.1665481176683; Tue, 11 Oct 2022 02:39:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665481176; cv=none; d=google.com; s=arc-20160816; b=MmAKdhlRjp9W53+9jCfEW4mmz+1SNPe8+IBcImw3YXxdgFxYrjCXhPsmpCcCg+7l8v AYF7mac3Kh2kToTWWa6wgs3Dt09FMNyE9vd9MX9YR8XIMeGf2g7hIgCAL6KntA3JTsE6 NIdWLWqq2Tk5jZ/9rcSI5+xiOQm+L4AZxWAQPZCGNdIJgHii7iKtrW7JT/Ve8vtUrEFR /gEXMBpfdnc3VXT8i+RYlfXBir2a1753n3Ef1/EEvstFRfreTEYMz4J4wnDcDLGryUXb aMb9HZSqNEXmBl6fFYNe5bhjR6SUo5Df/7yDkEmxXuocpSr1Jo5Cbd48ezjeO13Aj3PR 3T0Q== 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; bh=8MWqvdFgYwQZ5A421Sz92TWPjmNbLa+cWhMESsx9+Dk=; b=uUN6g9onc/wks85ZIVHT/uToRrBt5aoLvCkRO3qJo+X1OSDtS7YwT2vjwLlUGg/uJg CfUKoGCJlKMMveUrXvcLmOYcaA3v9HXW+weROqw7DJzIcRpPpB/ieIHxJjS1TKqR7ZbB 6rW5bBIGCbePR29vJMHp5yvCiCP697Wxx8ApXpzHKxJjk1ugY2x/Zj3QRFXDnCLkWtE/ rCHnwBW7G8jrF2fqE+lrSbipG3ebpZQyyyfr50ls16y46Bp83qCFgr3CrzAlExXKudoJ q7oYRV6/hYj6qdm/5WNL750vhmCXTMMNkINdaOz8abo3a/bBgosRSKbUxTpue5TtDRPA Iznw== ARC-Authentication-Results: i=1; mx.google.com; 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 r22-20020a63ce56000000b0045d0e6e27fdsi15767564pgi.686.2022.10.11.02.39.25; Tue, 11 Oct 2022 02:39:36 -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; 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 S229688AbiJKJVM (ORCPT + 99 others); Tue, 11 Oct 2022 05:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiJKJVH (ORCPT ); Tue, 11 Oct 2022 05:21:07 -0400 Received: from outbound-smtp60.blacknight.com (outbound-smtp60.blacknight.com [46.22.136.244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6B0A5FAEA for ; Tue, 11 Oct 2022 02:20:54 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp60.blacknight.com (Postfix) with ESMTPS id 99543FA7B7 for ; Tue, 11 Oct 2022 10:20:52 +0100 (IST) Received: (qmail 28527 invoked from network); 11 Oct 2022 09:20:52 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 11 Oct 2022 09:20:52 -0000 Date: Tue, 11 Oct 2022 10:20:50 +0100 From: Mel Gorman To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , linux-rtc@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Intermittent boot failure after 6492fed7d8c9 (v6.0-rc1) Message-ID: <20221011092050.gnh3dr5iqdvvrgs5@techsingularity.net> References: <20221010141630.zfzi7mk7zvnmclzy@techsingularity.net> <20221010174526.3yi7nziokwwpr63s@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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, Oct 10, 2022 at 08:29:05PM +0200, Rafael J. Wysocki wrote: > > It failed 3/10 times. > > This is still not acceptable. > Agreed. > > That's less than the previous 5/10 failures but I > > cannot be certain it helped without running a lot more boot tests. The > > failure happens in the same function as before. > > I've overlooked the fact that acpi_install_fixed_event_handler() > enables the event on success, so it is a bug to call it when the > handler is not ready. > > It should help to only enable the event after running cmos_do_probe() > where the driver data pointer is set, so please try the attached > patch. Looks good and it booted 10 times successfully. -- Mel Gorman SUSE Labs