Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752090AbbFZSam (ORCPT ); Fri, 26 Jun 2015 14:30:42 -0400 Received: from mga11.intel.com ([192.55.52.93]:43172 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbbFZSaf (ORCPT ); Fri, 26 Jun 2015 14:30:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,686,1427785200"; d="scan'208";a="735393448" From: "Luck, Tony" To: Daniel Vetter , "Wang, Rui Y" CC: Dave Airlie , "Clark, Rob" , "Roper, Matthew D" , "Chen, Gong" , Borislav Petkov , "Linux Kernel Mailing List" Subject: RE: drm/mgag200: doesn't work in panic context Thread-Topic: drm/mgag200: doesn't work in panic context Thread-Index: AQHQr+f6h6WDfeOs7EWw+ewemqNMo52++joAgAAN1UA= Date: Fri, 26 Jun 2015 18:30:32 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F32AA062A@ORSMSX114.amr.corp.intel.com> References: <1435305314-14337-1-git-send-email-rui.y.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id t5QIUmZm030950 Content-Length: 784 Lines: 14 >> I'm here to report two panics which hang forever (the machine cannot reboot). It is because mgag200 doesn't work in panic context. It sleeps and allocates memory non-atomically. > > This is the same for all drm drivers, the drm atomic handling with > fbcon/fbdev is totally broken. It would be serious work to fix this > properly. It's a serious problem when a server crashes ... even worse when it hangs while doing so because we have to rely on some other agent to notice the hung server and go poke it with a stick. If it is too hard to fix all of the drivers, is it possible to attack this in the allocator? -Tony ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?