<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/netlogic/common, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-12-07T02:20:13Z</updated>
<entry>
<title>MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds</title>
<updated>2017-12-07T02:20:13Z</updated>
<author>
<name>Paul Burton</name>
</author>
<published>2016-11-07T11:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78fad35aab599a6651e4fadb4fdb6e5099571a7a'/>
<id>urn:sha1:78fad35aab599a6651e4fadb4fdb6e5099571a7a</id>
<content type='text'>
[ Upstream commit 9799270affc53414da96e77e454a5616b39cdab0 ]

Code in arch/mips/netlogic/common/irq.c which handles the XLP PIC fails
to build in XLR configurations due to cpu_is_xlp9xx not being defined,
leading to the following build failure:

    arch/mips/netlogic/common/irq.c: In function ‘xlp_of_pic_init’:
    arch/mips/netlogic/common/irq.c:298:2: error: implicit declaration
    of function ‘cpu_is_xlp9xx’ [-Werror=implicit-function-declaration]
      if (cpu_is_xlp9xx()) {
      ^

Although the code was conditional upon CONFIG_OF which is indirectly
selected by CONFIG_NLM_XLP_BOARD but not CONFIG_NLM_XLR_BOARD, the
failing XLR with CONFIG_OF configuration can be configured manually or
by randconfig.

Fix the build failure by making the affected XLP PIC code conditional
upon CONFIG_CPU_XLP which is used to guard the inclusion of
asm/netlogic/xlp-hal/xlp.h that provides the required cpu_is_xlp9xx
function.

[ralf@linux-mips.org: Fixed up as per Jayachandran's suggestion.]

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14524/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@verizon.com&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Fix double inclusion of &lt;asm/netlogic/common.h&gt;.</title>
<updated>2015-04-07T23:10:51Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2015-04-07T13:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04f156c9a5cc34729554e561b33cd3f0efd953a6'/>
<id>urn:sha1:04f156c9a5cc34729554e561b33cd3f0efd953a6</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Do not enable SUE for core</title>
<updated>2015-04-01T15:21:53Z</updated>
<author>
<name>Jayachandran C</name>
</author>
<published>2015-01-07T11:28:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc'/>
<id>urn:sha1:94e2b96ecea3ee2a3cbd5147fa380e05a6c4b4bc</id>
<content type='text'>
Enabling the SUE bit for core can can result in rare cache errors
which are difficult to track down, so do not enable it. This can
cause a minor performance loss in some tests.

Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8894/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Handle XLP hardware errata</title>
<updated>2015-04-01T15:21:52Z</updated>
<author>
<name>Jayachandran C</name>
</author>
<published>2015-01-09T10:43:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5084e93dfeebd171e0ad02cc7ea560364a7f80b3'/>
<id>urn:sha1:5084e93dfeebd171e0ad02cc7ea560364a7f80b3</id>
<content type='text'>
Core configuration register IFU_BRUB_RESERVE has to be setup to handle
a silicon errata which can result in a CPU hang.

Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8902/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Move cores per node out of multi-node.h</title>
<updated>2015-04-01T15:21:50Z</updated>
<author>
<name>Jayachandran C</name>
</author>
<published>2015-01-07T11:28:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2736525465a5d6fe1456da8cc2bc701f9128682'/>
<id>urn:sha1:c2736525465a5d6fe1456da8cc2bc701f9128682</id>
<content type='text'>
Use the current_cpu_data package field to get the node of the current CPU.

This allows us to remove xlp_cores_per_node and move nlm_threads_per_node()
and nlm_cores_per_node() to netlogic/common.h, which simplifies code.

Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8889/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Use MIPS topology.h</title>
<updated>2015-04-01T15:21:50Z</updated>
<author>
<name>Jayachandran C</name>
</author>
<published>2015-01-07T11:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65fecc2725e5c8d5ef988d971b798b28b94e1865'/>
<id>urn:sha1:65fecc2725e5c8d5ef988d971b798b28b94e1865</id>
<content type='text'>
commit bda4584cd943 ("MIPS: Support CPU topology files in sysfs")
added topology related macros for all MIPS platforms and commit
bbbf6d8768f5 ("MIPS: NL: Fix nlm_xlp_defconfig build error")
removed most of the contents from mach-netlogic/topology.h.

The netlogic specific topology is not needed anymore, we just need
to setup the package field in current_cpu_data.

Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8888/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>mips: use %*pb[l] to print bitmaps including cpumasks and nodemasks</title>
<updated>2015-02-14T05:21:36Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2015-02-13T22:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=729d8e093c3ec5c662965c97accd882a75b0f93a'/>
<id>urn:sha1:729d8e093c3ec5c662965c97accd882a75b0f93a</id>
<content type='text'>
printk and friends can now format bitmaps using '%*pb[l]'.  cpumask
and nodemask also provide cpumask_pr_args() and nodemask_pr_args()
respectively which can be used to generate the two printf arguments
necessary to format the specified cpu/nodemask.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Add support for XLP5XX</title>
<updated>2014-05-30T14:50:38Z</updated>
<author>
<name>Yonghong Song</name>
</author>
<published>2014-04-29T14:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c98398662c9b4e2f03f64344f83dd6cb14e0420'/>
<id>urn:sha1:1c98398662c9b4e2f03f64344f83dd6cb14e0420</id>
<content type='text'>
Add support for the XLP5XX processor which is an 8 core variant of the
XLP9XX. Add XLP5XX cases to code which earlier handled XLP9XX.

Signed-off-by: Yonghong Song &lt;ysong@broadcom.com&gt;
Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6871/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: PIC freq calculation for XLP 9XX/2XX</title>
<updated>2014-05-30T14:49:41Z</updated>
<author>
<name>Ganesan Ramalingam</name>
</author>
<published>2014-04-29T14:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c065909e47aea3575e51304e7411b46df22b20ca'/>
<id>urn:sha1:c065909e47aea3575e51304e7411b46df22b20ca</id>
<content type='text'>
Update PIC frequency calculation for XLP9XX and 2XX processors using
the correct PLL registers. This should work for all possible board
configurations.

Signed-off-by: Ganesan Ramalingam &lt;ganesanr@broadcom.com&gt;
Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6876/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic: Use PRID_IMP_MASK macro</title>
<updated>2014-05-30T14:49:02Z</updated>
<author>
<name>Jayachandran C</name>
</author>
<published>2014-04-29T14:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5874743ea8479b780799927f25580ef134547f0f'/>
<id>urn:sha1:5874743ea8479b780799927f25580ef134547f0f</id>
<content type='text'>
Use PRID_IMP_MASK macro instead of 0xff00 to extract the processor
type.

Signed-off-by: Jayachandran C &lt;jchandra@broadcom.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6868/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
