From patchwork Tue Mar 26 20:23:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13605005 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 DD3C013D28E for ; Tue, 26 Mar 2024 20:24:00 +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=1711484642; cv=none; b=RjfYpkt+7TIvtoowHmTN7yHz7/PnXj8IFlVqX6L1mifaRcxndRys8DDEZJ7IwNCwJx6DhZpwn1rTgwBPsbApRvfCOkxbyKW7HTiaXv7StW7WiaHSILao4548RI3c8btIrQB7okkBrFkjdFOHtZztL1QqngF5Q1+KHRpw7I86FfE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711484642; c=relaxed/simple; bh=vLJVttyU0unj5HjuSsO9gb5EMeZQpEnywYmaCFIJqoc=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Lm5NpcqYU2QbeDlnWtZgSL9vd5CHuFGKxvZ+LC3SG1JGlBhjIDqt8RSi5yjqihLwQ49ZWGUvLyNKqFBvZcLX33vNrvJPxkumYffQ0UAYtTH2JxlxzUk4I7C+ffAINBDxDnuSGyj/u+uDICHRt8vmn44A0Ebx6/+Fz9Ns0OmShiM= 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=dqMvEOxI; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dqMvEOxI" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a450bedffdfso695952066b.3 for ; Tue, 26 Mar 2024 13:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711484639; x=1712089439; 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=knEQ4mryQwBiq0ncopBZJftzfm8XTJ3CLErQObi0yU0=; b=dqMvEOxIGZMr0g6hOQQzeQzMFpmza3FbjTpmtVSMFPaIrfa5BZnG8EZ5C+tYUQ7+ga uOJv6BThAViX0MVLUV8cQXsrCpMu4oGzEBFyb3y9dh8lu4TexeqaWhMLxFDw+oXG1Y6b ldtDuK3ueoaAhvUwUIES35Dmbm0K3uW0y43DkMRTIOOVLEnxmvqYnGFboWee3AXoEbGw XwZZ7OlFzi+AVvO8XqBjG2D+F00U1uVJXY8s2ct0QCYf8koKVfs5TidYxY6imx+DaiUA c9SDClm/2B90g5B3QGxIVc7ZGADRcD6Jjc/Gi1YlPMb2MTQSllANnKVJ4zJvCyAVSsU+ c9yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711484639; x=1712089439; 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=knEQ4mryQwBiq0ncopBZJftzfm8XTJ3CLErQObi0yU0=; b=WkPOOmMVS7WpzEboWk6H4OjxDFl1rZdENk8a6DO44AZx7XKZDz9MmBAlJEVZe+EFET 79uwqadbpaFE2PhuzVQEnU8sNXJFFKDOE1k/yW2U8Go4tst5C+ijL/APzPhFZ3/u8veV zZct5MZ7T393pveMs5qxffGoNbzPiEBdCAbkYYr1TOvKvbm1jbMnQJO7lZHTPdHmojxH yBWoUwg2cmvldx6AR5I5gOSmuIGUQZjCs/KjbER4s59girEhz661gdt1KqRwJYDzUnxB fTJCpLLdEtclTll8Mo01h6jrg2S1Fpjg2Xl1ynm/k8O7V4qZ4W87Lu+jrxqWxqMXNUwv FM3Q== X-Forwarded-Encrypted: i=1; AJvYcCUUQ00ki3mZGdrder8XvnesWnBXfZT7y04BskSBLsR7mud7UJzZn9yOHxn2WeXZiEdNLw/ZITGF7jhm6ZcQFKIQ2NI9GUi3VY5JoNk= X-Gm-Message-State: AOJu0YwtlRqJelOVmTBXE3lIK9DeRVcruLhpb+JxknXxIl24LCIIwbem RmU4uumUycPN+MF8Kvi2hheO0FM7HW4O1wsFQfwM0zsoUU4JCIAwwK1yBopXeqY= X-Google-Smtp-Source: AGHT+IH0dK859sUAUhEQqGBCv46vWClhoFv9qf1bBqBgtaiUINfNf3lrctA8c7WDHIrVwNuBvhWlKA== X-Received: by 2002:a17:906:b806:b0:a4d:ff6a:1d93 with SMTP id dv6-20020a170906b80600b00a4dff6a1d93mr262242ejb.60.1711484638972; Tue, 26 Mar 2024 13:23:58 -0700 (PDT) Received: from [127.0.1.1] ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id b2-20020a1709062b4200b00a4725e4f53asm4584492ejg.40.2024.03.26.13.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 13:23:58 -0700 (PDT) From: Krzysztof Kozlowski Subject: [PATCH 00/19] amba: store owner from modules with amba_driver_register() Date: Tue, 26 Mar 2024 21:23:30 +0100 Message-Id: <20240326-module-owner-amba-v1-0-4517b091385b@linaro.org> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAMIuA2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDYyMz3dz8lNKcVN388rzUIt3E3KREXePUpCQzUyNTs6RUcyWgvoKi1LT MCrCZ0bG1tQCgwIKfYwAAAA== To: Russell King , Suzuki K Poulose , Mike Leach , James Clark , Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Linus Walleij , Andi Shyti , Olivia Mackall , Herbert Xu , Vinod Koul , Dmitry Torokhov , Miquel Raynal , Michal Simek , Krzysztof Kozlowski , Eric Auger , Alex Williamson Cc: linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-i2c@vger.kernel.org, linux-crypto@vger.kernel.org, dmaengine@vger.kernel.org, linux-input@vger.kernel.org, kvm@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2890; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=vLJVttyU0unj5HjuSsO9gb5EMeZQpEnywYmaCFIJqoc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmAy7IJ8hV8xU+Fvg50aj7Bm1TrFxta5NflDG5C Z0GX9z3UjOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgMuyAAKCRDBN2bmhouD 1zMeD/4j+he5Lc0O5CAxCQTaYhyHw2jsG/5EdmADJJfjbMxmsMOFRSqBgFCmMTYlikBybNpMvGX Njz5qu6tleCNVFVzX64LgMF9CHk/qK88sFohHb9gDLy3INj8Cc7dCQay4J1RKYsX9JgvTm//yhG 1i0kOuGUFGiUgkNVllH7OPSUBI01iGXoYWh3MIdiP4adZO5ydPW87HOHzk0K8fGWClJyOsN1l8o pk2Nfo0PeoM8o8H2QIcet14VfBgi9QJyqr77GM5vJnpR45KaRc3l93yej3zFWQ6OZHULyGayEtK 8IUUp9ruU6fkzqDKIEsERhna3Fa1GacQADv0twz9n616/L1pcFTJaoLhItOUm1R+UfMX4mCtXOV Xs+nlz7EefbYDT1rvvHDuJ9q1gwp68PBnzMIHQFPM4BMXk25A2Wvjmk6YvBYIrhIMl3azHYFCRQ 8x9/ojjzQkmBBvAp3CfFUGFpNadd6tLrlZnPySeeHRVnKbaqHw/AQ8h5RiTcTyrIzTqFSFufol7 FoHmrA7z7yzQukzlsIcq27iQ0ObssgXHnSS1ZjXve056mJ8eQEJ/AAm2QJJW2Qqc1ay32P52oSj EE9gfAssEm8pTYJuc2ctEJu4BHdP9Sr+CAZ098xlIaFOiAEwGyAwmrrUoGgp7jm8R9lk0whhQwY ZdsRrJGwUkr5EFQ== 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. Description =========== Modules registering driver with amba_driver_register() 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 Acked-by: Suzuki K Poulose --- Krzysztof Kozlowski (19): amba: store owner from modules with amba_driver_register() coresight: cti: drop owner assignment coresight: catu: drop owner assignment coresight: etm3x: drop owner assignment coresight: etm4x: drop owner assignment coresight: funnel: drop owner assignment coresight: replicator: drop owner assignment coresight: etb10: drop owner assignment coresight: stm: drop owner assignment coresight: tmc: drop owner assignment coresight: tpda: drop owner assignment coresight: tpdm: drop owner assignment coresight: tpiu: drop owner assignment i2c: nomadik: drop owner assignment hwrng: nomadik: drop owner assignment dmaengine: pl330: drop owner assignment Input: ambakmi - drop owner assignment memory: pl353-smc: drop owner assignment vfio: amba: drop owner assignment drivers/amba/bus.c | 11 +++++++---- drivers/char/hw_random/nomadik-rng.c | 1 - drivers/dma/pl330.c | 1 - drivers/hwtracing/coresight/coresight-catu.c | 1 - drivers/hwtracing/coresight/coresight-cti-core.c | 1 - drivers/hwtracing/coresight/coresight-etb10.c | 1 - drivers/hwtracing/coresight/coresight-etm3x-core.c | 1 - drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 - drivers/hwtracing/coresight/coresight-funnel.c | 1 - drivers/hwtracing/coresight/coresight-replicator.c | 1 - drivers/hwtracing/coresight/coresight-stm.c | 1 - drivers/hwtracing/coresight/coresight-tmc-core.c | 1 - drivers/hwtracing/coresight/coresight-tpda.c | 1 - drivers/hwtracing/coresight/coresight-tpdm.c | 1 - drivers/hwtracing/coresight/coresight-tpiu.c | 1 - drivers/i2c/busses/i2c-nomadik.c | 1 - drivers/input/serio/ambakmi.c | 1 - drivers/memory/pl353-smc.c | 1 - drivers/vfio/platform/vfio_amba.c | 1 - include/linux/amba/bus.h | 11 +++++++++-- 20 files changed, 16 insertions(+), 24 deletions(-) --- base-commit: 1fdad13606e104ff103ca19d2d660830cb36d43e change-id: 20240326-module-owner-amba-3ebb65256be7 Best regards,