Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1238930ybl; Fri, 23 Aug 2019 15:59:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwavZglU9pt0DtRDUOaqR8wtk7Q8/fP0nfiJLGHHYKgJMOsfOhcMJkf7lv582I+GjrWqrs X-Received: by 2002:a17:90a:a00d:: with SMTP id q13mr7705878pjp.114.1566601181249; Fri, 23 Aug 2019 15:59:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566601181; cv=none; d=google.com; s=arc-20160816; b=OYblhzasAUXmF7cqReY7dhc2ivSARhb6ViL7sWQZEMEH7SBPwtMXNmzp/08SpSLWbd tp4OqLgtutme6sHX2OwGc3TRkVY5tCQ6wMYcUmCIvZCe9chPvXBSl1HXuRkWEvECOVh2 OrV8k/0/s6z7Bfi2IK51NkjW7jQRvxDnnMPOv3IZI8HEYr2rFZpXhK2j1WPYdaywyXLL Z9rELVJRHnHHkuokswIHlsnjiVRiIQsSzakjKCcY5bRGNoVzwzQad3tWEs0SqK78PBEf doLsKKROaAOcqLNK7rBnLtnbqQTKEKvx5Kqr2jLntEJTCbhWwezv+hsbqTjfMp7wKxXL +9xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TlctfPOJYF69OAlthO3Jpuu+JP9IVaCbpbZ9v8rQAo0=; b=H7LW5uP919tHHfUeHuw/6mLRSN6dsTeVEICu6VxccLP30PTnDjGPS/P5AytykFDF9F zsH9mlDOyY6PTy32aTTEds4LfYVjSypdGaBHx0WMx0TBNw2CyeL25twwJwGd8u/GSem7 IEnBT1KURNjohkz4T7VNHT4FBIKNWPXG+2QEf2DNHtdJ7+Kd+dRCMNf9/xbyQaVQE5B1 0Q/jV+feRbtkjqwiq8FZYyrY9DqsJSalXyqHoJlmggJR66NqL9c+E7rW7+M0LnCCviQL vsEiI7Fl9uhz4YgfZs3EBPLRpEj6686tLGhjtN+xsBMibqCY4dZq8dYjpeunkHvxHgc+ sswQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FVR+ZIdp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck12si3451061pjb.56.2019.08.23.15.59.26; Fri, 23 Aug 2019 15:59:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FVR+ZIdp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403801AbfHWKal (ORCPT + 99 others); Fri, 23 Aug 2019 06:30:41 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40679 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbfHWKak (ORCPT ); Fri, 23 Aug 2019 06:30:40 -0400 Received: by mail-ed1-f65.google.com with SMTP id h8so12714210edv.7; Fri, 23 Aug 2019 03:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TlctfPOJYF69OAlthO3Jpuu+JP9IVaCbpbZ9v8rQAo0=; b=FVR+ZIdpi0FOEKmjXRTy63GE/Fb+8Nj09R9Hb9rx9a5tyUCyBp9QXXAtBL3GVEUASs FAhsCm3J+fSk2K8xKw+RpHHe7/iR4kw5wZ1WUa4A8uorwQ5Xp1Q09+XxOw/+ERkBL5EP Xp/46GyQFxzkseJXnD5DAgXKcpZ8xVZPsRHGLdUA21+vwqJWCQYV+j50x9V/5YCgkVQp g7hNqU4YUuwQJhR+zM0P4RMccJ4msXFbL17AxHjX5LYB4xG6sCiJ+jkh52usO3lO75eJ 6xE0pNzvC86UGs2U9QU2IzUIDDA92E80fxV4V4G04OVLOtaJ86GCmRi6wrpviZ/D9ZoF GmqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TlctfPOJYF69OAlthO3Jpuu+JP9IVaCbpbZ9v8rQAo0=; b=L9EeIzK5w1MrVmjjYrQgxFX5WuYis/GSS+MKoOzuOdF7TTlYL1S5pN1Dm1pZvvE7rA y8ZxwaTkg+z6qIVIjj/ejAJSF4UCxgwybQGkLKNhOJOG1faBQsAjFCRfGqwyEcgeR9ky mBrimgU+PEJwQzJYkjQvy0GKJ/ZAMU5crklVhl04LsyPWOj7IEhFvvoVhL+jg5Fq6ukw hDEnddAPEMAyFTA9xLjU7WoLaDQ33hjz4sRzLHR1S6J4NmiLLl8MpLdQkaSJTuCIIFa5 j4M+MmGNytAnhuxt2wh6hlR3QbQICw0fPkJN9DrK7aYA9tbjaaWX5Wccn7XB2vlu9AQ5 gDGw== X-Gm-Message-State: APjAAAXG7BO/8kJZUqa6v4EJJ7G2nXPCzg1C8Cuag48aEm7AQMWOBBcJ 91NhZYlzFxY5KvjNw0wGintWZ0+GuZVQnzCjq3+0Pp3v X-Received: by 2002:a17:906:4683:: with SMTP id a3mr3446920ejr.47.1566556238576; Fri, 23 Aug 2019 03:30:38 -0700 (PDT) MIME-Version: 1.0 References: <20190822211514.19288-1-olteanv@gmail.com> <20190822211514.19288-3-olteanv@gmail.com> <20190823102816.GN23391@sirena.co.uk> In-Reply-To: <20190823102816.GN23391@sirena.co.uk> From: Vladimir Oltean Date: Fri, 23 Aug 2019 13:30:27 +0300 Message-ID: Subject: Re: [PATCH v2 2/5] spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours To: Mark Brown Cc: linux-spi@vger.kernel.org, lkml , devicetree@vger.kernel.org, netdev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On Fri, 23 Aug 2019 at 13:28, Mark Brown wrote: > > On Fri, Aug 23, 2019 at 12:15:11AM +0300, Vladimir Oltean wrote: > > The DSPI interrupt can be shared between two controllers at least on the > > LX2160A. In that case, the driver for one controller might misbehave and > > consume the other's interrupt. Fix this by actually checking if any of > > the bits in the status register have been asserted. > > It would be better to have done this as the first patch before > the restructuring, that way we could send this as a fix - the > refactoring while good doesn't really fit with stable. Did you see this? https://lkml.org/lkml/2019/8/22/1542 Regards, -Vladimir