From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3364819922F for ; Fri, 11 Oct 2024 15:38:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728661106; cv=none; b=tQPlF0JznMupVdmIe95oygMyg8Y7DUydlKacdxjLBIlES4ak3i7GHVPuo3jRIMQ9txKr66gZE2COC6G+uKu9PLRSchSy/00AOrLh8hBkoEI/Q3S1shTwWUacrObUBLOb+aXH+KaGUp4RQ0LzT6mSCF3tf3HKiphyN2LQizfUDrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728661106; c=relaxed/simple; bh=VGmlgzoYuoeXjf4/N4b7/dVovXvGFizGCIMQ61YHm/s=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=j7bP1em/+IOLlyksZ00YmyQA7td+1J/xjnlpc7pVIAxzbGcoQIXIFTKSpxIRgZBj4FgIPBxS7M//+QAlYwZKAPU29A/BQHKZB37sDtFfLW23xEp/WPA3rXYmN1mbCJBR881LTSXtmaaLLv2LsWCJRdgY4MuNiO3+B03LISa3PBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NlXuI00z; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NlXuI00z" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a998a5ca499so306608166b.0 for ; Fri, 11 Oct 2024 08:38:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728661102; x=1729265902; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VGmlgzoYuoeXjf4/N4b7/dVovXvGFizGCIMQ61YHm/s=; b=NlXuI00zVFBTe5bu2ArvLqRNAxiB6Ss8qz+1O8pin7rOljK3WW0QLSBwiDspTz80rp +PJaQCyY/+wrPgYV2to4jwR1N8C91Gvij0N0K1onkIGjACivnNDTzsahW/G+bw9cPGnN H+0ZalScydRWsPif5dNeUQKT3owdNsa2lFFDo8OeSIAInGjyee9ZXfyLsQo8Voujhr6Z mhSe+d/t3ETRtDkr6zGRz69/OUS8+oitB19WJ5dixcqg+Jhh8y5MsZ/MVXpqtzgVPG/U dfVTIUhcCooUqhYrwgkZ8EbK+lvsAhwK9H8YuDp5nQcFCarY6Kd2nQDt7+BEuTAyXWKs c1qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728661102; x=1729265902; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VGmlgzoYuoeXjf4/N4b7/dVovXvGFizGCIMQ61YHm/s=; b=vAxqALiIGYDbQjsgyiRzqytwbz6A0rUW4cX6vU8zEleG4VR14fGZxuaQJLOLolJzyv kamqJMF+wYJC3sqA09Yla2qfYdxZUmhrnzTSQeGc+FaYHseCebA+D2uB4IR9zOiBb5vo WC7iG9lW7DSlSdKINZdezByA623Dc/yOd9+pU55ZrPGngyR88kKonwMVndueoGJJ52dt +yT4dw+tHJ01Uv6wC6P2prVLrO5/FjdmpbAQEG+JBroIcS59qpeEgwxVEaLHBgz+tJue v+BEb0vZXnb9Unx23hnaG9btVkgrDfVFecTEUc0/2vG02fMjefVJJlsqtJeQ4EgjsGDq 0l1g== X-Forwarded-Encrypted: i=1; AJvYcCVPdLlYKr4bOuUv+Xu3OIxp9iRSqI6zkXgSNrRYKvtIcabBA03AynQ7LqeEJENA8m/aBTV5Tk2aBPbfnkk=@vger.kernel.org X-Gm-Message-State: AOJu0Yw3kWoek4wkdbeU2l4PQ3W9JARgqdLeFmQRC2E74JQ69LWiXAR8 FyGSYVAB1kFfeeIOpijaeRXhcN7j6qVATZuj2PeP24V7PfW3ST/LrwuL5zg9MYc= X-Google-Smtp-Source: AGHT+IE4s8Q2Ca1GkHgtWLtOqANaHvXZHFNkqtGmRZ1SRo3AcPnPAE5BoCN9RPb+yOZ2GxGrHrFi8Q== X-Received: by 2002:a17:907:31c8:b0:a8d:2b7a:ff44 with SMTP id a640c23a62f3a-a99e3c97e69mr8078366b.32.1728661102107; Fri, 11 Oct 2024 08:38:22 -0700 (PDT) Received: from localhost ([2a00:2381:fd67:101:6c39:59e6:b76d:825]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99d3cc2c99sm20436166b.158.2024.10.11.08.38.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Oct 2024 08:38:21 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 11 Oct 2024 16:38:21 +0100 Message-Id: Cc: , , , , , , , , Subject: Re: [PATCH] ASoC: qcom: sdm845: add missing soundwire runtime stream alloc From: "Alexey Klimov" To: "Krzysztof Kozlowski" , , , X-Mailer: aerc 0.18.2 References: <20241009213922.999355-1-alexey.klimov@linaro.org> In-Reply-To: On Thu Oct 10, 2024 at 6:18 AM BST, Krzysztof Kozlowski wrote: > On 09/10/2024 23:39, Alexey Klimov wrote: > > During the migration of Soundwire runtime stream allocation from > > the Qualcomm Soundwire controller to SoC's soundcard drivers the sdm845 > > soundcard was forgotten. > >=20 > > At this point any playback attempt or audio daemon startup, for instanc= e > > on sdm845-db845c (Qualcomm RB3 board), will result in stream pointer > > NULL dereference: > > ... > > >=20 > > Reproduced and then fix was tested on db845c RB3 board. > >=20 > > Reported-by: Dmitry Baryshkov > > Cc: stable@vger.kernel.org > > Fixes: 15c7fab0e047 ("ASoC: qcom: Move Soundwire runtime stream alloc t= o soundcards") > > Cc: Srinivas Kandagatla > > Cc: Dmitry Baryshkov > > Cc: Krzysztof Kozlowski > > Cc: Pierre-Louis Bossart > > Signed-off-by: Alexey Klimov > > --- > > We should fix this everywhere, not only sdm845. I'll look at remaining > sc7280. What about sc7180? Or is sc7180 one the platforms where soundwire is not us= ed and DSP is not involved? Anyway, I don't have hw to test sc7180 or sc7280. Thank you, Alexey