Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp872164ybp; Fri, 4 Oct 2019 06:20:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6Wt5p2KyIL8PEEHji7zA12xiGzyL94SD+2KbnwMW+8m5FOGFxAa61b9T2AgbXv83C2Q99 X-Received: by 2002:a50:ac0a:: with SMTP id v10mr15097725edc.83.1570195225797; Fri, 04 Oct 2019 06:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570195225; cv=none; d=google.com; s=arc-20160816; b=ETwUtOpoGzp1Ex9AiERGzPpJYpM9/xIwSIwPkOPh9PXdlg3qZ7OikqRQnK8eb/We5n AJJ8TDqNK81HjNsd1OUZ+Q4irUSGTth3Qh9x9Q7Syzdw5aj68HywjctPY5XbgZ3IldvS gjWj09o7OKK3wndkOVl9+47iODYn86x2qVq63rfYgNyL38/NPi4z1keyqWjrTtCw9XuA 61zrjHw5YNymlWwHavByyM6Nwxe399dTu/hg04AomElLOv3X6F40RiEmU1RQw01QUgDg c3ysIza75lBJhvUE2wXR3lsMCJDx3T8Q3J68aXe6GzSSP+0wVwOOsV8YbCyoRcH5jPnf emkg== 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; bh=ZdateZadK5DSLFNOxSIvyWNUS1fWw1zoh8PDylwrFHY=; b=HReF71iW5J7n16VsULDvVX6L8TxQHaV9CmUsRroCN5c5WGXPdfGkxPqnwsqylTbXgv fExxQgAqpdM1TzMg6q4gMBi26LMLIRY78C2ozhRcjFrdqsEEnmQhXzOvw/uLcPpmim57 5Yhz8F83tQEv1LWon4wm9Ugr3Ab4DX7rW/OGT2vXUE55kVB3A6O1Y2PIObvKthnqZyOx AyeMwdABiuw5rCctYa4k1RPx60QzHvIdnZ3irpO1YUlYVuzJkAWapkVYq+hE+oXVsWV9 MFItRPdeByrBtyYWgrcFnEa70qGGUES/S7gcVCjc+MGb6WMhA5h/DbiRmwqhTAAr5Uju RImw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GnefFeSd; 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 k63si3713380edc.347.2019.10.04.06.20.00; Fri, 04 Oct 2019 06:20:25 -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=pass header.i=@kernel.org header.s=default header.b=GnefFeSd; 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 S2388496AbfJDNRA (ORCPT + 99 others); Fri, 4 Oct 2019 09:17:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:39732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388149AbfJDNRA (ORCPT ); Fri, 4 Oct 2019 09:17:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CBF8D215EA; Fri, 4 Oct 2019 13:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570195019; bh=JhC4q3xQd1BuHOAbskODkPKUuTj7CTnwNuwebrzeljI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GnefFeSdOLNAo25NzwCIS2oDkpTO5ngijHOLf6DtdkxA6RLo//Ab/4PS3f14/JcMK /1pmZ3dS8n/GuoZlyAL03kcZllwSmcwIMya6GMsvw8FDoMBfD8TqH8keYW4u4xKN87 FcZwl01OScs31EXVQExe76jyycGeanL53X+i9vJg= Date: Fri, 4 Oct 2019 15:16:56 +0200 From: Greg Kroah-Hartman To: Tomas Winkler Cc: Alexander Usyskin , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Paul Menzel Subject: Re: [char-misc for v4.5-rc2 2/2] mei: avoid FW version request on Ibex Peak and earlier Message-ID: <20191004131656.GA703365@kroah.com> References: <20191001235958.19979-1-tomas.winkler@intel.com> <20191001235958.19979-2-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191001235958.19979-2-tomas.winkler@intel.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2019 at 02:59:58AM +0300, Tomas Winkler wrote: > From: Alexander Usyskin > > The fixed MKHI client on PCH 6 gen platforms > does not support fw version retrieval. > The error is not fatal, but it fills up the kernel logs and > slows down the driver start. > This patch disables requesting FW version on GEN6 and earlier platforms. > > Fixes warning: > [ 15.964298] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could not read FW version > [ 15.964301] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: version command failed -5 > > Cc: +v4.18 > Cc: Paul Menzel > Signed-off-by: Alexander Usyskin > Signed-off-by: Tomas Winkler > --- > drivers/misc/mei/bus-fixup.c | 16 +++++++++++++--- > drivers/misc/mei/hw-me.c | 21 ++++++++++++++++++--- > drivers/misc/mei/hw-me.h | 8 ++++++-- > drivers/misc/mei/mei_dev.h | 4 ++++ > drivers/misc/mei/pci-me.c | 10 +++++----- > 5 files changed, 46 insertions(+), 13 deletions(-) > > diff --git a/drivers/misc/mei/bus-fixup.c b/drivers/misc/mei/bus-fixup.c > index 32e9b1aed2ca..5ac679ac9b19 100644 > --- a/drivers/misc/mei/bus-fixup.c > +++ b/drivers/misc/mei/bus-fixup.c > @@ -218,13 +218,23 @@ static void mei_mkhi_fix(struct mei_cl_device *cldev) > { > int ret; > > + dev_dbg(&cldev->dev, "running hook %s\n", __func__); That is what ftrace is for, don't sprinkle that all over the kernel for no reason :( thanks, greg k-h