Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3388155ybp; Sun, 6 Oct 2019 10:50:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0aT48OIyuGN7H2Njcm1pTaIlc7WGXIPzB6hsBYcZf3opkYfg8D8+l04+MvBssQzxnChNE X-Received: by 2002:a05:6402:74c:: with SMTP id p12mr25225298edy.135.1570384213123; Sun, 06 Oct 2019 10:50:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570384213; cv=none; d=google.com; s=arc-20160816; b=YHvJJbX5QIJXravk+D+C5kwlBhi1YkfozmvCZgXVACHFhVkj5TceMH1pg4mDXa93yI PriM1eq0u2fB1C3SjUJazRoYGCq65SyA9ZARqxBs5TxFHTj6qXdGAGLiKn2gLK3kPlfq EO/iMh6eLzZs4eyqSQqiUcrWA2iI4kcRDq9RJor1QOpzLIwLfnUqDPj4PXJqGvIGgr6o AIl/aCeoOTyMdv5hjOXBSzIqnkzoE74K2MrIkBSY+7V8rlsL7maMhzoTC9T7O6GmWZyV TihANSX7KnbbaKEXxtRMV+jcgn0njdrnwQrmlopON4nONfJ+1wdIlRA24R1R0nNCVe2Z Y4ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=czeOuHrz90qHVy7jWbA+3G7MTXPbeW6Z+TykGOeCtDM=; b=cBC9EX6hK8PZnXkgJeNHwZ+HSQqVk7gNrLSn75XsrUlB3rWzF5iOZNdQLODM9Oen2h 4mzQ+C8ymZl/utX0F3DGQnFWvzMsZbOGeZid4MOc1sm29qP7KIEOjSw15/vXT9ribuen kizvdpi4Xx/OaQMGI1Hrbgd/5Ey7LCZ3b3of8K7EWO+ORevI9HXrvMuGykP2HGYBDNtp X0RwVaLnwCDpJw5rDKw6Svuvhu3rrMc0VJvX15wrt8dDMjgKTaSS8JcDOXm/yNzc9WgL 4Raq8qk2IK5g1enM4WlXrF/DtZ4oSIK9MxaGPojQV3rnpe6x8oVuKZWPgspzCDu0S4ve AhUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RxLQxdDL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2si5859512ejr.332.2019.10.06.10.49.49; Sun, 06 Oct 2019 10:50:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RxLQxdDL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726918AbfJFRr3 (ORCPT + 99 others); Sun, 6 Oct 2019 13:47:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:45248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731784AbfJFRox (ORCPT ); Sun, 6 Oct 2019 13:44:53 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE2C92087E; Sun, 6 Oct 2019 17:44:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570383892; bh=RZZgYD1fyG5xCQcGnFdd9/9L3RDH6oeyniowEFWObRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RxLQxdDLgRVtvu5CRXALq2+SCHGtHJNsPy2XYhBvl+G2xcnNrj0vI0tf4ObxBV1aQ vphmRBA7chHhgy1pou5023PvN8zGhET7ZWTMW1yl6s6B6gsLX6uQSSFLxsmow358CL Q1ykIW/WI5gFk0GR/TUrqCeYUeFlUfgf6Ff0kO8s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Xiaowei Bao , Lorenzo Pieralisi , Kishon Vijay Abraham I , Sasha Levin Subject: [PATCH 5.3 092/166] PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver Date: Sun, 6 Oct 2019 19:20:58 +0200 Message-Id: <20191006171221.289122331@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191006171212.850660298@linuxfoundation.org> References: <20191006171212.850660298@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xiaowei Bao [ Upstream commit fd5d16531a39322c3d7433d9f8a36203c9aaeddc ] The layerscape PCIe controller have 4 BARs. BAR0 and BAR1 are 32bit, BAR2 and BAR4 are 64bit and that's a fixed hardware configuration. Set the bar_fixed_64bit variable accordingly. Signed-off-by: Xiaowei Bao [lorenzo.pieralisi@arm.com: commit log] Signed-off-by: Lorenzo Pieralisi Acked-by: Kishon Vijay Abraham I Signed-off-by: Sasha Levin --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c index be61d96cc95ed..ca9aa4501e7e9 100644 --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c @@ -44,6 +44,7 @@ static const struct pci_epc_features ls_pcie_epc_features = { .linkup_notifier = false, .msi_capable = true, .msix_capable = false, + .bar_fixed_64bit = (1 << BAR_2) | (1 << BAR_4), }; static const struct pci_epc_features* -- 2.20.1