<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/pci, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-10-06T16:01:28Z</updated>
<entry>
<title>MIPS: Sanitise coherentio semantics</title>
<updated>2016-10-06T16:01:28Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f23020230e682a43cc4706cabb041bba469df2d6'/>
<id>urn:sha1:f23020230e682a43cc4706cabb041bba469df2d6</id>
<content type='text'>
The coherentio variable has previously been used as a boolean value,
indicating whether the user specified that coherent I/O should be
enabled or disabled. It failed to take into account the case where the
user does not specify any preference, in which case it makes sense that
we should default to coherent I/O if the hardware supports it
(hw_coherentio is non-zero).

Introduce an enum to clarify the 3 different values of coherentio &amp; use
it throughout the code, modifying plat_device_is_coherent() &amp;
r4k_cache_init() to take into account the default case.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Cc: Paul Burton &lt;paul.burton@imgtec.com&gt;
Patchwork: https://patchwork.linux-mips.org/patch/14347/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Support generic drivers</title>
<updated>2016-10-06T16:00:52Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87dd9a4de421f052fd9be58c7da08a453f340d5e'/>
<id>urn:sha1:87dd9a4de421f052fd9be58c7da08a453f340d5e</id>
<content type='text'>
Introduce support for PCI drivers using only functionality provided
generically by the PCI subsystem, by adding the minimum arch-provided
functions required.

The driver this has been developed for &amp; tested with the xilinx-pcie on
a MIPS Boston development board.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14346/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Introduce CONFIG_PCI_DRIVERS_LEGACY</title>
<updated>2016-10-06T16:00:05Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5611df968047fb0b38156497b4242730ef66108'/>
<id>urn:sha1:c5611df968047fb0b38156497b4242730ef66108</id>
<content type='text'>
Introduce 2 Kconfig symbols, CONFIG_PCI_DRIVERS_GENERIC &amp;
CONFIG_PCI_DRIVERS_LEGACY, which indicate whether the system should be
built to for PCI drivers using the MIPS-specific struct pci_controller
API (hereafter "legacy" drivers) or more generic drivers using only
functionality provided by the PCI core (hereafter "generic" drivers).

The Kconfig entries are created such that platforms have to select
CONFIG_PCI_DRIVERS_GENERIC if they wish to use it - that is, the default
is CONFIG_PCI_DRIVERS_LEGACY so that existing platforms need no
modification.

The functions declared in pci.h are rearranged with those provided only
by pci-legacy.c being guarded by an #ifdef CONFIG_PCI_DRIVERS_LEGACY to
ensure they are only used in configurations where they are implemented.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14345/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Split pci.c into pci.c &amp; pci-legacy.c</title>
<updated>2016-10-06T15:59:57Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8091a88978b68df8ee6095eed0de2177eac3c69'/>
<id>urn:sha1:f8091a88978b68df8ee6095eed0de2177eac3c69</id>
<content type='text'>
Split out the parts of pci.c that are used by existing systems with
MIPS-style PCI drivers but that will not be used by systems with more
generic PCI drivers such as pcie-xilinx. This is done in preparation for
allowing configurations where the code moved to pci-legacy.c is not
built.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Cc: Paul Burton &lt;paul.burton@imgtec.com&gt;
Patchwork: https://patchwork.linux-mips.org/patch/14344/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Inline pcibios_assign_all_busses</title>
<updated>2016-10-06T15:57:52Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab96b03144c5392b8c0c427cc37df34daa84c5d0'/>
<id>urn:sha1:ab96b03144c5392b8c0c427cc37df34daa84c5d0</id>
<content type='text'>
The MIPS implementation of pcibios_assign_all_busses trivially returns
1. Implement it as a static function in asm/pci.h such that the compiler
can inline it &amp; optimise out never-taken paths.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14343/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Make pcibios_set_cache_line_size an initcall</title>
<updated>2016-10-06T15:57:41Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f474ba9d9f275fc3bfe459b48bfc17ddd8e1f4cb'/>
<id>urn:sha1:f474ba9d9f275fc3bfe459b48bfc17ddd8e1f4cb</id>
<content type='text'>
In preparation for allowing configurations in which pcibios_init is not
included, make pcibios_set_cache_line_size an initcall. arch_initcall is
used such that it runs before the pcibios_init subsys_initcall for
platforms that continue to use it.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14342/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Support for CONFIG_PCI_DOMAINS_GENERIC</title>
<updated>2016-10-06T15:57:23Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88555b481958083b1b928a4ba5c6e3bc606ce34b'/>
<id>urn:sha1:88555b481958083b1b928a4ba5c6e3bc606ce34b</id>
<content type='text'>
Introduce support for CONFIG_PCI_DOMAINS_GENERIC, allowing for platforms
to make use of generic PCI domains instead of the MIPS-specific
implementation. The set_pci_need_domain_info function is introduced to
abstract away the removed need_domain_info field in struct
pci_controller, and pcibios_scanbus is adjusted to use the pci_domain_nr
accessor instead of directly accessing the index field.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14341/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PCI: Use struct list_head lists</title>
<updated>2016-10-06T15:56:13Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-10-05T17:18:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23dac14d058fcd7cb2b4e6389139ca065855afe7'/>
<id>urn:sha1:23dac14d058fcd7cb2b4e6389139ca065855afe7</id>
<content type='text'>
Rather than open-coding a linked list implementation, make use of the
one in linux/list.h.

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14340/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: pci: Audit and remove any unnecessary uses of module.h</title>
<updated>2016-10-04T23:31:20Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2016-08-21T19:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2722090af4f8988ecce1b22c667fa03ee0f473ca'/>
<id>urn:sha1:2722090af4f8988ecce1b22c667fa03ee0f473ca</id>
<content type='text'>
Historically a lot of these existed because we did not have
a distinction between what was modular code and what was providing
support to modules via EXPORT_SYMBOL and friends.  That changed
when we forked out support for the latter into the export.h file.

This means we should be able to reduce the usage of module.h
in code that is obj-y Makefile or bool Kconfig.  The advantage
in doing so is that module.h itself sources about 15 other headers;
adding significantly to what we feed cpp, and it can obscure what
headers we are effectively using.

Since module.h was the source for init.h (for __init) and for
export.h (for EXPORT_SYMBOL) we consider each obj-y/bool instance
for the presence of either and replace as needed.

We also needed to remove the no-op MODULE_DEVICE_TABLE usage in
several instances to permit removal of the module.h include.  The
files in these instances were all controlled by bool Kconfig.

In one instance, module_param was being used so we transition the
module.h include onto a moduleparam.h include.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14035/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Octeon: Fix PCI interrupt routing on D-Link DSR-500N.</title>
<updated>2016-10-04T14:13:57Z</updated>
<author>
<name>Aaro Koskinen</name>
</author>
<published>2016-09-12T20:39:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8'/>
<id>urn:sha1:e6e5b7b6d0de7e2c25b45fc7a0c914ed6aa1d5e8</id>
<content type='text'>
Signed-off-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14250/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
