Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6037760rdb; Mon, 18 Sep 2023 01:59:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJfnNMnZZRVJCjNG2gk6U0NFMdxYHExDonlwm/O4hEXq7bowpmNLWiwbNTlj2V+/8niJgO X-Received: by 2002:a17:90a:d3cb:b0:274:757b:986f with SMTP id d11-20020a17090ad3cb00b00274757b986fmr5830984pjw.15.1695027574500; Mon, 18 Sep 2023 01:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695027574; cv=none; d=google.com; s=arc-20160816; b=dH9t2S+fvmcCdehT+nZbNB2PprX2UnY+hUxYSpLdX5Rd7A+ObvbkL22kWeCqrbtvkB Hu2yB5ws0hv6Gf3dNe/zXlMqnnaQuREvRrsJYyFxEP27WQRjo3VdE86/SmgAIu89lHaI A6o0nXoedfGWXqDcjjewYe74oIzim7dB2oXwZw8rliQUmz9JBjl8eWONbXS61LhaGDZT 86x/lpTOryYTyGWWcjRNIDL4+BIovZpY5pti/1BiFNFJkLPJHrbrBTA5gRCro3TZt13Z xOTHJnB4J+Urc7RtZ9K706FVjftDqobEF48E8EageOI8qF3tfBGb9cIBja1XnU8q2ua7 tw2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NQJyXs832BTQrRwpoxYbmbEFs4r1x4IA+3PFEqJFQqY=; fh=m93o/8iE9BuGdO1qlo9GNmE+QRuU8Laoa2shNJk2bXo=; b=Qh3LbBac9YSp7pqAVgj29KS3cCQVTvPaLXNZf/p2jkEKAm1rFz/AyIxwO7Mmh60sBP xhwv1M1gujjdjLz+BBBZWZkuxfBPLW28C0VgZUvWqdsYHiDE9AQcXXtHIRBOgAMMucY6 0mac7/UNteNQDR1h3GaeDx/HrtdVemWAbVOItlwlg6S5Cg3pMvmJur6xUkfo1QxDG5Wq B65Kg8aHRLznOGeMa2En2KWGskuWCQp2BWM9nBLYH+RncEZdKr+gYb5yw/LPVEjH2WfT xcPe5iWGTyz7/EmvaGPT2Y4FilmcsuSkd3z3sEDO2pFqRZFoIvLZSzChjcLx59SvgmQu xF1g== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id r4-20020a17090aad0400b0027540ebd2absi2364487pjq.187.2023.09.18.01.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:59:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 54A96806E3CE; Mon, 18 Sep 2023 01:45:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240854AbjIRIoj (ORCPT + 99 others); Mon, 18 Sep 2023 04:44:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241175AbjIRIoT (ORCPT ); Mon, 18 Sep 2023 04:44:19 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9BB44E49; Mon, 18 Sep 2023 01:43:59 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 32EC81FB; Mon, 18 Sep 2023 01:44:36 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C00B03F5A1; Mon, 18 Sep 2023 01:43:57 -0700 (PDT) Date: Mon, 18 Sep 2023 09:43:55 +0100 From: Sudeep Holla To: "lihuisong (C)" Cc: rafael@kernel.org, rafael.j.wysocki@intel.com, Sudeep Holla , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, liuyonglong@huawei.com Subject: Re: [PATCH] mailbox: pcc: export the PCC subspace type Message-ID: <20230918084355.rzh7k6y7uuaitanj@bogus> References: <20230914115753.9064-1-lihuisong@huawei.com> <20230914161335.rz6fn4w2pqzz4wdp@bogus> <5ec151a4-5e2c-7745-c8ef-1edc5e7ef157@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5ec151a4-5e2c-7745-c8ef-1edc5e7ef157@huawei.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 01:45:23 -0700 (PDT) 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. -- Regards, Sudeep