Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2270204lqo; Mon, 13 May 2024 12:58:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWytO40vZUGmU0EI/f88RlqGJVrDvgqqh4OZjpY/NbLEFHdyDiVZxuyiDKQ+O4O1HvxJ1XOc2jEEO1u5OoKjMchniL+w7KFMjKrlG6wvQ== X-Google-Smtp-Source: AGHT+IGf48xc3FDh10te8T1s7zlAySzhS800WhtrCV43tWMIdcmSRfe1TWR2dBBTk/v6ff3TWq1m X-Received: by 2002:a05:620a:d4d:b0:792:984f:ef04 with SMTP id af79cd13be357-792c759ab10mr1157847685a.24.1715630321042; Mon, 13 May 2024 12:58:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715630321; cv=pass; d=google.com; s=arc-20160816; b=ZbBn8hOHI9XSXm0KhIA2njYqFaCUdATljEkM8pLEn2JwiiFcieSanZeOnKFYADY8K5 9pT/cJA27mPHoYi6FhT7ipJX1CN3RGiyXUaz8n+4ycTWCsTWwD8o/D+ITi93s354vCC8 Nj4djl6dWSK83IFa7+fjwVUL4tKv9d8EA7E3icVbPYjKtJ6HlezFYIOj2RP2lCNo5ZsP JpXCU2WmqLm94pw//BEpXexIp8BERyx86Wb7PGBFScc0Xlvo9YPnyd+4oBGjOb/7bb4p ROu06WsASqCT1y56uUkdXIlFxer/fhG/+37SFzrsc+8iFEIJcizihWsqDSD3QWfTVb4V x8iw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=Frav1MNlSjNYoXfURFJIoZ0ao6fcPcw2hF5EDjK68Ds=; fh=MCmKLxgY/yBVgf7UEv+Kxyyir+7GQIStOCIZPVxFJ9U=; b=SVif9Hb+dFEub6MJ1riqRKux+83BlIsmon7G/Bm0jMg6v1nPCW2HPALvhwNKZj2kgC 9K4zdqn+l84FWElpOC4RuPw5SNH1he3d8KfyYLPlVNf42Ao3OnAbA5mph0wpB3Us4BWj iDAbnU8a29xanv2OlHl4xEljaKfyHEWxDfFEjrCDAtzmzOIW3EzVrm/zX/qRlBTcBLoH 7ERtDWM7UK8+OEY2iPuzWra3uW4UquTuvdZTvEUubrtZbnIzePMzscwxlPgIu5CTZULa 3Cj1+V4nQUzPoBMtiHYS1JQJeiQP3PuYPZCgEOYtJK5MVEbF/Nvvr7lJLXfeIM+VR+wH IgEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tYvbkEej; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178054-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf360a22si1104747785a.541.2024.05.13.12.58.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 12:58:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178054-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tYvbkEej; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178054-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178054-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BE4041C2298D for ; Mon, 13 May 2024 19:58:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8392A7BB19; Mon, 13 May 2024 19:58:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tYvbkEej" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A70493BB30; Mon, 13 May 2024 19:58:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715630311; cv=none; b=ZmLPFHktVMwHWd7mdOegO1IEyYNry7aUiaFrSp/S8/JBZFgjnfjkqz8dPDZovzg2BD7IbZdFiou0rFehxODdTuuwxpgjsjfQnMJaRXTDZHC1Y/v6KhNbkZBxBKWknhSebM5JPfQfg+Y6a5OcJrX0keWprhFqg6UPPT5wTxZ96/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715630311; c=relaxed/simple; bh=xRu8CyhGp/dMQMFRPvRlpYQszBroFlUYx9/roPUrmLQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=MhtUQ91il4ncEJ3as8j1UXEa9oFrAvvAtgRnivDGRd7rqatutDPfnNN1N4Z/xbqnPWVyLVVBnMcxwCebTn7BEPckA1Lu1eAVD1KpuAYCs4ubN5d0U31lEcGtyJBY6dJ8Vkf/hERWGVnnVMWcr3ISq0Vl9lWwFjPHQLQsHB1PM3M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tYvbkEej; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1390BC113CC; Mon, 13 May 2024 19:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715630311; bh=xRu8CyhGp/dMQMFRPvRlpYQszBroFlUYx9/roPUrmLQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=tYvbkEejMiE6HhVN/wo0Q4dJ/UzS+ZBdRKQiafF0yjO0c+CrUS3wNJusXwg9sQstV Zw26BkzNRB0XjovtDrDUhb+3U6dSE7NzYLlfhAwKztXDuoZ/TOa1/9DKUYYK/Ed/A7 lakvpF/kBK0r0xVn1ow+r6+k078r/6oxLuPf1WihsPDWk6q2TAaaehy3LrKpYJGbNN aXSzwkzTgF2KEyrQrMcScKKfyVHOFVLAXndjtI0xd9ykEcjOOM4tDg8PZK6fwoxV3I +sFPrjtY6XPEft97bVilgdnwMXHYL3cQdPCB1rj9UDMUbn97U7rgwdH27szngUhfq/ bTl8y3IvWi6Ig== From: Kalle Valo To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , "Rafael J. Wysocki" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, Jeff Johnson Subject: Re: [regression] suspend stress test stalls within 30 minutes References: <87o79cjjik.fsf@kernel.org> <20240511184847.GCZj-9j2sh1Akpt9iS@fat_crate.local> <20240511184945.GDZj-9yaOEWqf1ng8u@fat_crate.local> <87h6f4jdrq.fsf@kernel.org> Date: Mon, 13 May 2024 22:58:27 +0300 In-Reply-To: <87h6f4jdrq.fsf@kernel.org> (Kalle Valo's message of "Sat, 11 May 2024 23:26:49 +0300") Message-ID: <878r0djxgc.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kalle Valo writes: > Borislav Petkov writes: > >> On Sat, May 11, 2024 at 08:48:47PM +0200, Borislav Petkov wrote: >>> On Sat, May 11, 2024 at 09:22:43PM +0300, Kalle Valo wrote: >>> > Here's the diff between broken and working .config: >>> > >>> > $ diffconfig broken.config works.config >>> > -CALL_PADDING y >>> > -CALL_THUNKS y >>> > -CALL_THUNKS_DEBUG n >>> > -HAVE_CALL_THUNKS y >>> > -MITIGATION_CALL_DEPTH_TRACKING y >>> > -MITIGATION_GDS_FORCE y >>> > -MITIGATION_IBPB_ENTRY y >>> > -MITIGATION_IBRS_ENTRY y >>> > -MITIGATION_PAGE_TABLE_ISOLATION y >>> > -MITIGATION_RETHUNK y >>> > -MITIGATION_RETPOLINE y >>> > -MITIGATION_RFDS y >>> > -MITIGATION_SLS y >>> > -MITIGATION_SPECTRE_BHI y >> >> ... and if it started with -rc4, I'd try this one first. > > I'm not sure if this bug started with -rc4, let's say somewhere between > -rc3 and -rc6. I'll start with disabling MITIGATION_SPECTRE_BHI and then > I'll disable them one by one. It is starting to look like that MITIGATION_IBRS_ENTRY is causing my problems. If I enable MITIGATION_IBRS_ENTRY I see the suspend stall relatively quickly. And then I disable the config I have not been able to reproduce the problem so far. But as this issue happens randomly I want to do some more tests to be sure. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches