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


Groups > linux.kernel > #1578852

Re: [PATCH v3] PCI: exynos: refactor exynos pcie driver

From "Jingoo Han" <jingoohan1@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3] PCI: exynos: refactor exynos pcie driver
Date 2017-02-11 00:10 +0100
Message-ID <t9sud-1qk-5@gated-at.bofh.it> (permalink)
References <t5V1L-1gy-3@gated-at.bofh.it> <t5V1L-1gy-1@gated-at.bofh.it> <t9sky-17u-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday, February 10, 2017 5:56 PM, Bjorn Helgaas wrote:
> 
> On Wed, Feb 01, 2017 at 10:13:06AM +0530, Pankaj Dubey wrote:
> > From: Niyas Ahmed S T <niyas.ahmed@samsung.com>
> >
> > Currently Exynos PCIe driver is only supported for Exynos5440 SoC.
> > This patch does refactoring of Exynos PCIe driver to extend support
> > for other Exynos SoC.
> >
> > Following are the main changes done via this patch:
> >
> > 1) It adds separate structs for memory, clock resources.
> >
> > Reason behind this change is, moving ahead various Exynos SoC will
> > have different hardware resources such as iomem, clocks, regmap handles
> > etc. for PCIe controller, so keeping these resources in separate struct
> > will help us in intiailizing them via per SoC ops, and will avoid too
> > many of_machine_is_compatible in code, and help us simplifying
> > exynos_pcie struct.
> >
> > 2) It add exynos_pcie_ops struct which will allow us to support the
> > differences in resources in different Exynos SoC.
> >
> > No functional change intended.
> >
> > Signed-off-by: Niyas Ahmed S T <niyas.ahmed@samsung.com>
> > Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
> > Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
> > Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> > Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
> > Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
> 
> Jingoo, any thoughts on this?

Acked-by: Jingoo Han <jingoohan1@gmail.com>

Best regards,
Jingoo Han

> 
> > ---
> > This patch set is prepared on top of Krzysztof's for-next and
> > PCIe driver cleanup patch-v3 [1] by Jaehoon Chung.
> >
> > [1]: https://lkml.org/lkml/2017/1/16/19
> >
> > Changes from v2:
> >  - Included Acked-by from Krzysztof
> >  - Rebased on top of cleanup patch-v3 from Jaehoon Chung and latest
> >    for-next of Krzysztof tree.
> >
> > Changes from v1:
> >  - Addressed review comments from Krzysztof and Jingoo Han.
> >
> >  drivers/pci/host/pci-exynos.c | 346 ++++++++++++++++++++++++++---------
> -------
> >  1 file changed, 217 insertions(+), 129 deletions(-)
> >
[snip]

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


Thread

[PATCH v3] PCI: exynos: refactor exynos pcie driver Pankaj Dubey <pankaj.dubey@samsung.com> - 2017-02-01 05:50 +0100
  Re: [PATCH v3] PCI: exynos: refactor exynos pcie driver Bjorn Helgaas <helgaas@kernel.org> - 2017-02-11 00:00 +0100
    Re: [PATCH v3] PCI: exynos: refactor exynos pcie driver "Jingoo Han" <jingoohan1@gmail.com> - 2017-02-11 00:10 +0100
  Re: [PATCH v3] PCI: exynos: refactor exynos pcie driver Bjorn Helgaas <helgaas@kernel.org> - 2017-02-11 00:20 +0100

csiph-web