Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp896643pxy; Wed, 5 May 2021 17:18:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJiWDk8QiB6kF1QitQprbc8NmV0AIlAsnTwbApE4o4pfMHIV6YZdWKNDUNy6v0nIUD0Y9f X-Received: by 2002:a05:6a00:1a54:b029:278:e0f7:919d with SMTP id h20-20020a056a001a54b0290278e0f7919dmr1436615pfv.52.1620260292526; Wed, 05 May 2021 17:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620260292; cv=none; d=google.com; s=arc-20160816; b=PNK2TpTwMguRz8p96M2JyDW5EHN9eH0wYTkMH1XhcBIKMyTcBy2Zd/s7XP2ucf2yw6 D1O8C1330W5o1ASKdz3QtSCAokM99gwsaoEFY/COC7wgoEHYnnoUza9fqCXpSnzfUjc+ JZNvbr6u0Wf/xh8ZKAz61lbUqfty8f+NzNbzj5B11iJcn1cPQdqPyR0ytiRDGncRXAro YlGISFLG7CDeSPzCwYsG0DMK8wy4u/omX8KD3t6Olo6jdOjIqHMCMhKJ+XhzoAvWOpoe 6sLFZbeLbUbQX8hPXBWDGVGWbGKQsiGb2m12BnofUfGlK9ayaXI3bJJT2ghTOe5x2pq7 SMJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dmarc-filter:sender:dkim-signature; bh=5fwKcjHax50dfp3M7rm8cG/FTAK0v0ueeXfFMFBGvSw=; b=QPeLvquXEY26ZMmK6Abx/xhVuEWx5jkWwJI8HtE+97rT29fXji/y0EU0725vUoaR3C 0L+Y9/EJSQW3dccXiMSXMBlAImigb7FvPK0QFUnXODzYnr0wOWJ5itdCO/v4vR76HtOv vGhAdYnrJYFUXF+W7+eZqHFCx5dFy1X7m6WkUR2v2URVX9ckvuDJVS19yKqiwMx3v31o zCPGhYE/3qgA45MjYzlAcKR2qWaPARtYpI9RTekJssjULyIo+bZKBF6xpWDB+vDTnxwE wahpEj2M/aswrxzRSPqaFPz/Il+RKXpJ39jE59A2wKrPOGR+f2Gjd8/THUdWWOvO06hF wY5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=tIKZ7Bbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l22si945553pfc.9.2021.05.05.17.18.00; Wed, 05 May 2021 17:18:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=tIKZ7Bbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbhEFAP1 (ORCPT + 99 others); Wed, 5 May 2021 20:15:27 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:62265 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbhEFAPW (ORCPT ); Wed, 5 May 2021 20:15:22 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1620260065; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=5fwKcjHax50dfp3M7rm8cG/FTAK0v0ueeXfFMFBGvSw=; b=tIKZ7BbsvijAgA7WFMFAiuUI4Lsey7RVFHWVxrKlucrCteqoL76/1hl5pOexexeNgnh12h+w EqOQ9apz7d1lb2iiaWc0boGN3Oqu04yW3KmY/MOqRn9wwAiAFaiB3nEDmH8b0mJjoTlWR8C4 62+iC4D5BcyPV8x1anK/1Js6C8U= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 609334dc87ce1fbb56178f1b (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 06 May 2021 00:14:20 GMT Sender: hemantk=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 53B0DC43460; Thu, 6 May 2021 00:14:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.46.162.249] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: hemantk) by smtp.codeaurora.org (Postfix) with ESMTPSA id 457B6C433D3; Thu, 6 May 2021 00:14:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 457B6C433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=hemantk@codeaurora.org Subject: Re: [PATCH v3 5/6] bus: mhi: pci_generic: Set register access length for MHI driver To: Bhaumik Bhatt , manivannan.sadhasivam@linaro.org Cc: linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, linux-wireless@vger.kernel.org, kvalo@codeaurora.org, ath11k@lists.infradead.org References: <1620234501-30461-1-git-send-email-bbhatt@codeaurora.org> <1620234501-30461-6-git-send-email-bbhatt@codeaurora.org> From: Hemant Kumar Message-ID: Date: Wed, 5 May 2021 17:14:17 -0700 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: <1620234501-30461-6-git-send-email-bbhatt@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/5/21 10:08 AM, Bhaumik Bhatt wrote: > MHI driver requires register space length to add range checks and > prevent memory region accesses outside of that for MMIO space. > Set it from the PCI generic controller driver before registering > the MHI controller. > > Signed-off-by: Bhaumik Bhatt Reviewed-by: Hemant Kumar -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project