From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B91FC4320A for ; Fri, 23 Jul 2021 14:24:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 607C560EBC for ; Fri, 23 Jul 2021 14:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235274AbhGWNnq (ORCPT ); Fri, 23 Jul 2021 09:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233666AbhGWNnq (ORCPT ); Fri, 23 Jul 2021 09:43:46 -0400 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB46FC061757 for ; Fri, 23 Jul 2021 07:24:18 -0700 (PDT) Received: by mail-ot1-x32c.google.com with SMTP id i39-20020a9d17270000b02904cf73f54f4bso339991ota.2 for ; Fri, 23 Jul 2021 07:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TFOUkgVe/De3oymeenLBuNPer+TUmPN7lpMy3blENNw=; b=kMYc3VLcZ8HQkeGDP4GCj08ozIhO820sv8drLzH/p0tt+jnIl+jqN4ig75T2p0lKw/ GbMiV85J/nc0wqsoDrAy0FBoq8f4oWdxggAf3+1YZZPlqb/CIQw5PVwLqx2g1fKTU/xJ 2zCvCUTIqjmHIwMlzDo3Cq42Eirw6Z6bccTo6dTdRcjCoYtQKxDXrejsuVsuSV7LCRQR tuD974zCr28piclys4fQ7Y+lvwA+YYLmvDQ7giWULxqVOoa7Wshd7pAgkk+NcwkU53VM XgANK5fQb4M+ZZKMo9j6bpevRaDl4Dkyn+6PvhDQZiXVmnZmgWeY7qgorQkOPqWuAEcY HFBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TFOUkgVe/De3oymeenLBuNPer+TUmPN7lpMy3blENNw=; b=HCe5P8qvrcs6IDBeFrVpWNTst/kX25DrObcpM2nRCDaHkINEfrnDKRK47SENg50qtr mLjBP76hsm3eM8dff7xs45f8BSHT/EKuNoCLEUGjwDeiOqgT1K1RNOJ0t4w+imjBW5Dp Araxnz1zs3AekpSOxBHOE36mXBXjgQhxoCFyeGIs+7yVSvJHJ2UcHEy8+jbkEY6aRXx1 bdmO5jIK1f7iXAF+jSofxDJHQXNDj3sFRo3ESRznHm+Mw2GK07B4ef1mfHJN1GQNB19H xxPloN4XLEtD0jN52XOU3+RR/q8YlkLgC1o/RGdhTisbtqT7e4XyKYpPJgL74IQFnf/Q ByGQ== X-Gm-Message-State: AOAM530kCGmLRju7J55OMFK9TO3wNpf7livup8Ize2h9nJekpffZ3+cG M5v6IzseK/+uCyIDJNDIsjVXXg== X-Google-Smtp-Source: ABdhPJz+8ZHqxxjGU86tyolNaSdy9VlLyxBEJo+yDX15pPrPdOO0ZWJWGxlkjLP/OhHNkko5BhKtfA== X-Received: by 2002:a9d:2c61:: with SMTP id f88mr3251914otb.62.1627050257958; Fri, 23 Jul 2021 07:24:17 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id s7sm3420836ool.14.2021.07.23.07.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 07:24:17 -0700 (PDT) Date: Fri, 23 Jul 2021 09:24:14 -0500 From: Bjorn Andersson To: Saravana Kannan Cc: John Stultz , Greg Kroah-Hartman , lkml , Catalin Marinas , Will Deacon , Andy Gross , Joerg Roedel , Thomas Gleixner , Marc Zyngier , Linus Walleij , Vinod Koul , Kalle Valo , Maulik Shah , Todd Kjos , linux-arm-msm , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , "open list:GPIO SUBSYSTEM" Subject: Re: [PATCH] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module Message-ID: References: <20210707045320.529186-1-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Wed 21 Jul 16:07 CDT 2021, Saravana Kannan wrote: > On Wed, Jul 21, 2021 at 1:23 PM Bjorn Andersson > wrote: > > > > On Wed 21 Jul 13:00 CDT 2021, Saravana Kannan wrote: > > > > > On Wed, Jul 21, 2021 at 10:24 AM John Stultz wrote: > > > > > > > > On Wed, Jul 21, 2021 at 4:54 AM Greg Kroah-Hartman > > > > wrote: > > > > > > > > > > On Wed, Jul 07, 2021 at 04:53:20AM +0000, John Stultz wrote: > > > > > > Allow the qcom_scm driver to be loadable as a permenent module. > > > > > > > > > > This feels like a regression, it should be allowed to be a module. > > > > > > > > I'm sorry, I'm not sure I'm following you, Greg. This patch is trying > > > > to enable the driver to be able to be loaded as a module. > > > > > > I think the mix up might be that Greg mentally read "permanent module" > > > as "builtin"? > > > > > > "permanent module" is just something that can't be unloaded once it's > > > loaded. It's not "builtin". > > > > > > > Afaict there's nothing in this patch that makes it more or less > > permanent. > > The lack of a module_exit() makes it a permanent module. If you do > lsmod, it'll mark this as "[permanent]". > Cool, I didn't know that. Thanks, Bjorn