Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1659953rwi; Mon, 31 Oct 2022 20:43:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Mgzh9H62LUBL82Lh+y68IcLeLKA5xGS1R/yQZHSjSefid65EJgqZqnCDrB8YBMaw6YQiO X-Received: by 2002:aa7:d357:0:b0:45b:dab5:9789 with SMTP id m23-20020aa7d357000000b0045bdab59789mr17180804edr.222.1667274232883; Mon, 31 Oct 2022 20:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667274232; cv=none; d=google.com; s=arc-20160816; b=co9k8PlFowDoKOUMaNZlEVG1MmnlzuC4YZBV2dgZrAa2aRmU/SMrMd1djx12YKkKkh NzkVqPwqpkM569wL6ENZGxIaJSoGro4aYtOHL7Ri2UeBOsA8/0AyidCHaD0yQqp2A+Yu gQjBiR25AtTZe/gyURW9NZ/HhRQbL4IMW1L6TCxsGV6zAvPCBKUDFWWwQgI3ds94stxM LTDGONNUZ0ZtEa70VxLIpSbvgmwIprDW4LwNJo2NtzUcFZIVpmRF6TlrcHMAVnzjaA86 ZyJJdNN089jJf4slqznLuzZz/+bZcZTG9V4Xh8szRlOlrs+M3IUWNQfGpc3AUmIIpBfx 843A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vsmyPGqjrN3pNUGJKucOlOuMfiAWJI3kVBM4CmpcAkg=; b=ynvJjwxp2sWerO0KRVpbdtQEcJEGS34TBYC0nzDg3lrRA0Xs4wxUBQRWxghApFm0eF 3hRkh6uu9uuhCN+gG68qszdepeq79c2nXwGxMMBqfP3FUJzKKEdtofKMn+tTOwOJ+8kN 0XZYuqSJAVXstLGWzYIJtq6ZizkamR4zjpXqNd9LrhF67Qi9CoRbccmY/u7cs4eQ7imv c63hGPh/gEaeO9+m7pM+UHugcUfCCYNnfbHS6g8AUnvmuM9QHeuUXvx9Uld/vqx9IpCf Pzschr8X6yRoAk79qIPVwbXpTeFMCMfiRp/NUZK6agRcxnYmJ0nlLMnacY5Y4e4x1wno 60xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UUJ0PGKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a05640226c500b00462dee0d6bfsi11633858edd.556.2022.10.31.20.43.26; Mon, 31 Oct 2022 20:43:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UUJ0PGKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbiKADUS (ORCPT + 97 others); Mon, 31 Oct 2022 23:20:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbiKADUM (ORCPT ); Mon, 31 Oct 2022 23:20:12 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A03E164C1; Mon, 31 Oct 2022 20:20:10 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2A13B3We003254; Tue, 1 Nov 2022 03:19:57 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=vsmyPGqjrN3pNUGJKucOlOuMfiAWJI3kVBM4CmpcAkg=; b=UUJ0PGKXDKWr5c3E2BU6bNCBnUPNMa0Equr0An1IGwSLjMDeld0Q1S79X1JxIq5dXGb+ kG6ulC1mMuXLMDmCu0i2QX+vTzs08Klenr/y1VWSNNWzZINaI/SPoWNsLFSQImZbOe3b DCLLTVawa4nQVXP5mVWm3D4tMPBm7aXB+yj4ToXzr9hC/pVUUOnSjyuybNtaItgVqFoG Ki5altTbn2ScPNROPmrGTWwi9st/hHGJA15ZLkT30j/QXcBA4GUFf65EzIS+sL/lauc0 Pl1GgCpc+75hf1A4NQm71V/UvO4WgE1a+F9ToBezO9RpHxhGO/tgFFedTWcYxwY4iM+V dQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kjsqh05ve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Nov 2022 03:19:56 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2A13JtsO000716 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 1 Nov 2022 03:19:55 GMT Received: from [10.110.109.83] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Mon, 31 Oct 2022 20:19:53 -0700 Message-ID: Date: Mon, 31 Oct 2022 20:19:52 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v6 02/21] dt-bindings: Add binding for gunyah hypervisor Content-Language: en-US To: Jassi Brar CC: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Murali Nalajala , Trilok Soni , "Srivatsa Vaddagiri" , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , , "Mark Rutland" , Lorenzo Pieralisi , Sudeep Holla , "Marc Zyngier" , Jonathan Corbet , Will Deacon , Catalin Marinas , Arnd Bergmann , Greg Kroah-Hartman , "Srinivas Kandagatla" , Amol Maheshwari , Kalle Valo , , , , References: <20221026185846.3983888-1-quic_eberman@quicinc.com> <20221026185846.3983888-3-quic_eberman@quicinc.com> From: Elliot Berman In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 4w0f77iR79SVZoQsJSIViVLTnRUaGtL4 X-Proofpoint-ORIG-GUID: 4w0f77iR79SVZoQsJSIViVLTnRUaGtL4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-31_22,2022-10-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=749 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211010023 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jassi, On 10/27/2022 7:33 PM, Jassi Brar wrote: > On Wed, Oct 26, 2022 at 1:59 PM Elliot Berman wrote: > ..... >> + >> + gunyah-resource-mgr@0 { >> + compatible = "gunyah-resource-manager-1-0", "gunyah-resource-manager"; >> + interrupts = , /* TX full IRQ */ >> + ; /* RX empty IRQ */ >> + reg = <0x00000000 0x00000000>, <0x00000000 0x00000001>; >> + /* TX, RX cap ids */ >> + }; >> > All these resources are used only by the mailbox controller driver. > So, this should be the mailbox controller node, rather than the > mailbox user.> One option is to load gunyah-resource-manager as a module that relies > on the gunyah-mailbox provider. That would also avoid the "Allow > direct registration to a channel" hack patch. A message queue to another guest VM wouldn't be known at boot time and thus couldn't be described on the devicetree. We will need "Allow direct registration to a channel" patch anyway to support those message queues. I would like to have one consistent mechanism to set up message queues. - Elliot