Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp619204rdb; Fri, 6 Oct 2023 13:19:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+JnVybloYKp4dlud3kwLwjLWcxTYDofogqkeoAQDTnEE8kG2xdl57zjLAUNqpNtxOEHa4 X-Received: by 2002:a05:6358:99a8:b0:141:d2d:6da7 with SMTP id j40-20020a05635899a800b001410d2d6da7mr9043991rwb.17.1696623544349; Fri, 06 Oct 2023 13:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696623544; cv=none; d=google.com; s=arc-20160816; b=yK6waX+ftv2s19Wr+E0hgmieN8IkcXAVLTMsuhR7T43eBNTf0gC++fjHUrPL5EvR+I sW38d6Rb0kMz3JmJ9KjhRQe4rZq0j1tsybuKS4NY3olPTQW40UQhfUTGeP5mo1JSSSsY 2KRMqYayYj1f/lSzX8ATgkkMGSWS0NfWgNgUlcwzMu32K64OoWG1h42xkXor8uSzRefb 6j5nRu500y/qfpVcmKlFizRj5rH38cEykJn78XfVVqbOkceseKFewcFk98DC/zx3zpLJ S/c93/g2n7I3FkKKo3mRvVkzZM/6Ep38Fg3Zz/AN9u2w4YTeEhWn3TKOQkRfMK5M6tMg ZDZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cauyGxPXg9Dqki16H5wczwQOTEld3BMCtuai5OgK+Nw=; fh=i0vOAPdkQ6k+CtyWz4QnTktL7DAYzcOWeFiZNULktPU=; b=iUQVCxt2HCZSFkEaF2EoIMxQpzPIZGtj3BIPMGpUgiARCQaa0vZPKSsDDGniQFxFOq w3D42wVpxW5o3c1vvjEKSY+Uvd7F2ff1X5oysr+yibmxlfIx2QKkwn2i+3cgRWQb4Xn0 MsFZhwX1kR5nBWoqYB4H57sQWljTHKIbMgH1LPh7QmnyFX+RC0qVnpAZFrQgj38XTGkq ILDrq7o5H64VIWDL6INaiKTCif5s8TPKjxQDmmo067WZGzrcUhLj2NrMQocU/+MmkEQE dXPIp5zuhM7+8wgB8AMFgCbHJUChr37uSjSzSfNwrQXSy8vBtquWhwssVcaVypjuaYZV zoaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gca0Ombo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id z16-20020a656650000000b00565e01815f2si4375860pgv.732.2023.10.06.13.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 13:19:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gca0Ombo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3A3E1809FA50; Fri, 6 Oct 2023 13:19:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233461AbjJFUSs (ORCPT + 99 others); Fri, 6 Oct 2023 16:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbjJFUSq (ORCPT ); Fri, 6 Oct 2023 16:18:46 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB51F109 for ; Fri, 6 Oct 2023 13:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696623462; 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=gca0Omboqa6igbj3dhd+rYk54xPtk7a4VuAu8pvDCci6VoeOjJABcS+6PEuM7YT/z396jx LgmIXLLRLnMMaaR41lqoDCAZbg9chMl2nt6H/uh/t8bplGwevIRbjCQhMhl1smSPvQ+Mw1 9NASC6XAxC1CcdZ9XDpG0HxWDklHn5o= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-395-ETlV1m30MDqXFQpNONl9xA-1; Fri, 06 Oct 2023 16:17:36 -0400 X-MC-Unique: ETlV1m30MDqXFQpNONl9xA-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-774335cb98cso255995085a.2 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=1696623455; x=1697228255; 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=CsvfKeqMOX11Htwcy8LvqyT9PJ9QqLyEt/EdnT/mYkX1k58gEqfFvENQxCdXEepkcH fOm4lgJstgPvf5eLYCH9UHfTQgOVsOVIdpsCbORr6A5vB1WT5UrJNyg92TO6LLamt+Fj uDhCmZVBvbLa4jFIHRtIk+GV7zrl9BI3mE+lh2+9C8weXplBzAnLYcfAphHznyHUOysA YmrD7ZgIP7zcsSL2J05gMUX1CghtSbyQn1ks9zHqEabquqC41S6lxVeeZ7GfUFsh9rYD XtrZe0glEcxJDkVZ9IQK3ik0+3ovwyMlsWj0THQKNRWiUK8VpcGeJr04FBGy07Q4D/ai fYFQ== X-Gm-Message-State: AOJu0Yyh/1XfSS4YbGk/YqJcEHVcEzXR0Mza92sjLGa9MYao8ZkKcwSb FuVmmjketY20AH/gzrO4FdBIOVFW5m5Cada3vzoO5dGCqDs1csQLAvWxwCSG5sUlg8vN6+bzVDk 326FGEKKUgi4mBMXZUebi68/g X-Received: by 2002:a05:620a:4489:b0:76f:20df:f038 with SMTP id x9-20020a05620a448900b0076f20dff038mr11224083qkp.12.1696623455778; Fri, 06 Oct 2023 13:17:35 -0700 (PDT) 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231006164206.40710-3-quic_nkela@quicinc.com> User-Agent: Mutt/2.2.9 (2022-11-12) X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 06 Oct 2023 13:19:02 -0700 (PDT) X-Spam-Level: ** 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