From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755664AbcHYUK4 (ORCPT ); Thu, 25 Aug 2016 16:10:56 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:32805 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633AbcHYUKx (ORCPT ); Thu, 25 Aug 2016 16:10:53 -0400 MIME-Version: 1.0 X-Originating-IP: [212.51.149.109] In-Reply-To: <20160825194133.GC3296@wotan.suse.de> References: <1466117661-22075-1-git-send-email-mcgrof@kernel.org> <1466117661-22075-3-git-send-email-mcgrof@kernel.org> <20160824203901.GT3296@wotan.suse.de> <20160825194133.GC3296@wotan.suse.de> From: Daniel Vetter Date: Thu, 25 Aug 2016 22:10:52 +0200 Message-ID: Subject: Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe To: "Luis R. Rodriguez" , Chris Wilson Cc: Felix Fietkau , David Woodhouse , =?UTF-8?B?SsO2cmcgUsO2ZGVs?= , Joerg Roedel , Roman Pen , Bjorn Andersson , Ming Lei , Andrew Morton , Michal Marek , Greg KH , Linux Kernel Mailing List , Vikram Mulukutla , Stephen Boyd , zohar@linux.vnet.ibm.com, Mark Brown , Takashi Iwai , Johannes Berg , Christian Lamparter , hauke@hauke-m.de, Josh Boyer , Dmitry Torokhov , jslaby@suse.com, Linus Torvalds , Andy Lutomirski , Wu Fengguang , rpurdie@rpsys.net, j.anaszewski@samsung.com, Abhay_Salunke@dell.com, Julia Lawall , Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, Tom Gundersen , David Howells , Alessandro Rubini , Kevin Cernekee , Kees Cook , Jonathan Corbet , Thierry Martinez , cocci@systeme.lip6.fr, linux-serial@vger.kernel.org, linux-doc@vger.kernel.org, linuxppc-dev Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cutting down since a lot of this is probably better discussed at ks/lpc. Aside, if you want to check out Chris Wilson's work on our new depency handling, it's called kfence. https://lkml.org/lkml/2016/7/17/37 On Thu, Aug 25, 2016 at 9:41 PM, Luis R. Rodriguez wrote: >> > So .. I agree, let's avoid the hacks. Patches welcomed. >> >> Hm, this is a definite change of tack - back when I discussed this >> with Greg about 2 ks ago it sounded like "don't do this". The only >> thing we need is some way to wait for rootfs before we do the >> request_firmware. Everything else we handle already in the kernel. > > OK so lets just get this userspace event done, and we're set. Ah great. As long as that special wait-for-rootfs-pls firmware request is still allowed, i915&gfx folks will be happy. We will call it from probe though ;-) but all from our own workers. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch