Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5252781rwb; Wed, 9 Aug 2023 00:42:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHN2Y6r346PVSDDa5rhoAFCZhFz331zdFcq0FNfYx1gr+eP1iuP0S7w1B5aQjZopDZPa22y X-Received: by 2002:a17:906:9bc8:b0:98d:f062:8503 with SMTP id de8-20020a1709069bc800b0098df0628503mr1311030ejc.77.1691566937657; Wed, 09 Aug 2023 00:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691566937; cv=none; d=google.com; s=arc-20160816; b=H475xx+XilYjukVa/iQVmVc2hbwFG/jTr5JTCrUU3O7kOXEr4bCc76Y0UoBT6dHixs 9AooYCz2jwu4uQJswa/qAzoQsZNkzcaG+rAE9AspnnefNSTeIs+WAaWNVZTbVpuVF5Db i7i8fAbZz45JNSrgO6r460R+HMLXuz5PpqUneKp33Nif6Wjr9r+HJE6U7EBncTERE4p8 AW+eoUuX7HEXrYi3nMogqeICJwgXoVhd7prqXbwmReXXdZWBr6nS8ktD6U6sZ5nn15ig Rfk3iZmihwDZz72O/6Wh7TUx+bRwANS5xN2P382QpwJlpwcIZbjUA1uQzQRJruS9dqaa eRxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CBLwxu6RYThOPPkkhftSaHaz4S+8BmxS9YaXuc86KFk=; fh=TXvVd8dJ2YYHnJY7Vhz8xri5kGKdfMebub9XjPQF+Po=; b=cSbRJ6+JHGGem6NIdOIyGpsUwgQfHwnEFF39MsALLIAKpTjq1xuSEploUm4NbEST+m NbAQxBxQ6pBFtuNX8SDNFpI4KBP6a4bSd9nDyZ23vdSxOgOewgChLjAcm2yV0BxU05Rg riyVOQbHSlsJ0QWrdKEyrgrTkjpOa+iDs/11QJqzgc0yuhA3oxf64kBMSMO4pmUBoFYy HT6l1V6ae+z6JYzoIQLlOJcAxR+T08rSb6H7IDJRWHuNF98D0mTrusMjc+QXUybk/M2t 79UJI9lhXwL1CYSxO1vvTZW0TZ5oPygxjUFVzVGygvLsodf+ouqkLXs5okqhvr5vx9of xEHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=stTWLXEu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a17090665cf00b0099cc36c6bdcsi6145067ejn.151.2023.08.09.00.41.53; Wed, 09 Aug 2023 00:42:17 -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=@gmail.com header.s=20221208 header.b=stTWLXEu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbjHIFrr (ORCPT + 99 others); Wed, 9 Aug 2023 01:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjHIFrq (ORCPT ); Wed, 9 Aug 2023 01:47:46 -0400 Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA011BF2 for ; Tue, 8 Aug 2023 22:47:46 -0700 (PDT) Received: by mail-ua1-x92a.google.com with SMTP id a1e0cc1a2514c-79a00f74a92so1894208241.3 for ; Tue, 08 Aug 2023 22:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691560065; x=1692164865; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=CBLwxu6RYThOPPkkhftSaHaz4S+8BmxS9YaXuc86KFk=; b=stTWLXEu8wC6U7FPxhdve1jfeBZsyNvTpiOBh5eVf4eP+dWy29hRzi1XPR0hlS75Lx LMqZtQ1CAbb1AR/nvsmWujjIORMF2/EzNRdIS4RXttwv8QZvo0XcIT9n8gzIJe4v1ONs OdJ6CBIRmoEd9+XXN6V3Zfw9Wdn4sYTwONkpNW/lDftSJkXle1oa+YkEw3zsSBE4il5j Y39ECNj/5se9obsALwgDz4Baewve5gWAjvI+bA9LUd5OMwcP2HgrzyBhLDi+BiTG49pM eFS75Xk3B2B79x1hkahpa57yttr5qVDTwIohhJqvZRoc1ypZlmGlkcNMQSWMzglaSmWu TBpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691560065; x=1692164865; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CBLwxu6RYThOPPkkhftSaHaz4S+8BmxS9YaXuc86KFk=; b=bFOKdCuUWItI0G+fG3XtPuGkNJD+chZKqDKaxAg/PAkPh4hNWGXREANWM7RBsko807 pCxRs9ghUvr8mJ8gB35a+MJAzJfAw3nBOMeG2FUCEpUY6/t9psNX1TCPy/yVTg6QKinq NYUk/Or9oYcm7i1pjRhOuzCFpItHT7616axe3St+srRkIYCnJXDskAhmcTxNMybGEmJv K0Ai/Vb+O1ic1BYNOhydvqIQH+TkbQ97wXm3zSKyhV3V5cWe8xOSnadvHuf6mHenpCkY NWWYuXXfM9e8bYRJmkRfYD+DFHzceLqd+RAnqKCBqyVjrAKAvZiZ6aJ4m0FBEBbq74Vp dA3Q== X-Gm-Message-State: AOJu0Yyt1dJgxus+R/qUwQXTNj7LtLDajKSvt0DmInZY/tWxB2puaEfp MLk6gI0MfVaPyPFQCOVfAOs1c5EQHtDseYUSNaI= X-Received: by 2002:a67:fe4c:0:b0:443:6c53:e26b with SMTP id m12-20020a67fe4c000000b004436c53e26bmr2002986vsr.10.1691560065096; Tue, 08 Aug 2023 22:47:45 -0700 (PDT) MIME-Version: 1.0 References: <20230807122233.28563-1-yangyicong@huawei.com> In-Reply-To: From: Barry Song <21cnbao@gmail.com> Date: Wed, 9 Aug 2023 13:47:31 +0800 Message-ID: Subject: Re: [PATCH] perf/smmuv3: Add platform id table for module auto loading To: Liang Li Cc: Yicong Yang , will@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jonathan.cameron@huawei.com, linuxarm@huawei.com, yangyicong@hisilicon.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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 Wed, Aug 9, 2023 at 1:01=E2=80=AFPM Liang Li wrote: > > On 2023-08-07 20:22, Yicong Yang wrote: > > From: Yicong Yang > > > > On ACPI based system the device is probed by the name directly. If the > > driver is configured as module it can only be loaded manually. Add the > > platform id table as well as the module alias then the driver will be > > loaded automatically by the udev or others once the device added. > > > > Please consider revise the long log to clearly express the purpose of the > changes in this patch: > > - What's the exact issue the patch is addressing > - Why the changes in this patch can fix the issue or make something worki= ng > - Consider impact of the changes introduced by this patch > > These info may help reviewers and maintainers .. and yourself on code mer= ge. years ago, i found a good doc regarding this, https://wiki.archlinux.org/title/Modalias guess it is because /lib/modules/$(uname -r)/modules.alias fails to contain= smmu driver without the MODULE_DEVICE_TABLE, isn't it, yicong=EF=BC=9F > > Regards. > Thanks Barry