Message ID | 20210802051255.5771-8-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:1185:0:0:0:0 with SMTP id f5csp1600548jas; Sun, 1 Aug 2021 22:13:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPR5sz6nnbKcBNTZgb1Du0cwgvEVN+EHp+ZfxfNl1HGNHSMen8ozoQoTeTQxSvLn5DhwEr X-Received: by 2002:a5e:c311:: with SMTP id a17mr10633115iok.22.1627881237324; Sun, 01 Aug 2021 22:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627881237; cv=none; d=google.com; s=arc-20160816; b=VUDqi4Ty+J4gFe/0UIL4MHMTHjlHjLgYW0cbOumuyxXfsUEVB44EoNObnocC69O3E7 9hR4/MkGrV8/fGP08IbF6Rsu5XPsJ0GBWKLnrM0h/oECdbEdC2aAz1tf273zKuJe7Pvt 1BKbr41PAZW7+0lIqVeeyZ1qKyKCEXP3MBCO1ML+xlVzgZFIXpS0egpdncIVPXNRZYqN 3ikroXjp5E354Gss/k0QzqHgmQzA2DJJZ2evVPyo7qA+aVcANt+FCp8auRBInvdJOU0s Ezsr9snOa8S8RAHdDMY+BGpZe0zoBrYnRDjjOYo5ExIGkiVeEdiFca0SCEwAB8e2qaoG 231w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=d6QO+qoPrYnXm6doNgVAXn8uk9174Od4qwkAZLnqxu4=; b=oReub7OZ9DboRKDIQWIa9Jcq5iPM0nhL1oY59o91OxsPyoNji5UZyM4RvRcE6Fpvt9 tZKeQ3vk6VsJ+Ovata0bE+2rLJrEr7SKmxomavOJhCw70/NuPa9r0adNXHKBKJcC7JXv fS35C/J+5ZAD/K1M/xafLYdQbkiRA9YdWnwNfeABYZ74tRtK5SCVNtB0zJFLOY16JiQ2 R2Mz7tdSCqiWXU9aaaP/w2H/GxTDqH4J3gu9VsLW21qmACn1E9rjUehLN5fK7k0/3F4/ p4UKt6Cga1Wp/geSxDGM8FMieCyHOY+a06e8MtMPi8jmMfirDBNDDcNCKSBYJhiwCD8O Ig1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ahF6JFhQ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si3730678ior.60.2021.08.01.22.13.57; Sun, 01 Aug 2021 22:13:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b=ahF6JFhQ; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232298AbhHBFOE (ORCPT <rfc822;naresh.kamboju@linaro.org> + 17 others); Mon, 2 Aug 2021 01:14:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232234AbhHBFN5 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 2 Aug 2021 01:13:57 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80BE4C06179F for <linux-arm-msm@vger.kernel.org>; Sun, 1 Aug 2021 22:13:46 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id m10-20020a17090a34cab0290176b52c60ddso23013844pjf.4 for <linux-arm-msm@vger.kernel.org>; Sun, 01 Aug 2021 22:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d6QO+qoPrYnXm6doNgVAXn8uk9174Od4qwkAZLnqxu4=; b=ahF6JFhQyFCCm4IkDoUHiLUvKcqe/AAERTdsultW2Im879ODNJUz/Mw1T9ezNytBvq dPpiZ6tqpwXjZvDEP3CM5ENUSE+TaDkQEtzpymiFBa/r3E426u2d0Q8CBhf+lVULn0Hf SlLerKSkJJjnZxFHh1hPy1OuyVXzUYka7SHZy1tPvq+oik+4DqGb+ZwrR5zeEMqn/6PK +51Cc4U44FNvb5ahhEQx9UhGuGfk03RuTcoZ+raYa6x/+f+pBwpMq1Zhk9fNfiR3mmaQ MYVHBQ5rHaf7nE7nmhv/lgDiO6JqUvBvqXESYa2uHWet0HrCMNK7JVFuf9ueOW80YmOo 2Jhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d6QO+qoPrYnXm6doNgVAXn8uk9174Od4qwkAZLnqxu4=; b=RPUzrKYjT2lUX1eL/6dhdbyaUYuT/aUprCX2wNy5edZfXSIThJDeuCtX6ArCTQFTbt a21YvSFEyA9T9aE+rG2HbeKz+suGMv2NEBOwU6/hySZSWL/HthH4h8sCa0cU+G5+2fq6 NBmuGrr9TziJYCNNGOZWDXBlkfBnM+lyUtfskeMeIdxvQ33xXT1dWCvXkU4bMf0Ex7de LqtKENSD8yzSuRdwxa1+7ER9vrfYNAxQQla8Qqz5SYKXOjegSVF6mfpIaD6mftnfQ6FL gpD86/D3qvEV39jSr0w4U9Xn2NqGYXt+JfcnPuZNeK8oZX6RTQrp7kHJVNGGx2qziUoC 1kkg== X-Gm-Message-State: AOAM530QrdaErwtW2m6+JXwRJ3S1YS4dul5Nd1NyTJGEwanP84oF/YUC MbNt4Sw2YFRnuaxV1cUc/PWM X-Received: by 2002:a63:1155:: with SMTP id 21mr1053634pgr.346.1627881226039; Sun, 01 Aug 2021 22:13:46 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:6e99:242f:6391:b1b4:1ad8:fbdf]) by smtp.gmail.com with ESMTPSA id x26sm9947000pfm.77.2021.08.01.22.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Aug 2021 22:13:45 -0700 (PDT) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 07/10] bus: mhi: pci_generic: Set register access length for MHI driver Date: Mon, 2 Aug 2021 10:42:52 +0530 Message-Id: <20210802051255.5771-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210802051255.5771-1-manivannan.sadhasivam@linaro.org> References: <20210802051255.5771-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
MHI patches for v5.15 - Take 1
|
expand
|
diff --git a/drivers/bus/mhi/pci_generic.c b/drivers/bus/mhi/pci_generic.c index 6e1a86021b75..c772d94025fe 100644 --- a/drivers/bus/mhi/pci_generic.c +++ b/drivers/bus/mhi/pci_generic.c @@ -500,6 +500,7 @@ static int mhi_pci_claim(struct mhi_controller *mhi_cntrl, return err; } mhi_cntrl->regs = pcim_iomap_table(pdev)[bar_num]; + mhi_cntrl->reg_len = pci_resource_len(pdev, bar_num); err = pci_set_dma_mask(pdev, dma_mask); if (err) {