From mboxrd@z Thu Jan 1 00:00:00 1970 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E091C433F5 for ; Sat, 30 Apr 2022 15:02:18 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D97DE1EA; Sat, 30 Apr 2022 17:01:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D97DE1EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1651330935; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=BRDhV1OHjax+GLloXHH9ffUvoNU9B6s+Ay7oTqTxyLVudE+ptHPffbisg5Rojdljb kMUSAALKhLQOvecxgc1O5TBADwKF82oVo4hAtSn8ibCv0okivw08w38niBjqa5UjBx SDpGBhY7cJGZylM8SHwO6YJ/wWs//08jgadqzpYk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 67BB3F80128; Sat, 30 Apr 2022 17:01:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A02DDF80125; Sat, 30 Apr 2022 17:01:23 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8FEB3F80125 for ; Sat, 30 Apr 2022 17:01:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8FEB3F80125 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cyIUBA6p" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 477AFB8013B; Sat, 30 Apr 2022 15:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4BCC385A7; Sat, 30 Apr 2022 15:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651330875; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cyIUBA6pqqg/B5wyOdcBDSKNfjtyMoj5sWt3Xdh4pX+zHEGGcxKJ95CN6T0JFdHby hV9/K8uobLdNYn/ulaPsgu8Fx2ZaTb2Xue2Dzv8mIqmlZJHvELez5fJErThevr2fUv pPLrIsIA43sEFEbS80j0j1nzwT++PjVZBIhE1KHg= Date: Sat, 30 Apr 2022 17:01:12 +0200 From: Greg KH To: Mauro Carvalho Chehab Subject: Re: [PATCH v3 1/2] module: update dependencies at try_module_get() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: alsa-devel@alsa-project.org, mauro.chehab@linux.intel.com, David Airlie , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, Lucas De Marchi , Takashi Iwai , dri-devel@lists.freedesktop.org, Kai Vehmanen , Luis Chamberlain , Daniel Vetter , Dan Williams , linux-modules@vger.kernel.org, Pierre-Louis Bossart X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, and call it when try_module_get() is used. > > Reviewed-by: Dan Williams > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B855C433EF for ; Sat, 30 Apr 2022 15:01:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E20D210E7F2; Sat, 30 Apr 2022 15:01:20 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id D961610E7F2; Sat, 30 Apr 2022 15:01:19 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 477AFB8013B; Sat, 30 Apr 2022 15:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4BCC385A7; Sat, 30 Apr 2022 15:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651330875; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cyIUBA6pqqg/B5wyOdcBDSKNfjtyMoj5sWt3Xdh4pX+zHEGGcxKJ95CN6T0JFdHby hV9/K8uobLdNYn/ulaPsgu8Fx2ZaTb2Xue2Dzv8mIqmlZJHvELez5fJErThevr2fUv pPLrIsIA43sEFEbS80j0j1nzwT++PjVZBIhE1KHg= Date: Sat, 30 Apr 2022 17:01:12 +0200 From: Greg KH To: Mauro Carvalho Chehab Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Intel-gfx] [PATCH v3 1/2] module: update dependencies at try_module_get() X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, mauro.chehab@linux.intel.com, David Airlie , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, Lucas De Marchi , Takashi Iwai , dri-devel@lists.freedesktop.org, Jaroslav Kysela , Kai Vehmanen , Luis Chamberlain , Dan Williams , linux-modules@vger.kernel.org, Pierre-Louis Bossart Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, and call it when try_module_get() is used. > > Reviewed-by: Dan Williams > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 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 D1621C433F5 for ; Sat, 30 Apr 2022 15:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382903AbiD3PEl (ORCPT ); Sat, 30 Apr 2022 11:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382916AbiD3PEk (ORCPT ); Sat, 30 Apr 2022 11:04:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC2B43389; Sat, 30 Apr 2022 08:01:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 507DBB80188; Sat, 30 Apr 2022 15:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4BCC385A7; Sat, 30 Apr 2022 15:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651330875; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cyIUBA6pqqg/B5wyOdcBDSKNfjtyMoj5sWt3Xdh4pX+zHEGGcxKJ95CN6T0JFdHby hV9/K8uobLdNYn/ulaPsgu8Fx2ZaTb2Xue2Dzv8mIqmlZJHvELez5fJErThevr2fUv pPLrIsIA43sEFEbS80j0j1nzwT++PjVZBIhE1KHg= Date: Sat, 30 Apr 2022 17:01:12 +0200 From: Greg KH To: Mauro Carvalho Chehab Cc: Luis Chamberlain , Daniel Vetter , David Airlie , Jaroslav Kysela , Kai Vehmanen , Lucas De Marchi , Pierre-Louis Bossart , Takashi Iwai , alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-modules@vger.kernel.org, mauro.chehab@linux.intel.com, Dan Williams Subject: Re: [PATCH v3 1/2] module: update dependencies at try_module_get() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, and call it when try_module_get() is used. > > Reviewed-by: Dan Williams > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9E13C433FE for ; Sat, 30 Apr 2022 15:01:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 487CE10E826; Sat, 30 Apr 2022 15:01:21 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id D961610E7F2; Sat, 30 Apr 2022 15:01:19 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 477AFB8013B; Sat, 30 Apr 2022 15:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4BCC385A7; Sat, 30 Apr 2022 15:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651330875; bh=Ajnucx/H/ioVOWtM+z252WJjKeKWS+lbUTXB0YVIvko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cyIUBA6pqqg/B5wyOdcBDSKNfjtyMoj5sWt3Xdh4pX+zHEGGcxKJ95CN6T0JFdHby hV9/K8uobLdNYn/ulaPsgu8Fx2ZaTb2Xue2Dzv8mIqmlZJHvELez5fJErThevr2fUv pPLrIsIA43sEFEbS80j0j1nzwT++PjVZBIhE1KHg= Date: Sat, 30 Apr 2022 17:01:12 +0200 From: Greg KH To: Mauro Carvalho Chehab Subject: Re: [PATCH v3 1/2] module: update dependencies at try_module_get() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, mauro.chehab@linux.intel.com, David Airlie , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, Lucas De Marchi , Takashi Iwai , dri-devel@lists.freedesktop.org, Jaroslav Kysela , Kai Vehmanen , Luis Chamberlain , Dan Williams , linux-modules@vger.kernel.org, Pierre-Louis Bossart Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Sat, Apr 30, 2022 at 02:41:47PM +0100, Mauro Carvalho Chehab wrote: > Sometimes, device drivers are bound into each other via try_module_get(), > making such references invisible when looking at /proc/modules or lsmod. > > Add a function to allow setting up module references for such > cases, and call it when try_module_get() is used. > > Reviewed-by: Dan Williams > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Greg Kroah-Hartman