From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937111AbdCYCzR (ORCPT ); Fri, 24 Mar 2017 22:55:17 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35030 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937094AbdCYCzO (ORCPT ); Fri, 24 Mar 2017 22:55:14 -0400 Reply-To: minyard@acm.org Subject: Re: [PATCH] ACPI / IPMI: change warning to debug on timeout References: <1490283150-24000-1-git-send-email-okaya@codeaurora.org> To: Sinan Kaya , linux-acpi@vger.kernel.org, timur@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Rafael J. Wysocki" , Len Brown , linux-kernel@vger.kernel.org From: Corey Minyard Message-ID: <537c0d7a-fd95-2e7f-be07-9e3ca79ca07a@acm.org> Date: Fri, 24 Mar 2017 21:55:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1490283150-24000-1-git-send-email-okaya@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Why would a timeout for a message be expected? The BMC should at least respond with an error for an incorrect message. -corey On 03/23/2017 10:32 AM, Sinan Kaya wrote: > Getting timeout message from BMC when trying to read from a non-existent > FRU. This is expected but warning is not. > > Let's reduce the warning to debug. > > Signed-off-by: Sinan Kaya > --- > drivers/acpi/acpi_ipmi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c > index 747c2ba..1b64419 100644 > --- a/drivers/acpi/acpi_ipmi.c > +++ b/drivers/acpi/acpi_ipmi.c > @@ -429,8 +429,7 @@ static void ipmi_msg_handler(struct ipmi_recv_msg *msg, void *user_msg_data) > if (msg->recv_type == IPMI_RESPONSE_RECV_TYPE && > msg->msg.data_len == 1) { > if (msg->msg.data[0] == IPMI_TIMEOUT_COMPLETION_CODE) { > - dev_WARN_ONCE(dev, true, > - "Unexpected response (timeout).\n"); > + dev_dbg_once(dev, "Unexpected response (timeout).\n"); > tx_msg->msg_done = ACPI_IPMI_TIMEOUT; > } > goto out_comp;