Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp403736pxb; Thu, 21 Jan 2021 09:45:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlXYpBAET0gORBt8zoIOc2S1l63ooYiQ/FnebfeDlRMThIcHzkhKi7XftByg08lZMPeDBy X-Received: by 2002:a05:6402:3487:: with SMTP id v7mr251870edc.68.1611251107245; Thu, 21 Jan 2021 09:45:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611251107; cv=none; d=google.com; s=arc-20160816; b=rLFPfSsiJrJVli4NBkW4CqSqwq8vqiU2HF1MlkVZVawJSnw8WPGbAbkz1e1nL57xG+ SJB/2RPxcosnPfKsWj/FWei5BFighj1bBj925UgjYJP3C6XeMzwxqn12L4DbkQH+4Z3h BALWCEWxYehPJZUqAxMYLKaPzPEu6vUsmE3bhs9Ar5h3CNnt82CBlPTBLa9OHFLGb1jj p6AJ1TO6ppHFamu3f8JEBIhBZ2IUUPkLSL6S46WtA7pbk/6JGhJZ8+YLwMKB7Nm4lipT jqM0feyfulhc7E0xpBCCGwNCZKlvfi2m3l1Dll2TpPhFUV3k76e0munM8YX9j5NgHo4K aAKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=j6ZxcTRqGjbCO8Rh76YdBV9tEuh4KlqlTS43ZgxAZos=; b=i+FUaMJrmU/feUQjTQlgfSjrZPQw5YPyBZb75k6AfsVDhjdCxO8YZfWCiKjodlYg8D wmJWBA4MWFtIvshlp3/D2c09XHSCTJRWAZZ9FLi2WH+eIdYhvjVb7d0ME5Lhn84Chvtv 3CKb4edkKZSWIs0T1wEjCjLpwOjy8Xap5v1IsFkiec78NphoDjXzZhD1dKKFza/fx5M+ DDBpGE786Aj12YFtTNT/TUQwS87QZC8Q6OMpvpcCs8mwKryOtnxtay+vJ4hSiGCwIVo+ LQxeTGADkLjiHSb+heHkBWD31ud1Cw6UHAsHNUgFrkJjjnB4Kqu38uopWrMbyD49EXyV oiFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=IuQLdlr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si2079476edo.225.2021.01.21.09.44.43; Thu, 21 Jan 2021 09:45:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=IuQLdlr4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388427AbhAURki (ORCPT + 99 others); Thu, 21 Jan 2021 12:40:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388880AbhAURkP (ORCPT ); Thu, 21 Jan 2021 12:40:15 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EF1BC06174A for ; Thu, 21 Jan 2021 09:39:35 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id b5so2143828pjl.0 for ; Thu, 21 Jan 2021 09:39:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=j6ZxcTRqGjbCO8Rh76YdBV9tEuh4KlqlTS43ZgxAZos=; b=IuQLdlr46b4DmTb4HvYsGyufqalktrFc+E7umTNNQxdGPmuPIpdiPae6lstCpAZtgv Prz5Pe8tQtzhy+3q+00IHkCLut1D6bqKccyvtJAG7EnCYjQBG6y+Bc+7sT5HwmHm+sea PNfchInCN8P2946mZEwDjkMTH77FOMBJHBd0MNeK8Umum9PtD732UKlKl1W9u8yervbP KXvwHQVnCqFxxlDnlWXppcfwI1CLNCwiORJ6OcXbhDo0FP3CArxglgJCp8KYDDUCgsdZ x2U6HUb1qiRsmr9+z7kw2OkEV1TMceWbvxMPik1hd8150eA0bjAGs8c9dFXaYLjlzCEP 75Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=j6ZxcTRqGjbCO8Rh76YdBV9tEuh4KlqlTS43ZgxAZos=; b=Sw1IGNnYXH8alYtXqzt1M4dVQC+sjkKQHUsgg9zsuuBlLIXblo3U2f7Rq9vbZpGxNL UsnoWyOUv4/qiUeolcQjlZSKX6yKIDzEO0fvr+Vudj6JPOX0wcs9Yb5tVKz1cm21I8kl jNxe+OrmYv0/MQOBVhjwiAeYQ9cjvPw8j170uUc2RTfp8QXvfyT47Nt5AQFTXxIgn91v 5Ysph1+tlc6qoTmkUiffdXSjiQiUTy+O91Tlh5ZITG/6Iab7zs5QovNq9f8SLllXJxph Xzyx72L6z7x+hPBBXs+13IhSmJju5O0SmSkShE1Kg7lCFXsk7Eq27TOk8O8P5CTv7oUe 3fMw== X-Gm-Message-State: AOAM530FGg/5fCqNQCbbQRSEDbgdh2TXu7n+r8TpDCyLklQ2el/BziGP 1psmph4n06SHBAlOG8SW8WoysgnOZrYYYHMF8SxTNqmH7/frpplt X-Received: by 2002:a17:90a:9483:: with SMTP id s3mr510418pjo.85.1611250775055; Thu, 21 Jan 2021 09:39:35 -0800 (PST) MIME-Version: 1.0 References: <20210121171644.131059-1-ribalda@chromium.org> In-Reply-To: From: =?UTF-8?Q?=C5=81ukasz_Majczak?= Date: Thu, 21 Jan 2021 18:39:23 +0100 Message-ID: Subject: Re: [PATCH v2 1/2] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete To: "Rojewski, Cezary" Cc: Ricardo Ribalda , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , Takashi Iwai , Mateusz Gorski , Andy Shevchenko , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Ricardo - I have checked it on Eve/Google Pixelbook Tested-by: Lukasz Majczak czw., 21 sty 2021 o 18:33 Rojewski, Cezary napisa=C5=82(a): > > On 2021-01-21 6:16 PM, Ricardo Ribalda wrote: > > If dobj->control is not initialized we end up in an OOPs during > > skl_tplg_complete: > > > > [ 26.553358] BUG: kernel NULL pointer dereference, address: > > 0000000000000078 > > [ 26.561151] #PF: supervisor read access in kernel mode > > [ 26.566897] #PF: error_code(0x0000) - not-present page > > [ 26.572642] PGD 0 P4D 0 > > [ 26.575479] Oops: 0000 [#1] PREEMPT SMP PTI > > [ 26.580158] CPU: 2 PID: 2082 Comm: udevd Tainted: G C > > 5.4.81 #4 > > [ 26.588232] Hardware name: HP Soraka/Soraka, BIOS > > Google_Soraka.10431.106.0 12/03/2019 > > [ 26.597082] RIP: 0010:skl_tplg_complete+0x70/0x144 [snd_soc_skl] > > > > Fixes: 2d744ecf2b98 ("ASoC: Intel: Skylake: Automatic DMIC format confi= guration according to information from NHL") > > Signed-off-by: Ricardo Ribalda > > Thanks for the fix, Ricardo. > > Reviewed-by: Cezary Rojewski >