Received: by 10.223.176.5 with SMTP id f5csp1633356wra; Sun, 4 Feb 2018 08:29:38 -0800 (PST) X-Google-Smtp-Source: AH8x226U5k9IGzLLHlxqHnahd2vkDHxMRBy8H2PopQ/HNcfzCR8yhGE0wK8hlNdOGkB/ZoeVJBo5 X-Received: by 10.99.122.93 with SMTP id j29mr6252816pgn.351.1517761778060; Sun, 04 Feb 2018 08:29:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517761778; cv=none; d=google.com; s=arc-20160816; b=WERCgTgo7xDRKE3qwN+mk89CSljRVIOLUfWg8VSmLYCRfTr2IodvQ1YkxgRF3uVTkI UyS6Ns7qDtwR/MEc9YWIcU1ROc0VScMuGu85/agbe6bdApWB1bexZE7HluxpdKR+kOn0 u7XJvD9eSvFBlgZhFTmPSfYQ/6lxE4BoBqNJ4PCJPZZGZiUcijOmYPLWFSohFnpeeR7/ 3YIVWgpzZdetAH/o7tk2kHgpYtbN3DwjPVPU7KXEX+0JrGpojV9nTlV3s1ahcvTsxl7Y 4X0rRSxWgIybqEpwlW2cFMF8brQ8rAXm4ZoeYnCC96ALHlWrdxAeG5vfYaJIkKxHAWY4 KQFQ== 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=3WXCc0i5PU87eiugUr48LODONgJICR7VPQeGOHWreJ4=; b=ravv8ndGqJoySQ2Ny47wdwM4ahURH4mpvDYFmumqMt7ThswLiInIxNpDQ+BfU54fUJ 6gJnUjPsAn8tLxBQWkNCFuZfpVo7dKa63w6xErmwYruUak1T2Ni4253Pw5WKgwJCB61O E0m6tN907VpFfXJq42LJMVqVWPkVcZ950SlfoV3iT1KpFIpqY5F/kr14ApuFZyBv+1tO n9tqDFqWdiUUJwkDepQy4THkzNJ24QYTVIZ0yTVeZT6hc04f6fs8nhJGyPOBnRz4+xob vTCC7nNKKKMKWy3T8+VQpgrb2Z77Xq335OgSRb4LwK+i/OK48HzEzbOkAFRjr8RR2SPo pmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MeKSGqMd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n71si5487613pfk.103.2018.02.04.08.29.23; Sun, 04 Feb 2018 08:29:38 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=MeKSGqMd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752070AbeBDQ0S (ORCPT + 99 others); Sun, 4 Feb 2018 11:26:18 -0500 Received: from mail-lf0-f43.google.com ([209.85.215.43]:39364 "EHLO mail-lf0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751444AbeBDQ0M (ORCPT ); Sun, 4 Feb 2018 11:26:12 -0500 Received: by mail-lf0-f43.google.com with SMTP id w27so38416053lfd.6; Sun, 04 Feb 2018 08:26:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3WXCc0i5PU87eiugUr48LODONgJICR7VPQeGOHWreJ4=; b=MeKSGqMd/lrwcPhgO5kHp55+wGXjOB4+D3M15K3KIv6fO1yAb5zfspy6j2awh0/Q8A hsAm93UyLilIBVDhFtZ7w/g0cvTkWSTU8+yqMZplqQRjRUY9d9v5FDvPwOZUh5FNj5ep MePCYjcx7O4w0y7p96z/5hOUt2s/68LZqWVqf2B6+JZu+UukItLqFGkd0O/qvYBhiznK lMpLaQ8n/jFqAs4dOT8GbL9lmDT/KxNX73x3tc1cp/QQU4j8FXY6GxoolyIacMHtMMJS PFjKnr2rhgsYNMN8/P0eRZnDdFLp+5emMK3pBp3HsPDYoi+6wG/58v+DJkOBjHOvny/u 3bxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3WXCc0i5PU87eiugUr48LODONgJICR7VPQeGOHWreJ4=; b=th85T0zxZEftdWhrkmo1sTp3JYzYlAQo3BCEGy77O2tK0Ks0JpHh36LT+DoN4GcTFL N9oW+WEz4QAXC3aDGEWbK3/w96FwdLwh/lm2KjYMLYu+ZQB+Djvb0+iy5w/CaCw3C64k WuWtu/W3YOGf2nXUhR3ceDQOst5hpI3JEvgz9/Nn7fnI8D/Fniid6q3C7NvYxaSxTbhy s8Xgl06MkTgJQbjZKHj5KIanMAvlzaOdcbcyALreOV87iK2w62FbWVcYjCrO259J8VUN 2a3fqdN/9PNKE9jbJDoXA6lc13/yRje7Cztg7O3YwLI9886r/VMpyeFt3kegA5sXW/xR eX1g== X-Gm-Message-State: AKwxytc0+0dSbw3KS3+qr2Ta4WTJTyKwa/q3YvK3KXUPm0He2BN587Du q1MGLIYHlGe0UoDNOHCYwn8= X-Received: by 10.46.22.30 with SMTP id w30mr14795938ljd.91.1517761570798; Sun, 04 Feb 2018 08:26:10 -0800 (PST) Received: from localhost.localdomain (ntd06459.static.corbina.ru. [95.31.14.149]) by smtp.gmail.com with ESMTPSA id k9sm1412476ljk.48.2018.02.04.08.26.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Feb 2018 08:26:09 -0800 (PST) Date: Sun, 4 Feb 2018 19:29:54 +0300 From: Alexander Sergeyev To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Mario.Limonciello@dell.com, dvhart@infradead.org, andy@infradead.org, linux-kernel@vger.kernel.org, mjg59@srcf.ucam.org, platform-driver-x86@vger.kernel.org Subject: Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15 Message-ID: <20180204162954.GA24841@localhost.localdomain> References: <20180203162021.GA4571@localhost.localdomain> <20180204092333.GA2010@localhost.localdomain> <20180204121530.sl3h77mxbwusp2ul@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20180204121530.sl3h77mxbwusp2ul@pali> User-Agent: mtt Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >To make dell_micmute_led_set() work properly we need to ensure that either WMI >or SMM driver is already loaded and initialized. From the looks of the call trace dell_micmute_led_set() is called from device phase of initialization. Which means that there is a use of dell-laptop interface while the module is not initialized (since late_initcall). Previously, this led to crashes. But dell_micmute_led_set() does not touch the module state now, so nothing is technically broken; dell-smbios and dell-smbios-smm use subsys_initcall, so they are ready. But WMI driver is in the same phase with intel hda, so there might be something there.