Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10552823imu; Thu, 6 Dec 2018 03:07:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/UaJcLoHDG71bS2GIXsgKbyi9+7H0KFLg515O1mWL2dbWJhFBoociWduHduWeFMblF3o8My X-Received: by 2002:a63:ab08:: with SMTP id p8mr23350732pgf.87.1544094465874; Thu, 06 Dec 2018 03:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544094465; cv=none; d=google.com; s=arc-20160816; b=N8+yC3hC7YRLs26HsDntViDKEr7hkxXN6IkX9aCoT+YXqYX6toIN4+Gz+j48T8hoX6 KFeca3cdXz89Jy3JI2vAzDSLmRGy0pLHbyK8F8HBjDAcLlZzOCXRO2EmzM1MXqD2wY1A VRgz3criKM92uxAumKjXvApAPkNJMry8lOZuLUCcyQByMRhLo/3+BEod+3gmXUspiLbv Hgop4735LQib4H0EKNNcQghcUDwqUjL1fC9y90x4BWdvo1H9kYlGKVYj0TGBPP2DP4w/ XeYcvXO3ql66J8izH7FXhB0ac3lML6HteYse9I7nnfc0GVOao/xGAqqgo+X9GnjAmXIj bgSg== 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=om+6ZG5YDxhQMIpEsXUuE0d9JPaidi10pQLkLwMhq9Q=; b=LwAGToHXiX4K/aVDPSH5e3VmvDrMcrxEf7G4p38/3v16rO58haFnZsz5ogCPrNI75g xlT7OccpKwy95sywZ0F/XSBQS0MYPdFWUPjgdpya6y3YMWhiVmvrvrrwbOTzP+bGUYUI zK9JmxQhRhAqtrOQSCHufYpDZIuaSOFJ5URRCnyUBwcIT8kTVQPSNhZrBRenvDFYieG0 GqX6COjAF1CXE50q5yVlxVINowQTzGnB+GN4Y8ryMDmF+QipmKsIzeqJ9fkr00iQ84/R dzw1z0Q/3htx4bRf0kG6pN4IFx6CCC8vSSTagW+InUUQX6Fm3GgkvLKpvxVoYJG45R9P 82cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mGslOcTt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si50664pgl.153.2018.12.06.03.07.27; Thu, 06 Dec 2018 03:07:45 -0800 (PST) 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=@kernel.org header.s=default header.b=mGslOcTt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729510AbeLFLFd (ORCPT + 99 others); Thu, 6 Dec 2018 06:05:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:54350 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728245AbeLFLFc (ORCPT ); Thu, 6 Dec 2018 06:05:32 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 37CC720838; Thu, 6 Dec 2018 11:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544094331; bh=0Vg14cJswUdu4Guq0VJrDrciXp8LM6AgTjCKoE1fN+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mGslOcTt2OGkq2X+AW+ArpJDfnU9a//f/x96pH6Cnc8M5j9RfVeqAGGV+W9qf98l7 RE8o3GKJeZzNAO2UTb+yJMnhD/1ixzJwMABiZKUZ0xcuBq1yhaHDTzPoNJOihj12mQ M3/TpgKu3MsZKIzI3r42RNW50M7cUy/CaDZWloWA= Date: Thu, 6 Dec 2018 12:05:28 +0100 From: Greg KH To: Rafael David Tinoco Cc: Sasha Levin , Daniel Lezcano , rui.zhang@intel.com, edubezval@gmail.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: v4.14 fix for Hikey 960 unbalanced IRQ enablement Message-ID: <20181206110528.GM19891@kroah.com> References: <20181203133107.4002-1-rafael.tinoco@linaro.org> <20181203141442.GA19335@kroah.com> <20181203151946.GG235790@sasha-vm> <20181203180521.GA15996@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2018 at 04:24:48PM -0200, Rafael David Tinoco wrote: > >> Greg, > >> > >> Patch 5 in this series seems to explain the best what is happening here: > >> > >>> With the following changes, we fix all in one: > >>> > >>> - Do the setup, one time, at probe time > >>> > >>> - Add the IRQF_ONESHOT, ack the interrupt in the threaded handler > >>> > >>> - Remove the interrupt handler > >>> > >>> - Set the correct value for the LAG register > >>> > >>> - Remove all the irq_enabled stuff in the code as the interruption > >>> handling is fixed > >>> > >>> - Remove the 3ms delay > >>> > >>> - Reorder the initialization routine to be in the right order > >> > >> We can't revert anything because the breakage was there since the driver > >> was introduced. > > > > So the driver was broken in 4.14, why not just use 4.19 instead? This > > isn't a 4.14 regression, it's something that obviously no one has > > noticed for a year now, so why backport these big patches to 4.14 now? > > > > thanks, > > > > greg k-h > > > > This was caught during our functional tests. No direct complains, but, > since it included a trace, and there was a fix for it, I thought it > could be accepted for upstream v4.14 (it is included in other v4.14 > kernels, like Android's). Ok, all now queued up, thanks. greg k-h