Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp285524lqg; Thu, 11 Apr 2024 02:55:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmWk+Sl+5kVTtt11Ze3vzS2xgw9x3QQjlMWXajLQDrtno49kMjR2jg0U9aWHjifMfhclmsLNxP2pUQXvSJS2UmMfR3IkdTb4+NpIVteA== X-Google-Smtp-Source: AGHT+IEVD6h2JDrnGhrdynLKilznI8XCb9GUsry8CfOEu8sGh99iWjhnpXJuW445HnKF8XcaZvUw X-Received: by 2002:a17:906:c146:b0:a51:e2e0:d0e5 with SMTP id dp6-20020a170906c14600b00a51e2e0d0e5mr4832682ejc.68.1712829335863; Thu, 11 Apr 2024 02:55:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712829335; cv=pass; d=google.com; s=arc-20160816; b=wr5347tA7731A2Mog2YvGFGa6LzCnIqP3invygfWwtKXGQoCOV28pHwAfpqb19bTkg LncBYeh0ZQMWkD5P+QTy4EqmdsM81Pra9wKHB3G5wlkPesnU32Aj4F9Xjl2yFuj6nTFH ggz2WUUIWxsQlkcx/I9nGXiW6utLL4OJ0fniXvkwDuqsglp+h4cJ29nGdIcnWh2QzsLQ aQXrIrZhGR++x3iT4yL24Tp8B6RG6PUEq0vjivsKsaQsuIrcDNEq1qzpFj3hONMT20d5 QJr6rcD0Uol9U/uWIPEuD48J53uBQSAV+MsdbBbGkNWBG6IqkKj3Q1qr6f1gOcSgsVIQ /LjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=TlGP44dphA3R+UbqzP2my5uJQJOQh7ETKlgiCn1Z/F4=; fh=qr/cOzo/ZUqlxsVU8x7wvujGH9wLatbt6nsPVjCO9Mk=; b=ejWga1MFw6hAtV6CiYBesTJFkAfHBfUJjcQs8bep7ans+edNgosxK9OhQIW/inQnFA 9Xmp3S/L3mcfUclojbTyT7bHI1mcr5JGSYGmQyE4UyVvKnFFKZtN72y9f6tuKbNOtLHD pQqCF7IWqTchxXEkeDXMHqKIvQcK9CzH0gtKyLrBZEn5InYW8e9fsUhCMyE9RZ4gCgTY inLqNumPTczbj5K1OovOXUbma+hlMyr/wdcnmQL8nst/FVfuC+US9E+aSIUmlUI9RwPq G7ajlQri2vVRPaRvDzI6UKoDwBepLtCngJD8YK0ygYcvWYnqDo4qjNJVZNVN82idV1uI k21g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yA8U6O4G; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-140208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hq11-20020a1709073f0b00b00a51da2a1169si611933ejc.706.2024.04.11.02.55.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 02:55:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yA8U6O4G; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-140208-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 98D171F2268E for ; Thu, 11 Apr 2024 09:55:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C5C3145345; Thu, 11 Apr 2024 09:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yA8U6O4G" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.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 82C2C13FD80 for ; Thu, 11 Apr 2024 09:55:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712829325; cv=none; b=gNsIVUg6JKF26yh47EwV7rXIXiUWjV8GnvXrta8yoXWM5QVnGYHv4CVeEpKjZMe7uMXxstGquQ0S2Z3354BTGLETqKJuxF19wP6jaU0+blosKzhJcqC79m3NYgD73/cQ/Pu7zAUDgQPlXIN8OMDXF5/BiGGF0o6vOuNnv0Dvf1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712829325; c=relaxed/simple; bh=x58WqDrW54mbSDZg6DVW0SdiBq5P4n8LYvlGtzYZ5Fc=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=g/My6iNZRJbDeX9Tl+02bi2fGb40I8t3//XIZgFsMExgR2ctb7M9MS90bHyAIR43vYt7BA43sRioez5hcfqhI6eyEmmCV9wReGPfCF1UUl89hLEOIIW9l5agCUgrYR1CM1Derbren6JRo/vhnP+tmsvy3fwvsMuc/ntkudxkMWU= 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=yA8U6O4G; arc=none smtp.client-ip=209.85.128.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 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-417d08135b6so4959075e9.1 for ; Thu, 11 Apr 2024 02:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712829322; x=1713434122; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TlGP44dphA3R+UbqzP2my5uJQJOQh7ETKlgiCn1Z/F4=; b=yA8U6O4G/m0vgMpIU0vNFdBGkOMB+yn79fMcWT2ebwn16jTuzHVQR/IRyGHnmT5SeV kxmvIKlfkyDHoumxXZOCWcJHGAGBLhM3LlTkJAjX1i0ghJ4JgN2QHzkYU9WZM0M30IvD Bry+le8TM4t5ja3vif3ndhVqGGAuR+MoVRv0MT6/6+tooQ/boIAV7U8vc2yCt5ydEgGp Badz1/blPoY0SVfqKwM/XMI8rJ8amHMq1jQc29/sL/t9f8fBH6WYVpFS3MdZ9lCMVfdc cMF/eET3uP/Ncd0GmLmEjxVzOI0Tb8cdfpvD2heOvJWgEorRE4vCU5qQSNDHYzv3KEfT wuHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712829322; x=1713434122; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TlGP44dphA3R+UbqzP2my5uJQJOQh7ETKlgiCn1Z/F4=; b=YBiXUM6ShUKTofBWideLFnOecp/YUwu0fDuW+ZO2EB+muoYw6J2C83WnRwhTAmiKCV S/EB7dTNX3yR2HrsQXF8HNOebHsKUbasEK+X2GWGBvLddHbKz35ZmB/jTQITfIKhy7AE ZA/pq4GSuz6IMBNQ2p0sCpFCU/3wJCYhd3M2Lxwh48zb0Ur/A6fnjNFfzUclZ9AcGorX Y9leiKkwr14osf059XqRvZJ70r9p/GTm3CuJYDJJRfcaqES9HZu0Pnp8MbtZbbPhF8i3 fYUtGEshXfEQfTjrnv2NWRx9nJq1GwXFKNS9mnodoTqMob5xiotdPXHS0DGmuE0CusIK S25g== X-Forwarded-Encrypted: i=1; AJvYcCWn6ATBydkD7WFKEW34ZBPDVt3VY7UYqHFxcr2+2YoMNXf66pg1rdojpKUIIMgtlwr1dtXnTbauXx6L2Fuu6jbXb4twc25cMnmEDbwB X-Gm-Message-State: AOJu0YxTFBDp7RVl1F7Lz0jZnjhqzlzU2oPuY9ZFJ3WXvFCoKI5b9cjC 1koSM3HS1nK+up4E+T0T3XBGAwwMAyN24Q3FVQqhxJJS5i5apzeUZHY2Ee47K6M= X-Received: by 2002:a05:600c:1388:b0:415:46be:622f with SMTP id u8-20020a05600c138800b0041546be622fmr4697912wmf.14.1712829321839; Thu, 11 Apr 2024 02:55:21 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id j3-20020a05600c1c0300b0041690a1c9desm1792206wms.30.2024.04.11.02.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 02:55:21 -0700 (PDT) From: Srinivas Kandagatla To: andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Viken Dadhaniya Cc: quic_msavaliy@quicinc.com, quic_vtanuku@quicinc.com, quic_anupkulk@quicinc.com, quic_cchiluve@quicinc.com, stable@vger.kernel.org In-Reply-To: <20240306091642.9123-1-quic_vdadhani@quicinc.com> References: <20240306091642.9123-1-quic_vdadhani@quicinc.com> Subject: Re: [PATCH v2] slimbus: qcom-ngd-ctrl: Add timeout for wait operation Message-Id: <171282932055.158508.13864797939880326855.b4-ty@linaro.org> Date: Thu, 11 Apr 2024 10:55:20 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.2 On Wed, 06 Mar 2024 14:46:42 +0530, Viken Dadhaniya wrote: > In current driver qcom_slim_ngd_up_worker() indefinitely > waiting for ctrl->qmi_up completion object. This is > resulting in workqueue lockup on Kthread. > > Added wait_for_completion_interruptible_timeout to > allow the thread to wait for specific timeout period and > bail out instead waiting infinitely. > > [...] Applied, thanks! [1/1] slimbus: qcom-ngd-ctrl: Add timeout for wait operation commit: b12bd525ca6e06c5ba93a49904f580f7f0021cbd Best regards, -- Srinivas Kandagatla