Home | History | Annotate | Download | only in ibm4xx
History log of /src/sys/arch/powerpc/include/ibm4xx/tlb.h
RevisionDateAuthorComments
 1.7  30-Mar-2021  rin G/C misleading <evbppc/tlb.h>. Use <powerpc/ibm4xx/tlb.h> directly.
 1.6  05-Mar-2020  rin branches: 1.6.4; 1.6.6;
Retire tlbpid_t (u_short):

- PID (ctx, ASID) is 8-bit length, not half word.
- For struct pmap, no need to use integer types smaller than word as
pm_ctx because of alignment.
- For ppc4xx_tlb_enter(), we need word-length storage for pid (and msr).

XXX
Better to rewrite pmap module with more suggestive integer types rather
than char, int, long, and so on.
 1.5  19-Apr-2018  christos branches: 1.5.2; 1.5.6;
s/static inline/static __inline/g for consistency.
 1.4  16-Oct-2006  kiyohara branches: 1.4.142;
* convert ibm4xx-based evbppc from reserved-TLB entry allocation to recently
introduced ppc4xx_tlb_reserve() API.
 1.3  31-Aug-2006  freza branches: 1.3.2; 1.3.4;
* ppc4xx_tlb_reserve(): allocate "reserved" TLB entries dynamically
* ppc4xx_tlb_mapiodev(): resolve pa to va from reserved TLB entries

OK by matt@

XXX we'll keep TLB_NRESERVED defined until we fix explora to use new API
 1.2  12-Jul-2006  simonb Remove unused ppc4xx_tlb_unpin() function.
 1.1  13-Jun-2001  simonb branches: 1.1.8; 1.1.40; 1.1.54; 1.1.58; 1.1.66;
Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
- New pmap and revised trap handler.
- Support on-chip timers, PCI controller, UARTs
- Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
- Add in-kernel PPC floating point emulation
- New in{,4}_cksum that is between 1.5 and 5 times faster than the
old version depending on CPU type.
General changes:
- Kernel support for generic dbsym-style symbols.
 1.1.66.1  13-Jul-2006  gdamore Merge from HEAD.
 1.1.58.2  03-Sep-2006  yamt sync with head.
 1.1.58.1  11-Aug-2006  yamt sync with head
 1.1.54.1  09-Sep-2006  rpaulo sync with head
 1.1.40.1  30-Dec-2006  yamt sync with head.
 1.1.8.2  13-Jun-2001  simonb Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
- New pmap and revised trap handler.
- Support on-chip timers, PCI controller, UARTs
- Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
- Add in-kernel PPC floating point emulation
- New in{,4}_cksum that is between 1.5 and 5 times faster than the
old version depending on CPU type.
General changes:
- Kernel support for generic dbsym-style symbols.
 1.1.8.1  13-Jun-2001  simonb file tlb.h was added on branch nathanw_sa on 2001-06-13 06:01:51 +0000
 1.3.4.1  22-Oct-2006  yamt sync with head
 1.3.2.1  18-Nov-2006  ad Sync with head.
 1.4.142.1  22-Apr-2018  pgoyette Sync with HEAD
 1.5.6.1  09-Mar-2020  martin Pull up following revision(s) (requested by rin in ticket #773):

sys/arch/powerpc/ibm4xx/pmap.c: revision 1.81
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.82
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.83
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.84
sys/arch/powerpc/ibm4xx/pmap.c: revision 1.85
sys/arch/powerpc/include/ibm4xx/tlb.h: revision 1.6
sys/arch/powerpc/include/ibm4xx/pmap.h: revision 1.20

Misc non-critical fixes.
- __asm --> __asm volatile for sure
- turn DEBUG code in __asm into DIAGNOSTIC code in C
- style

ppc4xx_tlb_enter(): invalidate entry after clearing MSR for sure.

pmap_procwr(): use dcbst instead of dcbf as a tiny optimization.

Retire tlbpid_t (u_short):
- PID (ctx, ASID) is 8-bit length, not half word.
- For struct pmap, no need to use integer types smaller than word as
pm_ctx because of alignment.
- For ppc4xx_tlb_enter(), we need word-length storage for pid (and msr).
XXX
Better to rewrite pmap module with more suggestive integer types rather
than char, int, long, and so on.

Fix pmap_procwr().
While we need to turn off IMMU, DMMU should be kept on. Otherwise,
dcbst (and also icbi probably, though not documented clearly both
for 405 and 403) should not work correctly.
 1.5.2.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.6.1  03-Apr-2021  thorpej Sync with HEAD.
 1.6.4.1  03-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed