Summary: | MIPS_CONFIG0_VI defined wrong in sys/mips/include/cpuregs.h | ||
---|---|---|---|
Product: | Base System | Reporter: | Stanislav Galabov <sgalabov> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | sgalabov |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | mips | ||
OS: | Any |
Description
Stanislav Galabov
2015-12-11 16:45:35 UTC
A commit references this bug: Author: imp Date: Fri Dec 11 16:51:04 UTC 2015 New revision: 292114 URL: https://svnweb.freebsd.org/changeset/base/292114 Log: Correct the CONFIG0_VI value. According to http://www.t-es-t.hu/download/mips/md00090c.pdf this is bit 3 of the config0 word, not bit 2. This should fix virtually indexed caches (relatively new in the MIPS world, so no current platforms used this and current code just uses it as an optimization). It was causing false positives on newer platforms that default to large values for the kseg0 cache coherency attribute. Submitted by: Stanislav Galabov PR: 205249 Changes: head/sys/mips/include/cpuregs.h |