Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp190150lqt; Thu, 18 Apr 2024 12:02:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvpPlm6A8Lb4almCkseZH3cAAF/FQrEoeynOdV2F+YSkKp6BCXafDlbSIfHsjD0ijgyGvTQjOkEngsqdjReCIyRVbukKJ//kFlD659Dg== X-Google-Smtp-Source: AGHT+IHMiBqul7kUV5LI3tOyjZQqInh02eY/x31VA6H3zqEfMqFIc3vKq7sDXaZOZyexogl4YzF7 X-Received: by 2002:a05:6a21:9989:b0:1aa:59cb:781c with SMTP id ve9-20020a056a21998900b001aa59cb781cmr176557pzb.13.1713466943121; Thu, 18 Apr 2024 12:02:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713466943; cv=pass; d=google.com; s=arc-20160816; b=V3a2CNMIfZWTMzjxI8XQRwhpEGug7OoXwVPE2/nLXjw62ZCfr8JaJ3eEx7UvVW7PP6 RH6aAKCf2o/0xW3tcbyEbNKXwjBkU19aBXZsdLg1ETIzG7/QEIjb8KQOdrULymISeTB+ 6QcIa4v14BjNUZeMts0SO3l8h4DmkcDqkxlmyLw+rkXVZ81fWcPgBNBjsD9lHhYQR/tD Jy62WfwlAEfvhTUtcHEZN2TV7qPpRQXFz/+CieqGYdp09xXluHxq4rdrLjhmtVOExXJ4 OnfwrMmKcFSFEZPKFI3eQMtWeS+dKPxy32g6wK6IPOmU/2jaTIH7GKQ1CesVCxZJQSy0 b1lw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+Mir++Ln2FLqixl+vlLlko21XetSHbEOEt/3RZvuAJQ=; fh=7GdkG42BNt6CPhPPCiiR7674C7ASJCO5QH1Ms6Dk8Sk=; b=eidcTRYzmkySSMkyX+uyJ2Q/bMt7ILrWd2RiPYMLcUy3ffKW40KVMmcYfNqNvhqqDJ cY66HpscOsuZot+RWjXQ7Z39OUyxVwJzk9Ibsjdhjogb0pvTFacrzcNh6LJj1kc05XaL nDK6aDqbKByaXWbGsIuhbwXDx+FjyzCOYvoPZRrGnjgQJ/w5J2CY4G62C3baBIELybtk j/1tUU67rsoHwpXr21IWxVGjd7CEu70e7X5QfpTl0IVqpduBy1BtuWt27NDUB7PaH5DD AhYIOUWtjAKwkl4EeR0kTbLbWJli/HF4KzFX5mg+/qxAin2V0r2NdApABOC/y730/Ceg rfmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W6J11maf; 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-150657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150657-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w4-20020a056a0014c400b006f0b25a0a13si631426pfu.184.2024.04.18.12.02.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 12:02:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W6J11maf; 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-150657-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150657-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id ACAA4284DBC for ; Thu, 18 Apr 2024 19:02:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3FE117AD93; Thu, 18 Apr 2024 19:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="W6J11maf" 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 9A83E15CD47; Thu, 18 Apr 2024 19:02:03 +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=1713466924; cv=none; b=hMxbf7urhTWszrSBC1kX/8wE04BwjXOU4swgsU6CoDVfz/K/FQo9ZQjiyFOiY2E5J+HtzZMK9jGJ6lt0+zhRBvC6+P1aV+klNld7z2CNx7TVMWdv358Zy+93oedrE3676VIqGCz0bjWTqHahucMrP4GiFlj0OvuhsJxNHfXEB+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713466924; c=relaxed/simple; bh=SpFE1kOMBBpcqTzZG1ZNlrJFy9DCEcrfGxK4uI34ipQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=N6nN8++Eiq+mKtTinNUu5Z71cRqTUkC625Q6jhY5Y0/p1e85pgUtu0AzxtwB3dM9N3/wfnY11bY1mi5aEq3wWoAHRCW1EBYYAYtb97QRNqLFov3nbpxo9oWIOI7cquzr/1b3P46AHOkhn2ebsn7LLz3j0sBraJ49t/aLjZcusHQ= 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=W6J11maf; 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43IF0R0E021375; Thu, 18 Apr 2024 19:02:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=+Mir++Ln2FLqixl+vlLlko21XetSHbEOEt/3RZvuAJQ=; b=W6 J11mafes8MQoI2heUKouENf1aCzTUOd77959urY3c88FRG+mMs1Ox+VcErkKb2Mt 9Qgc7ao8bvV0iFVf8yQrfQyHrkQVGwwS4YZAODs0iHofM9GQBlJmA4C4R2mcZPDk 3gyIV3jIVoYDQL6lkgRcdcQr37A+mum9uoQL6CMH0lxvwbIUtXOV1B9mQ55JJePU t6T9Bn1gekryYqMvZWvl30hYPfgN3ccAk1+UEPirhvl2mUFEBqdq+y0fdCA9mW37 VulXpHYjzkqFjkZzFVbnXxktrDFAdwv45zgYGsyPe+cwulBtIeHhK2FubQ5Fy8yp aPid+t//5VzPy6PbgT8Q== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xjx54hr1s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Apr 2024 19:01:59 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43IJ1xiT031867 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Apr 2024 19:01:59 GMT Received: from [10.216.42.77] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 18 Apr 2024 12:01:55 -0700 Message-ID: <9a18b752-c13a-4b46-ae71-59b8372dd953@quicinc.com> Date: Fri, 19 Apr 2024 00:31:51 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] i2c: i2c-qcom-geni: Add support to share an I2C SE from two subsystem To: Konrad Dybcio , , , , , , , , CC: References: <20240327101825.1142012-1-quic_msavaliy@quicinc.com> Content-Language: en-US From: Mukesh Kumar Savaliya In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: TpIUsx_2-9TYumIgcNyeAdW866jndCia X-Proofpoint-ORIG-GUID: TpIUsx_2-9TYumIgcNyeAdW866jndCia 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-04-18_17,2024-04-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxscore=0 suspectscore=0 malwarescore=0 phishscore=0 mlxlogscore=884 bulkscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404180137 Hi Konrad, Thanks for confirming your preferences. On 4/16/2024 5:14 AM, Konrad Dybcio wrote: > > > On 4/2/24 08:21, Mukesh Kumar Savaliya wrote: >> Thanks Konrad for detailed review. For dt-bindings sending a separate >> patch soon, rest comments tried to address and updated patch V2. > > [...] > >>>> +    if (of_property_read_bool(pdev->dev.of_node, "qcom,shared-se")) { >>>> +        gi2c->is_shared = true; >>>> +        dev_info(&pdev->dev, "Multi-EE usecase with shared SE\n"); >>> >>> How would this line be useful in my kernel log? >>> >> It informs that particular SE is shared between SEs from two >> subsystems, hence respective debug can happen accordingly in case of >> the issue. > > This amounts to "not very useful". As an end user, I couldn't care less > about the nitty-gritty of firmware-hardware interactions, so long as the > thing works. You must not spam the kernel log with debug messages, as it > slows things down and makes actually useful messages harder to spot. If > you want to keep it, use dev_dbg. > Sure, will go with the dev_dbg. I am uploading a separate patches for i2c and GSI DMA sub system. > Konrad