From patchwork Wed Sep 7 13:45:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Talpey X-Patchwork-Id: 12968995 X-Patchwork-Delegate: jgg@ziepe.ca Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3A4CC38145 for ; Wed, 7 Sep 2022 13:46:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229750AbiIGNqR (ORCPT ); Wed, 7 Sep 2022 09:46:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbiIGNpu (ORCPT ); Wed, 7 Sep 2022 09:45:50 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2058.outbound.protection.outlook.com [40.107.100.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F480277 for ; Wed, 7 Sep 2022 06:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aO9NeeHe1sPJ80V/tq4CnICwYa8fS3eZXDEoVDzbP3Hy5TtBd0pw1C/sSy0bFpSOQUXcRrA26xbxtnClLj3jWxe/fquVNd5M7hcpihBQnEeWteuxx0hCE8AErrNO78I0VcXXSDf7HIrdcetH+KLMm8Ndvfor1x+HlZPYXb45p6oOmiX9iYvVV5fmwqqTvcCQT9eqkmWqv+Z/ZxrnkLZDbfaEQMwCIOKfm2ARLzJ0Rkx9CAPYxHa2O/LQVz8ZR5I8lWpo855Ba5JWBA7coJC0WmWL/lyIrBDjDzcC5LW6x8QjSNWvo3DGvbGZVv2F35J7Yv3zdoHG+YeV6AzScozI+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ClFRrXXNwYj3osJFi9D/Tu1K94DMDk5Pw9rxnoWE1y8=; b=Sf+MHiRnTJckUX0BTMoH7K+NSdImIzjHGU+pS8SlLmXqwaPl+D8qbHYcsW1fPezbFsVwn20zq8ExoEX0+vbPQC3N1cad0vcaAFDbIIfggu57PGDMsIjLZADCqiSfqPnuHCsODd/k3s1PyqKZK+IS3CG6BhD7csEdnk+ekV78qlo5V2DqWo+qAgWK3kJY2/qv+cyELT1uG2rCr8YyuW7Yhs2OU/ePkKoN8lMCZkD4ueAntGqItWo0c/hjunQ4NOdLx0wpav2KhPIWf0PriMgw+n5ePPZdpXuhsDIDZzgeSPS1GEj+NxK4TBMHabGAG5tG9CibrABOdNhqMS+igcFSYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=talpey.com; dmarc=pass action=none header.from=talpey.com; dkim=pass header.d=talpey.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=talpey.com; Received: from SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33) by SN6PR01MB3645.prod.exchangelabs.com (2603:10b6:805:19::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.14; Wed, 7 Sep 2022 13:45:10 +0000 Received: from SN6PR01MB4445.prod.exchangelabs.com ([fe80::701d:e406:dcfa:118b]) by SN6PR01MB4445.prod.exchangelabs.com ([fe80::701d:e406:dcfa:118b%4]) with mapi id 15.20.5588.018; Wed, 7 Sep 2022 13:45:08 +0000 Message-ID: <4e7574d7-960f-9f92-e92f-630287f1903f@talpey.com> Date: Wed, 7 Sep 2022 09:45:07 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Content-Language: en-US To: Jason Gunthorpe , Leon Romanovsky , Bernard Metzler , "linux-rdma@vger.kernel.org" From: Tom Talpey Subject: [PATCH] Add missing ib_uverbs dependency from SoftiWARP X-ClientProxiedBy: MN2PR16CA0005.namprd16.prod.outlook.com (2603:10b6:208:134::18) To SN6PR01MB4445.prod.exchangelabs.com (2603:10b6:805:e2::33) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 282fa774-e1f5-49fd-fada-08da90d72da3 X-MS-TrafficTypeDiagnostic: SN6PR01MB3645:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AUm6tix9lJ0AByOe9Xw4lpyISKkAZ7h3R4RdyZDUs2sYks8rbDfMnRkVBuMxaR7eWX9J4yOjqrhOaz8eh0Z7hIPts4ytUHTUxU7FV5CbsezgVLIxG9nGBJ/tBJZAyHTv0IRthre9RU5A+TwROfulaWrOd7o1RDPbK9SQfTeSIFoeiELFf0K8xz+iMa0YWM/tHtvv+pfufQihOTusifwz/1HRFtLWa9XG+HO3BbM9vxrbqyY/bOAMG3el3G326LKKW3Hm1gQQwz8UQGboskfHH240feO69HRRgIkJXMDoIRLeeoWo/m8JT3xIr/2zmL9Q108oftLGVYvg/ZI7mp7AKQRljOjyeSMRbT7u547VZi2OlBHRBO9PuT8k/JvPEq8ZnPfQzzj8Fbp9JsE2fk2oNOkfsCRhM822q9U/Gc1poxj9DFaoT3vsgugM+/388Gi2Aa5EM7Pf86huNiCQSGsWmp3Ui7Xy9aHCWbHoqfZLcxGUx+LCvGJIn2K+KrrUTWxGr6Uno/hJ/oz/Zf0deJo90KjQLA7Lm0HxJNmTbRur37aekc2j4P8WmEKo/vP7BL1yIT3Ya/jXjFtp7ChCf+1zZh/ZE5LkLnlGOPWUar/gpBuo2RQ5XtTlga7dQTAMV26PnJqpKYy1AnHGakar0Bjl6GkCflA/lyBu2NNSt622l1pXpENaRzXpe/Z8RsADt522C2bVlRNrWvYrZQWIBzRETUvz2brzwi1cUNXiHZ8HQk6o8Z8+29na3xN1fde/uE58UidQLOnS01sS0RmvClp1sBEbwR+KSFDPEsISL0DZ5xE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR01MB4445.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230016)(39830400003)(376002)(366004)(396003)(346002)(136003)(26005)(316002)(66556008)(4744005)(5660300002)(36756003)(2906002)(8936002)(110136005)(8676002)(66946007)(66476007)(31686004)(6506007)(478600001)(41300700001)(186003)(31696002)(38100700002)(6486002)(2616005)(38350700002)(6512007)(83380400001)(52116002)(86362001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?TcO8AdaYwVER4kIzcTBh2d5fdR4r?= =?utf-8?q?xnB0hRFMlY+G+SePkhU8X2HZCFfUHqOrfYeJ1rjBPdfXuQdN/fYcfVIZTaKDwzxSG?= =?utf-8?q?TYt3xZwaW1sz4q2cUIE5b0Vlk17LLEZWtfxpjkAvsZlx3ReF+ffDvJL3yTXLhAQDN?= =?utf-8?q?lmPiRrpGPIkwU8OqeJQog3KpwAReQSdbcLPJOX3RUIX7IMfyf/NgsUczARsSm04oA?= =?utf-8?q?+q6ivNVtaADL50ej9sabK/4EvVI1jBVfUTK7Ctma0Fw17BTlvlIVshfbebvIsqcRr?= =?utf-8?q?fHuSTLr1NCktA0X7s56vOmC0ZH96OXuv3JYCxGl66GEV16M9OrdrUv1HuvTcmb7/S?= =?utf-8?q?QPA7FnuSxU95ajmXYU/uCWs4O8jGQiltPklNYCTFoTO6PceE/oW1Rx4qJw4JD/Oz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utf-8?q?tqTm6TBBxSiMsP36cabIscFoJIJSuJzTkPZSqySotay+e1qUuPgMFIAyn4gALe0L5?= =?utf-8?q?pCKdnN7zsznR07buOfjE4iM6P+cCUzgDFScKa+lEZKT66z5rJVM1Anp6ooqrW8SV+?= =?utf-8?q?hQUF2XztWZAcLRsXQpfWpXUbszMZdCQM57f46NpqJbmN/mFjgOV/a8zjzE0Sh3KxI?= =?utf-8?q?XQZp9ABMTDjzYvUMaf560apUIQ8DhkpjC4og1Z/Gc7j5+/wrbs9g+z1QT60Z+gX6e?= =?utf-8?q?PdGEoQbTpMqy?= X-OriginatorOrg: talpey.com X-MS-Exchange-CrossTenant-Network-Message-Id: 282fa774-e1f5-49fd-fada-08da90d72da3 X-MS-Exchange-CrossTenant-AuthSource: SN6PR01MB4445.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 13:45:08.5529 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 2b2dcae7-2555-4add-bc80-48756da031d5 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hyKIbqXQiMNr0NxFh0vfzhiWquvUlaQ1AsZo/sCbrO79LihiwsAXGtAbScgDwRP8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR01MB3645 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org When loading the siw module, ib_uverbs is needed so that consumers may access it. However, siw references only inline functions in ib_uverbs.h, so the kernel linker can not detect this, and the module is not loaded automatically. Add a module dependency to ensure ib_uverbs is present. Signed-off-by: Tom Talpey --- drivers/infiniband/sw/siw/siw_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/sw/siw/siw_main.c b/drivers/infiniband/sw/siw/siw_main.c index dacc174604bf..372b37b18bac 100644 --- a/drivers/infiniband/sw/siw/siw_main.c +++ b/drivers/infiniband/sw/siw/siw_main.c @@ -628,3 +628,4 @@ module_init(siw_init_module); module_exit(siw_exit_module); MODULE_ALIAS_RDMA_LINK("siw"); +MODULE_SOFTDEP("ib_uverbs");