Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4211855rwi; Mon, 17 Oct 2022 03:11:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5/voRd+IjjDFa1+nztZece2S0IrfAkcuM0QWjPZxH6rJEy2sJOMnGXr44A07XHOMO6LALj X-Received: by 2002:a17:907:a073:b0:78d:51c4:5b8c with SMTP id ia19-20020a170907a07300b0078d51c45b8cmr7860498ejc.355.1666001492896; Mon, 17 Oct 2022 03:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666001492; cv=none; d=google.com; s=arc-20160816; b=kVoJcAgJudcE6uO1g5eGgaLo/tRfV5dTxVPbN0yIfEoiNE64J3WQ66Z1DUtwII1l5G U+oLdWuBTFvzgdsY0qEihvbUszJIWjI2bdmgD53PClMbUtUUtaXj3K5S/nhjMvNH8kxL x5MfiW03Q2/KdMqVBeucAlvN6opXWDh2gHnOnYPuwXzFXNt3T87UGv8cFsOTIqMgduvg UXpqtpfn1B64sxuxmWkg74XUsSwhw9GJ0gRqHIvVLqahkjfCLT3/h+kYknIaqB9YPi/d /pRrfbkCwWVu3N8s2uNNf4irMj0eaDeWs4mr2JO5BlAfRmXH7K17HChsnw3IDYtLHatZ Dr2Q== 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:subject:cc:to:from:date; bh=S81FH0ju4tiOhIpOpB5t0VMto3ULjOuasJPjwLVoMa4=; b=BePm3z5luQLIUgjuYBGeLM5CSMjdVPNSpgWb5mkqYENM5cFNjACH5pdNdqxhEqBQyR OsBtZHFEwQv+98ZBjwr5qBBiOB3bwoRygxjxXiiC7TfPhQQkBUlZI8+pmoYKQz5VY+yU FPcDw1Ws3kgv4apK9yNBwzpheylWTGv/6uPsobDOLySdWaY26lPLoEody4jh4ZqKJhqu tfOnRfFiDcqac1EGPqBB2iTFL5ZBEIsl4vxZwfqP9RSDcGij1kIhrvZEIHY4SjnAdoWB VoTfAV/pAB3HvYgipCML6pEqprnN9dlhVIowmxERb6lzTQDSOwN76jPKO4P5xX2IH0ge oEeg== 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 nc9-20020a1709071c0900b0078e27ef9501si7059672ejc.750.2022.10.17.03.11.07; Mon, 17 Oct 2022 03:11:32 -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 S230474AbiJQKJH (ORCPT + 99 others); Mon, 17 Oct 2022 06:09:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231600AbiJQKJB (ORCPT ); Mon, 17 Oct 2022 06:09:01 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97A04444A4; Mon, 17 Oct 2022 03:09:00 -0700 (PDT) Received: from fraeml704-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MrXgj34M9z67P77; Mon, 17 Oct 2022 18:05:53 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by fraeml704-chm.china.huawei.com (10.206.15.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.31; Mon, 17 Oct 2022 12:08:58 +0200 Received: from localhost (10.202.226.42) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 11:08:57 +0100 Date: Mon, 17 Oct 2022 11:08:56 +0100 From: Jonathan Cameron To: Ira Weiny CC: Davidlohr Bueso , , , , , , , , Subject: Re: [PATCH 2/2] cxl/mbox: Wire up basic irq support Message-ID: <20221017110856.00001dee@huawei.com> In-Reply-To: References: <20221014194930.2630416-1-dave@stgolabs.net> <20221014194930.2630416-3-dave@stgolabs.net> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-ClientProxiedBy: lhrpeml500002.china.huawei.com (7.191.160.78) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,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 On Sun, 16 Oct 2022 15:06:23 -0700 Ira Weiny wrote: > On Fri, Oct 14, 2022 at 12:49:30PM -0700, Davidlohr Bueso wrote: > > This adds support for mailbox interrupts, which are needed, for > > example, for background completion handling. > > > > Signed-off-by: Davidlohr Bueso > > --- ... > > + IRQF_SHARED, "mailbox", cxlds)) > > + dev_dbg(dev, "Mailbox irq (%d) supported", irq); > > + } > > + > > return 0; > > } > > > > @@ -441,7 +464,9 @@ struct cxl_irq_cap { > > int (*get_max_msgnum)(struct cxl_dev_state *cxlds); > > }; > > > > -static const struct cxl_irq_cap cxl_irq_cap_table[] = { NULL }; > > +static const struct cxl_irq_cap cxl_irq_cap_table[] = { Trivial patch mangling point but better to have the NULL on separate line in previous patch to reduce the diff here. > > + { "mailbox", cxl_pci_mbox_get_max_msgnum } trailing comma needed as we definitely expect to add more entries! > > +}; > > > > static void cxl_pci_free_irq_vectors(void *data) > > { > > -- > > 2.37.3 > >