Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4517698rdb; Fri, 15 Sep 2023 05:00:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiTKZEwEQdTHziGwuLFn/ErNdw8ffESsnToqxNVBb4hk6hvqUK5UpgyWXHCzcvJAZE+kzn X-Received: by 2002:a92:c807:0:b0:34f:3b12:799e with SMTP id v7-20020a92c807000000b0034f3b12799emr1998362iln.0.1694779203517; Fri, 15 Sep 2023 05:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694779203; cv=none; d=google.com; s=arc-20160816; b=OyB9TYBQqSLZ0oILwlN+2EcWJL9O9MUne79f1NJ04YsQ0pks757LHOxnpZKGTBFqwG EknoFLHP1BPO6GKi/lN0yBU9+OJWNFFg26Vfa8gr97QRKM3fxm+67lXhgB2Thqj9xIUr nv3ekZpB3QE8hzi6qJtFjE4vYlDklJot66EiDuJVCte1W24Kr+sfSOSIn7hDutt6OZXN 3GrkJY5TMBiIHKtyzvANbA7u7VT2NdDl/ygL+oq/0xKZLqyob7l7ridF0hLJc4LCSl4n 9eTzuN1faEJCG/W2DRhKcQxJBmON6JPKU64owJcM1An5++fLG3yO0gYZP9H/dWbwHYsC Hmsg== 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=Nu0pPV+JcDGKjO27gnOFnSefawW2eJeo2qUc0hct8cg=; fh=QkVInqgo7mbHnUMbB7x1bpxpdFYGaQ4YixVQMjq5LLs=; b=Zt+k0tWxbFnisJ6wwHIIjzbJPiPg+kRMJ4bUtr1Mhdryk27DTpIok+9AneUErksEoP vfhmgKXgy7vdrSDSszdGYN25YYD5op0XaPrgUhz4EUAtMMKEfvwlnWaf7pzFDQoUSxiW C6/FcvVEAftyUVlyy4yVmgLhdR3ZURYhFfQBd6Ps1fL+VipnlGyjR0qEMD7lb36NmUnk QlReRU8HRRbW43L+f7yG/R7Zg8Mt/ppMV77Qz/0tOUA62JLiDG539Opi8x8Dk0d40XFq CaXv23BG8/qiC2M3if03wTai/Ps8oFeiNDczQTAP1wZCMu2qKJ1vDsjjB3+/HeFTZdYu 3XdQ== 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:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bx25-20020a056a02051900b00573fc12065csi3433081pgb.242.2023.09.15.05.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 05:00:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 18A48801B335; Fri, 15 Sep 2023 00:05:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232555AbjIOHFe (ORCPT + 99 others); Fri, 15 Sep 2023 03:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbjIOHFc (ORCPT ); Fri, 15 Sep 2023 03:05:32 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FACDE0; Fri, 15 Sep 2023 00:05:27 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Rn4rz0ztdz1N85b; Fri, 15 Sep 2023 15:02:59 +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; Fri, 15 Sep 2023 15:04:57 +0800 Message-ID: <5ec151a4-5e2c-7745-c8ef-1edc5e7ef157@huawei.com> Date: Fri, 15 Sep 2023 15:04:57 +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> From: "lihuisong (C)" In-Reply-To: <20230914161335.rz6fn4w2pqzz4wdp@bogus> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.121.59] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:05:36 -0700 (PDT) 在 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. /Huisong