From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda: Abort capability probe on invalid capability Date: Wed, 18 Oct 2017 12:45:57 +0200 Message-ID: References: <1508349576-29947-1-git-send-email-rakesh.a.ughreja@intel.com> <85DFEED57DC57344B2483EF7BF8CB605799EA440@BGSMSX104.gar.corp.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A75C7266EEB for ; Wed, 18 Oct 2017 12:45:58 +0200 (CEST) In-Reply-To: <85DFEED57DC57344B2483EF7BF8CB605799EA440@BGSMSX104.gar.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: "Ughreja, Rakesh A" Cc: "Koul, Vinod" , "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org On Wed, 18 Oct 2017 12:29:14 +0200, Ughreja, Rakesh A wrote: > > > > >-----Original Message----- > >From: Takashi Iwai [mailto:tiwai@suse.de] > >Sent: Wednesday, October 18, 2017 3:50 PM > >To: Ughreja, Rakesh A > >Cc: alsa-devel@alsa-project.org; Koul, Vinod > >Subject: Re: [PATCH] ALSA: hda: Abort capability probe on invalid capability > > > >On Wed, 18 Oct 2017 19:59:36 +0200, > >Ughreja, Rakesh A wrote: > >> > >> From: Rakesh Ughreja > >> > >> When an invalid capability is discovered, stop traversing > >> the capability link list further. > > > >Could you give more background, especially *why* we change that? > >It's almost clear what the patch does by looking at the change, but > >it's not clear why it is needed. > > Is the following description in patch okay for you ? > > Due to bugs in BIOS it's possible that the HDA capability link list is > not constructed properly. This may lead to driver going into unknown > state. So whenever driver discovers unknown HDA capability, > log it as error and stop traversing the link list further. Yes, looks good. thanks, Takashi