Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8764130rwb; Thu, 24 Nov 2022 04:06:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5p4dL5wJwIK1yejphDjpBmsDki7u/JcpYvG0E7weeKRinQwPEF/PyboqODk4b59K7d3JQF X-Received: by 2002:a05:6402:388e:b0:468:fb0d:2d8b with SMTP id fd14-20020a056402388e00b00468fb0d2d8bmr27960029edb.124.1669291592320; Thu, 24 Nov 2022 04:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669291592; cv=none; d=google.com; s=arc-20160816; b=cTvYeY8ycg9FuaVaFs2WmHIRgG5e1Y2sWDFTTA+9C9j218H0Lfw9xGt0uPA6qazQ3W 3A9z5kYo6bbC/vYltKtl/bCu2SF1bAt5Lun6IuGYcvXKlmtLKdwj0T3oYhPIOxswavAq qfPI+JsiQMrea0VLlX9kUS3/TkaII4r0/V46yuEAtKIkPNzXXpP+Vmcrz+t1Gih6odJm r3pZQZLTuqP5W4ZxXDzbF6fk+A/vDS+qiZ8S8sOUwuA0NZcw32SGBax/s5nKU8UJn0ZT rc97i6C3YMYb6oHtL/PgfPs8J+ljCeDtwCS4kTBvCIoP7EV4S3bTn3cCazRmZ0efxnsl YKaA== 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=4ubx8X9Tx5sV1H6mIl5VNYW8weMqeJ+garPqVLyJzSg=; b=m9hmCsYGJngguxp9YUqV2/h+NVusZ1KKCZThQKGCwmXZXsXEFqytGQfZWakW22fyoP N88yb3T4/siPnsLs2DA1MGFuEVQlFtc405hYw1ZGInxJTTqazmijYoDPFqw/GmY1q6x6 k5lPXrCiMTlWZbNSyW6I8ZjxpQfFsce/g4JfLwSNEkFsyqZO6XcExVnmw+MTMDYjq/1p inP7rF/oBQ1MsYHw1bRc6Kr4HpoDRwsgiw+gYpuMc3mWyVbiWJvWLQq+gbtQtHZslpLX DEQHK9glZkqmcO73QISapm9TlnKWlhHRIq5CxWyJIJP+NszPA41IPO5lZYQyIDtzLXXU qHZw== 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=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr24-20020a1709073f9800b00783d1a13d69si892720ejc.231.2022.11.24.04.06.09; Thu, 24 Nov 2022 04:06:32 -0800 (PST) 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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230000AbiKXL5N (ORCPT + 86 others); Thu, 24 Nov 2022 06:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiKXL5M (ORCPT ); Thu, 24 Nov 2022 06:57:12 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 094AAC6611 for ; Thu, 24 Nov 2022 03:57:11 -0800 (PST) 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 47C2223A; Thu, 24 Nov 2022 03:57:17 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 03C543F73D; Thu, 24 Nov 2022 03:57:09 -0800 (PST) Date: Thu, 24 Nov 2022 11:57:07 +0000 From: Sudeep Holla To: =?utf-8?B?546L5rSq6L6J?= Cc: Cristian Maruss , Jassi Brar , linux-arm-kernel , linux-kernel Subject: Re: =?utf-8?B?UmXvvJpSZQ==?= =?utf-8?Q?=3A?= [PATCH 3/3] arm_scpi: modify to support acpi Message-ID: <20221124115707.e5hsb5we25rzstv6@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Hi Wang, Please use text for your emails. I think it is html and I can't read it. On Thu, Nov 24, 2022 at 07:17:32PM +0800, 王洪辉 wrote: > For ARM64, If boot from uefi, SCPI driver should support ACPI to show CPU temp & freq, This patch is for the case, I had test ok on Phytium FT2000/4 plantform. And please append Patch V2 3/3. > >                                                                                     ---原始邮件--- > 发件人:"Sudeep Holla" 发送时间:2022年11月24日(星期四) 晚上7:10 > 收件人:"Wang Honghui" 主题: [PATCH 3/3] arm_scpi: modify to support acpi > Hi W                                                                             > ------------------ Original ------------------ > From: "Sudeep Holla" Date: Thu, Nov 24, 2022 07:10 PM > To: "Wang Honghui" Cc: "Cristian Maruss" Subject: Re: [PATCH 3/3] arm_scpi: modify to support acpi Doing %s/ / /g gave me: > For ARM64, If boot from uefi, SCPI driver should support ACPI to show CPU > temp & freq, This patch is for the case, I had test ok on Phytium > FT2000/4 plantform. And please append Patch V2 3/3. Let me repeat. You must use PCC driver without any phytium ft2000/4 platform code. All platform specific code and SCPI protocol must be hidden/abstracted in ACPI AML. Your changes are not acceptable for upstream. No change will be allowed in SCPI for ACPI as it needs to go in the firmware tables. Also I noticed drivers/mailbox/phytium_mailbox.c doesn't exist. So this patch is wrong in so many ways. Please check on how to represent phytium_mailbox hardware using ACPI PCC and add AML code that uses SCPI to achieve whatever you want. You may want to check on how to use PCC OpRegion as well in ACPI. -- Regards, Sudeep