Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp33276lqf; Tue, 26 Mar 2024 13:24:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVltE3lNksrYckKLAdRWsuBMTasnLlxMYDA5x0QO2iLeOju5YfJtmtVJM2i1WjnLtJe53HJ3pr56leB6y227pLA2PytPDzlzxvDeiM7yQ== X-Google-Smtp-Source: AGHT+IFHrzWkT3WSsX6rgeLlkIFmbDLCZ+MRvx0p8JTqYtGBVzk5P6O4FQ1kIQbzdEoTLYtyeS5+ X-Received: by 2002:a17:907:7207:b0:a4d:f992:bb95 with SMTP id dr7-20020a170907720700b00a4df992bb95mr1622782ejc.61.1711484651878; Tue, 26 Mar 2024 13:24:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711484651; cv=pass; d=google.com; s=arc-20160816; b=o2hNZA/CK8+XGd8hfE/P5n56kGq1AGeR1RMtMgpi1vduneF4d1h3utaikc4wUjTWe+ Hgd6C1+C5ECFLxwzE73R4KvHj5bp6Nvkw8uHA1argBT/dN2OtZOBeD1sbEAhW4MKyFTQ 5K5vWUsweMfsvGIz1ZL4Q5yCVULL+/5TSqjCZHKVhk/GnEvDNbLA+mOVEUs+Ugtvtodu 6mg5LuQ6zFGO1OU3OYqiXoQGuLxOqbOzlQ8YYpffKAwCeW2uW12kjmr4MsDJwXQ06mkA 5YIWCiVAfQUbHcX3sckUU5IQNLk17mb/rgZJS6shCDkZGXIjzE5z8C6dyagLQ6qE6z6+ 8GZQ== 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=knEQ4mryQwBiq0ncopBZJftzfm8XTJ3CLErQObi0yU0=; fh=xf9fPIwchF1eQSAD/4tGd/FvtvScpaT+G9potXJC6UY=; b=pTQdz/DdTZWSq86ym5UxNURkIyN2NyP7P19HcOIG01V3SVktoe/DtAY8nX18t/xmqk joYKtuQuMs0FuaoOspvwnHFPeVI1DtoMWy7MERVcfmptfSr2KK+oNnPGaGxgXZT6vq0G 5ByS8KZHmHn8a3tEjkgAz3XGw2KAO7dcKHkKW4H7frdME4UhK+215uaYZlQG9xoZa7jK 0lxeha9zF1a4kiRYfJ07hXNUv3U7kDWdRVizZN8duguFJxSI45FaiRPwu+pEI9rhSNld K8ScAs4ZDmQ6EqTFIlu9yUCAfnPWIjaG8ho2T5El1UFk3r5Uwi5GE8Qvtmrk+5jMyYjo rHhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dqMvEOxI; 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-crypto+bounces-2902-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2902-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 bj9-20020a170906b04900b00a46b75afe21si3877172ejb.943.2024.03.26.13.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 13:24:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2902-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=dqMvEOxI; 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-crypto+bounces-2902-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2902-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 668351F8163B for ; Tue, 26 Mar 2024 20:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F65C13D532; Tue, 26 Mar 2024 20:24:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dqMvEOxI" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 E1ECE13D299 for ; Tue, 26 Mar 2024 20:24:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711484642; cv=none; b=aCgp04PzSuR1tc2AClq3AiboaL+AXGW/ZqADF+AIkpLFU+GnLdUXsTR101gryhMjIDBK9/UrQPx/wVEUtGbawG5+H7PsT8DvajStx6cI4yOVH+dNDUjBlqriRf0TnF5V0YY55sAYa531V06vcs4Q4lUb1qLvLIuTumYogB83oNI= 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.42 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-f42.google.com with SMTP id a640c23a62f3a-a4715d4c2cbso761958866b.1 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=hCjpPXMISSN6go4UReeVo6iUZsDuhloMRYD5S6rOvgmzuTNlDi1eLdpCTK8V+gkXKO nbQu9mJOe0Fwgpzm9Q9eIu89KJZlRlenB61m2S4LxkLfUJQ+uPfqQlzFA/mOrLJEtvmB pDL1E7PZbBQi0iib2jlNBPq8hhdRoMPZpISrdjmrdRJCUGj35cVQj6HhaxL/XRl6dwGT VGmcXAaVEO1nagt6fIlyVq9+JA3tlOkof3rxFruGZlcSKqW9vHTuiPumCSvQpXlAdsbk Lw1oO0uK0LCfeUJuwGYL3vDE+jqgWygVwAY/jGN2ZL1twU0oV98TatCZiPgX0TC2K0Jw tYkw== X-Forwarded-Encrypted: i=1; AJvYcCV5YFvHoG2m01dy3lQW9OfjJYeqh4ia3b7pTtD/ExsfaiL7VgeWlpEedbLzRQQK+YBoQPAncKlhmwR0nKQKMvlcWkkqfwJY+fp7DvHz X-Gm-Message-State: AOJu0YxncgLAa+g5al1VtUgjEBIQ+1e7RshxO0bAH9ClJoDeGZ4SrNgd DZg45DGvh77MHYiIzHBOtCigkiXkkaAq8PkYb7tS1fTNVkT3Nfx0aeSq+5ZjRd8= 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-crypto@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=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 --- 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, -- Krzysztof Kozlowski