Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp644522rdb; Fri, 6 Oct 2023 14:18:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPiNrQuq2D0JexHgWfvQOzyCgMNTj6xSWkPmtHTXlOYcs3GF2MzEIMZC9pNPUGeO4abvZf X-Received: by 2002:a17:90b:1d04:b0:268:808:8e82 with SMTP id on4-20020a17090b1d0400b0026808088e82mr10372848pjb.1.1696627113347; Fri, 06 Oct 2023 14:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696627113; cv=none; d=google.com; s=arc-20160816; b=ZQ6PmIRpYV7sF8ZwYI/1RAahTUK9yq6RVwNE2fz9kHM9klU0TdUGqbKMv63V+kAHU6 cZJCmMStJQR2X/RXWCtRcfBlHo3+kQ0ile8RXi5RX6Nog2CZWP67WrOMhmhs4KMK6Uil PKet9kZa8uMsPSN1eql2jKc3jDdoGg86etmZvNFZasdu+ib/GEIbVT9hQ3Rve8NvKhXa 5owJcvT0CZ7WwGtmLavcc+wV+/gmpe/7qHsvNduyRD/6nkY/KZ1LRmffjRTuGOKla6LB QqRXoTd3sxoCb/bqLxvKvyJQfYfyQEwBH6fAEh7bGVeAcFFgOAB+s9kVMMyzDBwsz01R wOLQ== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=rE6IA6B4Hk+nEgMBtJ3IL8NSuwYtGuuvfoDejoBxhNA=; fh=3LFSlv5XgAkJ72HKeWHIYNe/776x4E8KV4dWEsyB9SA=; b=nx9jk3Yr0rSEmxeLWr+5QYf2KJM1ALVrGXZ8SaxoyPVAMbiBnm3+d6qw6LDt+7TDwN VwFnZbuSvshSQ7BBHZZljKPnfgV42BDar7UG0gO3lzrZAzNmLkizAfwAn/tVQSITJ/nJ 8QUV6RcNcZ7WQKtGKvpPDgaz/juSjfxmEhj0iOZSZJ6ixiMbX2fuBqMBNS1z05/5g+m2 P3POmqb6ky2Zs1+iuR2CUVRJO/OjrSkeXkiDa5FzOfwvmLPRec3W3bnHM8tsETP6vD+Z N8vDHcgWl1c/sGjsjYgBuADANiPBj1lT2n8z69DYHUUGV+mBEJCCIMNW75/ju5cObo6A TRuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ELkzPuYD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id n14-20020a17090ac68e00b0026822221502si4485381pjt.163.2023.10.06.14.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 14:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ELkzPuYD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id CF86480440DE; Fri, 6 Oct 2023 14:18:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233691AbjJFVSW (ORCPT + 99 others); Fri, 6 Oct 2023 17:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233668AbjJFVSU (ORCPT ); Fri, 6 Oct 2023 17:18:20 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E186C6 for ; Fri, 6 Oct 2023 14:18:17 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-53447d0241eso4788273a12.3 for ; Fri, 06 Oct 2023 14:18:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696627096; x=1697231896; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rE6IA6B4Hk+nEgMBtJ3IL8NSuwYtGuuvfoDejoBxhNA=; b=ELkzPuYDJa9YtyMw7s6sdEqMpJyViFfBdJgiT5UujJoh5YP7u315Otkp4UoN6uSMfZ rj6hAOQxwFDg9uXFTgc0WXZYdg3FwCuTFzjnMRt5j+pPDok1Fa3J+UYzxjpd4u2+ZlhS 9YokyGrUVR6Zs8TwIf8Mnpcroguetm/896JwOfxHRINVbxntkhQWy0gh1jCWfb63QYDX ymtaAV3R7o79Nt2BxR1V4LYOw01Rm4F+E5c+mjXuwewmg+garn+UMsPua/8jO1pNVvrI mMI3Dl5H6XADcvn7dhomfLbV6xxktof7b3OoaNSDqJirVp1X8vZfkEnD+5NE6F1SkFkd M5Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696627096; x=1697231896; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rE6IA6B4Hk+nEgMBtJ3IL8NSuwYtGuuvfoDejoBxhNA=; b=Pc4I8y8s3ImIfZOTyxT9OOAg09wD8CNzy1sAlEYs//RRZ88Q7gCDWeAkQvI4q4HxfR 69SZgB3NAULs43kv1maH17sn3RlnLuG5k5s1eJQJgCyzAvwKuJhp3aLm+SmqepdwhFbc /4vWvzYIX61tOdVqXA4yyRM+QEbdfgzlAspj6eDGgc/7jeOatqJjn+I0b6UHK8f9uPf7 5cwB1fHqJhwpIKGgaNecx81wetV5RCZbDE/A1+aR+viBipuAXrWtvpQ1gIMIZGExyanl wN8zn5yKxah5djI7JrV893piPVcTi64OR6jOQfLlAac1XsTNPM4/x4/WVCMd8cK8CfX0 epLw== X-Gm-Message-State: AOJu0Yw5lVTfpOKfyigSKT05ZWQacv5d3rAZVVBKJDMTi53t+CsG8Xyn zQMpdDFsS5LrXNPhcL+9ID4QwQ== X-Received: by 2002:a17:906:57:b0:99c:c50f:7fb4 with SMTP id 23-20020a170906005700b0099cc50f7fb4mr7899723ejg.1.1696627096205; Fri, 06 Oct 2023 14:18:16 -0700 (PDT) Received: from [192.168.200.140] (178235177147.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.147]) by smtp.gmail.com with ESMTPSA id ca9-20020a170906a3c900b009ae587ce128sm3414983ejb.216.2023.10.06.14.18.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Oct 2023 14:18:15 -0700 (PDT) Message-ID: Date: Fri, 6 Oct 2023 23:18:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 3/3] PCI: tegra194: Use Mbps_to_icc() macro for setting icc speed Content-Language: en-US To: Manivannan Sadhasivam , lpieralisi@kernel.org, kw@linux.com Cc: andersson@kernel.org, bhelgaas@google.com, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, abel.vesa@linaro.org, Vidya Sagar References: <20231004164430.39662-1-manivannan.sadhasivam@linaro.org> <20231004164430.39662-3-manivannan.sadhasivam@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7Sz0QQrHQVzhEr3trNenZrf yy+o2tQOF2biICzbLM8oyQPY8B///KJTWI2khoB8IJSJq3kNG68NjPg2vkP6CMltC/X3ohAo xL2UgwN5vj74QnlNneOjc0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xY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231004164430.39662-3-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 06 Oct 2023 14:18:30 -0700 (PDT) X-Spam-Level: ** On 4.10.2023 18:44, Manivannan Sadhasivam wrote: > PCIe speed returned by the PCIE_SPEED2MBS_ENC() macro is in Mbps. So > instead of converting it to MBps explicitly and using the MBps_to_icc() > macro, let's use the Mbps_to_icc() macro to pass the value directly. > > Cc: Vidya Sagar > Signed-off-by: Manivannan Sadhasivam > --- Reviewed-by: Konrad Dybcio Konrad