Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp236664lqz; Fri, 29 Mar 2024 15:03:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPuyg3BJDIiiWuda93NDWdVHGwAI/uFP67syhP5Ra8FYNUF514Tagw5k1F4KKl1Zqw8V9fwgoVX28VbwohWK7V9UarbPwK/k8kB9+aLQ== X-Google-Smtp-Source: AGHT+IEToON4CJ44lbCDj7aIlaTIWlLVgnJ8AztVjIeglNrjqpBEURhiyHj5IJh/dVrAD6bp7S4D X-Received: by 2002:a05:6512:3257:b0:513:c17a:6cbf with SMTP id c23-20020a056512325700b00513c17a6cbfmr2038573lfr.47.1711749786920; Fri, 29 Mar 2024 15:03:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711749786; cv=pass; d=google.com; s=arc-20160816; b=mWklp3FCyHxGRO/ATVreYm4ojzSklsudoJ/a4Ti88UiuGbiUItXu9gwGe9au+8ps+Z DoH02yp7kJvNvxsScGu81kOxJc4yWuPeeZyjXyTPg8PQfUsSNbmwcIn3112mZtW12ld4 aXpU8hLR+CTd4NvCoLjKqwj7fW9kq41+K84V4ByXEgt124ttLX1xiqolZ83q9tZaqrdh GixvlLYVqc4Lb6kv6m0wXl8U/J8uX2ZC0KSk0zPs2IIEYgDcc144iAytWIBMY+lSJm66 LjC5PlwivSz2BDX05NxrCxT3HqqNdpPBlvYSxUcwUsWHKMBe35i9u0coB88NGyjrMvFx IGOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=silHeXabMsGAwpFBE/tyNs2CsQVMk9jO5ZsDAbGARJI=; fh=4e/wBjXmZMaAWFlsfa3G8yRPrTG9EG2jk4/F1IfqH74=; b=xXhoTMd1YCThKqVzMx3jcXMQxEivMclgaQNVFqTj4DzXvu0LD0Lp/60VzTOg+fF8qJ Fx8oL8K+xgQNZc0LnmhErMKS1hsHpNZ4JBWklRI0H6Jlq6qm6hOw8/PAsGOe9KBgo37L FWKVyAPPi31xvIjGTdS/4RZnH3J1xD8xxGGoiwZhN7cYfxh5RYoc6ByPd6LAK5cuoZtF LuikqYKS6XP0pbuP0rnhctK/190sLH2kKa2g8+GK9e9jv7QFKaoG+LfUQ8/aRj9GWblC /lQQ66ggTLI8JXDh7e7LTrZ48XfU16D9Y1z7vqQHIm907qWbgxZzLwYL9173vyG/Mjs3 SXcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HggGyXoF; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-125473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d20-20020a1709064c5400b00a4df5e0615dsi2061666ejw.463.2024.03.29.15.03.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 15:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=HggGyXoF; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-125473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125473-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 A1C301F21E23 for ; Fri, 29 Mar 2024 22:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B539113CF86; Fri, 29 Mar 2024 22:02:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HggGyXoF" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 A53823D0C4; Fri, 29 Mar 2024 22:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711749776; cv=none; b=kf8IIbtpoUWn3JqsAMXkBeCxXlgXh6DXWB5ZVN23kn64EJvOETKal34zXHid3fsJpwMxQt8C0vu61AIzLUDDcmBUn7UiOyVSCCG7KNOVMfuqe8luKIS0zba6H2iDP1To+2j9pYep78ep18NTajRA2wOYhw0sEwxWKQqba0UX/Mk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711749776; c=relaxed/simple; bh=zuNKML6X04ZMsTG+tD12IpXq04Qn4pO/1pafB7Njz5g=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ViZMnFThP7uPYJSzUi2IJDu9fsTUAiiAKggCzq3A7gu9YtN5ehaGgFit20zWLSzO7nzHL5mKbuRcn4EJDk7221aZ+9mm3BIjOb6eeraK1izNNkoS1JfP6LxRYNGcYwSWZjhbtD7x+Q9AIh/wguCcDtTFh3gedEqc/PZYUKTosmM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=HggGyXoF; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42TKZXnP030324; Fri, 29 Mar 2024 22:02:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=silHeXabMsGAwpFBE/tyN s2CsQVMk9jO5ZsDAbGARJI=; b=HggGyXoFYfZW/5ef6WcHvbe5vazYJV/G8SLg1 3ZULnmubPc7qe/Ec/24QSc55JQapzqQhUtlgoO0ym6Sn1LclUY/0W6GURlA+criv 2bGVpbbg9YAAjjAd+HhVF3JUgWAZtJfnq5lWvcBy4akmM8/x+0EAyiPHKOUlUKFI wu7sniwn/qZ6ycpXeJypT74rSvp6YZ9wWuCFcL7YtrW15QnYPWV/5OeNkrEIq1Hf rissf+hOad1ZtIw9YSlJe/k7AsPkytPF3vDvI8amQ+MNirzQmdEDGgSVqoXqE90T ULFqI7yfOVteHItyqXCYASjNUqkMovKwfOTXa53/9QRCToH3g== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x5uccsnur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 22:02:49 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42TM2mWW006741 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Mar 2024 22:02:48 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Fri, 29 Mar 2024 15:02:46 -0700 Date: Fri, 29 Mar 2024 15:02:44 -0700 From: Bjorn Andersson To: Unnathi Chalicheemala CC: Bjorn Andersson , Konrad Dybcio , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , , , , Subject: Re: [PATCH v4 2/5] soc: qcom: llcc: Add regmap for Broadcast_AND region Message-ID: <20240329220244.GX3213752@hu-bjorande-lv.qualcomm.com> References: <20240329-llcc-broadcast-and-v4-0-107c76fd8ceb@quicinc.com> <20240329-llcc-broadcast-and-v4-2-107c76fd8ceb@quicinc.com> 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="us-ascii" Content-Disposition: inline In-Reply-To: <20240329-llcc-broadcast-and-v4-2-107c76fd8ceb@quicinc.com> X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: L8_oDKfs6pKfviablY9o3uZ4SnNDHXlX X-Proofpoint-ORIG-GUID: L8_oDKfs6pKfviablY9o3uZ4SnNDHXlX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-29_13,2024-03-28_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=631 impostorscore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 mlxscore=0 bulkscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403290196 On Fri, Mar 29, 2024 at 02:53:41PM -0700, Unnathi Chalicheemala wrote: > Define new regmap structure for Broadcast_AND region and initialize > this regmap when HW block version is greater than 4.1, otherwise > initialize as a NULL pointer for backwards compatibility. > > Switch from broadcast_OR to broadcast_AND region (when defined in DT) > for checking status bit 1 as Broadcast_OR region checks only for bit 0. > Reviewed-by: Bjorn Andersson Regards, Bjorn