From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D60D7C4332F for ; Tue, 1 Nov 2022 16:23:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbiKAQXy (ORCPT ); Tue, 1 Nov 2022 12:23:54 -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-Google-Smtp-Source: AMsMyM6yCCYE1jRfdc2k7pNZy6hR1Yn704uJKgDoSiQVMAtUpptyljIOsw2MSx8YH4+AHoDsO+yCTAU/SxHwxZmdR2w= 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" 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.