Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp213999rdb; Thu, 2 Nov 2023 01:06:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMkB5cLE/lY0ikMoJ9hA/PdCU6bDsIxXQtGdEtxjrvuL8AUum7oepm1aO37B2/dfQ3N3hi X-Received: by 2002:a05:6358:881f:b0:168:e479:58bc with SMTP id hv31-20020a056358881f00b00168e47958bcmr22656432rwb.16.1698912407315; Thu, 02 Nov 2023 01:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698912407; cv=none; d=google.com; s=arc-20160816; b=KqwgDpyOkRZKAFyzwfI54iq3fB7gSxolCR/E1zKQ8TzaepgJRfNXCXr3chMuzOiMl7 qKzWsTvzlMYGBR4Qpgj+woj9TUs0dpg9MoYBXIZ/CHRSeGLC2XUDQYzYkOp3pcZPnAU8 g55pZTlXslQZxGwiLHAp89ZvwgzLrNjMCQnqW9NkWCY6UFYxm88PhcUA5mxIfBaFu4le BPeFlsYa5yQtTcABkLFJtSLd1I/FOYAHqLOXVw4pb0mpSs3UJjISpPYCSNRuZ8Do3txs 4L1GLyoMCE/iYiVfyRR8i42fIHHe8JD1OFI612NfUP0s6dEAlNpOyi5h9BISc84jQjnp y0lQ== 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:dkim-signature; bh=qm047SCnALoyYPhnGrJPWTE0UoF+m8QEisH8xFHbuwA=; fh=BUzUwM74uROwLhKpB6VjbK78AjBv4qtL0Hdv9c7KqiQ=; b=Imgn/FnddskCSzGT7XKHKORMsJ7VDwttTSgr1xM/MSpeqWUBbbnBpmqCwWZQwcaVSm CgZsG7bsd+iQniAgprXUSu81gZi13Q1Y4J8UjK+6WGBUDeIej5O18xSGHysA4I4zarDt pgfNTiwcssjW+ft1SUb3pFcNu87+iOqG5YfNx910Kv23bcFW6Ad50AWppG1Np+3xnNUv 9+jAnjW5L3efnwXOWndD571JTWop/6uFJMOkvnMZF4xwVwhdiAxhwSr0+OErXQTuZuWO dvm6DhUYwsafg3aQPsAZ2TAHRL8sUpAbKGGIQb5lFBR7UBmE2+77cJwz3Uz6pt64Rq5E XTfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cdXMCMtz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id d7-20020a633607000000b005b9022ddeb9si1487682pga.501.2023.11.02.01.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 01:06:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cdXMCMtz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id D5ACF80A3137; Thu, 2 Nov 2023 01:06:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233093AbjKBIFS (ORCPT + 99 others); Thu, 2 Nov 2023 04:05:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233053AbjKBIFR (ORCPT ); Thu, 2 Nov 2023 04:05:17 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01619111; Thu, 2 Nov 2023 01:05:15 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-5b9a456798eso451105a12.3; Thu, 02 Nov 2023 01:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698912314; x=1699517114; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qm047SCnALoyYPhnGrJPWTE0UoF+m8QEisH8xFHbuwA=; b=cdXMCMtzIXIr9ixN3j9KUm8CiBKYEg8wYHZH2VLgeZ8w6Ez0pjmsy4AZs+npdbzRLN uvXxqYRQh+2CffLoFltzlll9DhHcuIvL6MO9R6bNjLDpCRo6xFYFe275lzXsru8rdXzP OjL4cQ5K6BjibL62f8ycIgoZmmJSgDqJqE/00wrHPASZ/8H7i+Mp+s/ziVGnEttJZPsJ GOwm+o/gwix5dk/rkrc3jsxVeJgMrBEI0jUZ55SC70sqrsxyTxPEW7pWxCtu10vOpTXI pKyDf6eAdrSWEPBCznrBqnlZeo7GDraM4h5cZMlKUme+zFTpYYbyqEVyGo7Gq0I9zHkP yXgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698912314; x=1699517114; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qm047SCnALoyYPhnGrJPWTE0UoF+m8QEisH8xFHbuwA=; b=ZyUc0PIsNQ0xsicL5PlmPmVqAMfevbH+8SKqzmfytkZPtBKPg/Wkv1MhwGy+dEEY3g 7DHRa7pPnCH7zdDk2/Yz4WWhNnP6oaix026/Mi98cDBPn7pMQ1wlrWGM2Cd/iwclHIT5 JSqRt8GbUiyjusQMvpwisl/GPgPO7tjoCuDvjH63N9q1wYX+6Duq09waRWIESxCS3yFr 7G3x3b2zucqVZBJsShcJDPKfucwzAYMZM9rA9fNrtJDRoFLO0Iar22TfQderOpsMXC28 1Op1iJju1yo1eZGp+Z1DvNhq2XLSkQo1VQjJmblMaN5CtTd3wnnkayuaZAWsThFq+0l4 8y8A== X-Gm-Message-State: AOJu0YwV9DmP7uLRAZvHqEa1/nobof9BHonuhpN1AGtqf3G9Yd9qdqRL opOFpVWgkOktX0Xf6SwmnlI= X-Received: by 2002:a17:902:f682:b0:1cc:7d96:3fe7 with SMTP id l2-20020a170902f68200b001cc7d963fe7mr4181116plg.28.1698912314313; Thu, 02 Nov 2023 01:05:14 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id g10-20020a170902740a00b001c9bc811d59sm2484716pll.307.2023.11.02.01.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 01:05:13 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 32F169201A25; Thu, 2 Nov 2023 15:05:09 +0700 (WIB) Date: Thu, 2 Nov 2023 15:05:08 +0700 From: Bagas Sanjaya To: Huang Rui , Meng Li , Perry Yuan , Mateusz Guzik , Linus Torvalds Cc: "Rafael J. Wysocki" , Viresh Kumar , Michele Della Guardia , Linux Power Management , Linux Kernel Mailing List , Linux Regressions Subject: Re: Fwd: Abnormal battery drain with kernel 6.5 (Ryzen 5500u) Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bFrQyoCjDpyscnAV" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 01:06:13 -0700 (PDT) --bFrQyoCjDpyscnAV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2023 at 12:41:14PM +0800, Huang Rui wrote: > On Fri, Sep 01, 2023 at 05:42:22PM +0800, Bagas Sanjaya wrote: > > Hi, > >=20 > > I notice a regression report on Bugzilla [1] that have been already han= dled > > there. Quoting from it: > >=20 > > > After switching from 6.4.x kernel to 6.5 I experienced an abnormal ba= ttery drain since my laptop is actually never idle. > > > I accepted default CPUfreq to schedutil and AMD Processor P-State mod= e is 3 (active).=20 > > >=20 > > > I expected a different behaviour, but am I missing something? > > > In my boot configuration I had "amd_pstate.shared_mem=3D1" and tried = to remove this switch, but did not affect my power consuption. > > >=20 > > > Is there something changed from 6.4.x to 6.5 that requires a differen= t configuration to get an optimal power consumption? > > >=20 > > > Thanks a lot for your attention > >=20 > > See Bugzilla for the full thread. > >=20 > > Anyway, I'm adding it to regzbot: > >=20 > > #regzbot introduced: v6.4..v6.5 https://bugzilla.kernel.org/show_bug.cg= i?id=3D217853 > >=20 >=20 > + Meng Li/Perry, >=20 > May we know which CPU type are you using? Try "lscpu"? >=20 Sorry for the replying just now. The reporter (on Bugzilla) had bisected to commit c8afaa1b0f8bc9 ("locking: remove spin_lock_prefetch"). Telling regzbot: #regzbot introduced: c8afaa1b0f8bc9 #regzbot title: spin_lock_prefetch() removal causes abnormal battery drain = on Ryzen 5500u Thanks. --=20 An old man doll... just what I always wanted! - Clara --bFrQyoCjDpyscnAV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZUNYLwAKCRD2uYlJVVFO owZYAQDsb6Cd0wndv9wWOxPcE7C6GSlUhC+p6Vc2i0w7Ge2crwD9FjZVdMAnD7jZ aptnxPSv+I+4kMDvo/d32CBDN4MTXww= =xS7j -----END PGP SIGNATURE----- --bFrQyoCjDpyscnAV--