From patchwork Wed Jun 3 11:47:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Stankiewicz X-Patchwork-Id: 197682 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F29A8C433DF for ; Wed, 3 Jun 2020 11:47:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2F4720674 for ; Wed, 3 Jun 2020 11:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725948AbgFCLrf (ORCPT ); Wed, 3 Jun 2020 07:47:35 -0400 Received: from mga18.intel.com ([134.134.136.126]:38546 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgFCLre (ORCPT ); Wed, 3 Jun 2020 07:47:34 -0400 IronPort-SDR: dpwGoDlD3tSRnLRVv8T7Zp/P5IEbLYVwP3Gug3Gk/ZvKZR76chr6LK4DnB8b3tiz7IDsTaleTF SvskWlwqxVgw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2020 04:47:34 -0700 IronPort-SDR: gxBe0vgcO1TXwAf8s1TkGoJaY1tNpzPwLFqBPkHO5SwoRTQKLkY1dxwXT6s6mkT/UfJ/C5G4RA JKeAvboP3nJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,467,1583222400"; d="scan'208";a="378081506" Received: from gklab-125-110.igk.intel.com ([10.91.125.110]) by fmsmga001.fm.intel.com with ESMTP; 03 Jun 2020 04:47:32 -0700 From: Piotr Stankiewicz To: Bjorn Helgaas , linux-pci@vger.kernel.org Cc: Piotr Stankiewicz , Antoine Tenart , Herbert Xu , "David S. Miller" , Pascal van Leeuwen , Arnd Bergmann , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 05/15] crypto: inside-secure - Use PCI_IRQ_MSI_TYPES where appropriate Date: Wed, 3 Jun 2020 13:47:27 +0200 Message-Id: <20200603114729.13128-1-piotr.stankiewicz@intel.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20200603114212.12525-1-piotr.stankiewicz@intel.com> References: <20200603114212.12525-1-piotr.stankiewicz@intel.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Seeing as there is shorthand available to use when asking for any type of interrupt, or any type of message signalled interrupt, leverage it. Signed-off-by: Piotr Stankiewicz Reviewed-by: Andy Shevchenko Reviewed-by: Antoine Tenart Acked-by: Herbert Xu --- drivers/crypto/inside-secure/safexcel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c index 2cb53fbae841..1b2faa2a6ab0 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -1567,7 +1567,7 @@ static int safexcel_probe_generic(void *pdev, ret = pci_alloc_irq_vectors(pci_pdev, priv->config.rings + 1, priv->config.rings + 1, - PCI_IRQ_MSI | PCI_IRQ_MSIX); + PCI_IRQ_MSI_TYPES); if (ret < 0) { dev_err(dev, "Failed to allocate PCI MSI interrupts\n"); return ret;