[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191004131656.GA703365@kroah.com>
Date: Fri, 4 Oct 2019 15:16:56 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Tomas Winkler <tomas.winkler@...el.com>
Cc: Alexander Usyskin <alexander.usyskin@...el.com>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Paul Menzel <pmenzel@...gen.mpg.de>
Subject: Re: [char-misc for v4.5-rc2 2/2] mei: avoid FW version request on
Ibex Peak and earlier
On Wed, Oct 02, 2019 at 02:59:58AM +0300, Tomas Winkler wrote:
> From: Alexander Usyskin <alexander.usyskin@...el.com>
>
> 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: <stable@...r.kernel.org> +v4.18
> Cc: Paul Menzel <pmenzel@...gen.mpg.de>
> Signed-off-by: Alexander Usyskin <alexander.usyskin@...el.com>
> Signed-off-by: Tomas Winkler <tomas.winkler@...el.com>
> ---
> 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
Powered by blists - more mailing lists