Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5330452rwb; Tue, 1 Aug 2023 00:11:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlEmcrkNZJrdM3Yz+lV65fKRgcSVZ7A66G8U8iY6LDeU7ORevKIanm5yRDx6HOiZ0Nd2160J X-Received: by 2002:a19:6509:0:b0:4fb:7d73:d097 with SMTP id z9-20020a196509000000b004fb7d73d097mr1320533lfb.39.1690873897429; Tue, 01 Aug 2023 00:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690873897; cv=none; d=google.com; s=arc-20160816; b=RVGItKnmFhLKKhC7G0txXEKfYhzJG1k7lRU74WIEeBpQuxlk+PNJGazkSaFeTqOU4j bK4cyaBWR3EmjKk79q9EPXjiLryIzJ1TcG3kfNYiRHTMvLt2W4kNYtswKrYqs9G2XJp1 oQfAxYqTm0dety9M0jPDonVUjq/Vx8XpnBJ9+j5vtNemmc+A0o2o/aYqB350QD3nzv+s zvwHFsx8qJTDL2E9Vc6qB5g2+9L6xDr3Y6tyfHMkIzdJrl/2zvdo8d+BgfvONMLk7+BS m7BYO4bXCOEO9Iw89C3bItOKh7j9EGgzY5QRdikAlilzaUqYfiqIZpvZMfBhssTH/njh e3/A== 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=f6W5/u+u07XHA5xW4haTAE/G1A3/Qaub5s/pJXoBJ/A=; fh=m7FhWntuUuu7U/4pJNINO1mnN4WlOCl7WD2ilYXQ9RI=; b=IVeH++HDXlKfFJ4sRtXGu1jThi8l1/Fd5tVb7+o0RpmmCma69/q319pYU54r9pIS1M RkJbvboyJ9dbjvNoCJSfqrzrYx8+QL73XiTYYzPugRX2vqePeXI9BUpcMWl6viUCKl1L O/wBNs7DzULJ54IXWtnSau03TB2CWuIGPM4t0uNbAWv/sMRdpVZXHROwaKLE7XecwJKe WULuYBX07SAnbki5uQEH9tPJqujlfoTBsnSr9eV5MGn6Wk85Shz7RweuhrwPzkG3Zgf/ keu2aWdCBOK1777aKiubwKwcHNZypCOjzLdYUHtHKyhqeWM10+ED6S2QM/sYIA4RJQoD yBWg== 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 v15-20020aa7d64f000000b00522b1a64ab8si4390382edr.21.2023.08.01.00.11.08; Tue, 01 Aug 2023 00:11:37 -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 S231895AbjHAGmO (ORCPT + 99 others); Tue, 1 Aug 2023 02:42:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231831AbjHAGmF (ORCPT ); Tue, 1 Aug 2023 02:42:05 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09528198C; Mon, 31 Jul 2023 23:42:00 -0700 (PDT) Received: from kwepemm600004.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RFQVK1wMLz1GDL1; Tue, 1 Aug 2023 14:40:57 +0800 (CST) 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.2507.27; Tue, 1 Aug 2023 14:41:57 +0800 From: Huisong Li To: , , , , CC: , , , , , , , , Subject: [PATCH RESEND v4 0/2] mailbox: pcc: Support platform notification for type4 and shared interrupt Date: Tue, 1 Aug 2023 14:38:25 +0800 Message-ID: <20230801063827.25336-1-lihuisong@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20221016034043.52227-1-lihuisong@huawei.com> References: <20221016034043.52227-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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 PCC supports processing platform notification for slave subspaces and shared interrupt for multiple subspaces. --- -v4: add Reviewed-by. -v3: update requesting shared irq code due to pcc using mbox_bind_client. -v2: extract cmd complete code into a function. unrelated types regard chan_in_use as dummy. -v1: using subspace type to replace comm_flow_dir in patch [1/2] -rfc-v3: split V2 into two patches. -rfc-v2: don't use platform interrupt ack register to identify if the given channel should respond interrupt. Huisong Li (2): mailbox: pcc: Add support for platform notification handling mailbox: pcc: Support shared interrupt for multiple subspaces drivers/mailbox/pcc.c | 91 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 80 insertions(+), 11 deletions(-) -- 2.22.0