Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1585741rwb; Thu, 10 Nov 2022 19:28:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf5YHZJHpvD0i47DZYdV9oRjA7PjifdsNDuJPj7GehRuUZavSLdU8q+dxD2XGnxa5oDKQR/s X-Received: by 2002:a17:903:3111:b0:186:5ef5:bda1 with SMTP id w17-20020a170903311100b001865ef5bda1mr633808plc.78.1668137310366; Thu, 10 Nov 2022 19:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668137310; cv=none; d=google.com; s=arc-20160816; b=rUuCXprJfq5PpwWV4obW4pYWOFX3om0XeKi7asOINrFskOeDe6kYJtPFiv9p2UU7ze PkVrIM5FYLYYt/DLkoGkt3bEvg6PwfN+gBDkSLS/qjPBvfdEnuvLREzhGGx5Abb4/jMt s84N0x1zxih/VbGiacdBq/KGPjA6burupwiUTWy5LD+gNbob1yuLuG7qGBBEAuY1xPt0 Y5QWe9qSqmZdYHtwO6gCblPQpaY7/ILYCwygynGN8qnlFlSwYUV5L0zWKQnAfkHBms5G KJoyu3ujKPcvRsPkiStPp+yY3E7JPeaN5kY0dVPZ05Ksgcf/9o8xdL6AZ0OHZpIFuvOF w6rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=l0xpexgr6SskaMM/yGGAtfLIOuVLeqxi9FesOlvRAs0=; b=qx0McGPOep00uQAIAKIgSoZ+z2oNDkg8GXvOpRRfHF69/KChmHuUS0io2m0qG/DOPG iK5FuBDl1pMtF4gBHKpUpdvuZSvtqDiKKSzcV4n6Aw7EVQoMyRF8Qs58C+j0WP8HVxl8 5lFbwVApGSWfvijfNrqEcLgImE+bQ0nijdVMWwR8r0tworoTm9HNo/8axRoLCII4Runn XnosppbYWbn8fy+RX86E+CntDsyc4IdgxcoEm3yedAxZ904bY55i3Pk7+nACLWhy5KQY W8vZuGWaKhWtrl9957manY8Wp0L+4iAy5H8oFrq3Bfa37Nf7ntH908N6uOV80Ct4xjgR sX3Q== 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 w8-20020aa79548000000b0056f0d233a56si999361pfq.235.2022.11.10.19.28.18; Thu, 10 Nov 2022 19:28:30 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233015AbiKKCtz (ORCPT + 92 others); Thu, 10 Nov 2022 21:49:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232594AbiKKCth (ORCPT ); Thu, 10 Nov 2022 21:49:37 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 120FFCE13; Thu, 10 Nov 2022 18:47:05 -0800 (PST) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4N7jlK6LYCzHvm9; Fri, 11 Nov 2022 10:46:37 +0800 (CST) Received: from kwepemm600004.china.huawei.com (7.193.23.242) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 11 Nov 2022 10:47:03 +0800 Received: from localhost.localdomain (10.28.79.22) 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.2375.31; Fri, 11 Nov 2022 10:47:03 +0800 From: Huisong Li To: , CC: , , , , , , , , , , , Subject: [PATCH V2 0/2] optimize pcc code and fix one bug Date: Fri, 11 Nov 2022 10:44:46 +0800 Message-ID: <20221111024448.25012-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20221110015034.7943-1-lihuisong@huawei.com> References: <20221110015034.7943-1-lihuisong@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 This series addes check for platform interrupt in acpi_pcc.c and fixes a problem that mailbox channel can still be requested successfully when fail to initialize PCC. --- -v2: drop the patch that rename platform interrupt bit macro --- Huisong Li (2): ACPI: PCC: add check for platform interrupt mailbox: pcc: fix 'pcc_chan_count' when fail to initialize PCC drivers/acpi/acpi_pcc.c | 47 +++++++++++++++++++++++++---------------- drivers/mailbox/pcc.c | 1 + 2 files changed, 30 insertions(+), 18 deletions(-) -- 2.22.0