<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/mips/kernel/cpu-probe.c, branch v3.0.43</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/mips/kernel/cpu-probe.c?h=v3.0.43</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/mips/kernel/cpu-probe.c?h=v3.0.43'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-05-19T08:55:48Z</updated>
<entry>
<title>MIPS: Set ELF AT_PLATFORM string for Loongson2 processors</title>
<updated>2011-05-19T08:55:48Z</updated>
<author>
<name>Robert Millan</name>
<email>rmh@gnu.org</email>
</author>
<published>2011-04-16T18:29:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5aac1e8a381d52a977b5050369a82a547c446ee2'/>
<id>urn:sha1:5aac1e8a381d52a977b5050369a82a547c446ee2</id>
<content type='text'>
Signed-off-by: Robert Millan &lt;rmh@gnu.org&gt;
Acked-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: David Daney &lt;ddaney@caviumnetworks.com&gt;
Cc: wu zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2302/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Set ELF AT_PLATFORM string for BMIPS processors</title>
<updated>2011-05-19T08:55:48Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2011-04-16T18:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=06785df09b18e9127d16893039b64ae118c53cb4'/>
<id>urn:sha1:06785df09b18e9127d16893039b64ae118c53cb4</id>
<content type='text'>
Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: Robert Millan &lt;rmh@gnu.org&gt;
Cc: David Daney &lt;ddaney@caviumnetworks.com&gt;
Cc: wu zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2300/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Introduce set_elf_platform() helper function</title>
<updated>2011-05-19T08:55:48Z</updated>
<author>
<name>Robert Millan</name>
<email>rmh@gnu.org</email>
</author>
<published>2011-04-18T18:37:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c094c99e659efedcbb05a0f75b8f77145d8ec539'/>
<id>urn:sha1:c094c99e659efedcbb05a0f75b8f77145d8ec539</id>
<content type='text'>
Replace these sequences:

if (cpu == 0)
	__elf_platform = "foo";

with a trivial inline function.

Signed-off-by: Robert Millan &lt;rmh@gnu.org&gt;
Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Cc: wu zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: Aurelien Jarno &lt;aurelien@aurel32.net&gt;
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2304/
Patchwork: https://patchwork.linux-mips.org/patch/2374/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Netlogic XLR/XLS processor IDs.</title>
<updated>2011-05-19T08:55:39Z</updated>
<author>
<name>Jayachandran C</name>
<email>jayachandranc@netlogicmicro.com</email>
</author>
<published>2011-05-11T06:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a7117c6bddcbfff2fa237a14a853b32cb94bf59a'/>
<id>urn:sha1:a7117c6bddcbfff2fa237a14a853b32cb94bf59a</id>
<content type='text'>
Add Netlogic Microsystems company ID and processor IDs for XLR
and XLS processors for CPU probe. Add CPU_XLR to cpu_type_enum.

Signed-off-by: Jayachandran C &lt;jayachandranc@netlogicmicro.com&gt;
Cc:     linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2367/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Probe for presence of KScratch registers.</title>
<updated>2011-01-18T18:30:22Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2010-12-21T22:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e77c32fe284a4da1b4e0994890a4d3527812eb61'/>
<id>urn:sha1:e77c32fe284a4da1b4e0994890a4d3527812eb61</id>
<content type='text'>
Probe c0_config4 for KScratch registers and report them in /proc/cpuinfo.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1877/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Fix regression on BCM4710 processor detection</title>
<updated>2010-12-16T18:10:58Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2010-11-23T18:26:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=190fca3e40a65303eac35ac4fbae4f1f1342431c'/>
<id>urn:sha1:190fca3e40a65303eac35ac4fbae4f1f1342431c</id>
<content type='text'>
BCM4710 uses the BMIPS32 core (like BCM6345), not the MIPS 4Kc core as
was previously believed.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Tested-by: Alexandros C. Couloumbis &lt;alex@ozo.com&gt;
Patchwork: https://patchwork.linux-mips.org/patch/1837/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Make TASK_SIZE reflect proper size for both 32 and 64 bit processes.</title>
<updated>2010-10-29T18:08:53Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2010-10-14T18:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=949e51bea342da838be5295628e4a7ada8bae833'/>
<id>urn:sha1:949e51bea342da838be5295628e4a7ada8bae833</id>
<content type='text'>
The TASK_SIZE macro should reflect the size of a user process virtual
address space.  Previously for 64-bit kernels, this was not the case.
The immediate cause of pain was in
hugetlbfs/inode.c:hugetlb_get_unmapped_area() where 32-bit processes
trying to mmap a huge page would be served a page with an address
outside of the 32-bit address range.  But there are other uses of
TASK_SIZE in the kernel as well that would like an accurate value.

The new definition is nice because it now makes TASK_SIZE and
TASK_SIZE_OF() yield the same value for any given process.

For 32-bit kernels there should be no change, although I did factor
out some code in asm/processor.h that became identical for the 32-bit and
64-bit cases.

__UA_LIMIT is now set to ~((1 &lt;&lt; SEGBITS) - 1) for 64-bit kernels.
This should eliminate the possibility of getting a
AddressErrorException in the kernel for addresses that pass the
access_ok() test.

With the patch applied, I can still run o32, n32 and n64 processes,
and have an o32 shell fork/exec both n32 and n64 processes.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1701/
</content>
</entry>
<entry>
<title>MIPS: Decouple BMIPS CPU support from bcm47xx/bcm63xx SoC code</title>
<updated>2010-10-29T18:08:50Z</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2010-10-16T21:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=602977b0d672687909b0cb0542ede134ed6ef858'/>
<id>urn:sha1:602977b0d672687909b0cb0542ede134ed6ef858</id>
<content type='text'>
BMIPS processor cores are used in 50+ different chipsets spread across
5+ product lines.  In many cases the chipsets do not share the same
peripheral register layouts, the same register blocks, the same
interrupt controllers, the same memory maps, or much of anything else.

But, across radically different SoCs that share nothing more than the
same BMIPS CPU, a few things are still mostly constant:

SMP operations
Access to performance counters
DMA cache coherency quirks
Cache and memory bus configuration

So, it makes sense to treat each BMIPS processor type as a generic
"building block," rather than tying it to a specific SoC.  This makes it
easier to support a large number of BMIPS-based chipsets without
unnecessary duplication of code, and provides the infrastructure needed
to support BMIPS-proprietary features.

Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: mbizon@freebox.fr
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Tested-by: Florian Fainelli &lt;ffainelli@freebox.fr&gt;
Patchwork: https://patchwork.linux-mips.org/patch/1706/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org
</content>
</entry>
<entry>
<title>MIPS: Octeon: Probe for Octeon II CPUs.</title>
<updated>2010-10-29T18:08:37Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2010-10-07T23:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0e56b3852b1c3be83d1f07a82a86084fabacf789'/>
<id>urn:sha1:0e56b3852b1c3be83d1f07a82a86084fabacf789</id>
<content type='text'>
The OCTEON II ISA extends the original OCTEON ISA, so give it its own
__elf_platform string so optimized libraries can be selected in
userspace.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Patchwork: http://patchwork.linux-mips.org/patch/1665/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Decode core number for R2 CPUs.</title>
<updated>2010-08-05T12:26:26Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2010-07-26T21:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0c2f4551df3880083e4733b5d928d2758b71162c'/>
<id>urn:sha1:0c2f4551df3880083e4733b5d928d2758b71162c</id>
<content type='text'>
The struct cpuinfo_mips.core field should be populated with the
physical core number.  For R2 CPUs, this is carried in the low 10 bits
of Ebase.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1505/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
