From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB74623EAB9 for ; Fri, 14 Nov 2025 11:26:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763119619; cv=none; b=bghLREgk31Ww1iv4CS6NXfCcT2cjsn2lBLF3aIaxPZ1D3R+qlesQCQlKG27XuhWUl+G8XWM+KLTmmcPa2b8Dj1p5gFceZl7oyF0etKjwjJEosD4YhQ7V9hZ6FLjwBXCioN2h+a/idb4V+cLCHspRX+b6JllFwlggbMF7y7pKMOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763119619; c=relaxed/simple; bh=FjgcuY6SxnUFbFV//lcFGoEp8mOCm8RF0YZOkQurjI0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NLAX9gC0jGxN0i4PBsWwLigjoKdW6syN0QM7Nho+/NHUSq8lEOSaQbrLRZ0abJrwQTf+wkvCHV4EXk5xJ/2rISs8tmVPery/JU5wI0AiLVJCwbbTQABw//Zhb3rHtWxrNXUe47TqGpPE7veMnmCCiZnofyTGlx34agaWL/w39HY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=YvmEGhHa; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HCQCn7Tr; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="YvmEGhHa"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HCQCn7Tr" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AE8cvjb1431650 for ; Fri, 14 Nov 2025 11:26:57 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= xj6btczQP9EttHmyg9oi/yzZG5tH5YacuDZXJnwTFdA=; b=YvmEGhHayMHB5uzm enctitrc46sCoSYts4Pd9jZjRcyEUid2Ik/mbTzm8syTdh4h4lXKq37hSw8lTm8u Yhy8xu/xdQxTek7UznfSUHnt7Unsi24CjmQHL3RP0QBVu7uPEq+iTY6nQGTFN45Q GGAap7UTFISWYeA7ukX5CUosV266vxpbLt6zcavgnyczJO7ANnJaxrfLwRCxQq9R u8ZYGBePYg0IyQ/Zzu1PDGTHB74DtlwOFi90Kv4Dh8PSZHso9CgSO+WOGtPeU+Rt 3iD78ZHcicHcJHs4x6j/DiT6z8TlLjfXAuNPUfpaZR9anLgM/rs1mo1BsMjgydUc JJgxmg== Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4adr9g1xvk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 14 Nov 2025 11:26:56 +0000 (GMT) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3436e9e3569so4283145a91.2 for ; Fri, 14 Nov 2025 03:26:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763119616; x=1763724416; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xj6btczQP9EttHmyg9oi/yzZG5tH5YacuDZXJnwTFdA=; b=HCQCn7TrTDGlfi/b6A1mRsKLAsMWqKThV7/VKGPBGd+hoRiWvisTmzXDjFLevCUdMQ 5cyOd/7MWaUFDtf5IRnp5HAu1v083ylZ5Hfwwwl/uGYoOoFKhkxil72tt8OxgxD4Lu4l VV+BzgonEiGJOpruutS357e+O9ZGRj7tJiGtDJrHjV0eWK9+lnLpb+x+AIyjeO9ypjk3 w+0aWRc+6ZQqycTo+sXW/9V1p3w283cY4Rdt69LcN6fkvoqzs/JT7sd3xpExzJm2LIRD rm37cdxsyXOcavs7fIXw2E8lZU9QOo/yYnd9Uv2m/6lRmWQh0gpjrYjnDePAGnVJFudq d50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763119616; x=1763724416; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xj6btczQP9EttHmyg9oi/yzZG5tH5YacuDZXJnwTFdA=; b=PIT4uy8RfGOu2+W9Cp4r/JiZDx4FR6QkjY77Ou52DVO91wbSDNyhpv0nfwqVEtrYBC 8BwWwA4Bx/vMENIueBXsyKkT8MnLfNgUsYANlzORpkp3AnRjpReRfUsGpTh88HWO0kkr ILBe43pSRqPuczmOitHrWVDjinPAk+Xpg1zGpm4f5hjIQRP4XlaRWvPUPCeaAP7W8SlN ARrrcbnUuEsKZDZ31LzcOc/JL0hMcm1FzWJtW7NBmHhg+8bvlTNR7G0ZFFI7UGb4y3mg rAZrX1H9jjysORSOLcwGQbfVoW76QX+SCPTDVssICebZqWe4BYTguHriyCmM7ILuF+/R +lbA== X-Forwarded-Encrypted: i=1; AJvYcCWfRytNE/q3NociAkXzKLKrDJWE+a1f0XixJNqhQrWOBN6z2j9zcvwHx+tWMoFxvVT2iXp4t88HP5JK@vger.kernel.org X-Gm-Message-State: AOJu0Yx2K81HSl11IHY55cJh4uOZeXO+BLTjYMNvgWvaSG4A90/NISdw 8UhieWeAn5a/qyxVrE8ZMxSnEAAEb5mvqo+uj1XN29Sx5+vvuZoAe5eiMj7LW2Fl+EMFs3iFeR1 OEQ24/5/GpNYaDzBxKw+VsKe4qU51BqTzheGORO3s54no7vZT04eBHLYczN0aH6O5 X-Gm-Gg: ASbGncupOIoWUFyF3yNJtVu/id7LOYIduuHqDhAwX3boK7B8x14E61chT3ePdFyApxC ZtxM7Ur2scEqDdhHHGpxOWPfwsLmAONsXA7nSlKsjO1/QopmSVjTA/LElGPlUUHl5iz4T1Rw07c 0Pf7BT9fDZmHXRmDjD/541nJ9lD+aTa2Ir9SlMVQeqZTModkn/pkgT71qZdRa2P4ohkIWkkQJYX yTtqVgYITGeasRdYpFZXrinzBNePw0g9YPJwEMdM25E/PBphkWCVLS4IFjkUqVm1QvA3QkiXQzy HlWW+LPdfuOFwmtYtYbszhebp62SVcsRq6F2P+s8tXUaI6xm+tmaJZ2KhsMg7vtLHN6MvrMHIT9 uWt3/LD3JOMUsn25N8PRz3dU= X-Received: by 2002:a17:90a:d408:b0:33b:b020:597a with SMTP id 98e67ed59e1d1-343f99c1cc3mr3251186a91.0.1763119615950; Fri, 14 Nov 2025 03:26:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgKCyHJGBBYPB4qZv+EAl4Tx88PJN32VSjZcg29sFOWP5dg9DS3lwkBEwjYg2dmQ/BXtGF2A== X-Received: by 2002:a17:90a:d408:b0:33b:b020:597a with SMTP id 98e67ed59e1d1-343f99c1cc3mr3251153a91.0.1763119615473; Fri, 14 Nov 2025 03:26:55 -0800 (PST) Received: from [192.168.1.8] ([106.222.229.203]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3456516c622sm167599a91.9.2025.11.14.03.26.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Nov 2025 03:26:55 -0800 (PST) Message-ID: <76523142-b337-4a31-90d2-c8477ef0b270@oss.qualcomm.com> Date: Fri, 14 Nov 2025 16:56:45 +0530 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 11/21] drm/msm/a6xx: Improve MX rail fallback in RPMH vote init To: Konrad Dybcio Cc: Rob Clark , Bjorn Andersson , Konrad Dybcio , Sean Paul , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Marijn Suijten , David Airlie , Simona Vetter , Jonathan Marek , Jordan Crouse , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Connor Abbott , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org References: <20251110-kaana-gpu-support-v2-0-bef18acd5e94@oss.qualcomm.com> <20251110-kaana-gpu-support-v2-11-bef18acd5e94@oss.qualcomm.com> Content-Language: en-US From: Akhil P Oommen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=L+AQguT8 c=1 sm=1 tr=0 ts=69171200 cx=c_pps a=RP+M6JBNLl+fLTcSJhASfg==:117 a=UUXEStRZTiKyGgBwSCQbmw==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=lZFDvItL9zSOf8gjBGIA:9 a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTE0MDA5MSBTYWx0ZWRfX/eI5LC5D0tk8 HFWh6fwWEGIYs615Gh6dw6vPUU9mnZ46cETjrPmoniCjIn2LRo1HjU2xPy5bNra2B/R/V4Byusc Ykin1hzoXd1h7oAZhe1vdpHaS2M4DD3fQLiMRK8y7AFqnO6lVZA+LhyNosQMjhrsqvAW30JiF01 jDT/yTzyqNsfQa/1YvL04DzJUGEwiCUqTYSZU69sNTUn0Rn1/fNytDSjz0IyEGT/rEwn4I59d0B VMVN7xmJzwjVc/AKWVO+vHsSWQ0DVPV4I7wdiwrXqsmzDaQhjnqJc7aAh+aRhNLCvlxvQ2tKv9E gcHotX3O+orMfmWHzR9qX8y3QFxcrj847Zv+yN40HQMk5CwseafKPKuHGZAQhYVRRxxfCh1D0xo L6y2BVdSvOYJQiqpqiSf7d7sA9sAsg== X-Proofpoint-ORIG-GUID: lnLWfWvgySzsFmlz4e7FFBwPrzYj9JFm X-Proofpoint-GUID: lnLWfWvgySzsFmlz4e7FFBwPrzYj9JFm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-14_03,2025-11-13_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 impostorscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511140091 On 11/12/2025 4:29 PM, Konrad Dybcio wrote: > On 11/10/25 5:37 PM, Akhil P Oommen wrote: >> Current logic assumes that the voltage corners in both MxG and MxA are >> always same. This is not true for recent targets. So, rework the rpmh init >> sequence to probe and calculate the votes with the respective rails, ie, >> GX rails should use MxG as secondary rail and Cx rail should use MxA as >> the secondary rail. > > Is GMU always on Mx*A* and never Mx*C*? I believe the GMUs we have so far are always on MxA when it is available. -Akhil. > > Konrad