Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp590165rdb; Tue, 19 Sep 2023 04:56:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETK5gi6Dw09L7X+c4WghSZ1RQIIROd/9QQeYQ0RShiZFfwzRXA0Jfy3ejCcEYI4h/6rAf/ X-Received: by 2002:a05:6808:17a3:b0:3ab:5e9e:51f1 with SMTP id bg35-20020a05680817a300b003ab5e9e51f1mr15442158oib.46.1695124612357; Tue, 19 Sep 2023 04:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695124612; cv=none; d=google.com; s=arc-20160816; b=swf0Bjmc85VAyjGoJHRArz97qQMTUb02bfmtmJfihLB5rYoCPMesZINqdiHjFlzGGW 4obpNySJe23xUuTmT+R1O8B6qr+LTrfsZHjLjAJkq96lgjqCSL6vp24xCh0kEwYCXKa3 YRHcM1scqvsojutFNdB9OOIBL/oHHJf8wsc0BpApcYkKppeHWArYXKrxfqYXOAHeLRsI /nyYKrI3JrkeAfkOQEVAm+d0/1k8q7unNXSqt6wfrOB4dX8kjPq/t5pb38QXkVMXOZgS ORV+6XgmmT1hIxU6i1hvcx5mB34LKgzfA0+0e5XVMpycISu13GLmqr70xmbVvXPvrAuL B8HA== 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:subject:user-agent:mime-version:date:message-id; bh=VKWMZqRDuq4ywxz4+G6SuB+3Yd/4rK1t2EWxlOun9j0=; fh=QkVInqgo7mbHnUMbB7x1bpxpdFYGaQ4YixVQMjq5LLs=; b=VUk/zlQ8apcsLA3V5tGKacSALTk4mOBpcycEDpBui++04uh5z46ef7TjIrNMR/VcRt Fwoe9mBbgtTuTvejyb88o6EWo1KqMBNCA6QdmmWTSlxm4ecGGU9htPj/tMoZhnzXqnzW xijQNpzBb6hjG5b4dSa6QQavkmgQsprOUlsqqfwPgqRzeiUASZFCPyJlSsIPU71wY/51 Q7wbOASQ7x0GrSlYcZFi1rUfcWyGb8A4ng5OVF5yCUPvu4Zy8SRZ/6tGqIxwjM9ON7V1 h7RcAVEqhCbWhGraUjyZdd8SV1PNqlrchRWBH9Us5xU56lAZr6WlOmqs0tMUQm7p8fSi 8yWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z21-20020a631915000000b005775302b11csi9519059pgl.81.2023.09.19.04.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 04:56:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DBB708131C24; Tue, 19 Sep 2023 04:51:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbjISLvZ (ORCPT + 99 others); Tue, 19 Sep 2023 07:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjISLvX (ORCPT ); Tue, 19 Sep 2023 07:51:23 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23B85F0; Tue, 19 Sep 2023 04:51:17 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Rqfys3JN8ztSvR; Tue, 19 Sep 2023 19:47:01 +0800 (CST) Received: from [10.67.121.59] (10.67.121.59) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 19 Sep 2023 19:51:14 +0800 Message-ID: <52ebd11b-eeb7-4316-84be-b8e7f2022621@huawei.com> Date: Tue, 19 Sep 2023 19:51:10 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH] mailbox: pcc: export the PCC subspace type To: Sudeep Holla CC: , , , , References: <20230914115753.9064-1-lihuisong@huawei.com> <20230914161335.rz6fn4w2pqzz4wdp@bogus> <5ec151a4-5e2c-7745-c8ef-1edc5e7ef157@huawei.com> <20230918084355.rzh7k6y7uuaitanj@bogus> From: "lihuisong (C)" In-Reply-To: <20230918084355.rzh7k6y7uuaitanj@bogus> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.59] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 04:51:30 -0700 (PDT) 在 2023/9/18 16:43, Sudeep Holla 写道: > On Fri, Sep 15, 2023 at 03:04:57PM +0800, lihuisong (C) wrote: >> 在 2023/9/15 0:13, Sudeep Holla 写道: >>> On Thu, Sep 14, 2023 at 07:57:53PM +0800, Huisong Li wrote: >>>> As stated in APCI spec, the size of the subspace shared memory region may >>>> be different for different types. So it is useful for driver to fill PCC >>>> communication space. But the driver used this PCC channel doesn't know what >>>> is the subspace type of the channel. >>>> >>>> So export the PCC subspace type by requesting PCC channel. >>>> >>> I would prefer to avoid this, but please post it with user to get better >>> understanding of it. >> Hi Sudeep, >> >> Thanks for your fast review. >> Sorry, I cannot fully understand what you mean. What should I do for it? >> Currently, it seems that the subspace type in all drivers used PCC is fixed >> and not obtained from their platform. >> IMO, PCCT is a best natural way to export it. >> > OK, but please post the changes in the *driver* you ought to use this channel > type. Your change just allows the drivers to use it but it doesn't contain > any driver making use of it. So please post that change as well to understand > the issue better. It helps in the review. All right, I will post it ASAP. >