From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 028E8CFB441 for ; Mon, 7 Oct 2024 13:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lagPHIZttZDMUwYWdXVzJKUqDahMn43dORef7ZZpNvk=; b=lC8KirxR3oKJtV1u2e/MkH1H7S iDEGILX/6MISTKB+7FT+yVjlPE58U3JckIDQmB8pUUifmkNnQXdRaGyRaqn3p2A6S6+0Pf+K7pGVT TVKLCKC1Ci2CdOJA9nY0rTQTd/lmxoX9GQgf9C51EVfuaGctjOn+zI8VyC1Wl088Ga4SBtolH82lV IN7NLkeuWeC74qCqasSEDTVBNrVwqWG4t2nUUwNgwrRL1PF49t2SgCFTbItcAmmNeLVlfFKZ4QIEA MrHcWV+866VKuGyzoYWGcRuY1P06mNI/HAa7Rv3WtwlfBeYiqbY/T9kaHBO35gnSSmRrNVFmCjjrb 4mRCy3NA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxno5-00000002WEo-1CVr; Mon, 07 Oct 2024 13:29:49 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxnYx-00000002Sod-38lp for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 13:14:13 +0000 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4979NBOm005757 for ; Mon, 7 Oct 2024 13:14:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= lagPHIZttZDMUwYWdXVzJKUqDahMn43dORef7ZZpNvk=; b=Rk7PlXytr1YHYGI2 foDnifwZQTqFUtnW+s3xpBvEczDraD02voigsUqk3CUbu2qBxoq3B8La7Zvwh8sp cYb4AzRYYPWY2gmbBKAid1ycLTzf36fFt2Y1Ik74L6X6TyWiMNyZ8rWzieRU4UV8 ab2wn6VDw3nsloKKcHBc+LyfHDDEw14+dzGyvq0gVQdsOtTlx+AiOhCeX11zouIG SlPsAPugVkMCnXTDrKb9P4SeeG8E0ALvnGAMDp5PwaCTl37ltSgKkdehXvSsw9L+ zMFkflejufD9edOD5YmpGoC5qWeArbhNBbNYvsFkznGwprXMFyyBsIwYaqmsEyrU 43MFHg== Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 424cy78m0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 07 Oct 2024 13:14:09 +0000 (GMT) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-5c8853dffe0so507740a12.0 for ; Mon, 07 Oct 2024 06:14:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728306848; x=1728911648; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lagPHIZttZDMUwYWdXVzJKUqDahMn43dORef7ZZpNvk=; b=Q+WK92yGWuHAt+VBxMAao3nL+deDevLgITOBCUiJJdYjuBuRCD3WXa6fx7dGczaOGG CzGx1WEsv55rEWNPSCsK24rxpAkhugmmGCnwQvFXVArLAVa+9dzQLKEZKsfecuojcWab miJ0rB+oF4Wt8RnzK4XugtkllMFCIdTplun9/4cKXlw5WYGWoXjZ/MOb2HWcvhE2mpqH al76JnuYUqFapg3SHjpMMcZD3+8kvMI+1spZZxeSfIt5j/0ftFfcggTKmLQd7+7hq/9+ fcNlYJp2rcC3UzX7EpmHeEtkVJCzh68Rfc2JKFAG82z6D7gWFD0/AcijqjLrem1Vwmbq KDZg== X-Forwarded-Encrypted: i=1; AJvYcCUfV+qExTqvcTxTNGw4m2mESzpy5ecC1oxPdeVn5/4M86xYD8JlNPhfRBHG2fTqux2FvwASI/1AVthWHldWPtMc@lists.infradead.org X-Gm-Message-State: AOJu0YwZjpiYetkm2Srl3p2QF9bzOVErGmoJa9x6TYuf3BqPXMm5HrgM OESvBHjZdeL94nJItLErkHw2hSMjDeT5vISCx5I5P7DmRrBsju5PNUNsQ2yQBuE9HfKY9uaNZsq cDKFLHJpN1FsKE8nwa50RgtDnL+TTeKEx+GDMVQW+Y8Cu4kpG6JafdXUCtEATRZMdsdlMdYOBjg == X-Received: by 2002:a17:907:928c:b0:a7a:a33e:47cd with SMTP id a640c23a62f3a-a991bd427e1mr582896166b.8.1728306847962; Mon, 07 Oct 2024 06:14:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG99yzel8woEN3MfN94DmcG3qCsQPgg06GOvsb7ccyx/jB9qBtMungcx0dHjaKg7+ABpfb/Qg== X-Received: by 2002:a17:907:928c:b0:a7a:a33e:47cd with SMTP id a640c23a62f3a-a991bd427e1mr582892166b.8.1728306847312; Mon, 07 Oct 2024 06:14:07 -0700 (PDT) Received: from [192.168.212.120] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99420bcc1esm287761166b.199.2024.10.07.06.14.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Oct 2024 06:14:07 -0700 (PDT) Message-ID: Date: Mon, 7 Oct 2024 15:14:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V3 4/4] mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag To: Sibi Sankar , sudeep.holla@arm.com, cristian.marussi@arm.com, ulf.hansson@linaro.org, jassisinghbrar@gmail.com Cc: linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, johan@kernel.org, konradybcio@kernel.org, linux-pm@vger.kernel.org, tstrudel@google.com, rafael@kernel.org, Johan Hovold References: <20241007060642.1978049-1-quic_sibis@quicinc.com> <20241007060642.1978049-5-quic_sibis@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241007060642.1978049-5-quic_sibis@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: MX7lZLJYvHfXwAY9kk0JM6mrnqqq3__R X-Proofpoint-GUID: MX7lZLJYvHfXwAY9kk0JM6mrnqqq3__R X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 adultscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 priorityscore=1501 clxscore=1011 bulkscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410070093 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241007_061411_937334_C1A33576 X-CRM114-Status: GOOD ( 12.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7.10.2024 8:06 AM, Sibi Sankar wrote: > The qcom-cpucp mailbox irq is expected to function during suspend-resume > cycle particularly when the scmi cpufreq driver can query the current > frequency using the get_level message after the cpus are brought up during > resume. Hence mark the irq with IRQF_NO_SUSPEND flag to fix the do_xfer > failures we see during resume. > > Err Logs: > arm-scmi firmware:scmi: timed out in resp(caller:do_xfer+0x164/0x568) > cpufreq: cpufreq_online: ->get() failed > > Reported-by: Johan Hovold > Closes: https://lore.kernel.org/lkml/ZtgFj1y5ggipgEOS@hovoldconsulting.com/ > Fixes: 0e2a9a03106c ("mailbox: Add support for QTI CPUCP mailbox controller") > Signed-off-by: Sibi Sankar > --- Reviewed-by: Konrad Dybcio Konrad