From patchwork Sat Dec 3 09:51:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huisong Li X-Patchwork-Id: 2569 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1291157wrr; Sat, 3 Dec 2022 01:55:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf7lvKY8+nP5rpMli+WrNJe8kxVn09o/LhlG17K388OzwBVfk69gRuOlt3E4Fv3HT3zSGWdc X-Received: by 2002:a05:6402:170f:b0:46b:f96c:98b4 with SMTP id y15-20020a056402170f00b0046bf96c98b4mr9104420edu.341.1670061354372; Sat, 03 Dec 2022 01:55:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670061354; cv=none; d=google.com; s=arc-20160816; b=yW8KOBtUo/h901G4wh4OPPBTmUv8lijhmvgMCWiDJ+AUOCLW+nlvKgBOfsR7VeLRQ/ Uk3hnTVy70AjT4zh9euh2jCdgqXG5psCfHz3jQyLKEsS+c589ikZdk+waUHAtUeBVjYk GTvoforqzlkJDoyode1XUu9dacAjLDjYzotf+m3Uxk4SGhFPEExLSdwQf8rtLbsbH3gz b1FtjLS4Q9guAzZckLQ8HLC1MiHRAscrmshvBGKLw2+gWOM+sjlTu6UaQP3mXxbXoNmQ ChNeZ8ZMICN0s7BBMPjg+lxBYmnD/n1y78ZTjhmWAel3QFJc0pOsussQD5U74PldntkM uhPw== 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=TMf3JPr4+g1IkPb/HMxOS10eNM6ow0fMoYnfZcTMVto=; b=N/9OrADmsyDRzTmau7wL1b7H6G4AwUVizuZvSZP58coXrrPzaK/VZSBEwZC2iF7CnH 90oMXdapS4oLHcy1uNJc/uLtySY8t/OB4DJ4ji877oEVLBa3nptfSpsTuAU2GRTvdDAh fgGEkV0mOpjhjipTRG0VSr1rtwpVVrgcE7OG/ZCpOJDTFAwi2vwHtTw6SweJp8GVUtze Njf21GIWZ8i+8v/bACAJW8PM/Myze8Bt/YwmA3Z2nZKV5SQjmJYvSRVEl0atnK49fnjo 3pgwBRDmuLlrpmrUlj3ITFzxg/zQZF7K6/yXLYfAc9bT/ZbhVJPqDhCQ0ceK4hDzNpHU UOOg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y68-20020a50bb4a000000b00461a32e0e38si7850123ede.306.2022.12.03.01.55.30; Sat, 03 Dec 2022 01:55:54 -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 S229609AbiLCJvp (ORCPT + 99 others); Sat, 3 Dec 2022 04:51:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229579AbiLCJvm (ORCPT ); Sat, 3 Dec 2022 04:51:42 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95BB2686A1; Sat, 3 Dec 2022 01:51:41 -0800 (PST) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4NPQ6l526tz15MwY; Sat, 3 Dec 2022 17:50:55 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) 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; Sat, 3 Dec 2022 17:51:38 +0800 From: Huisong Li To: , CC: , , , , , , , , , , , , Subject: [RFC-V3 0/2] mailbox: pcc: Support platform notification for type4 and shared interrupt Date: Sat, 3 Dec 2022 17:51:48 +0800 Message-ID: <20221203095150.45422-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221016034043.52227-1-lihuisong@huawei.com> References: <20221016034043.52227-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751186254512555250?= X-GMAIL-MSGID: =?utf-8?q?1751186254512555250?= PCC supports processing platform notification for slave subspaces and shared interrupt for multiple subspaces. --- -v3: split V2 into two patches. -v2: don't use platform interrupt ack register to identify if the given channel should respond interrupt. Huisong Li (2): mailbox: pcc: Add processing platform notification for slave subspaces mailbox: pcc: Support shared interrupt for multiple subspaces drivers/mailbox/pcc.c | 123 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 114 insertions(+), 9 deletions(-)