Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp135451lqe; Wed, 27 Mar 2024 00:45:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWByHW1SzgnePtaRYsV2HiV0Ye0FRXQQh+yOLNRB8ZcQtcYOf+rY/l+YS7SWPACeDO0Hgln2N5wxccdZo/9CWk1xRJ8tL60dmlf3DnQXA== X-Google-Smtp-Source: AGHT+IEo35iwDQfJ0IlKft8zBActnT+D0bdjYIwLhHcfBsAi8cTmSu/cb5VSq3XtVsr8Vw6zGyQg X-Received: by 2002:a17:907:7ea7:b0:a47:31c8:81f5 with SMTP id qb39-20020a1709077ea700b00a4731c881f5mr2990032ejc.47.1711525500826; Wed, 27 Mar 2024 00:45:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711525500; cv=pass; d=google.com; s=arc-20160816; b=u7IGx9w/F2m05KRWwPD9G0plsyI/49afzi8HGsSJ5PXQRosNvHzg0b+yWoml/B+bze WkDLInvJerOq6b5iTVLEOa3NmBc5QrzPq4wHVKxWGv7F8cU7ohdDNnDzehnBSaN4K0kN 6ksBPa/pf1HqpRWzILFNtm/esf2iT5RwKDonArHR7+qJZOV3FKb4NwiriyMdYMp+mPRX b7DRIM2Gxzw8vJELkad7iDMpMwphaUOHLQaNjZevHZ2gdQooOuE3FqEczD30GkksRH8B Kt9Q8si8FJg4S1VYh2M7LXJxzB3RHjhhMQWFRFfSShTNfR0e1nKpEDsU0Kldj+Pjqk63 apQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=cwJgbNd9Cb1xxQGP3U28yL2PzFi4V4xZap9Ru43Q/Mw=; fh=pB6Mm4MMaj0B4cxV8cbtTARG4tEN3GBsjSc04+eciJg=; b=vvXojOT/dpUR7jWDe6051fn320Qiw2PbcndchWDF1hUHDdHysrTJgbD3YnfRFPAs0d 2+btzySdEW207yRmRGzcqkYUzig3wolLZAq11PaX0aUAE7u7ly4y3VHhEKAHbHiUzPWa OZNvS9gbdvI6vfQ8mLnY9nwdJrXgkBW9uVFGAaHDfxqlDgnNda+YboBz71hyni1+yoXy VDdHsX0Cf+shSA34Aq6ATFmMG8s9EVmuPHVgCmetMmkk9s/zKExo9Io/6xiwHDsmIEbe CYbR50rMBeTUolsKnGrJSLbxBEVeXZn3fxgV6m/xGAf5lGhwGRWGANfiwaLvzaAmu3f1 /jBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SdBvHhiu; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-120444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ho39-20020a1709070ea700b00a47474bb9a9si4155719ejc.673.2024.03.27.00.45.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 00:45:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SdBvHhiu; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-120444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 647A81F29460 for ; Wed, 27 Mar 2024 07:45:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 550BF2C1BA; Wed, 27 Mar 2024 07:44:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SdBvHhiu" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEDCB2C1A2 for ; Wed, 27 Mar 2024 07:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525484; cv=none; b=JcnQcoHytiWJCODoWZOtztYMBh7LqNwKPjBZsn5dwnijcXOowpVTor//Y8SlxbprRSwyAyXhRYCJJQ09SY6cOktfQsgMBTQyWsBa6HQJYsSW1l1e6ueQvC0151oSuLrJVONK6Him67lu4k+jpiQuzSSZ1YU5o2IV2VBBMBmDkSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711525484; c=relaxed/simple; bh=meBEX830gRW4HXcwRaI98fQKaU/0vg8wDYKxDADJaXA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=EH+s950bN8W3Z2DoTNOLFVJsMcEEvpybwwJm52LJCG6fACSil8Inhl2r0nzVAEofdmAZaT3h0ktZE6sY77oUu1dLadJegLFhuaSBOJAsX7CcAeG/pRtuULEGfE1r8qdR+UX3JJ68oA7r7ybyypHWlZVP/4A8FZocQC+ZL9O3Nd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SdBvHhiu; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a468004667aso860541066b.2 for ; Wed, 27 Mar 2024 00:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711525480; x=1712130280; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=cwJgbNd9Cb1xxQGP3U28yL2PzFi4V4xZap9Ru43Q/Mw=; b=SdBvHhiuyUFUwk8YiTvwTtM0bHquxeOd2OPGUG8vYvWcXZnHxn1vC3JMkri5DuT2yE izjt00bO/nAqGy0SL8agPK3BuCqc6QXUmOA81omR5XOsCZAWY4+FubBak/OxYtnjhaOi S0FMQW1j/sFO41MbQXMHvg5E1Y3x+AyH+prQe5CztQWuAeX2TuSaqudsfrRLDFw8ULO6 hD5OyKb3+NKvXLrQFbLzvXsEoLWswJC2E0e//xCD6uvBc11LNNLZTlqeNKgnxJfNReSE eXjh7sFj/Nwpyil4JxHw4LdEThDgguzEq8fAkBXS8io9mTMUMdbcJ611WUE/hZCi13h8 I0Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711525480; x=1712130280; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cwJgbNd9Cb1xxQGP3U28yL2PzFi4V4xZap9Ru43Q/Mw=; b=FUCRf+zqYHbNbrJXHgXNemRAohMf6UC1SvKgbaS1zgU2z+qOdgyLEa5tpOD4Qy8pFm 0Jwa/KmvKC/27WBpG1VO0Vs0rkCo2Na5ZCiWtZKzqVko0bwRdSdnPMrnIMHDLAVi6ep0 DuuQrTZgOxD5q95hcqVxUyr1jj7J2e0+lhmwWQu0bRwZD44QacthKfla1Lb7GKCj0Ycx gyinGZhCOd74FQwRgT+/Q0cy1Fg5Ei3aJuUUNlBpC5Dzfnr3FLoVdnYbJX+oyIsvs0mK EhlXa6pGeGyE9A3UIkubJxBshwWyie5O31X6AQhAeRLVIpWZ8UBRw30SqWI3cN4Z+4Ml Zdhg== X-Forwarded-Encrypted: i=1; AJvYcCXaPvN9/0A8s4a6fvG03cWj/IxlIQ5IGVvBfRAtThstpY/R4oIhyeYPdSR6lATr0jzTj7jQIc5tpbPJlxqosIFrV7ewX+KJLBJHW3SU X-Gm-Message-State: AOJu0Yx9aHcmzokb1B1TZ59LyTEoRg0nlazR1ClOdKJ7s9glNNjVPz9Z dCrSHIqWpndCzxMkdP5Sh9WBxkeAwPXlOKVIyX2FtZ4s4iwDXj3muEkeJWoNwZg= X-Received: by 2002:a17:906:4112:b0:a46:930c:b793 with SMTP id j18-20020a170906411200b00a46930cb793mr2316193ejk.9.1711525480120; Wed, 27 Mar 2024 00:44:40 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.205]) by smtp.gmail.com with ESMTPSA id am11-20020a170906568b00b00a474690a946sm4671745ejc.48.2024.03.27.00.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 00:44:39 -0700 (PDT) From: Krzysztof Kozlowski Subject: [PATCH 00/19] ACPI: store owner from modules with acpi_bus_register_driver() Date: Wed, 27 Mar 2024 08:43:47 +0100 Message-Id: <20240327-b4-module-owner-acpi-v1-0-725241a2d224@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADPOA2YC/x3MSQqAMAxA0atI1gY0VhyuIi6qjRrQVlocQLy7x eVb/P9AYC8coE0e8HxKEGcj8jSBcdF2ZhQTDZSRygqqcFC4OXOsjO6y7FGPu6BRjap1Q1SUOcR 09zzJ/W+7/n0/4mos7mYAAAA= To: "Rafael J. Wysocki" , Len Brown , Robert Moore , Dmitry Torokhov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Benson Leung , Tzung-Bi Shih , Corentin Chary , "Luke D. Jones" , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Thadeu Lima de Souza Cascardo , Daniel Oliveira Nascimento , =?utf-8?q?Pali_Roh=C3=A1r?= , Matan Ziv-Av , Mattia Dongili , Azael Avalos , Richard Cochran , Jeff Sipek , Ajay Kaher , Alexey Makhalov , VMware PV-Drivers Reviewers , Theodore Ts'o , "Jason A. Donenfeld" , "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, acpica-devel@lists.linux.dev, linux-input@vger.kernel.org, netdev@vger.kernel.org, chrome-platform@lists.linux.dev, platform-driver-x86@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2754; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=meBEX830gRW4HXcwRaI98fQKaU/0vg8wDYKxDADJaXA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmA85It2J1eYnVhuIuXN7MMCJqdE2fAF7WfeZ2j n2apL2796uJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgPOSAAKCRDBN2bmhouD 1/SnEACOwWo91bl9rH3s5QXO4O8oEUXK1eW8eqIErfBujjd0mBVo1U62GGVdqCTwbnohFmGH8uS 0Hg0mT7Zeq81wweeJX6lhia/0ZXEq+ZS+N/VqqJ7A+7ylKAQBaJ/b12k4fTnfTvl8ROmcKTYwMO xzDw5Zk15EIcQqY7MGSWFtkoR4IrS2/djZzKQcElvc6wPnn9pAGHCnlsuqyNNfA0qKbLEKwbCZL ZHiY9SxWBdWl2HKHK8Mx9QC92FqorWxtdvlyyZbo8P3rLgNwOgKI/2iM2FL86OTTYm/I8h8K0uT 4zjFkXBSfJa5ZtEMyVYWaO/zJcCvsyANCUfmn+nApiQWih+qd2Bfgz7Gha5MiT/O9rP6SsOOlUM tbNEj8Cj8fPjz4pTITvXtRtmnxGIMv7j1sZ7b1tn1QCd0wj9ZTUDDh5LA2Wqr/EqqxRiP7yhmJx VlCIdsMAP0QRviCJeFZ/5IZsqoWkmPw48k2Jj1hAr4Y6e7OhxXXvGltn8sh7mvh4j0J5zpBJlM2 fjx/dZOndwUdkjsJSP0MbGEgMKEUw3t1Q1gKfYe6exbD7qfbc0CGKaHnss5MMzmn9bJVCGnsroA wySn4govEwvO62oJtu9o8OUcuu12dPLodXlbGS6LxGJSnQfhXloYUEOlIsusrAiizfR4Vy/tLG2 szuZE69hHAS2bhA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Merging ======= All further patches depend on the first amba patch, therefore please ack and this should go via one tree: ACPI? Description =========== Modules registering driver with acpi_bus_register_driver() often forget to set .owner field. Solve the problem by moving this task away from the drivers to the core amba bus code, just like we did for platform_driver in commit 9447057eaff8 ("platform_device: use a macro instead of platform_driver_register"). Best regards, Krzysztof --- Krzysztof Kozlowski (19): ACPI: store owner from modules with acpi_bus_register_driver() Input: atlas: - drop owner assignment net: fjes: drop owner assignment platform: chrome: drop owner assignment platform: asus-laptop: drop owner assignment platform: classmate-laptop: drop owner assignment platform/x86/dell: drop owner assignment platform/x86/eeepc: drop owner assignment platform/x86/intel/rst: drop owner assignment platform/x86/intel/smartconnect: drop owner assignment platform/x86/lg-laptop: drop owner assignment platform/x86/sony-laptop: drop owner assignment platform/x86/toshiba_acpi: drop owner assignment platform/x86/toshiba_bluetooth: drop owner assignment platform/x86/toshiba_haps: drop owner assignment platform/x86/wireless-hotkey: drop owner assignment ptp: vmw: drop owner assignment virt: vmgenid: drop owner assignment ACPI: drop redundant owner from acpi_driver drivers/acpi/bus.c | 9 +++++---- drivers/input/misc/atlas_btns.c | 1 - drivers/net/fjes/fjes_main.c | 1 - drivers/platform/chrome/wilco_ec/event.c | 1 - drivers/platform/x86/asus-laptop.c | 1 - drivers/platform/x86/classmate-laptop.c | 5 ----- drivers/platform/x86/dell/dell-rbtn.c | 1 - drivers/platform/x86/eeepc-laptop.c | 1 - drivers/platform/x86/intel/rst.c | 1 - drivers/platform/x86/intel/smartconnect.c | 1 - drivers/platform/x86/lg-laptop.c | 1 - drivers/platform/x86/sony-laptop.c | 2 -- drivers/platform/x86/toshiba_acpi.c | 1 - drivers/platform/x86/toshiba_bluetooth.c | 1 - drivers/platform/x86/toshiba_haps.c | 1 - drivers/platform/x86/wireless-hotkey.c | 1 - drivers/ptp/ptp_vmw.c | 1 - drivers/virt/vmgenid.c | 1 - include/acpi/acpi_bus.h | 8 ++++++-- 19 files changed, 11 insertions(+), 28 deletions(-) --- base-commit: 1fdad13606e104ff103ca19d2d660830cb36d43e change-id: 20240327-b4-module-owner-acpi-d4948a922351 Best regards, -- Krzysztof Kozlowski