Received: by 2002:a17:90a:9103:0:0:0:0 with SMTP id k3csp11794055pjo; Thu, 2 Jan 2020 14:23:36 -0800 (PST) X-Google-Smtp-Source: APXvYqx+16zsxiGmgFndrXANgCo/VEhotDYd2rFYb/yKg3q+Cv6goNwJcgT4AxImkpaHrRE5izxg X-Received: by 2002:a9d:8cb:: with SMTP id 69mr76377977otf.221.1578003816055; Thu, 02 Jan 2020 14:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578003816; cv=none; d=google.com; s=arc-20160816; b=BJWEzB/zE+C/n76UgLLOrqQXlBZEdDTUO0GTc8JmLVHdPcN3gScI63yvbkArI/X0Mm BIEhQwDikYqGZbZwzH96u+raxDx3jBdt9qNNdEPStcZVlhXqzZDeC8bPsnuwX/dM9Fls JYKOOD/eNC3oCAGyKsNhXrt11hbOyCsCWlQ6kaaCyXi6tt2dTIiDfK7fncoBlo3BnHq9 MoTh4wslwjAgQ8svkoNs2XiLHe5c+WD6jps7NY/AVZnTn5b8scCW3m06Gco2Q7z0FSIM NMY34ziC3EZrbpxpL9F10YE3SW/QpT2VBdVNCGGsHVqaJ8/8q4EcfROO3evXveLdct9D F2wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dcWF2BrMpXzC+884dFzMyTFOU5OyDCptVlh/UPgbBnk=; b=mvfakG3oidVomE1FVEJKgFReSHcNqABNeAIDFS4ZlhSSwhUd4y2MjTrpNAYuDGnSn8 V/PBNyycYsMnVV3bj4nZAf48oKNKHyE7l8wJmqEkT2mMcFM7bi4p0dESVM4q/LqM8AV6 DWUoTGF7WhBzpy3PEs37XQe6oQP9t4CD66D9MHZM0kVc3n3g6Djf791mBJA3qcgifeXL xfHDsceo43VgwTgLGSkcQvGh4oPUo4lL9SuhSIIdjVlw7U13WRlbyP6wXwEFRmgMMQjJ 7IWUfjDIAEoodtkPOdSfp/M5TozaY0+n6jcjcO/hMePGT1bmh3bRS9MHz7CMptHF4diH M0PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AeOpyoTa; 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 f60si27628913otf.119.2020.01.02.14.23.23; Thu, 02 Jan 2020 14:23:36 -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=@kernel.org header.s=default header.b=AeOpyoTa; 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 S1729177AbgABWWq (ORCPT + 99 others); Thu, 2 Jan 2020 17:22:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:43574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727432AbgABWWm (ORCPT ); Thu, 2 Jan 2020 17:22:42 -0500 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 75B7F22B48; Thu, 2 Jan 2020 22:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578003761; bh=jAIf3CT/v5lg8WB6/KwtNml/dKqKx7WIzBVB3nUMhVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AeOpyoTa+KDXWHW3brteArU5ezoai+seunRaRCOCXTPeMaS4hW88glgxZm5zRrYWl rcmvMxwt8nvHbBwCIbRVjZMp96dkxFHTSBuFz6mw/GYyI583g0hEu3gBWaTmuQ5f8K B5uT7czkSqfPXeObmShDmG42buR4QK3uQQWEQ4hU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, syzbot+b3028ac3933f5c466389@syzkaller.appspotmail.com, Takashi Iwai , Sasha Levin Subject: [PATCH 4.19 077/114] ALSA: hda - Downgrade error message for single-cmd fallback Date: Thu, 2 Jan 2020 23:07:29 +0100 Message-Id: <20200102220036.847521443@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200102220029.183913184@linuxfoundation.org> References: <20200102220029.183913184@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Iwai [ Upstream commit 475feec0c41ad71cb7d02f0310e56256606b57c5 ] We made the error message for the CORB/RIRB communication clearer by upgrading to dev_WARN() so that user can notice better. But this struck us like a boomerang: now it caught syzbot and reported back as a fatal issue although it's not really any too serious bug that worth for stopping the whole system. OK, OK, let's be softy, downgrade it to the standard dev_err() again. Fixes: dd65f7e19c69 ("ALSA: hda - Show the fatal CORB/RIRB error more clearly") Reported-by: syzbot+b3028ac3933f5c466389@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20191216151224.30013-1-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/hda_controller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index 8fcb421193e0..fa261b27d858 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c @@ -883,7 +883,7 @@ static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, return -EAGAIN; /* give a chance to retry */ } - dev_WARN(chip->card->dev, + dev_err(chip->card->dev, "azx_get_response timeout, switching to single_cmd mode: last cmd=0x%08x\n", bus->last_cmd[addr]); chip->single_cmd = 1; -- 2.20.1