Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1931278rdb; Thu, 17 Aug 2023 06:23:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZDtR9FijjviG9SQjBN9drmJDPsren6REMIGUaCg3cjHbgXXzPOkXHhUG7v4x1R8MJ/h3r X-Received: by 2002:a17:902:ec86:b0:1b8:400a:48f2 with SMTP id x6-20020a170902ec8600b001b8400a48f2mr5467245plg.62.1692278609600; Thu, 17 Aug 2023 06:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692278609; cv=none; d=google.com; s=arc-20160816; b=rG3X9UQjG0mRFnCwBjOQe4MWgjAx93PUgbDDCqGwdjynspbLYOADHXigsFNcQCVi2A V6yN/7qsygmuluqduBbf+g50NRD6Ydmc3ble98ZF8GBcMoHoshM718ttlYuu0m5feNRp 8a3arTgBtjCuDwR4Sci+8CNBduMfqrSrRmK+Obvmp+5VYfvMOjGWxOlZS0NfopQ4F0DM sEbTpZhyBCk/OBMArfTKNG+aUelhBKTL78K9w5Z1jWbHGdL0yge9YKN+02ACzrXz5vMw IlKdstzk+7RskP44H+ub/noFD0ZdYAavMbBeY7r407aSAaLh7KM0/KFioXv75rxWOKTJ Ualw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/pEREVFGehEgyq3RcP3wVmUoF5SRl3/WWU1NAjK7dxA=; fh=hnRV6hdyudUc7862VXWeEXTJqEOpRyidakoVGwvclSc=; b=eanma2i3m404oL+X469lvDAzp7EW5Gpy3s4BdSbHHtnqeD4Lcq0gdiSGXpcUqKEJO6 jJGWIv5qDpCe//J3dmWBU2Cu7+MPqufjYiVXYFvXR79V+7vyNm4WCxHe72QL1zjU3+YS WL4XR+NpO82+7cJwBiHB6DHwYk4vEfGB80wnRIL0mLfh3CtZQPa0apnAeNeGHOYDqwt4 QgKuy/P+6u/ZZkU4Ng2akcU+77T0MmQJmo/ZEk94a2x4SeQdGMkGBapQJdWRpe/ZRZ5l 4uUjVz7K19goRhzFEFOE5cz5PHNDP6S3fTWKrH2h2NvSQi16Ut2OAid72DzGoLzDpByq kqBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X+P7qArA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170902e5ca00b001bb9f190bafsi13637487plf.526.2023.08.17.06.23.15; Thu, 17 Aug 2023 06:23:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X+P7qArA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237526AbjHOOL0 (ORCPT + 99 others); Tue, 15 Aug 2023 10:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237534AbjHOOK7 (ORCPT ); Tue, 15 Aug 2023 10:10:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE87199B for ; Tue, 15 Aug 2023 07:10:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 39D66651C7 for ; Tue, 15 Aug 2023 14:10:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 535A4C433C7; Tue, 15 Aug 2023 14:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692108657; bh=ja6LcUYlIg8akYex1UYrFdK9oOg2Smd4yqpdJcFupds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X+P7qArAEreMUVVrVIq6MMBq1CuMRPRWh44nLTf8Ikp1OIYB/mRoYrRUsO+UuvF/T 5Dfmig9tTJm7f/p0ynxD5jZJKCxaO6tIoBAQbgjA8+4O61IJri8tFx0PdSLNsFlj6i Qh9OEoEktTtWodr01sQcDAj8b0QmKA1JHSho4o3gLp8Rq3mVApORRSU7zx/kf+eiHB 9yl1nrMwWPq3+K5a2HkmZWFsP2NWE8cAak2AWHPDWCUdsTLwLN2MPlbgpUVmR2umIp p9/LQNzqpsHotkXukg0QxEqVV119F1TJ4m37V2M3xTJ1X7i745/dADTFspvSxDUpPE qDruIXFMeDKGA== From: Will Deacon To: mark.rutland@arm.com, liliang6@email.cn, linux-kernel@vger.kernel.org, 21cnbao@gmail.com, Yicong Yang , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , jonathan.cameron@huawei.com, linuxarm@huawei.com, yangyicong@hisilicon.com Subject: Re: [PATCH v2] perf/smmuv3: Add MODULE_ALIAS for module auto loading Date: Tue, 15 Aug 2023 15:10:49 +0100 Message-Id: <169210038508.538825.12874741797783565923.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230814131642.65263-1-yangyicong@huawei.com> References: <20230814131642.65263-1-yangyicong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Aug 2023 21:16:42 +0800, Yicong Yang wrote: > From: Yicong Yang > > On my ACPI based arm64 server, if the SMMUv3 PMU is configured as > module it won't be loaded automatically after booting even if the > device has already been scanned and added. It's because the module > lacks a platform alias, the uevent mechanism and userspace tools > like udevd make use of this to find the target driver module of the > device. This patch adds the missing platform alias of the module, > then module will be loaded automatically if device exists. > > [...] Applied to will (for-next/perf), thanks! [1/1] perf/smmuv3: Add MODULE_ALIAS for module auto loading https://git.kernel.org/will/c/1b0e3ea9301a Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev