Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6964982rwr; Tue, 25 Apr 2023 06:29:29 -0700 (PDT) X-Google-Smtp-Source: AKy350akv0hWSfWaD0cYiRHJkuP90oZ+gQSwOw8FMdg92UFxdPKhwNfiH7QuOazQYbqPrP2IIi9C X-Received: by 2002:a05:6a20:258b:b0:f4:ac2d:8ea0 with SMTP id k11-20020a056a20258b00b000f4ac2d8ea0mr10230262pzd.32.1682429369035; Tue, 25 Apr 2023 06:29:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682429369; cv=none; d=google.com; s=arc-20160816; b=JL9LCQwOeXt+RRTGvU3S0EQf27PH+Jye/mX2+zo8axRUPveooJ44P5x4sdb5sdDAIo YFwKEIfRiNjD8Gl4QYiVotSgbl3caV7LENxK2ufdKsnf0jF2NqY1o8UXxznJiy9oGF4z 5Ceq/6j27w1PgkNaeGLDvNaweRruoAGS+9JXoic5hdUoDzGewGjhgrM5MDa0WXkY3tfG hS35hkjIhL3Z/MuEfh7ZuCd9CmHjy4aeosdaE/tco909n++74wwShlDcOUHdvkrm9Rd4 xfbWqRjHkXUWkQ456a3nabOaVObKLiOlwwxlEdfifpX3da2PpDRtbN1shGGb2gQMq3xh XZCA== 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=XXp+CD+fPj7+q8VcUtdVyhDIX6JdvQLPOoghLCKH50o=; b=TMa6XEFitlEA8rA73mxbGUwjMYrKDqsw4hA9TkRUU0cPPGKKm/+/GPMmf9SWkk+3Pb RxIAm/oR0fwO1wJ+PQ4mUegZyWQ8dI0P0HrshCOPt9/jk+CL+ushGC9s44xTIFMINMJp lsAlnis5mJ77gJreyG+Vm+lbtkIs6yN1CspRAcs1PzcpY4+vWzwenhZSy4AGgqN6un/8 huFXfYIoCxz/EVh4R7vFgN3+JgeDBKqw4NhZ84nATdKcv78oRFFXGmTlhjRmKu78HVBd ru2GQvJQeiDy+y+JbSmcRZSDocsWgvrZMDPnX5OHtsAcsgVVGRShPYgcHh7+MrRqHP65 T8JA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u63-20020a638542000000b004fae5f0895dsi7550617pgd.45.2023.04.25.06.29.16; Tue, 25 Apr 2023 06:29:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234157AbjDYNXA (ORCPT + 99 others); Tue, 25 Apr 2023 09:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234083AbjDYNWz (ORCPT ); Tue, 25 Apr 2023 09:22:55 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD94D13C1C; Tue, 25 Apr 2023 06:22:52 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Q5Myp2Mbsz16PKW; Tue, 25 Apr 2023 21:18:58 +0800 (CST) Received: from [10.67.103.231] (10.67.103.231) 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.23; Tue, 25 Apr 2023 21:22:48 +0800 Message-ID: Date: Tue, 25 Apr 2023 21:22:48 +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 v2 0/2] mailbox: pcc: Support platform notification for type4 and shared interrupt To: Sudeep Holla , Robbie King CC: "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rafael@kernel.org" , "rafael.j.wysocki@intel.com" , "wanghuiqiang@huawei.com" , "zhangzekun11@huawei.com" , "wangxiongfeng2@huawei.com" , "tanxiaofei@huawei.com" , "guohanjun@huawei.com" , "xiexiuqi@huawei.com" , "wangkefeng.wang@huawei.com" , "huangdaode@huawei.com" References: <20221016034043.52227-1-lihuisong@huawei.com> <20230314111135.16520-1-lihuisong@huawei.com> <20230327113326.dgrb5ainl6mv7wr5@bogus> <570a6f6d-87cb-48ca-3bbc-cd1221bfa88c@huawei.com> <7ef4eec4-2cfb-6f66-a9b9-9c130a1b71d8@huawei.com> <57c537d8-6728-2ffc-3421-accd79c1eddf@huawei.com> <3d8e8817-12b9-62bc-4c04-34d8822d366f@huawei.com> <20230421105510.hjmyt4l3rpx36mhl@bogus> From: "lihuisong (C)" In-Reply-To: <20230421105510.hjmyt4l3rpx36mhl@bogus> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.231] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 在 2023/4/21 18:55, Sudeep Holla 写道: > On Tue, Apr 18, 2023 at 10:21:54AM +0800, lihuisong (C) wrote: >> 在 2023/4/14 21:48, Robbie King 写道: >>> Sorry for the delay. I ran my simple stress test against the patch set and >>> saw no issues. For the record it is by no means a thorough regression, but it >>> has illuminated issues in the past. >> Thanks for your testing. >>> The test itself uses a "heartbeat" module in the SCP firmware that generates >>> notifications at a programmable interval. The stress test is simply generating >>> these heartbeats (SCP to AP notifications) while also generating protocol version >>> queries (AP to SCP). The notifications are sequence numbered to verify none are >>> lost, however SCP to AP notification support does not support SCP generating >>> notifications faster than the AP can process them, so the heartbeat rate must be >>> reasonably slow (on the order of 10s of millliseconds). >> I understand your concern. I think this doesn't get int the way of what we >> are doing. >> >> My stress tests were also run in type3 and type4 concurrent scenarios. >> There were two drivers using type3 to send command looply on platform. >> In the firmware terminal window, >> there were two channels for type4 to generate notifications from platform at >> the 1ms(even shorter) interval. >> I didn't find anything issues in this stress after running a couple of >> hours. >> >> @Robbie King and @Sudeep, what do you think of my test? >> > IMO if there is a need to have this driver changes upstream, then it is good > enough test as it is the best that can be done at this time. We can always fix > the bugs or extend to new use-cases in the future. > > Since it is merge window next week, it is quite late now. But sometimes > Rafael picks up additional patches late. So please post v3 even if there > are no changes with my reviewed-by and Robbie's tested-by so that I can ask > Rafael to pick it up. Hi Robbie and Sudeep, v3 has been sent. Can you take a look at this series again? Looking forward to your reply. >