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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2AA8E94114 for ; Fri, 6 Oct 2023 20:18:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y4whZh6nI/CLvUgi9i6YB3H/W5C4yxcX+OcwhkUjV/I=; b=45SKTQeJArt9Gq I7eid2UZUWCHpO+4qm76RRRSPCJ/RudJ75LgaoMb4MEOCVZ1G8IChCgqzcfcRSDHjJuDQ7O+LlpoF iJHQx2U9fZnQGSWlA9uYT2mw+/N+jQW/0a/ShVSOqxNFIrMJmJtJMtC1uqzPxilH44MsiQP/Dj3aU ann1Q9h7YopZkEQsmGHonmlaWB6ab+JWehaliYuG13jtyLFNr8TiH3x1YUEXeLkN319BAF7U03u9p MyDmr6RUsd76vV+BlRFvzVTf06mHN8Fts0n21hoBYxo6vPFMlzq9tD9kJeAPAGCZmvM5sIo+vobHT lf8BufVNkC6q4SCgz3YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qorGn-006RPQ-1E; Fri, 06 Oct 2023 20:17:57 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qorGj-006RNY-3D for linux-arm-kernel@lists.infradead.org; Fri, 06 Oct 2023 20:17:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696623472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cauyGxPXg9Dqki16H5wczwQOTEld3BMCtuai5OgK+Nw=; b=BTPmJD76QUIMFzcvasac8kkJH+lCM7rqPydNWxYlxXPNq7qOX+7p43yoHlOFX0j9hqYTqx RXjmlMeCXYghqk3fqbEqFEpq6zREIiG+4/3n31nceilLqEqYduyG0A2O5gRYSlfH6lQXK+ gSSaZsHDfYsA9KZNyGrRjT3tkMtoPnk= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-267-OQgAuQooNraraxKuAodqeQ-1; Fri, 06 Oct 2023 16:17:36 -0400 X-MC-Unique: OQgAuQooNraraxKuAodqeQ-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-774105e8c7fso258909085a.0 for ; Fri, 06 Oct 2023 13:17:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696623456; x=1697228256; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cauyGxPXg9Dqki16H5wczwQOTEld3BMCtuai5OgK+Nw=; b=Jp7wkZKG+Tax5mardrWqTmRhfokpx0+8uqH1i1vvRDINsc2l7Ss3UOh6dL8k+gS7NL 3xnmOU1zn7pp8542anLOVLh+gdsDA+13+OW2jCHyZWcGVp9MS7s+tDvrgHPppBB2Mfpt CB7NtF7pJrgIxPDOqGmGD6ePyqeFfyjwhZg+mmkrmadbmi1lE6v2r4+O0AvCHw003h+B 6NBCsPavu7doF/iArIdYdf6WYKXaS8y3erf05jg9dCkJS4r2ADrpy04WTpOhvjbfAHfX tLycHK/bdaVpIxVL26bp+Fls8bpH+4r3ljgY0t+9w9QJB07fvD5UjDdVgibt2ixZr9Ne Fzwg== X-Gm-Message-State: AOJu0YzxjIcf0AeiFX2XoHn/DSaH/GYT2FR4GlyWoeLriuhTZmuFQmWe 1jbCPUc9tjGlJqkcf1S7h5Ztfil6psRqClVSQF0F10XwIw0fxlwr6wSNmjKQYAqbEdWRVVTI4EF eGY8ukSnKuAXXlWYp8FM51j/MHgSC8p6sNPs= X-Received: by 2002:a05:620a:4489:b0:76f:20df:f038 with SMTP id x9-20020a05620a448900b0076f20dff038mr11224079qkp.12.1696623455777; Fri, 06 Oct 2023 13:17:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzdJwo4Lu0XqeCt5pKxLkTdXoxw67dKVHpvuq2Ezi/7kUtOb2wNQ5MEHDrEkr1H47Bbgm2Nw== X-Received: by 2002:a05:620a:4489:b0:76f:20df:f038 with SMTP id x9-20020a05620a448900b0076f20dff038mr11224050qkp.12.1696623455499; Fri, 06 Oct 2023 13:17:35 -0700 (PDT) Received: from brian-x1 (c-73-214-169-22.hsd1.pa.comcast.net. [73.214.169.22]) by smtp.gmail.com with ESMTPSA id ow10-20020a05620a820a00b0076f35d17d06sm1554711qkn.69.2023.10.06.13.17.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:17:34 -0700 (PDT) Date: Fri, 6 Oct 2023 16:17:32 -0400 From: Brian Masney To: Nikunj Kela Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v5 2/2] firmware: arm_scmi: Add qcom smc/hvc transport support Message-ID: References: <20230718160833.36397-1-quic_nkela@quicinc.com> <20231006164206.40710-1-quic_nkela@quicinc.com> <20231006164206.40710-3-quic_nkela@quicinc.com> MIME-Version: 1.0 In-Reply-To: <20231006164206.40710-3-quic_nkela@quicinc.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_131754_110176_7973D451 X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Oct 06, 2023 at 09:42:06AM -0700, Nikunj Kela wrote: > This change adds the support for SCMI message exchange on Qualcomm > virtual platforms. > > The hypervisor associates an object-id also known as capability-id > with each smc/hvc doorbell object. The capability-id is used to > identify the doorbell from the VM's capability namespace, similar > to a file-descriptor. > > The hypervisor, in addition to the function-id, expects the capability-id > to be passed in x1 register when SMC/HVC call is invoked. > > The capability-id is allocated by the hypervisor on bootup and is stored in > the shmem region by the firmware before starting Linux. > > Signed-off-by: Nikunj Kela Reviewed-by: Brian Masney _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel