From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8224930CD9E; Tue, 14 Oct 2025 13:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760450348; cv=none; b=XNcNqXb7ForXY5gaFhoviFG4B/cXVe1KrtEIIKg59iUywQaOAwzCybN3tw8aATYebLXl/4Y+hFSivC97gD637k1bStZORO1oHrx2EiO8cPteH9ZJCdF/c+Fyysl7F7c/Ja5jBexxAiGWyzM9JW0ua6zVFdZjLvgKYm9v5TKOIA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760450348; c=relaxed/simple; bh=cGdB21WnnJcDdE+0LNLKsEd9owU5n7b7DS7o9YBM6ps=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=S5h+whP9uqx67iinqhmziiXhjyKgh0AQxAf66XdFJ842pLFtuO+VgPAdC/GcDAM/cMZrBMVYOVjRMsc4K0JiX/rcq7tSZ1stGzhjlvfFGJHlZaOOuJrVmvjhf6koUhyxxORLTqtVxqoSU6DTtDYEkdnmuIpWRGvQ/qpYZbgIFjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 014DD1A9A; Tue, 14 Oct 2025 06:58:57 -0700 (PDT) Received: from [192.168.0.16] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E2FBD3F6A8; Tue, 14 Oct 2025 06:59:02 -0700 (PDT) Message-ID: Date: Tue, 14 Oct 2025 14:58:50 +0100 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: stable: commit "cpuidle: menu: Avoid discarding useful information" causes regressions To: Sergey Senozhatsky , "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Artem Bityutskiy , Sasha Levin , Daniel Lezcano , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Tomasz Figa , stable@vger.kernel.org References: <36iykr223vmcfsoysexug6s274nq2oimcu55ybn6ww4il3g3cv@cohflgdbpnq7> <08529809-5ca1-4495-8160-15d8e85ad640@arm.com> <2zreguw4djctgcmvgticnm4dctcuja7yfnp3r6bxaqon3i2pxf@thee3p3qduoq> Content-Language: en-US From: Christian Loehle In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 10/14/25 14:56, Sergey Senozhatsky wrote: > On (25/10/14 15:47), Rafael J. Wysocki wrote: >> On Tue, Oct 14, 2025 at 12:23 PM Sergey Senozhatsky >> wrote: >>> >>>> Any details would be much appreciated. >>>> How do the idle state usages differ with and without >>>> "cpuidle: menu: Avoid discarding useful information"? >>>> What do the idle states look like in your platform? >>> >>> Sure, I can run tests. >> >> Would it be possible to check if the mainline has this issue? That >> is, compare the benchmark results on unmodified 6.17 (say) and on 6.17 >> with commit 85975daeaa4 reverted? > > I don't think mainline kernel can run on those devices (due to > a bunch of downstream patches). Best bet is 6.12, I guess. Depending on what Rafael is expecting here you might just get away with copying menu.c from mainline, the interactions to other subsystems are limited fortunately.