Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9781503pxu; Tue, 29 Dec 2020 05:08:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhEBNIIeTlm3SHiGl+M0zZyD2zUjMoBxxW6tvV1ysr2c9dzeRmUpy/AZg98+UTF6jAzvsK X-Received: by 2002:a17:906:d0c1:: with SMTP id bq1mr39639250ejb.202.1609247316268; Tue, 29 Dec 2020 05:08:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609247316; cv=none; d=google.com; s=arc-20160816; b=G4w34Lh9ifHi8ZtjVMAiNTbB3eINF+JPzJzcRVQ884WZNBrA3jnO8Z5l0SZsjKfA/H fHkO8Z1sAXJUfoXjB2yjmVU9/utX/piNDpVfVrZZi3hN0Lb27BZbf02SP7BEYzqdrBGy yWI7RbXiQK+u9H5Nb9t7Ta7plLvk0IiRQ1nW+YxJZ0cf2egmUWhQXJ58eCpym9Bcbl/6 yhyZ/jwNsEaDZqhG0+T3LwlxLoBxALPsprnNVhKiKh1qRuWndHdzbEPHiYEM7ZSEtTzz 3HGKqvUECoFmJHcgXJnkVYtbTB3n4ocUUhmJbDzzlTivBukts8JTXxHQ7z56dFjaSamM +LDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=RB4pdKQ5OQ7s6D+3OOaMYQ7uGwp98SCptaOHWSL5GnI=; b=VzLRegKJVd4C3KFDs3hYPX4IM2XL2+dv1LI9iqRb9Oz+BWi/7zDH5vmlUeoBtDgAdi Eu0TlKEykp9g/EZ0RnSL2tziSrcNxX8d8Dxj5y9oheFwTqsYZJHXUjgNHiw2eRL2vKwn zHzuniQNKB0f9i2qhf5bNXE4y6ZFH8WzBG4K7Rq4fsnw7eyB2GuP7Tek8mue0zlGkkQn rmylXcevpkkSSjVMwvnaTPvoNN+kHEcb8MFpsoROP5GbM01NXCT/mzhZKl8M/0ABDUck MLd53dc0h5a6sTOBdEFTtx9h0FI4T2NW1wVzJdRwC8tqpkQM3W/6LKUDKv+UZp7i7oYh VOUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YlEUa6+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si22417820edn.416.2020.12.29.05.08.13; Tue, 29 Dec 2020 05:08:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YlEUa6+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726218AbgL2NHc (ORCPT + 99 others); Tue, 29 Dec 2020 08:07:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:39092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725964AbgL2NHb (ORCPT ); Tue, 29 Dec 2020 08:07:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B0D32206DC; Tue, 29 Dec 2020 13:06:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609247211; bh=767pTnLA+j4X7uox4aQm6zuaRfEEfJwX4e+yCz3P8+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YlEUa6+5i6F4DHLudX75WRRpoeLGZhGlaVTbRYjg4hwM9F/Miwu2mG8u6viaBEn67 EGJxHytqdqigddV9uPne9croSNN5Bs2Xq1QYtxfX9CVocoR9WMLK/PxCr9OPrAj54a BLwVu3Cbnt4otrsv5IVDiGh9kmMEeHP0m7yb1bwUDXOY0vwHvlB2/ShCOqQV05HR6D XLGTCPpH2kvyJwS0TuJR7aITHi9sQjlTki4fHWfS5SOx5DWvmTu45UprDqV85sCBAi pdJwvaJRzWED8G1tRha8JynrdgXHPrxdQBCzMKQ7McRwxwk3ZBFTpn7bAYMYnyFEr9 imdth/fiy/V8A== Date: Tue, 29 Dec 2020 13:06:29 +0000 From: Mark Brown To: Tim Harvey Cc: "Rafael J . Wysocki" , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Laxminath Kasam , Tony Lindgren , Lee Jones , Robert Jones Subject: Re: [PATCH] regmap: irq: do not allow setting irq bits during ack Message-ID: <20201229130629.GD4786@sirena.org.uk> References: <1609191951-15590-1-git-send-email-tharvey@gateworks.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline In-Reply-To: <1609191951-15590-1-git-send-email-tharvey@gateworks.com> X-Cookie: Mother Earth is not flat! User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Dec 28, 2020 at 01:45:51PM -0800, Tim Harvey wrote: > Some interrupt controllers may not de-assert their interrupt if > bits are set when acknowledging the bits that caused the interrupt. > Take care to not apply the mask to the status until we are done > acknowledging the interrupt and take care to mask the bits according > for the ack_invert state. I can't understand what this commit message is trying to say, sorry. Which bits are you talking about when you say "if bits are set"? Isn't acknowleding the interrupt clearing the bits asserting the interrupt? I can't tell what the problem you're trying to fix is. --ZJcv+A0YCCLh2VIg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/rKdUACgkQJNaLcl1U h9B8HQgAhuWZe3NhnIBuOga3GlhY+ondsTBRTDwS7Sz/mC8Vs7jQ7OScNZAKNfra L/dRgiQZb1oSikCid09gBzqvv4qd3OFwUNYrlW/GmxBmk1mEMtKqJ6ZmDaAWN5mY DM/xoEKOkS8QvgaGrHTmvi7LCx1NOp7DqPMXHDMIlIy3xEsDhNdJOmL3lvIe0vnR 9XVxgNF4o4mV1fMk+Lg0/BvopSrT99m4ebfxcf53V3NbgjU0zTApZ/VPH2mtlA+p RowjkFmAzKrfqPtWHdSVBakvfuXKb9RGzJZ5VxNiRIKJWxNozeG80Mg7NFMHFLIN lYKZy7gpVbUBIwsFRVaeuW/NgTWpeQ== =0Mb5 -----END PGP SIGNATURE----- --ZJcv+A0YCCLh2VIg--