Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3A04C433E0 for ; Mon, 25 Jan 2021 18:39:44 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8854B20679 for ; Mon, 25 Jan 2021 18:39:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8854B20679 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2E09517AE; Mon, 25 Jan 2021 19:38:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2E09517AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611599981; bh=LT5dNfsAGK05Cx2jR5glR8xY9qRpTzeAZ6wbFXJtb24=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XpKjhuJ8qbA0khm/g6I8bVshcmxZkPYZqVPK9o0VJDrW5zoz4OIROAf8IBk2KVNfo kqyNCc84rRa9fEbPTHrjqcB96vCXm8e6/VKpnnm+pkSyh7Zz+ecFq4yGbh75Hj2Q+T JihTkIqfN+TcEPfNptBcxUuu55tIjf6A84ximBfI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 8FD94F80218; Mon, 25 Jan 2021 19:38:50 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 82FF1F80259; Mon, 25 Jan 2021 19:38:49 +0100 (CET) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1D39BF8012D for ; Mon, 25 Jan 2021 19:38:45 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1D39BF8012D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V4PO+ChC" Received: by mail-ed1-x536.google.com with SMTP id dj23so16687211edb.13 for ; Mon, 25 Jan 2021 10:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dcK6x8/xylIn/6sMBxgIE4nEmQQwcKCRnSaqPeAZV6Y=; b=V4PO+ChCop+DUjlE39lf8SRRV092WMf5qzSQX2R7UgeoDE99NBpw0iADEHhIiUBbUR hsCq+ctGsKS0ghVcjjo8yJyz8HiHpeFAgE3BAJpZjR6R+YcqHz18srvEpdqxa35T8i7B 2hJb7pB1/oE0G0jb040zF0fQNXeWMDZnlABdNxCnnjeo4eKtDAUoIUaR4lKGHAwIMEkB CbEMeXSSHg+D+1IDtDhr7hek9khDF9OdJ2mKDYstNjRZQ6W1b3BP4VoUig4Mkrcb5b5m +fTvt5gfO3L60n6f1rkFYqm/9fNUob6lm1i+vXjM9gw46PNfWG6/O70jqBqQdKLdl1q3 IT4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=dcK6x8/xylIn/6sMBxgIE4nEmQQwcKCRnSaqPeAZV6Y=; b=L1LyAPywDMMGTqfL2cRtoJl7HXDSJki1Egjb24GSDobrjkifz/wSispTYqmyLj+x7N RNzFPSfT9i57SAGo3BscyrGL27Uf4NjzZ8yNpvotrggKhd36AJE+ZBAb4FrZJAB744pN YpKFeOcAoPMAzA31UmGQzrWzrpBg+02hpUfv+OVTSvxTo5DPZSoe9wgrYjxJNU8uzlWa LoHs+fVCc49nZ0Ho0731Nrp4+yM4EvWfioDZAYBAEeEZ6XLtOuiadUoRBCS/rKJRk6uu 1QnaNFPvYR9MiQl/3AgwzR9mJ/hgCIr9paxjKhcEPGY8+rAY9d+4jUHKzSwKVH+gnmF1 JhgQ== X-Gm-Message-State: AOAM533mIWHF5ehf6oAmvHLHSAGK0EujuRf/JV0bPybFJtv7hFyzqHg1 nLQoDyupV5Yp+HJV1hKNtbY= X-Google-Smtp-Source: ABdhPJyG2PmQiYa0+nA52Lnq12fuh+2M0Mq2EMEuMQf63aO4B1XMZLZUSurnBCqiE1ID8ieWa479/A== X-Received: by 2002:aa7:cd07:: with SMTP id b7mr1594290edw.29.1611599925261; Mon, 25 Jan 2021 10:38:45 -0800 (PST) Received: from eldamar (80-218-24-251.dclient.hispeed.ch. [80.218.24.251]) by smtp.gmail.com with ESMTPSA id ko23sm8850110ejc.35.2021.01.25.10.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 10:38:44 -0800 (PST) Date: Mon, 25 Jan 2021 19:38:43 +0100 From: Salvatore Bonaccorso To: Pierre-Louis Bossart Subject: Re: Crash in acpi_ns_validate_handle triggered by soundwire on Linux 5.10 Message-ID: References: <1f0f7273-597e-cdf0-87d1-908e56c13133@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1f0f7273-597e-cdf0-87d1-908e56c13133@linux.intel.com> Cc: "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , "Rafael J. Wysocki" , "Rafael J. Wysocki" , ACPI Devel Maling List , Vinod Koul , Marcin =?utf-8?Q?=C5=9Alusarz?= , Kubo Hiroshi , Bard Liao , Len Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, As an additional datapoint if this can help: On Wed, Jan 20, 2021 at 04:28:23PM -0600, Pierre-Louis Bossart wrote: > > > > > > Linux 5.10 fails to boot on my IceLake laptop, where 5.9 worked fine. > > > I'm not sure whether it's a bug in ACPI or Soundwire subsystem, so I'm > > > sending this to both > > > lists. The W taint flag is because of an unrelated nouveau failure (It > > > was busted on 5.9, and is > > > still on 5.10). Full kernel log down below. > > > It's from a distro kernel, but I can build my own kernel with patches if needed. > > > > Please try to add a check for handle against NULL to > > snd_intel_dsp_check_soundwire() after > > > > handle = ACPI_HANDLE(&pci->dev); > > > > and see if this makes any difference. > > > > This should check handle against NULL anyway, even if it didn't crash later on. > > Is there a way you can share the DSDT? > > The only thing we do in that sdw_intel_acpi_scan() function is check for an > _ADR and read two _DSD properties. I think it's been 2 years since we wrote > it and never had an issue, never say never I guess... > > If you want to bypass this problem for the time being, you can add a kernel > option in /etc/modprobe.d/alsa-base.conf > > options snd-intel-dspcfg dsp_driver=1 > > that will force the use of the HDaudio legacy driver and bypass the driver > autodetection. A user in Debian, Kubo Hiroshi reported what seems to be the same issue in https://bugs.debian.org/981003 . Regards, Salvatore