From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21490C433ED for ; Wed, 28 Apr 2021 20:20:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C829D611BE for ; Wed, 28 Apr 2021 20:20:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241866AbhD1UU4 (ORCPT ); Wed, 28 Apr 2021 16:20:56 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:60653 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241851AbhD1UUz (ORCPT ); Wed, 28 Apr 2021 16:20:55 -0400 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3B541240008; Wed, 28 Apr 2021 20:20:07 +0000 (UTC) Date: Wed, 28 Apr 2021 22:20:06 +0200 From: Alexandre Belloni To: youling257 Cc: hdegoede@redhat.com, a.zummo@towertech.it, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 04/17] rtc: cmos: remove cmos_rtc_ops_no_alarm Message-ID: References: <20210110231752.1418816-5-alexandre.belloni@bootlin.com> <20210428184946.23999-1-youling257@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210428184946.23999-1-youling257@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 29/04/2021 02:49:46+0800, youling257 wrote: > this patch cause suspend failed on my Bay trail z3735f tablet. > > [ 162.038713] PM: dpm_run_callback(): platform_pm_suspend+0x0/0x40 returns -22 > [ 162.038760] alarmtimer alarmtimer.0.auto: PM: failed to suspend: error -22 I think I know what is happening, there is one patch I wanted to send this cycle but didn't, can you test it? https://github.com/alexandrebelloni/linux/commit/50641a5a19cedf7561410d7db614da46c228bacc Thanks for the report! -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD929C433B4 for ; Wed, 28 Apr 2021 20:20:38 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D724A611BE for ; Wed, 28 Apr 2021 20:20:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D724A611BE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FVqkr121dz3037 for ; Thu, 29 Apr 2021 06:20:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=bootlin.com (client-ip=217.70.183.193; helo=relay1-d.mail.gandi.net; envelope-from=alexandre.belloni@bootlin.com; receiver=) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FVqkT1p3sz2xYx for ; Thu, 29 Apr 2021 06:20:13 +1000 (AEST) X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3B541240008; Wed, 28 Apr 2021 20:20:07 +0000 (UTC) Date: Wed, 28 Apr 2021 22:20:06 +0200 From: Alexandre Belloni To: youling257 Subject: Re: [PATCH 04/17] rtc: cmos: remove cmos_rtc_ops_no_alarm Message-ID: References: <20210110231752.1418816-5-alexandre.belloni@bootlin.com> <20210428184946.23999-1-youling257@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210428184946.23999-1-youling257@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, a.zummo@towertech.it, linux-kernel@vger.kernel.org, hdegoede@redhat.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hello, On 29/04/2021 02:49:46+0800, youling257 wrote: > this patch cause suspend failed on my Bay trail z3735f tablet. > > [ 162.038713] PM: dpm_run_callback(): platform_pm_suspend+0x0/0x40 returns -22 > [ 162.038760] alarmtimer alarmtimer.0.auto: PM: failed to suspend: error -22 I think I know what is happening, there is one patch I wanted to send this cycle but didn't, can you test it? https://github.com/alexandrebelloni/linux/commit/50641a5a19cedf7561410d7db614da46c228bacc Thanks for the report! -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD821C433B4 for ; Wed, 28 Apr 2021 20:22:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F52D6109E for ; Wed, 28 Apr 2021 20:22:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F52D6109E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FCxjhfViEE1oRv1N0LOtIitrQJbI8iai2QMu/mOFR88=; b=dl8/N5/XVzBBJxVBXmkKTWYnM E/5OYG7LxgSpPA2xLdpU7FpciFhdLto7H7NNvsCgyZoRsnfM2zO87IXKVWwYgvDOiwxqgaZ+zA3SL 9tg8Nehv09KtLL5op1xVF4Qd5gDr2Y3DzWvBfKioisc2Blrf7fFRlhvF2zeFY3icbbBHX+zMoUFfe gdcX8RBnCZHpK1bGdDhdSfcCziHIq0QQdSCtgjO2TnSVb6yZw8EDZKsNRy0nprMjbehm2j2Zwqz8F 3yFYmoYtYSMxFtABC2yWfky58MNy8Zv6eMZnXF86SnosjwjN8xyLR8ME5kcz3P1Xr/POSjLf5Ozo5 bodtjziaw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lbqfZ-004Duz-Uj; Wed, 28 Apr 2021 20:20:26 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbqfU-004DuI-W8 for linux-arm-kernel@desiato.infradead.org; Wed, 28 Apr 2021 20:20:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Qw54kkr6WYUGlqQWgMTTRf+jvPuU8xXqs47nuwoXrNg=; b=XS9SZKRwz8qZ995S+p9mQq2OYN 8zKYqsYPAVG/+9C+g/yo3U9kqnQYSsVPL1qpCueGwyqe/kbUQheC//WYDplMUySvPUZuK7YjWv9NM uOsz9Dy2D7ZE4/itdkt9MXjWbQTi00rr+OKtqwC5BzjaWlVaqDuGi3EPW31NmTz6t6Qy/QusbqqNZ 8r1tI7A+BJwo7ammWWsjvNld8OLwB5D660qruE4yIrmLafnvMi7eOS9jbaMmP5Za4tFQtYzLZCdnQ bnNUzVqa1GtF0F73E5a2ZenddGgBd7G1cRtcvv661PX5pBQBqDKoLnStUvRuxLVqudjnegmN+DCYj k+ra0Tag==; Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbqfQ-000AQm-Vn for linux-arm-kernel@lists.infradead.org; Wed, 28 Apr 2021 20:20:18 +0000 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3B541240008; Wed, 28 Apr 2021 20:20:07 +0000 (UTC) Date: Wed, 28 Apr 2021 22:20:06 +0200 From: Alexandre Belloni To: youling257 Cc: hdegoede@redhat.com, a.zummo@towertech.it, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 04/17] rtc: cmos: remove cmos_rtc_ops_no_alarm Message-ID: References: <20210110231752.1418816-5-alexandre.belloni@bootlin.com> <20210428184946.23999-1-youling257@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210428184946.23999-1-youling257@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210428_132017_178668_AD33DB27 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, On 29/04/2021 02:49:46+0800, youling257 wrote: > this patch cause suspend failed on my Bay trail z3735f tablet. > > [ 162.038713] PM: dpm_run_callback(): platform_pm_suspend+0x0/0x40 returns -22 > [ 162.038760] alarmtimer alarmtimer.0.auto: PM: failed to suspend: error -22 I think I know what is happening, there is one patch I wanted to send this cycle but didn't, can you test it? https://github.com/alexandrebelloni/linux/commit/50641a5a19cedf7561410d7db614da46c228bacc Thanks for the report! -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel