Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp667007pxx; Mon, 26 Oct 2020 18:43:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZCbt93o9UX/IpQAZGmp0xWNtaRkArmO6hAoF8gr82fRU3U7V53QoYW46sksyYan1CoX/6 X-Received: by 2002:a17:906:c407:: with SMTP id u7mr128406ejz.206.1603762986865; Mon, 26 Oct 2020 18:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603762986; cv=none; d=google.com; s=arc-20160816; b=ADsVXj0sdodmOMF6tbk5drwV6twB6+TGjLJA0ldZzAEisTx80+s6m0PjRFxR0d9nlf p2PCCgaUq4iwJb6g8idrnaQTqrIyBuhgDPnX0EwvNPABV/EszDAY0xvWZbuKWYtfeCbg pM353SK9oRYRD47lp0UJEMCaz6uiTSQefz0q2oeU2vpP0NByDxph3ZsbGuK5l7KYUlcd CiJ57dhnabW4xEuAakFLsnC2Uo7xNkWWm3r1IkQvJ0NQOibmiRI0AuYWBB86Oci3VHJt kRC0LB7msDG/30W4sZeeAhg0vemmrbLBv8xNmfGlMjfbNuYkcatU+6k0WQdxbRk6E5C5 DYLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gFH/5KIVB0YY9vR8N8DBkPyEexcV5fA6eXonOBRGDBw=; b=JrOtk1qF6oGz6eBVmWpj5n5Dtb7zuRItSMtqk19xVcuHVpRAz604dCMGWLYn3fCM/s kidru/hveujAYz96vttHVlF95IjXE/Q1RtAVpod/pyG+dCmY6chfkQthXZx0KF7Tam4b pkgRaCBTvDMh4LjXYwHBIj2mzfjRTXDGmhgYBPbTUEQ1lwzb264WTIKy+shriK/Hsblf g3Sa3bzY9l/0S+OBIFwa5PtME864LVEWmIOjpnL0WMgfJlduNaGfaGo29o7iURcwCg0c 4qgkQ1lMnjklQQb4O2vP6P1n8RxOBgo0Y2WIIN12U4SP2Nm9+xMZmDSpqD8B8tXwSDb8 IGww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NLbQM6Mq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d19si7994247ejr.473.2020.10.26.18.42.42; Mon, 26 Oct 2020 18:43:06 -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=@kernel.org header.s=default header.b=NLbQM6Mq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1788539AbgJZRwB (ORCPT + 99 others); Mon, 26 Oct 2020 13:52:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:44414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1788534AbgJZRwA (ORCPT ); Mon, 26 Oct 2020 13:52:00 -0400 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6D949222D9; Mon, 26 Oct 2020 17:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603734720; bh=80BQL1whzvkrrvfpvr5c9iWfuQJ7SPY/qpkWqr72d4E=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NLbQM6Mqz1PSs9AvSN1k+nXpoClbj2cBtcL8SesBzun21n05XcN/gUueWCxORCqR/ mxHDdOoHMb7TzMXwCV33QguMXq3Rmr/8tCc+lj6wgH7iwf6mOeYefn69nrpRreb2YV 1BJ7zEr2s6i0X8297EqKfMOFfJs8ZMVgO8GnNjmc= Received: by mail-oi1-f181.google.com with SMTP id s21so11369537oij.0; Mon, 26 Oct 2020 10:52:00 -0700 (PDT) X-Gm-Message-State: AOAM530vEI40TQcIYkDQWNoyLIAzSl32U9jgvJoYMg+kZakJhyhJG1RK IU+DTfFk8T7iscJSWHnJENrmUY9Qqto6JgXUKA== X-Received: by 2002:a54:4588:: with SMTP id z8mr15075825oib.147.1603734719848; Mon, 26 Oct 2020 10:51:59 -0700 (PDT) MIME-Version: 1.0 References: <20201023195655.11242-1-vidyas@nvidia.com> <20201023195655.11242-2-vidyas@nvidia.com> In-Reply-To: <20201023195655.11242-2-vidyas@nvidia.com> From: Rob Herring Date: Mon, 26 Oct 2020 12:51:48 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] PCI: of: Warn if non-prefetchable memory aperture size is > 32-bit To: Vidya Sagar Cc: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Bjorn Helgaas , Andrew Murray , Thierry Reding , Jon Hunter , PCI , "linux-kernel@vger.kernel.org" , kthota@nvidia.com, Manikanta Maddireddy , sagar.tv@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2020 at 2:57 PM Vidya Sagar wrote: > > As per PCIe spec r5.0, sec 7.5.1.3.8 only 32-bit BAR registers are defined > for non-prefetchable memory and hence a warning should be reported when > the size of them go beyond 32-bits. > > Signed-off-by: Vidya Sagar > --- > drivers/pci/of.c | 5 +++++ > 1 file changed, 5 insertions(+) Reviewed-by: Rob Herring