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=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 32268C433E0 for ; Thu, 7 Jan 2021 14:31:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7779233EB for ; Thu, 7 Jan 2021 14:31:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7779233EB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=N4DaolMY7stjh4bom1DO2yo4Ajehhxi2RlTzF0m/rEY=; b=dylRYQ/5QAZ89co0WuNiLCKmj MdeSk3QBzl08U5skitPL0bsr7AKoRVqPdUJdGIUr74mQ+Ly/Dfb8ubLMINEH5ld7uIbnj6e+IL6W+ f55oGztSsdMCa6z1ZGtfnsdFVQEpSaDQgnf4295VjnqUYrKy2j3lVOTjLx/WW1pAl+0pWrK0ge9gm h9aVp7JjwZHr1wamdIGumui5kowl/NdN50gEc/pkgidP+xuxMSP5oOM0HZcMUf9CE4LXaov87eQbp eMa/rMyZKqN0JnSAt67QxL1aUBKEviQY3VThoG5wHy6vXBpgNbTfnBzsjAfoEySwzc7faWPaCW4Jo c3hLtWJNA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxWIw-0002JH-GT; Thu, 07 Jan 2021 14:30:22 +0000 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxWIq-0002GR-UJ for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2021 14:30:18 +0000 Received: by mail-il1-x129.google.com with SMTP id e7so6892572ile.7 for ; Thu, 07 Jan 2021 06:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lZ360d7dY3x4Jmcj9v1OSvGTbH537K+ABkcsuSU72C8=; b=rcvZNaCpiXJk5A0gg5iqqkJ8wwepUifSO4ZxnGjp+xbhpY4yvG0P0RAtM6v68zgFOG botTIOkAFdn7V0zMOYz145VF5DUKbky4pJeobP8BUDcQND/V744pvmDeoFuHjy6PtLfO A2icfEv0QkCuvv59EhNmnXNwxwjZBr8aiNdrNdc/A4mhDUk08WvbBr8L3Cz0XWujnI1A KnoKHhMEvzvqgyoEfzcLlpH3Mg2WGBRapFJV7yA85fmNSHEnLSKcT0ghauwoOEmS4x02 7wMzU0eSo/WyciehLKr+OsZi/mjn2/506eEcDtEZMsJO+DFH/Ozp8+UVei8CEjabJQ98 zd+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lZ360d7dY3x4Jmcj9v1OSvGTbH537K+ABkcsuSU72C8=; b=YP8K9KZRfjpgA01EwPqabzE5KF93XpWyz/njuDZIKdMtni6aSgzZS3dywEAi/FsNtr ePAD1cuSyOemcAN/2cSnRBQpCdg2sXheiQwKwiMEGwNibZAuy1FoLSEIl6qZ1/u2EPjB cUD6WiSKu4tg7b2Bnga/N325AMcyGeqiQ3LmnGIaiiFIq/AG9u2mv+aGNuEKefbir0uA qpMfpWrWBkXJf5WBkrNg6+peGiR7fcB5zZ9SrvHN4ZuWZP1ppoPVWdXcmVygLWdvUH7J R9RRczvNt0BEyr905lvNG/UrTI9gwX+0hwoVmAk/IIUQVvUTwcDX/zxisHMf9uKFXTe8 tSow== X-Gm-Message-State: AOAM530towrtE4u95hylENkNdeLP9+D7QBP1tjfi3upc7bRaF/gtUrUq fhe08SIkM08PO1JnhwKjvh1Nog== X-Google-Smtp-Source: ABdhPJwm3VK3HntHK43XEXoAPkYpbM5dOSeaU4Wlzzh7ajTQcVlU6zolWFBvGElXenJm+wfSEkhO1w== X-Received: by 2002:a92:bbc1:: with SMTP id x62mr7112810ilk.73.1610029813451; Thu, 07 Jan 2021 06:30:13 -0800 (PST) Received: from [192.168.1.93] (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.gmail.com with ESMTPSA id f3sm4527282ilu.74.2021.01.07.06.30.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Jan 2021 06:30:12 -0800 (PST) Subject: Re: [PATCH v4 04/37] [RFC] firmware: arm_scmi: introduce bare get/put protocols ops To: Cristian Marussi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20210106201610.26538-1-cristian.marussi@arm.com> <20210106201610.26538-5-cristian.marussi@arm.com> From: Thara Gopinath Message-ID: <25d2e1ca-52dc-69a2-636e-211a21884f92@linaro.org> Date: Thu, 7 Jan 2021 09:30:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210106201610.26538-5-cristian.marussi@arm.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210107_093017_003337_A26E0040 X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: f.fainelli@gmail.com, vincent.guittot@linaro.org, sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@Huawei.com, souvik.chakravarty@arm.com, etienne.carriere@linaro.org, lukasz.luba@arm.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 1/6/21 3:15 PM, Cristian Marussi wrote: > Expose to the SCMI drivers a non managed version of a common protocols API > based on generic get/put methods and protocol handles. > > All drivers still keep using the old API, no functional change. > > Signed-off-by: Cristian Marussi > --- > These non devres methods are probably not needed, given the devm_ ones are > already provided and any SCMI driver (user of the API) has surely available > an scmi_device reference to use in the devm_ flavour...so the RFC I agree. The protocol devices can use the devm_ flavor. -- Warm Regards Thara _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel