Received: by 10.213.65.68 with SMTP id h4csp3953035imn; Tue, 10 Apr 2018 07:07:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx49GQlrcS1cMCCXhB6qT4/1STCrrDZCFju6pfGt4CGyjaAVckGCc1Pl0Zy7JD+dBYprf3qtu X-Received: by 2002:a17:902:6590:: with SMTP id c16-v6mr611976plk.292.1523369254995; Tue, 10 Apr 2018 07:07:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523369254; cv=none; d=google.com; s=arc-20160816; b=ofCDqInbYZQc6uSsAFwCpi0ooyjXeyznfilbt7abnu1UFCXGZO7B3zEkaEKbgm8BWf CzBNAW+voBzSA7ZKdiXyC/RHeA5YijNjLjKhd92KtCBwXTA3oL+Bq54bhMY12XTMn1Lf 7YAHYCC6r03ZdTFD5zZIKmPJH95x8FeXZUb2Qh69KAKH69pl8t6sefI1XOXDEPCT+07W w4jCSENQr3OP0DsGUTIFi6Q66gwlHI7Yzl4Z4qbjes5UF/ZkMkZx+EcUkQWYPNIv3bPR 4ikcR+VuTgCQ304Un+kWpuJatuCH76+bJX6FEDqs3y5pDywzblcvDCr+sU5RSY+1fWMK Zwig== 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:arc-authentication-results; bh=pEVn+gjrLazTzCSftJ04A6ybItOVkpEq5oumedl2/SQ=; b=0UAf39ORTwr03pcpFzFYdLyMZHrOsKgRLSUizNBVwIR5WmQBSTutGg+nxk6AmllMB4 VLKryVAmWuw3nHMtVWjO7D0vr0qctjP3GBebG4y/ZbUhYq26Mlyfwg3/cR7pgT3rsCjv wMtVqiza8mauGPqHo+lx4H2JK+y5hmkASZ/wxARyOiZNp68Q88x7cKyyfw37eRSzgQ/F GZ/lxiK+xp3xwz0zTSkoX9Yj7TUqaGcw5TF5XrGd3Nypk703iVOS2Lr0kfTUM35B+qZo PWXVibKmz4LuG9q0mQG5VhRdMjjYWJq4Z0EmLFCQ3MMuKCqhyc67BuzlavHNI9tPW1rR MeFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lA0MpqvH; 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 x190si1872169pgd.52.2018.04.10.07.06.54; Tue, 10 Apr 2018 07:07:34 -0700 (PDT) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=lA0MpqvH; 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 S1753423AbeDJODr (ORCPT + 99 others); Tue, 10 Apr 2018 10:03:47 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:60302 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbeDJODq (ORCPT ); Tue, 10 Apr 2018 10:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pEVn+gjrLazTzCSftJ04A6ybItOVkpEq5oumedl2/SQ=; b=lA0MpqvHcRTTUwVDjzcsYYqU+ 29f3GS2CM4ff5APUbFYraqQWydPTeOP0rbnte0kG/i8vJhf6AoMRbp5UfFoLZl1xJrXPNa4EF5u/O AKgEkA9SQ7YU8jd7sGkSFxZbOX+ArWc+5harFZoYTdWSVHmwEzH0k3BkWaWURMtM9WYWk=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5trH-0005R6-PL; Tue, 10 Apr 2018 14:02:52 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1f5trH-0000CS-4j; Tue, 10 Apr 2018 15:02:51 +0100 Date: Tue, 10 Apr 2018 15:02:51 +0100 From: Mark Brown To: Takashi Iwai Cc: Pierre-Louis Bossart , Adam.Thomson.Opensource@diasemi.com, Jia-Ju Bai , lgirdwood@gmail.com, sathyanarayana.nujella@intel.com, perex@perex.cz, alsa-devel@alsa-project.org, Vinod Koul , linux-kernel@vger.kernel.org Subject: Re: [alsa-devel] [PATCH] sound: soc: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe Message-ID: <20180410140251.GB14657@sirena.org.uk> References: <1523270781-22627-1-git-send-email-baijiaju1990@gmail.com> <482591fb-bf12-2e0a-e0ef-2ae0b4095000@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bCsyhTFzCvuiizWE" Content-Disposition: inline In-Reply-To: X-Cookie: You will lose an important disk file. User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bCsyhTFzCvuiizWE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 09, 2018 at 09:39:06PM +0200, Takashi Iwai wrote: > It must be sleepable context as it's a standard platform driver probe > callback. > And now looking at grep output, only sound/soc/intel contains so many > calls with GFP_ATOMIC. I bet that almost all can be done with > GFP_KERNEL, maybe only one or two in atom/sst would be conditionally > with GFP_ATOMIC. Yeah, it's not like it'd be the first code quality problem found in the Intel drivers. --bCsyhTFzCvuiizWE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrMxAoACgkQJNaLcl1U h9Af9Qf9G3jjm88KOaPES27ZSNhU49vRVZfy2H5IzqPPi6vt/ibAMs7WLTzKA7Bi 94SoRQjmZZRjXOq2x2kMLmR1m/+EmkvExHFwy3pFiFJ8yWak64egJDUR2lOnb5Fm PEzJyMpEPBxySkhkhLs2JSlHhqxyErrLHX070fPviy68c7kkmO4JadcMVHqzclAf chQvTrP+PG17VuzfcUFjIuziSEOQqDSz/ZRC7wpptorIHhVw9JK0p/6P47lkb0/M 9F9oQ5tpDwZlg+T965LUh98vBFE7J1jdRI3jqhrV3C/JAk4yM0X6+kscZsjiTAQY 7DD/S0COX89nr6Ih9wJQjCnU404nzA== =H+RI -----END PGP SIGNATURE----- --bCsyhTFzCvuiizWE--