Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3847987imm; Mon, 25 Jun 2018 05:43:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ7Pwws8Y8D4ESxdMOZqbLga7ILfLsqlAP61564HzL1FIk7TziFXCVo8yml6k4hzlXXmU9v X-Received: by 2002:a62:4ad3:: with SMTP id c80-v6mr12986142pfj.23.1529930603783; Mon, 25 Jun 2018 05:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529930603; cv=none; d=google.com; s=arc-20160816; b=zQ+wcYzrgXYaVO2384UFS0n6BpafMFYnDbI0tVSh/HYSbkkGKx9fHizqNkvUE6wamn P122DAg89qzPLrJg8WzuDC305R/Ugs0U/5pHuOcDfPNJmYjnlCGNg1gNfncr5NfGecYZ NEHnim2YyUXNGJi+qRHoq/AsFn9t/2ovDHJ3yI3dDI7qnfSt9/ArOqcH+fZnqmgez9qw PE90TMODXwfQvn7eA0GGnHXbXX3PsYRYXMlEwIZpbYFxvSzHHtUPpUOhV11G4QPKYc3l YqdS3hgeyJTjQIkNUbZt+0rL/q7dXrQ4lg2spVXfjIReSFAvwgYl1cH7tQOh1RK66Yag jr7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eh4gOoIe4myjpS8+D8BokYyoVKXC1UGrFoC0Po9OKSY=; b=TL9igWGTbr5WLJ1MKxQM2pq6hLaHMRB4f+pDKVv7p5+UuK/mY5cdc5c2vEE0hQLTH3 kTV+QibfXkbU9IcmUaPuE8FxHOKuTwRJGWebsh++uttfqR83AIp4Yb6w1nxemNWkBEAH kj7tbLkHpWbr1pjxWw6vuYhF0DBpRS35uqKfDLgrkLPipcxlZIRNFBttjJLWW3mLjxHf R7yq8TcR1YByrYyYGdBQC/g/OeAWVoxALQHWwFTnyckbNMotqmGwfrIRySfx+U2mwW88 mmRTAyfFw9izRpY8+/O/5bPutTH5stHigl0ljxFNz+YUl8vUCrSguZyDsmIDqwWiqSjz Hlcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cc1-v6si6115848plb.458.2018.06.25.05.43.09; Mon, 25 Jun 2018 05:43:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933775AbeFYMjQ (ORCPT + 99 others); Mon, 25 Jun 2018 08:39:16 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42010 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbeFYMjN (ORCPT ); Mon, 25 Jun 2018 08:39:13 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 18563200018; Mon, 25 Jun 2018 14:39:12 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (inv1260.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D9F1920008B; Mon, 25 Jun 2018 14:39:11 +0200 (CEST) Received: from az84smr01.freescale.net (az84smr01.freescale.net [10.64.34.197]) by inv1260.na-rdc02.nxp.com (Postfix) with ESMTP id 4664540A70; Mon, 25 Jun 2018 05:39:11 -0700 (MST) Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id w5PCd34M025070; Mon, 25 Jun 2018 05:39:08 -0700 From: Yangbo Lu To: netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: [v4, 01/10] fsl/fman: share the event interrupt Date: Mon, 25 Jun 2018 20:37:07 +0800 Message-Id: <20180625123716.28993-2-yangbo.lu@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180625123716.28993-1-yangbo.lu@nxp.com> References: <20180625123716.28993-1-yangbo.lu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch is to share fman event interrupt because the 1588 timer driver will also use this interrupt. Signed-off-by: Yangbo Lu Acked-by: Richard Cochran Acked-by: Madalin Bucur --- Changes for v2: - None. Changes for v3: - None. Changes for v4: - Added ACKs. --- drivers/net/ethernet/freescale/fman/fman.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/freescale/fman/fman.c b/drivers/net/ethernet/freescale/fman/fman.c index 9530405..c415ac6 100644 --- a/drivers/net/ethernet/freescale/fman/fman.c +++ b/drivers/net/ethernet/freescale/fman/fman.c @@ -2801,7 +2801,8 @@ static irqreturn_t fman_irq(int irq, void *handle) of_node_put(muram_node); of_node_put(fm_node); - err = devm_request_irq(&of_dev->dev, irq, fman_irq, 0, "fman", fman); + err = devm_request_irq(&of_dev->dev, irq, fman_irq, IRQF_SHARED, + "fman", fman); if (err < 0) { dev_err(&of_dev->dev, "%s: irq %d allocation failed (error = %d)\n", __func__, irq, err); -- 1.7.1