Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533714

Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for ThunderX pass2.x silicon version

From Sinan Kaya <okaya@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for ThunderX pass2.x silicon version
Date 2016-12-01 02:10 +0100
Message-ID <sJo2R-5lf-11@gated-at.bofh.it> (permalink)
References <sDI4h-30U-13@gated-at.bofh.it> <sDI4h-30U-25@gated-at.bofh.it> <sJnq9-4Ta-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Bjorn,

On 11/30/2016 7:28 PM, Bjorn Helgaas wrote:
> Actually, that raises a question for qualcomm and hisi: in the DT
> model, we use non-ECAM config accessors in the driver, but in the ACPI
> model, we use ECAM accessors.  It seems like the accessors should be
> the same regardless of whether we discover the bridge via DT or ACPI.

For servers, we are only setting up the PCIe controller in ECAM mode in FW.
If somebody wants to use DT with QCOM Server (unsupported but possible),
they need to use pci-host-ecam-generic driver.

Here is an example:

	pcie3 {
		compatible = "pci-host-ecam-generic";
		device_type = "pci";
		#address-cells = <3>;
		#size-cells = <2>;
		bus-range = <0x0 0xff>;
		linux,pci-domain = <3>;

		// CPU_PHYSICAL(2)  SIZE(2)
		reg = <0xC00 0x00000000  0x0 0x10000000>;
 	...
	}

I think you are referring to this driver here.

obj-$(CONFIG_PCIE_QCOM) += pcie-qcom.o

This driver is only in use by the mobile products.

Sinan

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-01 01:30 +0100
  Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Sinan Kaya <okaya@codeaurora.org> - 2016-12-01 02:10 +0100
    Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-01 04:50 +0100
      Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Sinan Kaya <okaya@codeaurora.org> - 2016-12-01 05:30 +0100
  Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Tomasz Nowicki <tn@semihalf.com> - 2016-12-01 10:00 +0100
    Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> - 2016-12-01 16:00 +0100
      Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-01 19:00 +0100
    Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-01 18:00 +0100
    Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-01 18:20 +0100
  Re: [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI controller for  ThunderX pass2.x silicon version Jon Masters <jcm@redhat.com> - 2016-12-02 07:00 +0100
    Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI  controller for ThunderX pass2.x silicon version Jon Masters <jcm@redhat.com> - 2016-12-02 07:50 +0100
    Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI  controller for ThunderX pass2.x silicon version Duc Dang <dhdang@apm.com> - 2016-12-02 07:50 +0100
      Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI  controller for ThunderX pass2.x silicon version Tomasz Nowicki <tn@semihalf.com> - 2016-12-02 11:10 +0100
        Re: [Linaro-acpi] [PATCH V1 1/2] PCI: thunder: Enable ACPI PCI  controller for ThunderX pass2.x silicon version Bjorn Helgaas <helgaas@kernel.org> - 2016-12-02 17:30 +0100

csiph-web