Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1905677ybt; Mon, 15 Jun 2020 12:30:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLoVpzd4Ub+dRnUSHPdzX0v+xHsAdnUlqLRqa2M+wyDLmssVsfzxfghqN2gEuyoPxEsqU6 X-Received: by 2002:a17:906:899:: with SMTP id n25mr23991034eje.298.1592249432913; Mon, 15 Jun 2020 12:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592249432; cv=none; d=google.com; s=arc-20160816; b=g0Bortv/CpM+fvrkqo7xHgJBlNevW1/2FsTtkPqHZ8yZVgj6wW/MTzx8e267xKsq2h pshuibHjow+ABN+/t1fWEDimjYqK211Sys8eK6BfpyII3d2G+4oqWN8UpYK5kIY52DYF 8+iRaCRFH+H6Orfjs/s+KthXAwW1AwLrABteVkC+JVGI+S5VEgGkDgyj+CGs0htdu5Ic jqwjPMcZAR8ixDtZVM3Bns+epWFxljng6iWrPnq7b9rsjk7GA+6TG4VRniReTVaFQ8bo fIc7ZBpbNr28s93JWJKu06dwjog86bePQCeF/nJpWBVnQgNvVK+fMjXsC+0okF4iM2GY g3tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AvkDF1W+evs4ACyDeBmJZSphxtaBgYojELjru6qP34U=; b=lOVHcUmiD3PhsaQvBKTD7F3TPO3TBXtDyMe3cWveMDUJ7hbX9+s8XVqsR7BYEOXr3f 0LnlQgYnqOGq4o/vKmwakFUF7+S6SR7LK1wxiUCM2Py/8oCQ8zqFsQAlq/kmeQxOhFL2 99Xeq73brFo9XNxYCmzwFJLyP0xwBksxV3wmTOgaqQzdNzBVLYxz/WC4NKVqyyHDbVJo GL7Qsdmjvs0nUs016kFHY4TscReZOA3Ivtav0YwOIxFZlweDgmFAl8Zb0lvmE6Um749t GkpP3lemBKcULY4bVnygh9puVau1plQXX61uezfawUA+yoepJmUDviKi+r6uaSqQ8swA Wm5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AL6Ge9s0; 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 ks19si9584914ejb.409.2020.06.15.12.30.07; Mon, 15 Jun 2020 12:30:32 -0700 (PDT) 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=default header.b=AL6Ge9s0; 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 S1729976AbgFOT0e (ORCPT + 99 others); Mon, 15 Jun 2020 15:26:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:49064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729854AbgFOT0d (ORCPT ); Mon, 15 Jun 2020 15:26:33 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B0B9420756; Mon, 15 Jun 2020 19:26:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592249193; bh=AvkDF1W+evs4ACyDeBmJZSphxtaBgYojELjru6qP34U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AL6Ge9s0gex0hxoxM3nzvCoe5DV/SPRIHO8CUoZbbay9M628GxRDagsRytBs1A9hF IsifoHGmtCVGfPlnC3zKNzsG6zYkedW5VzfUXPM9n6gdKYZVYEA+h/q2CB3/L5Qk9H XMKdQOOeOQeTwF6cws0Y/DjmJP/RimvZu81zBaXI= Date: Mon, 15 Jun 2020 20:26:30 +0100 From: Mark Brown To: Robin Murphy Cc: Florian Fainelli , lukas@wunner.de, "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Scott Branden , Ray Jui , linux-kernel@vger.kernel.org, "open list:SPI SUBSYSTEM" , Rob Herring , "maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE..." , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , Martin Sperl , Nicolas Saenz Julienne Subject: Re: [PATCH v2] spi: bcm2835: Enable shared interrupt support Message-ID: <20200615192630.GC4447@sirena.org.uk> References: <20200605132037.GF5413@sirena.org.uk> <2e371a32-fb52-03a2-82e4-5733d9f139cc@arm.com> <06342e88-e130-ad7a-9f97-94f09156f868@arm.com> <20200608112840.GC4593@sirena.org.uk> <20200615170031.GA4447@sirena.org.uk> <692bc94e-d574-e07a-d834-c0d569e87bba@gmail.com> <2f354ed0-9fb7-59ea-ddd1-78703d9c818e@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dOtxUVmLoGkyu1PA" Content-Disposition: inline In-Reply-To: <2f354ed0-9fb7-59ea-ddd1-78703d9c818e@arm.com> X-Cookie: Offer may end without notice. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --dOtxUVmLoGkyu1PA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 15, 2020 at 06:31:58PM +0100, Robin Murphy wrote: > Now that I've been inclined to go and look up the documentation, are we sure > this so-very-contentious check is even correct? From my reading of things > we're checking whether the RXR interrupt function is *enabled*, which still > says nothing about whether either condition for the interrupt being > *asserted* is true (RXR = 1 or DONE = 1). Thus if more than one SPI instance > is active at once we could still end up trying to service an IRQ on a > controller that didn't raise it. OK, I've pulled the patch from the queue for now :/ --dOtxUVmLoGkyu1PA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7ny2YACgkQJNaLcl1U h9Dlcwf/TI9wOgBtOFPjlWSb4Y2ZgnY4A2yEniFWHZl5+Z/hDkPg8DQB5gpHbOJB aq6nJ/zdl7Ls8/2fAZFBLoKdl1x02xn0g50XxakTsSSVgaumCRRjx/bZkpnWDRMi hOv3B7MZ/8QIJaoW4XW9h4Gr+FUmYL7OGkVcE0ZfPkN+raFcKBhRC6J3CZODGONN xa7O7JtoQu8TFEnp97ymMxfxpWdiyGRfkz0eCJMiFLjv+1CUcneJEMDJ+RRZzQbZ /KAoGLuKCfm0fFD5QlI9XwsSEVpPa0BHmSWbGa+cxxRZMqq0EnmYzL4TT9twKHXi QK/ulZP2pSHvw+ZBQfDln2Mm1nPbhQ== =3Gjc -----END PGP SIGNATURE----- --dOtxUVmLoGkyu1PA--