Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5716787rwi; Tue, 18 Oct 2022 03:12:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Fwf8n77a6d7xRQD3ZXZtY0iMmmFn8TMf8HNZJ6YeOB7jTlbG8JGACTkC+4cNY7OmKZIsP X-Received: by 2002:a63:2318:0:b0:452:598a:92de with SMTP id j24-20020a632318000000b00452598a92demr2046082pgj.73.1666087925618; Tue, 18 Oct 2022 03:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666087925; cv=none; d=google.com; s=arc-20160816; b=GvG5PABFtnqqdltVrY+d5MzgKINrJAdMNgw1UMI7Mg9KwY55d/BfazLEtB7OlPRsiH 5qJHGzpiPzD2RGsTV9rx50U4Y7Z733Gd5sS0Sv5wKA5+T77RFUcFPj0pb9XxwGpdM0hu 8g+Cf8rfIN7ZM+HKumcPYT9vL76deSc47UhlsNrcPAFt1g/dn5eCMYK343NUpJr61b98 q9FFO7FuOJTURdKt2xmJjBrLqHXPBJVu5F2exRFPG5KTFgn9HyfV4vywI7MQF7qgwjNa wso7W/o42khja8FUXZ06kITsYywRBNIuO73RMqPf4oZu/lfX98LVjQ5jqd/y3nfNb/d4 2Mgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wQBkHoM+9stpbfc07Sf7C2iMi2dKdp2h6d3KI9FuXbU=; b=STpj5WwUEvCDPEGgH2v4oWC7Uga+RB7LehdovwJmAdz38u8r0w3kKS56cMbdNYqU9r uBQOYvCDDMWaax8kSqUrWHr+gtTxgAslm9uCzoVKUUaN2wyLZXNRA6Hs7ayFELt5eObH aoqodXkTWVB0D22kMgcgndy/Vh1Ju7TX5ILSd2GxLJCynm8z+M/WvJD7MmfyQT7/obka 4jyhbaAxGBenPveasz/48M+fK+TQfblloTpVkgrDJX3MZaPRwFFkbiT8tGpv3b9jZZbE e4ROAmdVpv5om4Au27s1O+9De5t1p5dEPP4CBoFyS7mw34CICddNk0kXZD4GCsH2jeTq OiqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RmxVfyxp; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g63-20020a636b42000000b0046004f18c6csi14313193pgc.456.2022.10.18.03.11.53; Tue, 18 Oct 2022 03:12:05 -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=@collabora.com header.s=mail header.b=RmxVfyxp; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbiJRJug (ORCPT + 99 others); Tue, 18 Oct 2022 05:50:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiJRJue (ORCPT ); Tue, 18 Oct 2022 05:50:34 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 942692B60D; Tue, 18 Oct 2022 02:50:32 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id E41846602334; Tue, 18 Oct 2022 10:50:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666086630; bh=HfceC2aAwhgWtVVcIcG4NNLS5294fMdqXNStPSlbxDo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=RmxVfyxpOundxTRNDFpEJpaJSfO6XVh046emRYMEp/ytLA0guvbX8cXguC/jnRt+D IivPzC2SQlsUQorWcCdNL/xrwC0IG6g1BTMX2/wpOo0vJS4kOy5USqnnP20QOQ98YI EBf1/WatdRvRojOE4YzjC12SWNelM6Pvm0og/mEV8lQrRv11Oohqi3amLiHe1L9OVl 3YMK7tbTk4N/akX0eHOGtV2ZmnHq5Rn/uu17aro73Rn6ktZ7xdu1pnahbem+KF9P4h H3vXYlu09s3LZg0wZhkmr1gF5IgPcstsvQs4mAyau21E6RWMaojzUgmdGnlIZPKAVT MGGe2qfFSxGZg== Message-ID: <438bf06d-c4f4-74b2-8903-e89dc52196a7@collabora.com> Date: Tue, 18 Oct 2022 11:50:27 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH 1/2] mmc: mtk-sd: add Inline Crypto Engine support Content-Language: en-US To: Mengqi Zhang , chaotian.jing@mediatek.com, ulf.hansson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, wenbin.mei@mediatek.com Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221017142007.5408-1-mengqi.zhang@mediatek.com> <20221017142007.5408-2-mengqi.zhang@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221017142007.5408-2-mengqi.zhang@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 Il 17/10/22 16:20, Mengqi Zhang ha scritto: > add crypto clock control and ungate it before CQHCI init. > > Signed-off-by: Mengqi Zhang Hello Mengqi, I'm a bit surprised that enabling ICE only requires enabling a clock as on downstream code I see some SMC calls to MTK_SIP_KERNEL_HW_FDE_MSDC_CTL. Can you please explain why SMC calls are not needed here? Thanks, Angelo