Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964814AbaLKGKm (ORCPT ); Thu, 11 Dec 2014 01:10:42 -0500 Received: from mga01.intel.com ([192.55.52.88]:44236 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964797AbaLKGKk (ORCPT ); Thu, 11 Dec 2014 01:10:40 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="427648900" Message-ID: <5489355E.8080905@intel.com> Date: Thu, 11 Dec 2014 14:10:38 +0800 From: Aaron Lu MIME-Version: 1.0 To: Zhang Rui , Olof Johansson CC: Daniel Vetter , Stephen Rothwell , linux-next , Linux-pm mailing list , Geert Uytterhoeven , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v5] Thermal: introduce INT3406 thermal driver References: <54868CF6.6020505@intel.com> <20141211010226.GA26253@aaronlu.sh.intel.com> <1418265472.12435.68.camel@rzhang1-toshiba> <548934D0.8000502@intel.com> In-Reply-To: <548934D0.8000502@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/11/2014 02:08 PM, Aaron Lu wrote: > On 12/11/2014 10:37 AM, Zhang Rui wrote: >> On Wed, 2014-12-10 at 18:15 -0800, Olof Johansson wrote: >>> On Wed, Dec 10, 2014 at 5:02 PM, Aaron Lu wrote: >>>> On Wed, Dec 10, 2014 at 11:53:25AM -0800, Olof Johansson wrote: >>>>> Hi, >>>>> >>>>> [+daniel vetter] >>>>> >>>>> On Mon, Dec 8, 2014 at 9:47 PM, Aaron Lu wrote: >>>>>> INT3406 ACPI device object resembles an ACPI video output device, but its >>>>>> _BCM is said to be deprecated and should not be used. So we will make >>>>>> use of the raw interface to do the actual cooling. Due to this, the >>>>>> backlight core has some modifications. Also, to re-use some of the ACPI >>>>>> video module's code, one function has been exported. >>>>>> >>>>>> Signed-off-by: Aaron Lu >>>>>> Signed-off-by: Zhang Rui >>>>>> --- >>>>>> v5: >>>>>> Add the missing file drivers/thermal/int340x_thermal/Kconfig >>>>>> Remove the assignment of .owner field from the device_driver structure >>>>> >>>>> >>>>> Did this patch show up in -next for the first time last night, or did >>>>> some other change break this? >>>>> >>>>> It causes a panic in i915 when booting Minnowboard Max for me. >>>> >>>> Sorry for the trouble, I'm looking at this now. >>>> Is there anything special about the Minnowboard Max? I'll try to >>>> reproduce the issue here locally with a typical Intel desktop. >>> >>> Another good question is why the code showed up in -next today. Code >>> going in for 3.19 is supposed to have been baking there already, and >>> it's too early to stage anything for 3.20. >>> >>> Zhang? >> >> well, my Linux machine happened to be broken when I was in travel in Oct >> and Nov, so that I got the 3.19 material prepared a little late. >> Thus I just took some fixes and driver specific patches and plan to push >> my pull request next week. >> For this one, it had been pushed to linux-next for 3.18, but was dropped >> because of some Kconfig problem. So I thought it was safe to include >> this one for 3.19. >> sorry for bring the trouble here. > > It's my bad. In the meantime, I think I have found the problem: > If the system has a video output device that does not provide a correct > _BCL, the error path from the newly added code doesn't properly set the > error return value and that caused problem. The fix is simple: BTW, this is verified with a laptop that would expose the same call trace as posted by Olof with the original commit. Thanks, Aaron -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/