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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3792C77B7C for ; Wed, 10 May 2023 13:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237072AbjEJN5n (ORCPT ); Wed, 10 May 2023 09:57:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237020AbjEJN5m (ORCPT ); Wed, 10 May 2023 09:57:42 -0400 Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E220DD8C; Wed, 10 May 2023 06:57:16 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 0A03F58041D; Wed, 10 May 2023 09:57:06 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Wed, 10 May 2023 09:57:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1683727025; x=1683734225; bh=Bd Z5AYdOL3hiZeP22cj7y6sMOqTLcEFohvUNaaYxf1o=; b=iufmgR0Lrc0QG7VcSv /uU2wMtCacOya8buTieXWP70gf2h5oskJ86emeal2ei+hdZPmBo4n8EUXgiOcZW/ zS5x4EbMe306IdJBcJJHwbQK3UcQdEsdpBi60IwKlfGS7bsJrYcvTF3nhQNFxNt2 YE0gCKxnAsXThTCsC/3eXmHiF27ECEjSTy4mFWOS6x5V7Gq+Dco2tHgFNtDfBCW5 IGkUfleFEe6nPsPoV2OYS/NAn8YHrtI3m6BUCByiQN+2aTW0r2nPwZsV0pGV9fXE hRzcDOq1hvztdqGAP9/dcS1HPVFR1gIB/PPAsK7/zKE5iDjU0acLfkFP/k4v0ac6 4YOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683727025; x=1683734225; bh=BdZ5AYdOL3hiZ eP22cj7y6sMOqTLcEFohvUNaaYxf1o=; b=BHa4FQpMZSx5rMjKx3JZk+WdUVJsS 30GqRm6FknVvz4Fs66D65X4JMhqHKkQ/THbCAE/YmSZw/NqR1vWn9lOotY1mcziP mdna4xMtBLGSITtBwvtuEgO7rzPlaE/8+4VEPRDT2/SzotkzYdQERMKF3pxjJfuc Oe9lDZt1lBmpuQg4Cm23P6GC4IDQrIcqt2Vn7x7xUai6D0rKwSChIYQ4tf7GHDHm 3r7vT18Tof0fvQVMgewHzGFW6qiYUryRZ/SVabqfKWDCE4Y5vtj8dsajjT7ES6SK s0BW6+NtSaxKYrhjBzF6hUAE9rVASy0ogTDoGZJBudaji48yogros/7Hg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegiedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9B933B60086; Wed, 10 May 2023 09:57:04 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-415-gf2b17fe6c3-fm-20230503.001-gf2b17fe6 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <8db63020d18fc22e137e4a8f0aa15e6b9949a6f6.1683722688.git.geert+renesas@glider.be> <02ce0541-08cf-4e14-a9b1-c53efea85178@app.fastmail.com> Date: Wed, 10 May 2023 15:56:39 +0200 From: "Arnd Bergmann" To: "Geert Uytterhoeven" Cc: "Stephen Boyd" , "Tomasz Figa" , "Sylwester Nawrocki" , "Will Deacon" , "Wolfram Sang" , "Dejin Zheng" , "Kai-Heng Feng" , "Nicholas Piggin" , "Heiko Carstens" , "Peter Zijlstra" , "Russell King" , "John Stultz" , "Thomas Gleixner" , "Tony Lindgren" , "Krzysztof Kozlowski" , "Tero Kristo" , "Ulf Hansson" , "Rafael J. Wysocki" , "Vincent Guittot" , linux-arm-kernel@lists.infradead.org, Linux-Renesas , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] iopoll: Do not use timekeeping in read_poll_timeout_atomic() Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Wed, May 10, 2023, at 15:46, Geert Uytterhoeven wrote: > I first ran into it when converting open-coded loops to > read*_poll_timeout_atomic(). > Later, I also saw the issue with the existing > read*_poll_timeout_atomic() calls in the R-Car SYSC driver, but only > after applying additional patches from the BSP that impact the moment > PM Domains are powered during s2ram. Ok > The various pointers to existing mitigations in the cover letter should > give you other suggestions for how to reproduce... I see the cover letter now, I thought I had looked for it earlier but didn't notice it. Arnd