Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2631183rwi; Tue, 1 Nov 2022 09:49:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7IuAepGqKr2kTG2Xb8T86aZ4aMMK05TzIAluc3Ugz5VIkN/jgr9KFB/xk35aM0enS5FCcf X-Received: by 2002:a17:906:99c1:b0:6fe:b01d:134 with SMTP id s1-20020a17090699c100b006feb01d0134mr18890296ejn.598.1667321395657; Tue, 01 Nov 2022 09:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667321395; cv=none; d=google.com; s=arc-20160816; b=YQo4U+h7KLU7C3iHcKAjoDRutDnHbsqqENcp+W+Tx+cdGkEBwqjYw3H8hQw+GIA65Q cj4XRTPBEYO+8HHIHBAj5w2MYA+byhMP4W1R+DuBBM7Ab5BraXhR40G6z3FK8mQ6N1dt YfXfSbRWYbE1rCDn82t5LYSOBRtudd9F4uWQTgbxHQCejUt/RLqzzJcgNwGWpk04qOxb BREqqYUnzCxb2u20xuw7foZsPKNvATVUFwlvKLp5MfN0UUjkN0NNDuDMqJFuSrPypOAF vR/eG+Ppq8JusGbxGRT3g08MOMsS2yqvNGRd2JXuFNmltaU/XPfzAQxzhOWTDAmTOzSA 7psA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QjE9lTE++fclwFa7yMAIrErfvE6I/XCjhnbSuMJSadI=; b=OWTqT9H23nDaPjDxAhmDfpwZ+41z1GafXo9BlbB3zvq/ADbLmCzfUH3Oa21quSYXnp wP2wL3s2voApL4DKEvV1J8V9k/sO2lYkiYpx8crL0rB5K9puxJq9npWatg0bbd5aLYIz lJW/A2CqZ8aY4WrJMpCx8ivrO47xsrjvzmq2xH5p5CJrVcSyTbkaIzwnhUpRPs8UqE0D e9iihazR0UypB7KfGFH8ObeIRe8bFFoPzuqLwrWV/LpTfglyQcjesv8XwnsrfHV09w7+ nQtVIjlPJ5p5E+BMkouFBApsZahdZtIR04sMqWDUMfPThyE0Qq5NpAVfiordAAwsGHy/ vDhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HuednwKG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di14-20020a170906730e00b007a00aaf659csi14658960ejc.198.2022.11.01.09.49.31; Tue, 01 Nov 2022 09:49:55 -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=@gmail.com header.s=20210112 header.b=HuednwKG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229923AbiKAQXx (ORCPT + 96 others); Tue, 1 Nov 2022 12:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbiKAQXt (ORCPT ); Tue, 1 Nov 2022 12:23:49 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E6A91A213; Tue, 1 Nov 2022 09:23:48 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id n12so38231554eja.11; Tue, 01 Nov 2022 09:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QjE9lTE++fclwFa7yMAIrErfvE6I/XCjhnbSuMJSadI=; b=HuednwKGDdGrvaUJCdekwxP+OyuF405/uycgqP4ZZkDWTkegfIrL6QXKivPLKzxEVy ytOGI0Id3iUMsMWl/bkBr5NDfTZPbO2QNldy621TP7TABjsoofQX0EG58gr2heBwejNO 624qNm4sfn17mtTtVVml/7uON5U97fFeCmQ5gbPyG1Kd9Qv1oV3rt5Aw4cudGr6DDIj+ lLKKcSztI0bOhFnZbkJrm1iiUQePy0hU6QRdNco59DVmD/GycjvQZc2FM5FA2eBNSfn6 mHg9+fF09heSEwonV9UmXI5v7P6t7nNq9mIvhbAQpAOJkFOr2unyC15xgCIiaKDoXBWP V5bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QjE9lTE++fclwFa7yMAIrErfvE6I/XCjhnbSuMJSadI=; b=V+eYBzCFSgFJ96Wi+O+iNOBpvHjgoeVLsY0Jxe9ndp0F20tISRYd8SkVvDmcE8fjTx wi2NT6lpZApMGpbQXPj6M5B5MnGDs7/UsPXN25PHm4kLMXG2CIi0e+99EiqFX/KRMb6K wQs0hZBmt8g+I2v+L6ZSfXApfrngRT2bJ80xKQ92tk3DXrDh7qLAg5JD2aItFUWtKwOA cfHkdcnBy5ujhj8y2/odrvsbjRGynhsy4EfycTmCDeiRwvUSPIJW5xSw0CBqIrGhVxAc hQsTdtjOVsIgYapC2bslY5ASpKf0ibB3mRe18UeXNG74TqCWlqzfpT63nry6oI9cS6hG 9eLw== X-Gm-Message-State: ACrzQf1XSHYl/jWWastj31elQSOnQWJ2n1qjJ1M1pq8lGO+1LAOofxDT 3l+toPgC7XeMofCvN1p+Bjy+BOQZRWCpx9PJxGI= X-Received: by 2002:a17:906:2ad3:b0:78d:b88c:5e35 with SMTP id m19-20020a1709062ad300b0078db88c5e35mr149386eje.157.1667319826948; Tue, 01 Nov 2022 09:23:46 -0700 (PDT) MIME-Version: 1.0 References: <20221026185846.3983888-1-quic_eberman@quicinc.com> <20221026185846.3983888-3-quic_eberman@quicinc.com> In-Reply-To: From: Jassi Brar Date: Tue, 1 Nov 2022 11:23:35 -0500 Message-ID: Subject: Re: [PATCH v6 02/21] dt-bindings: Add binding for gunyah hypervisor To: Elliot Berman Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Prakruthi Deepak Heragu , Andy Gross , Dmitry Baryshkov , linux-arm-kernel@lists.infradead.org, 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 , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 On Mon, Oct 31, 2022 at 10:20 PM Elliot Berman wrote: > > 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. > I think you need to implement of_xlate() ... or please tell me what exactly you need to specify in the dt. thnx.