Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1157652rwb; Thu, 10 Nov 2022 12:01:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf74z34KXLuZA84IMgfM9F7wE7cWjU8JIkqsC9pvMIyxmoyZ73YkOmDdbqNp8lQJ7q6cvUb9 X-Received: by 2002:a17:906:7801:b0:7ae:4a7f:3280 with SMTP id u1-20020a170906780100b007ae4a7f3280mr3437682ejm.265.1668110468688; Thu, 10 Nov 2022 12:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668110468; cv=none; d=google.com; s=arc-20160816; b=KwAMqowufr9+D8e7rd0QsV1xl+ABz1qiEdMQBcq+lK6NFPJaukpqS1HET+kGw/vSfk LSRrzmlqBtZaT4VMlN07NM00jy4nXpqApbAOiB0BnA5qpeeEnqOi33CtQQLd79H+eije 5ZNdHtUYV9VJ5vm+ZUCO0VU2kALGwDAPer6lCTkTvuIVrr/zd6q+Ya4El6EW9ec+0Jlp mZxGCKtsEviojK6XopZh2322yLKDrArrjvvIyD/hky1BfxOxSy24Jnw3yLcUNgnrMf6T kGEUe92gan/csvaWFs2yB5p6LxCco2lziFdTarMnDfkniQYr8Ez6VYmhdiNJQi4Xf/0p OVjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=2P9haRTb1zvGAFRy6QGhXEKDO1e39ATfnWllx9bukpQ=; b=klZ4drEzE4yRIL6DgkABhw1KjaGVWF9oXqO/90azR575taeOiVx43lPlUZx+x06LR3 6dAUDKubN+z6sJdAOvhXOLRbKwwZ00rfU7hVelWa63/zOi8ZPeaBCxZEebVky9WLHjcm LiwdLdunWUdcZsi1z1xe9mJaKXFbVNw8UFc9MVJ98iRnfQ+XI+i43Oquu30bem9SQHXX nGzh6Ts1RlmJF19EP3FS7hivKdi0syxXg0dEin3fGBl28Ozb7cyUFSaYojSjE+dF/pI0 BbIdCqcCM2M7jX+IIppMxUsF+r6/8KJH84cwj4QJNlew8CI491YxukCMhdESRFRRIGFw iPWA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id la26-20020a170907781a00b007ae814af66bsi134377ejc.389.2022.11.10.12.00.43; Thu, 10 Nov 2022 12:01:08 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbiKJT3j convert rfc822-to-8bit (ORCPT + 92 others); Thu, 10 Nov 2022 14:29:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbiKJT3f (ORCPT ); Thu, 10 Nov 2022 14:29:35 -0500 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA50865BE; Thu, 10 Nov 2022 11:29:34 -0800 (PST) Received: by mail-qk1-f169.google.com with SMTP id s20so1774937qkg.5; Thu, 10 Nov 2022 11:29:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eSVYD1v7K4BrYXK0u3SCv8ScBPQPneRqu4O2yg7mNMk=; b=hOfwHCJ8qqoKe+v7P7aZ703GZ2iIDHpQQ+Pps1kT6xhyI9sED5nIMrTPW52goguAA8 zxJBNl7HEgS5OPbyCagcvXL1jDwfpLclPUqXNfo10IO0KIpuXQRAQ5MoonSMMWZZnD2l l6eIP/suh/N8r7/zewstbbTNWzDrZHhIZ6kMWH0j4fByMKadsdRYAZSwLyQ8KGZ1iS4G Hoy9rNVyxlSBobnddE2mySNynJWpIjM4kol7W2bnq1eZiWvvjHj9y10e77qUGRIgaU0g IUQhI4PiOe9jKclc5joVfQ6gscewd/+LdxKNVOxe6oKsQlRXY6PdefSKL3U6dkU4g/v3 3WEA== X-Gm-Message-State: ACrzQf3lMl3+5Jc97ZT7dcpuNMzzva0+Q5s6HKALTVA4FqAn0rD613QZ uJNkgH2GhGcuWwjLPT7VYOcXpKBGaa7a/EJpBYQ= X-Received: by 2002:ae9:eb4a:0:b0:6fa:df0:f326 with SMTP id b71-20020ae9eb4a000000b006fa0df0f326mr1677320qkg.23.1668108573853; Thu, 10 Nov 2022 11:29:33 -0800 (PST) MIME-Version: 1.0 References: <20221110015034.7943-1-lihuisong@huawei.com> <20221110015034.7943-2-lihuisong@huawei.com> <20221110102528.6kuznowxtqkouvlb@bogus> <4f167ee7-ad50-d66c-8bd7-811fa0e83cfd@huawei.com> In-Reply-To: <4f167ee7-ad50-d66c-8bd7-811fa0e83cfd@huawei.com> From: "Rafael J. Wysocki" Date: Thu, 10 Nov 2022 20:29:23 +0100 Message-ID: Subject: Re: [PATCH 1/3] mailbox: pcc: rename platform interrupt bit macro name To: "lihuisong (C)" Cc: Sudeep Holla , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Thu, Nov 10, 2022 at 1:17 PM lihuisong (C) wrote: > > > 在 2022/11/10 18:25, Sudeep Holla 写道: > > On Thu, Nov 10, 2022 at 09:50:32AM +0800, Huisong Li wrote: > >> Currently, the name of platform interrupt bit macro, ACPI_PCCT_DOORBELL, > >> is not very appropriate. The doorbell is generally considered as an action > >> when send mailbox data. Actually, the macro value comes from Platform > >> Interrupt in Platform Communications Channel Global Flags. If the bit is > >> '1', it means that the platform is capable of generating an interrupt to > >> indicate completion of a command. > >> > > This is touching ACPICA header file, so it must be submitted to ACPICA > > separately following the guidelines in the github and imported into the > > kernel. > Got it, thanks. > > > > However, I don't see any point in this change. Yes the language "doorbell" > > is not used in this particular context in the spec, but it is implicit from > > other parts. I am not opposing the change though if Rafael is OK and ACPICA > > project accepts it. > @Rafael, what do you think? Well, I wouldn't send a patch to make this change myself, but if you really care about it, please submit an upstream ACPICA pull request in the first place and we'll see.