freebsd-dev/sys/mips
Brooks Davis dd2f74a820 MFP4:
Change 221534 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/01/27 16:05:30

        FreeBSD/mips stores page-table entries in a near-identical format
        to MIPS TLB entries -- only it overrides certain "reserved" bits
        in the MIPS-defined EntryLo register to hold software-defined bits
        (swbits) to avoid significantly increasing the page table memory
        footprint.  On n32 and n64, these bits were (a) colliding with
        MIPS64r2 physical memory extensions and (b) being improperly
        cleared.

        Attempt to fix both of these problems by pushing swbits further
        along 64-bit EntryLo registers into the reserved space, and
        improving consistency between C-based and assembly-based clearing
        of swbits -- in particular, to use the same definition.  This
        should stop swbits from leaking into TLB entries -- while ignored
        by most current MIPS hardware, this would cause a problem with
        (much) larger physical memory sizes, and also leads to confusing
        hardware-level tracing as physical addresses contain unexpected
        (and inconsistent) higher bits.

        Discussed with: imp, jmallett

Change 1187301 by brooks@brooks_zenith on 2013/10/23 14:40:10
        Loop back the initial commit of 221534 to HEAD.  Correct its
        implementation for mips32.

MFC after:	3 days
Sponsored by:	DARPA/AFRL
2013-10-23 21:35:39 +00:00
..
adm5120 Fix low-level uart drivers that set their fifo sizes in the softc too late. 2013-04-01 00:44:20 +00:00
alchemy Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
atheros Whilst here, document that this TX alignment requirement may acutally 2013-10-16 19:53:50 +00:00
beri Remove a bit of debugging output that slipped into r256911. 2013-10-22 21:13:02 +00:00
cavium Snapshot. This passes the build test, but has not yet been finished or debugged. 2013-10-04 06:55:06 +00:00
conf BERI_SIM.hint is no longer used, remove it. 2013-10-23 15:24:05 +00:00
gxemul Add 32-bit support for Gxemul's oldtestmips machine emulation 2013-09-04 20:34:36 +00:00
idt Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
include MFP4: 2013-10-23 21:35:39 +00:00
malta YAMON is 32-bit application and uses 32-bit pointers to pass kernel 2013-08-31 01:24:05 +00:00
mips MFP4: 2013-10-22 21:27:22 +00:00
nlm Fixes for the Netlogic XLP on-chip RSA block driver 2013-10-04 11:11:51 +00:00
rmi MFcalloutng: 2013-02-28 13:46:03 +00:00
rt305x Fix undefined behaviour in several gpio_pin_setflags() routines (under 2013-04-13 21:21:13 +00:00
sentry5 Merge from vmobj-rwlock branch: 2013-02-26 01:00:11 +00:00
sibyte Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00