Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp682514rdb; Fri, 17 Nov 2023 09:37:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjNaweNQdTpBu1k5hQ6Q27kprCeT6isM1gxfPgPK29OQSOQoWDxUoEV4QOq6xoDiUmris+ X-Received: by 2002:a05:6a00:1304:b0:6c3:415a:5c05 with SMTP id j4-20020a056a00130400b006c3415a5c05mr9026386pfu.14.1700242624426; Fri, 17 Nov 2023 09:37:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700242624; cv=none; d=google.com; s=arc-20160816; b=Buek4SZ/OfUUHqiOBIwkLpv71lJBE5TOFZjPaUEayEA1KxNvDCYWuF07pvrCSa4rPp FWM5GswXsbWNfEb77aP1r5srYlkTEURMvD3uGy+JkZlwHbCibk3fL5anU+7ON6C8+WTm G90vDd3XKg2sIXuN+d80Sq57JFfbzqrEhngX6pARKwctQ9NmQ+VJagGW1ACOwVltafdX 549yyiCGxdJvLTFdbHweB9igI6kQEHL/BgqlQyDUdqIcAGxHqAqJqMMc3vqtqtEvivnK YrFDP0aUCo4Be7qab31R8MpowHgUsTu/42Y1ldjQnKak7NfzTPlLUL9Ai/AyJE2VrJXy 7+QA== 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=I6bVBs9+UlVN0UI83TPgVQSNAbRu17WJB14lmY0HUcc=; fh=BAmWGe6BfmetT2oVVp4eu4hYpFxftBoBu1DUczAkXQA=; b=IsZWhexFTrIu0V2nKwlS+VSpIbNOcxw4fjh9njdEQFY9cP2GCKDpdqSUoFloQFdOUK MEuDbtK258DBLyfGrETyIctWumjFGEE9o2qW7KbVuP89LAqdh4kut+Sa2J1hTAnzrONO h2s2RRXRTRh8bS1v976WaaiM+OrXxQiJHvlTst9wK/HSLvOD7NgxZr6YLOJVcP2zGnCv uap0LtGMm76XSmSsMPv54XMZyrldVgAOEIpGR0kNwsJw3M5UnKw/5nKud73yb6v3Csi/ 5i/kyayOEFVjsEut6fPMp3szPzybbimIeroXZPl7JfraoNYqLp1bCQgZWyoM/PAiGn77 2pQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=V6sxxrZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id fd39-20020a056a002ea700b00691019fd0efsi2348525pfb.75.2023.11.17.09.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 09:37:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=V6sxxrZ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BB8E380486BF; Fri, 17 Nov 2023 09:36:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231809AbjKQRgb (ORCPT + 99 others); Fri, 17 Nov 2023 12:36:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346146AbjKQRga (ORCPT ); Fri, 17 Nov 2023 12:36:30 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14E89D7E; Fri, 17 Nov 2023 09:36:26 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id E30E8240008; Fri, 17 Nov 2023 17:36:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700242585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I6bVBs9+UlVN0UI83TPgVQSNAbRu17WJB14lmY0HUcc=; b=V6sxxrZ9FJ89mYPVhAz6mQLGwa9riLme0SOt3HQ71JxYLpSUcaYu0gdKl3W9kohV4KuxFI Uk5MHuml1f4GY/XYG1fsiIgKHcpvzOEZIDSyvpaFVL+ht1bvWPjY+Z5zx2N2WrcgoDXogV XvVR4J5hKr0yGNzVBQ5fwO0XMjgzWnm0whSiA9uBFH7UC4nYhgRoU+khjueFpXMnfvUoCB Xtijs1UllHTgppj9FZ+Q7eF1HuynX9A3HZMIHG2ATRdd3B8jX0xrE4gcXnqYefRnPkoD0k iG26md8wuM3xJrXfbvWQIHXjjYCujcU5d1k+h75zrjWe0TPlvw8Hn7FBhkg34g== Date: Fri, 17 Nov 2023 18:36:24 +0100 From: Alexandre Belloni To: Alessandro Zummo , Mario Limonciello Cc: "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , open list , alvin.zhuge@gmail.com, renzhamin@gmail.com, kelvie@kelvie.ca, rrangel@google.com Subject: Re: [PATCH] rtc: cmos: Use ACPI alarm for non-Intel x86 systems too Message-ID: <170024256921.406260.15395632233007933060.b4-ty@bootlin.com> References: <20231106162310.85711-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231106162310.85711-1-mario.limonciello@amd.com> X-GND-Sasl: alexandre.belloni@bootlin.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 17 Nov 2023 09:36:36 -0800 (PST) On Mon, 06 Nov 2023 10:23:10 -0600, Mario Limonciello wrote: > Intel systems > 2015 have been configured to use ACPI alarm instead > of HPET to avoid s2idle issues. > > Having HPET programmed for wakeup causes problems on AMD systems with > s2idle as well. > > One particular case is that the systemd "SuspendThenHibernate" feature > doesn't work properly on the Framework 13" AMD model. Switching to > using ACPI alarm fixes the issue. > > [...] Applied, thanks! [1/1] rtc: cmos: Use ACPI alarm for non-Intel x86 systems too commit: 3d762e21d56370a43478b55e604b4a83dd85aafc Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com