Path: csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod From: Andy Shevchenko Newsgroups: linux.kernel Subject: Re: mmiotracer hangs the system Date: Sat, 22 Oct 2016 18:10:01 +0200 Message-ID: References: X-Original-To: Karol Herbst Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=T3IIt5AqANMRPhYKPXFZbTloVIDvFIyPU0Ls+UoVKuM=; b=EDxEfwTNejpa8LCQj3XUnhOTHCAA0ai2Swf22nAVhwyNp1GZe4I499rOq/dBsI1/xC vDxyEDaoi82+isQoBTjH5mprow8PUO8vLM9rIFYlDbJpM/Gjpk8/olW2u4bK+isbNfBY B0SuPU9ok7GVpnbyRsFfQyl2u6mjsrgQCFtnq7H/jAKTF85oywA/gjw/pY0vQQP59xQ5 rm2uC4dEhApnZ9aTOXLOoiiJEFv7PiWYBjgsLHsF0g2J4jrbqvZbcvpBOudU3hcZEvAM 3T+Dmbp+dFQcyimppWvDS/jUDosfx8FhfmD4DvRu+D7FrsfBl7nuaX1ArnW9mMMBW4ei hL3w== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=T3IIt5AqANMRPhYKPXFZbTloVIDvFIyPU0Ls+UoVKuM=; b=NXzQjDWHlYYfvxre+UofqRGKAvpivkHhC0OMC3iKrEzyE4LlwBl34McUjLDOcPSybD tWSGLfRjTA1FHw8FVpKgxuKCJvFMbcqBZGJ1hSNbFvA6HvKv7IFRKippRrzdX55l7GO9 HHbaac/9rKKfGmKQ5qOmKkQ3s2FYkrnuX4JQ8hnzN7VB2KonMZbz/vHlMgLjWP0+A3Wt 6bPvveJXxO08bG+uaYxfFEIsaRYXK3QVwNJOiDWBwHtIDiMdlZ2f9htzAi5rBCqeUV/j 0nUlx4QHX6Jjvx7JJAQxRxu3Y3/qcFmrKGi1nuXyVwXEmr0UsbrE/AQufjDrDrM1zEPL 2eDw== X-Gm-Message-State: AA6/9RmOhgq7kXvSxbDwsoKZKiLMKnCh7DzCjt6UjnuvqThWmvUoLWIYM45bNjjfF/xHTD6Hld+0p+qvrspaZg== X-Received: by 10.202.218.194 with SMTP id r185mr14530165oig.35.1477152125567; Sat, 22 Oct 2016 09:02:05 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 82 Organization: linux.* mail to news gateway X-Original-Cc: Steven Rostedt , "linux-kernel@vger.kernel.org" , "Paul E. McKenney" , Ingo Molnar X-Original-Date: Sat, 22 Oct 2016 19:02:04 +0300 X-Original-Message-ID: X-Original-References: <20160802113148.6784f2de@gandalf.local.home> <20160802121305.64307a8a@gandalf.local.home> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1506560 On Fri, Oct 14, 2016 at 12:12 AM, Karol Herbst wrote: > sorry for the delay fixing that bug. I got occupied with other things > and didn't really got to the issue again, it is on my todo list as the > next item though and I hope I will be able to get a fix ready this > weekend. I think I might know where the issue is, but didn't confirm > it yet. Thanks.I'm still using revert. Feel free to Cc me when you will have some material to test. > > Again, sorry for the delay. > > Karol > > 2016-08-19 22:46 GMT+02:00 Karol Herbst : >> Hi again, >> >> I was able to get a crash/freeze/something while unbinding/binding my >> nvidia gpu from nouveau. >> >> Guess that means something is odd. I will investigate this more over >> the weekend. >> >> 2016-08-19 17:35 GMT+02:00 Andy Shevchenko : >>> On Fri, Aug 19, 2016 at 6:08 PM, karol herbst wrote: >>>> 2016-08-19 15:02 GMT+02:00 Andy Shevchenko : >>>>> On Fri, Aug 19, 2016 at 1:35 PM, karol herbst wrote: >>>>>> is there any update on that issue I missed somehow? I really don't >>>>>> want to leave the mmiotracer in a state, where it breaks something >>>>>> while fixing other issues. >>>>> >>>>> No updates. I'm busy right now with more priority tasks and revert >>>>> works for me. Issue is reproducible in my case 100%. >>>>> >>>> >>>> Is there something I could do with a "normal" haswell desktop system >>>> to reproduce this issue? >>> >>> Try LPSS UART device(s) >>> >>>> >>>> I'll try to play around the next days a bit and maybe I find something >>>> that works out here as well. It seems to be related to >>>> unmapping-mapping cycles. >>> >>> That is the only thing I would think of. >>> >>>> >>>> Because if this only happens with the pwm-lpss driver, >>> >>> It has nothing to do with pwm-lpss since it's a HS UART and served by >>> intel-lpss driver. >>> >>>> it may be >>>> really troublesome to debug, because I don't really know the code that >>>> well to be sure where the issue might be. >>>> >>>>> So, I would able to attach dmesg in case it would be helpful. >>>>> Otherwise tell me exact instructions how to debug the issue. >>>>> >>>>> Here you are: >>>>> http://pastebin.com/raw/VfTZENt7 >>>>> >>>>>> But for now, without being able to even reproduce the issue, I can't >>>>>> really do much, because the code in the current state looks sane to >>>>>> me. Maybe this case includes the mmiotracer cleaning things up and >>>>>> arms new region for mmiotracing and that's why it fails? Besides that, >>>>>> I have no idea and no way to reproduce this, so I can't help this way. >>>>> >>>>> Maybe. First thing happened is iounmap(). >>> >>> >>> -- >>> With Best Regards, >>> Andy Shevchenko -- With Best Regards, Andy Shevchenko