Author: jchandra
Date: Wed Oct 20 09:41:36 2010
New Revision: 214106
URL: http://svn.freebsd.org/changeset/base/214106
Log:
On uniprocessor, warn and fixup hardware cpu mask if more than on CPU
is enabled by the bootloader.
Modified:
head/sys/mips/rmi/xlr_machdep.c
Modified:
Author: jchandra
Date: Wed Oct 20 09:50:11 2010
New Revision: 214107
URL: http://svn.freebsd.org/changeset/base/214107
Log:
Network driver updates
- Fix network driver issue on a XLS eval board (major# 8).
- Fix issue uncovered by r213475 in check for XGMII
Submitted by: Sriram Gorti
Author: jchandra
Date: Sun Oct 24 05:22:07 2010
New Revision: 214260
URL: http://svn.freebsd.org/changeset/base/214260
Log:
Fix PIC_RETURN when abicalls are not defined.
Submitted by: Artem Belevich (artemb at gmail dot com)
Modified:
head/lib/libc/mips/SYS.h
Modified:
Author: jchandra
Date: Wed Nov 10 10:23:39 2010
New Revision: 215085
URL: http://svn.freebsd.org/changeset/base/215085
Log:
Switch to the new network driver nlge, the old rge driver is deprecated now.
Modified:
head/sys/mips/conf/XLR
head/sys/mips/conf/XLR64
head/sys/mips/conf/XLRN32
Author: jchandra
Date: Sun Nov 28 05:51:31 2010
New Revision: 215973
URL: http://svn.freebsd.org/changeset/base/215973
Log:
Fix issue noted by alc while reviewing r215938:
The current implementation of vm_page_alloc_freelist() does not handle
order 0 correctly. Remove order parameter to
Author: jchandra
Date: Fri Dec 3 14:20:20 2010
New Revision: 216148
URL: http://svn.freebsd.org/changeset/base/216148
Log:
Fixup for r216141, dump_add_page needs to be non-static now.
Add it to sys/mips/include/md_var.h, make dump_drop_page non-static too
for completeness.
Modified:
Author: jchandra
Date: Fri Dec 3 19:22:18 2010
New Revision: 216157
URL: http://svn.freebsd.org/changeset/base/216157
Log:
1. Fix off by one errors in calls to MIPS_DIRECT_MAPPABLE, reported by alc@
2. Remove unnecessary #defines from vmparam.h
Submitted by: alc (2)
Reviewed by: alc
Author: jchandra
Date: Thu Dec 9 06:34:28 2010
New Revision: 216315
URL: http://svn.freebsd.org/changeset/base/216315
Log:
UMA_MD_SMALL_ALLOC for mips.
Implement uma_small_alloc() and uma_small_free() for mips that allocates
pages from direct mapped memory. Uses the same mechanism as
Author: jchandra
Date: Thu Dec 9 06:54:06 2010
New Revision: 216317
URL: http://svn.freebsd.org/changeset/base/216317
Log:
swi_vm() for mips.
Modified:
head/sys/mips/mips/vm_machdep.c
head/sys/vm/vm_page.c
Modified: head/sys/mips/mips/vm_machdep.c
Author: jchandra
Date: Thu Dec 9 12:30:13 2010
New Revision: 216324
URL: http://svn.freebsd.org/changeset/base/216324
Log:
Fix compilation when DEBUG option is enabled.
- remove unused code in mips/rmi/xlr_pci.c
- remove unused variable in mips/rmi/dev/nlge/if_nlge.c
- fix reference
On Mon, Dec 13, 2010 at 6:17 PM, John Baldwin j...@freebsd.org wrote:
On Saturday, December 11, 2010 5:21:38 am Andriy Gapon wrote:
Author: avg
Date: Sat Dec 11 10:21:38 2010
New Revision: 216375
URL: http://svn.freebsd.org/changeset/base/216375
Log:
fix atomic_set_xxx misuse in rge
Author: jchandra
Date: Mon Dec 13 17:53:38 2010
New Revision: 216410
URL: http://svn.freebsd.org/changeset/base/216410
Log:
Updates for I2C devices on XLR engg boards.
- ds1374u : use multi-byte write.
- at24co2n, max6657: remove mutex, iicbus has the necessary locking.
Submitted
Author: jchandra
Date: Thu Dec 16 04:56:03 2010
New Revision: 216474
URL: http://svn.freebsd.org/changeset/base/216474
Log:
Make the ELF trampoline binary ELF executable (and do some cleanup).
- Remove the -shared flag for the trampoline binary, generate an
ELF executable instead of a
Author: jchandra
Date: Fri Dec 17 09:14:25 2010
New Revision: 216498
URL: http://svn.freebsd.org/changeset/base/216498
Log:
Minor cleanup for sys/conf/Makefile.mips. Use -e and replace two calls to
sed with one.
Modified:
head/sys/conf/Makefile.mips
Modified: head/sys/conf/Makefile.mips
Author: jchandra
Date: Mon Jan 10 05:13:06 2011
New Revision: 217220
URL: http://svn.freebsd.org/changeset/base/217220
Log:
Remove unnecessary 'cat'.
Modified:
head/sys/conf/Makefile.mips
Modified: head/sys/conf/Makefile.mips
Author: jchandra
Date: Tue Aug 21 09:37:23 2012
New Revision: 239487
URL: http://svn.freebsd.org/changeset/base/239487
Log:
Add correct range parameter in XLP DTS
r239274 added support for ranges. Update XLP DTS to provide the correct
range parameter for the XLP SoC bus. Also fix
[label=Jaakko heinonen\...@freebsd.org\n2009/10/02]
jilles [label=Jilles tjoelker\njil...@freebsd.org\n2009/05/22]
jinmei [label=JINMEI tatuya\njin...@freebsd.org\n2007/03/17]
+jchandra [label=Jayachandran c.\njchan...@freebsd.org\n2010/05/19]
jdp [label=John polstra\n...@freebsd.org\n
Author: jchandra
Date: Fri May 21 05:34:19 2010
New Revision: 208369
URL: http://svn.freebsd.org/changeset/base/208369
Log:
Changes to boot on a subset of threads on an XLR/XLS core.
- Adds re-partitioning TLB per core for enabled threads.
- Adds hardware thread id to cpuid mapping
-
=Jilles tjoelker\njil...@freebsd.org\n2009/05/22]
-jinmei [label=JINMEI tatuya\njin...@freebsd.org\n2007/03/17]
jchandra [label=Jayachandran c.\njchan...@freebsd.org\n2010/05/19]
jdp [label=John polstra\n...@freebsd.org\n/??/??]
+jh [label=Jaakko heinonen\...@freebsd.org\n2009/10/02]
jhb [label
Author: jchandra
Date: Mon May 24 06:01:37 2010
New Revision: 208480
URL: http://svn.freebsd.org/changeset/base/208480
Log:
Remove unused code in sys/mips/rmi :
- ehcireg.h,ehcivar.h : USB related files from old merge
- pcibus.c : was merged into xlr_pci.c earlier
- xlr_boot1_console.c
Author: jchandra
Date: Thu May 27 10:05:40 2010
New Revision: 208589
URL: http://svn.freebsd.org/changeset/base/208589
Log:
Call VM_WAIT in pmap_ptpgzone_allocf() if M_WAITOK is set.
Removed unused variable.
Approved by: rrs (mentor)
Modified:
head/sys/mips/mips/pmap.c
Modified:
Author: jchandra
Date: Fri Jun 4 06:35:36 2010
New Revision: 208794
URL: http://svn.freebsd.org/changeset/base/208794
Log:
Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig()
fails to allocate MIPS page table pages. The current usage of VM_WAIT in
case of
Author: jchandra
Date: Wed Jun 16 12:55:14 2010
New Revision: 209231
URL: http://svn.freebsd.org/changeset/base/209231
Log:
Merge jmallett@'s n64 work into HEAD - changeset 1.
Update libc assembly code to use macros that work on both o32 and n64.
Merge string functions from NetBSD.
Author: jchandra
Date: Wed Jun 16 16:39:01 2010
New Revision: 209239
URL: http://svn.freebsd.org/changeset/base/209239
Log:
Merge jmallett@'s n64 work into HEAD - changeset 3
Update rtld MIPS code to use assembly macros that work on o32/n64.
Changes from
Author: jchandra
Date: Fri Jun 18 20:07:30 2010
New Revision: 209314
URL: http://svn.freebsd.org/changeset/base/209314
Log:
Merge jmallett@'s n64 work into HEAD - changeset 5
Remove unnecessary locking and sched_pin() call while creating a temporary
mapping.
Changes from
Author: jchandra
Date: Fri Jun 25 05:07:42 2010
New Revision: 209520
URL: http://svn.freebsd.org/changeset/base/209520
Log:
Add an alignment of 8 for sections in the n32 ABI. The default alignment
of of 4 causes _end to be word aligned, which will be returned by sbrk.
malloc(3), when
Author: jchandra
Date: Fri Jun 25 05:36:36 2010
New Revision: 209521
URL: http://svn.freebsd.org/changeset/base/209521
Log:
use PTR_WORD for __curbrk and minbrk instead of .word, the new version
wil support all ABIs.
Approved by: rrs (mentor)
Modified:
head/lib/libc/mips/sys/brk.S
Author: jchandra
Date: Fri Jul 2 12:01:46 2010
New Revision: 209645
URL: http://svn.freebsd.org/changeset/base/209645
Log:
Remove save/restore of PageMask in tlb.c functions introduced in r209243.
If we save/restore the PageMask, the value set by the bootloader will
persist, and will cause
Author: jchandra
Date: Fri Jul 2 13:30:26 2010
New Revision: 209646
URL: http://svn.freebsd.org/changeset/base/209646
Log:
Add support for XLS 108 chips - update board.c/board.h to setup GMAC
driver parameters correctly.
Approved by: rrs (mentor)
Obtained from:Sriram Gorti
Author: jchandra
Date: Thu Jul 8 14:49:55 2010
New Revision: 209805
URL: http://svn.freebsd.org/changeset/base/209805
Log:
Merge jmallett@'s n64 work into HEAD - changeset 8
Updated PTE/PDE macros from http://svn.freebsd.org/base/user/jmallett/octeon
Introduce pmap_segshift() macro, use
Author: jchandra
Date: Thu Jul 8 14:56:42 2010
New Revision: 209806
URL: http://svn.freebsd.org/changeset/base/209806
Log:
Fix minor issue in sys/mips/mips/cache_mipsNN.c, using int type for
virtual addr will break on 64 bit, change to vm_offset_t.
Reviewed by: imp@
Approved by: rrs
Author: jchandra
Date: Thu Jul 8 15:05:23 2010
New Revision: 209808
URL: http://svn.freebsd.org/changeset/base/209808
Log:
64 bit compilation support XLR platform code.
Mostly changes to make casting between int and pointer and printing
64bit values safe for 32 and 64 bit compile.
Author: jchandra
Date: Thu Jul 8 15:22:46 2010
New Revision: 209810
URL: http://svn.freebsd.org/changeset/base/209810
Log:
Enable KX bit, which is needed for 64 bit access, in status register
for XLR. Update exception handlers and other functions which set/change
status registers to
Author: jchandra
Date: Thu Jul 8 15:37:16 2010
New Revision: 209811
URL: http://svn.freebsd.org/changeset/base/209811
Log:
Use 64 bit type for rqb_word_t in n64 kernel.
Reviewed by: imp
Approved by: rrs
Modified:
head/sys/mips/include/runq.h
Modified: head/sys/mips/include/runq.h
Author: jchandra
Date: Thu Jul 8 16:11:06 2010
New Revision: 209815
URL: http://svn.freebsd.org/changeset/base/209815
Log:
Fix XLR64, the previous version had the contents of file duplicated.
Modified:
head/sys/mips/conf/XLR64
Modified: head/sys/mips/conf/XLR64
Author: jchandra
Date: Mon Jul 12 07:24:40 2010
New Revision: 209928
URL: http://svn.freebsd.org/changeset/base/209928
Log:
Move KSEG address definitions from cpu.h to cpuregs.h with the other
definitions, add some XKPHYS related definitions for n64.
Reviewed by: imp
Modified:
Author: jchandra
Date: Mon Jul 12 07:42:42 2010
New Revision: 209929
URL: http://svn.freebsd.org/changeset/base/209929
Log:
Merge jmallett@'s n64 work into HEAD
64 bit TLB definitions in pte.h
Reviewed by: imp
Obtained from:jmallett
Author: jchandra
Date: Mon Jul 12 09:38:44 2010
New Revision: 209930
URL: http://svn.freebsd.org/changeset/base/209930
Log:
Merge jmallett@'s n64 work into HEAD.
Merge changes for initial n64 support in pmap.c. Use direct mapped (XKPHYS)
access for a lot of operations that earlier needed
Author: jchandra
Date: Mon Jul 12 10:22:58 2010
New Revision: 209935
URL: http://svn.freebsd.org/changeset/base/209935
Log:
Merge jmallett@'s n64 work into HEAD
Initial set of ddb changes to support n64
Reviewed by: imp
Obtained from:jmallett
Author: jchandra
Date: Thu Jul 15 16:39:17 2010
New Revision: 210126
URL: http://svn.freebsd.org/changeset/base/210126
Log:
Fix for 64 bit compilation.
RMI bootloader passes argv[] and envp[] as an array of 32 bit pointers.
Convert the pointers to correct pointer type before use.
Author: jchandra
Date: Wed Jul 21 09:27:00 2010
New Revision: 210327
URL: http://svn.freebsd.org/changeset/base/210327
Log:
Redo the page table page allocation on MIPS, as suggested by
a...@.
The UMA zone based allocation is replaced by a scheme that creates
a new free page list for
On Sun, Jul 25, 2010 at 10:18 AM, Alan Cox a...@cs.rice.edu wrote:
Warner Losh wrote:
Author: imp
Date: Sun Jul 25 04:19:05 2010
New Revision: 210460
URL: http://svn.freebsd.org/changeset/base/210460
Log:
Get N64 building by defining VM_FREELIST_DIRECT to be
VM_FREELIST_DEFAULT. I
Author: jchandra
Date: Tue Jul 27 09:22:41 2010
New Revision: 210528
URL: http://svn.freebsd.org/changeset/base/210528
Log:
Fixup mips/rmi for the new mips timer code(r210403). This will get XLR
booting again.
The code is a copy of the mips/mips/tick.c with minor modifications for
XLR
Author: jchandra
Date: Tue Jul 27 15:10:05 2010
New Revision: 210542
URL: http://svn.freebsd.org/changeset/base/210542
Log:
The count/compare values have to be tracked per CPU.
Reviewed by: mav
Modified:
head/sys/mips/rmi/tick.c
Modified: head/sys/mips/rmi/tick.c
Author: jchandra
Date: Tue Jul 27 17:33:51 2010
New Revision: 210547
URL: http://svn.freebsd.org/changeset/base/210547
Log:
The changes in r210542 moved setting counter_upper and counter_lower_last
outside the critical section - fix that.
Reported by: mav
Modified:
Author: jchandra
Date: Tue Jul 27 19:31:10 2010
New Revision: 210549
URL: http://svn.freebsd.org/changeset/base/210549
Log:
mips/rmi/bus_space_rmi_pci.c is needed even when PCI is disabled. This
file really provides a bus that does byteswapping, and can be used by
non-PCI components too.
Author: jchandra
Date: Thu Jul 29 13:52:46 2010
New Revision: 210605
URL: http://svn.freebsd.org/changeset/base/210605
Log:
Fix RQB_FFS for 64 bit, we need to use ffsl() for 64bit.
Use 'ifdef __mips_n64' instead of 'if defined' to be consistant with other
usage.
Modified:
Author: jchandra
Date: Thu Jul 29 14:04:29 2010
New Revision: 210606
URL: http://svn.freebsd.org/changeset/base/210606
Log:
Update MIPS _stdint.h for 64 bit. Initial 64 bit changes for profile.h.
Modified:
head/sys/mips/include/_stdint.h
head/sys/mips/include/profile.h
Modified:
Author: jchandra
Date: Thu Jul 29 19:14:06 2010
New Revision: 210625
URL: http://svn.freebsd.org/changeset/base/210625
Log:
MIPS 64 bit support. Define fuword64() for n64 compilation, fuword() should
be fuword64() in 64 bit.
Modified:
head/sys/mips/mips/support.S
Modified:
Author: jchandra
Date: Thu Jul 29 19:47:15 2010
New Revision: 210626
URL: http://svn.freebsd.org/changeset/base/210626
Log:
Add fuiword() in n64 for completeness.
Modified:
head/sys/mips/mips/support.S
Modified: head/sys/mips/mips/support.S
Author: jchandra
Date: Thu Jul 29 20:02:56 2010
New Revision: 210627
URL: http://svn.freebsd.org/changeset/base/210627
Log:
Prepare for 3 level page tables for MIPS.
- Move page table second level shift and mask to param.h
- rename SEGOFSET to SEGMASK
- fix values for 64 bit maximum
Author: jchandra
Date: Thu Jul 29 20:41:40 2010
New Revision: 210630
URL: http://svn.freebsd.org/changeset/base/210630
Log:
Update rge driver for 64 bit kernel.
- stored virtual addresses should be 64bit
- physical memory can be directly accessed using XKPHYS pointers in 64 bit.
- no need
Author: jchandra
Date: Fri Jul 30 09:38:47 2010
New Revision: 210638
URL: http://svn.freebsd.org/changeset/base/210638
Log:
MIPS n64 support - support kstack in XKSEG.
- enable KX on entry from user-space, we need KX set to save to XKSEG
addresses.
- add MIPS_XKSEG_START to genassym.c
Author: jchandra
Date: Fri Jul 30 12:45:00 2010
New Revision: 210644
URL: http://svn.freebsd.org/changeset/base/210644
Log:
n64 support - enable UX bit in STATUS for kernel and userspace.
- enable UX in kernel start, and kernel entry
- keep UX flag in cpu_fork and cpu_set_upcall
-
Author: jchandra
Date: Wed Aug 4 10:42:06 2010
New Revision: 210842
URL: http://svn.freebsd.org/changeset/base/210842
Log:
MIPS 64 bit support.
When compiled for MIPS n64 ABI
- DES_LONG should be 'unsigned int'
- BN_LLONG should be undefined
- SIXTY_FOUR_BIT_LONG should be defined.
Author: jchandra
Date: Wed Aug 4 10:46:17 2010
New Revision: 210843
URL: http://svn.freebsd.org/changeset/base/210843
Log:
Whitespace fix for last check-in, move empty line to below endif.
Modified:
head/secure/lib/libcrypto/opensslconf-mips.h
Modified:
Author: jchandra
Date: Wed Aug 4 14:03:23 2010
New Revision: 210845
URL: http://svn.freebsd.org/changeset/base/210845
Log:
ithd_name no longer defined, use td_name. Fix compile with KTR enabled.
Modified:
head/sys/mips/rmi/on_chip.c
Modified: head/sys/mips/rmi/on_chip.c
Author: jchandra
Date: Wed Aug 4 14:12:09 2010
New Revision: 210846
URL: http://svn.freebsd.org/changeset/base/210846
Log:
Add 3 level page tables for MIPS in n64.
- 32 bit compilation will still use old 2 level page tables
- re-arrange pmap code so that adding another level is easier
Author: jchandra
Date: Fri Aug 6 07:32:33 2010
New Revision: 210914
URL: http://svn.freebsd.org/changeset/base/210914
Log:
Fix the issue reported by alc:
pmap_page_wired_mappings() counts the number of pv entries for the
specified page that have the pv entry wired flag set to TRUE.
Author: jchandra
Date: Fri Aug 6 09:25:42 2010
New Revision: 210922
URL: http://svn.freebsd.org/changeset/base/210922
Log:
Fix issue reported by alc :
MIPS doesn't really need to use atomic_cmpset_int() in situations like
this because the software dirty bit emulation in trap.c
Author: jchandra
Date: Sun Aug 8 12:23:02 2010
New Revision: 211068
URL: http://svn.freebsd.org/changeset/base/211068
Log:
loadandclear() for PTEs are not needed on MIPS. The PTEs are software
managed and we already take pmap lock for PTE operations(see r210922)
Reviewed by: alc
On Mon, Aug 9, 2010 at 5:31 AM, Attilio Rao atti...@freebsd.org wrote:
2010/5/16 Randall Stewart r...@freebsd.org:
Author: rrs
Date: Sun May 16 19:43:48 2010
New Revision: 208165
URL: http://svn.freebsd.org/changeset/base/208165
Log:
This pushes all of JC's patches that I have in place. I
On Mon, Aug 9, 2010 at 5:35 PM, Attilio Rao atti...@freebsd.org wrote:
2010/8/9 Jayachandran C. c.jayachand...@gmail.com:
On Mon, Aug 9, 2010 at 5:31 AM, Attilio Rao atti...@freebsd.org wrote:
2010/5/16 Randall Stewart r...@freebsd.org:
Author: rrs
Date: Sun May 16 19:43:48 2010
New Revision
On Tue, Aug 10, 2010 at 12:12 PM, Neel Natu neeln...@gmail.com wrote:
Hi Stefan,
On Mon, Aug 9, 2010 at 11:28 PM, Stefan Farfeleder stef...@freebsd.org
wrote:
On Tue, Aug 10, 2010 at 05:15:35AM +, Neel Natu wrote:
Author: neel
Date: Tue Aug 10 05:15:35 2010
New Revision: 211130
URL:
Author: jchandra
Date: Wed Aug 11 06:43:14 2010
New Revision: 211167
URL: http://svn.freebsd.org/changeset/base/211167
Log:
Fix compilation when DDB disabled. Adds 'ifdef DDB' around
DB_SHOW_COMMAND definitions.
Modified:
head/sys/mips/mips/pmap.c
Modified: head/sys/mips/mips/pmap.c
Author: jchandra
Date: Thu Aug 12 09:03:21 2010
New Revision: 211215
URL: http://svn.freebsd.org/changeset/base/211215
Log:
Re-arrange the pmap calls that use smp_rendezvous() on SMP, so that their
per-cpu variants are also available to be called. The per-cpu variants
are needed for some
Author: jchandra
Date: Thu Aug 12 09:15:27 2010
New Revision: 211216
URL: http://svn.freebsd.org/changeset/base/211216
Log:
Optimization for pmap_kenter(), call pmap_update_page() only when
necessary. On SMP, pmap_update_page() can be costly as it needs a
a smp_rendezvous().
Reviewed
Author: jchandra
Date: Thu Aug 12 10:09:28 2010
New Revision: 211217
URL: http://svn.freebsd.org/changeset/base/211217
Log:
Implement pmap changes suggested by alc@:
1. Move dirty bit emulation code that is duplicted for kernel and user
in trap.c to a function pmap_emulate_modified() in
Author: jchandra
Date: Fri Aug 13 12:56:00 2010
New Revision: 211280
URL: http://svn.freebsd.org/changeset/base/211280
Log:
Rename TARGET_XLR_XLS to CPU_RMI to match other CPU_xxx definitions.
use CPU_RMI all XLR configurations. Update ident string for N32 and
N64 kernels.
Modified:
Author: jchandra
Date: Wed Aug 18 07:38:13 2010
New Revision: 211445
URL: http://svn.freebsd.org/changeset/base/211445
Log:
Make return statements style(9) compliant in MIPS pmap.c
Reported by: neel
Reviewed by: neel (earlier version)
Modified:
head/sys/mips/mips/pmap.c
Modified:
Author: jchandra
Date: Wed Aug 18 12:52:21 2010
New Revision: 211453
URL: http://svn.freebsd.org/changeset/base/211453
Log:
MIPS n64 support - continued...
1. On n64, use XKPHYS to map page table pages instead of KSEG0. Maintain
just one freepages list on n64.
The changes are
Author: jchandra
Date: Wed Aug 25 07:33:35 2010
New Revision: 211799
URL: http://svn.freebsd.org/changeset/base/211799
Log:
Sync up XLR tick.c with the new MIPS tick.c
Modified:
head/sys/mips/rmi/tick.c
Modified: head/sys/mips/rmi/tick.c
Author: jchandra
Date: Wed Aug 25 09:53:00 2010
New Revision: 211809
URL: http://svn.freebsd.org/changeset/base/211809
Log:
Rename on_chip.c to fmn.c, as the file has just the fast messaging network
code. The iodi.c has the bus for SoC devices, so the name on_chip.c is
misleading.
Added:
Author: jchandra
Date: Wed Aug 25 11:49:48 2010
New Revision: 211811
URL: http://svn.freebsd.org/changeset/base/211811
Log:
XLR PIC code update and style(9) fixes.
- style(9) fixes to mips/rmi platform files
- update pic.h to add pic_setup_intr() and use pic_setup_intr() for setting
Author: jchandra
Date: Wed Aug 25 12:10:20 2010
New Revision: 211812
URL: http://svn.freebsd.org/changeset/base/211812
Log:
XLR PIC code update.
- Fix a bug in xlr_pic_init (use irq in PIC_IRQ_IS_EDGE_TRIGGERED)
- use new macro PIC_INTR_TO_IRQ() and PIC_IRT_x() in xlr_pic_init
Modified:
Author: jchandra
Date: Wed Aug 25 13:37:55 2010
New Revision: 211814
URL: http://svn.freebsd.org/changeset/base/211814
Log:
Provide timecounter based on XLR PIC timer.
- Use timer 7 in XLR PIC as a 32 counter
- provide pic_init_timer(), pic_set_timer(), pic_timer_count32() and
On Thu, Aug 26, 2010 at 10:55 AM, Warner Losh i...@freebsd.org wrote:
Author: imp
Date: Thu Aug 26 05:25:51 2010
New Revision: 211832
URL: http://svn.freebsd.org/changeset/base/211832
Log:
Ugly kludge to paper over some kind of ld bug and/or misuse: don't
build uathload on mips n64
Author: jchandra
Date: Fri Aug 27 07:45:50 2010
New Revision: 211862
URL: http://svn.freebsd.org/changeset/base/211862
Log:
Whitespace fixes in mips/include, remove unused 'struct tlb' from locore.h
PR: misc/147471
Modified:
head/sys/mips/include/atomic.h
Author: jchandra
Date: Fri Aug 27 19:53:57 2010
New Revision: 211893
URL: http://svn.freebsd.org/changeset/base/211893
Log:
Revamp XLR interrupt handling, the previous scheme does not work well on
SMP.
We used to route all PIC based interrupts to cpu 0, and used the per-CPU
interrupt
Author: jchandra
Date: Sat Aug 28 07:58:10 2010
New Revision: 211923
URL: http://svn.freebsd.org/changeset/base/211923
Log:
Initial code for XLR CompactFlash driver.
Submitted by: Sreekanth M. S. kanthms at netlogicmicro com
Added:
head/sys/mips/rmi/xlr_pcmcia.c (contents, props
Author: jchandra
Date: Sat Aug 28 19:02:51 2010
New Revision: 211946
URL: http://svn.freebsd.org/changeset/base/211946
Log:
New driver nlge for XLR/XLS Network Accelerator. This will support the XGMAC
and XAUI 10G interfaces in addition RGMII/SGMII 1G interfaces. This driver
is work in
Author: jchandra
Date: Sun Aug 29 05:39:21 2010
New Revision: 211958
URL: http://svn.freebsd.org/changeset/base/211958
Log:
Apply MIPS pmap clean up patch from alc@ (with minor change to KASSERT):
PMAP_DIAGNOSTIC was eliminated from amd64/i386, and, in fact, the
non-MIPS parts of the
Author: jchandra
Date: Mon Aug 30 13:05:21 2010
New Revision: 211994
URL: http://svn.freebsd.org/changeset/base/211994
Log:
Clean up header files in RMI platform code (sys/mips/rmi), and remove
unused files.
- remove clock.c and clock.h, these are not used after the new timer
code
Author: jchandra
Date: Mon Aug 30 13:26:07 2010
New Revision: 211996
URL: http://svn.freebsd.org/changeset/base/211996
Log:
Move debug.h to the the rge driver directory. rge.c is the only user of
debug.h. Remove debug.h references from other files.
Added:
head/sys/mips/rmi/dev/xlr/debug.h
Author: jchandra
Date: Tue Aug 31 04:18:47 2010
New Revision: 212045
URL: http://svn.freebsd.org/changeset/base/212045
Log:
Add the workaround for 4xx lite boards after it was lost in the last
board.c update.
Modified:
head/sys/mips/rmi/board.c
Modified: head/sys/mips/rmi/board.c
Author: jchandra
Date: Mon Sep 6 06:18:49 2010
New Revision: 212248
URL: http://svn.freebsd.org/changeset/base/212248
Log:
XLR/XLS hardware interrupts should be programmed level triggered at the
PIC. This should fix the interrupt releated issues seen after the
interrupt handling re-write
Author: jchandra
Date: Tue Sep 7 05:39:24 2010
New Revision: 212283
URL: http://svn.freebsd.org/changeset/base/212283
Log:
On boards with 512MB memory, the result of vtophys cannot be converted
to KSEG1 address - use pmap_mapdev/pmap_unmapdev instead.
Remove unused variable maxphys.
Author: jchandra
Date: Tue Sep 7 06:02:43 2010
New Revision: 212284
URL: http://svn.freebsd.org/changeset/base/212284
Log:
Whitespace fixes - indent with tabs instead of spaces.
Few other style(9) changes.
Modified:
head/sys/mips/mips/busdma_machdep.c
Modified:
Author: jchandra
Date: Wed Sep 8 16:34:08 2010
New Revision: 212321
URL: http://svn.freebsd.org/changeset/base/212321
Log:
Clean up fast message ring code for XLR.
Fix message ring send path:
- define msgrng_access_enable() which disables local interrupts
and enables message ring
Author: jchandra
Date: Wed Sep 8 17:11:49 2010
New Revision: 212324
URL: http://svn.freebsd.org/changeset/base/212324
Log:
nlge (alternate XLR GMAC driver) updates:
- Updates for the message ring clean up in r212321.
- Instead of dropping Tx packet on credit fail, retry send until it
Author: jchandra
Date: Thu Sep 9 02:52:44 2010
New Revision: 212347
URL: http://svn.freebsd.org/changeset/base/212347
Log:
Minor clean up for nlge - nlna_submit_rx_free_desc() can use the same desc
every time. Also merge couple of one-line functions into their caller.
Modified:
Author: jchandra
Date: Thu Sep 9 17:45:48 2010
New Revision: 212366
URL: http://svn.freebsd.org/changeset/base/212366
Log:
Clean up and update sys/mips/rmi/rmi_mips_exts.h
- Provide 64 bit implementations for some macros. On n64 and n32,
don't split 64 bit values.
- No need for 32
Author: jchandra
Date: Fri Sep 10 07:06:06 2010
New Revision: 212409
URL: http://svn.freebsd.org/changeset/base/212409
Log:
Compilation fix - when INVARIANTS are turned off.
Modified:
head/sys/mips/rmi/dev/nlge/if_nlge.c
head/sys/mips/rmi/dev/xlr/rge.c
head/sys/mips/rmi/msgring.h
Author: jchandra
Date: Mon Sep 13 05:03:37 2010
New Revision: 212532
URL: http://svn.freebsd.org/changeset/base/212532
Log:
The functions in sys/mips/mips/psraccess.S can be implemented with
mips_rd_status/mips_wr_status. Implement them in mips/include/cpufunc.h,
and remove psraccess.S.
Author: jchandra
Date: Mon Sep 13 11:47:35 2010
New Revision: 212550
URL: http://svn.freebsd.org/changeset/base/212550
Log:
bus_add_child method is needed now.
Modified:
head/sys/mips/rmi/iodi.c
Modified: head/sys/mips/rmi/iodi.c
Author: jchandra
Date: Mon Sep 13 13:11:50 2010
New Revision: 212553
URL: http://svn.freebsd.org/changeset/base/212553
Log:
sys/mips/rmi/msgring.h - fixes and clean up.
- Remove sync from msgrng_send, sync needs to be called just once before
sending.
- Fix retry logic - don't reload
Author: jchandra
Date: Thu Sep 16 19:13:55 2010
New Revision: 212758
URL: http://svn.freebsd.org/changeset/base/212758
Log:
Network driver updates.
- Move RMI MIPS extension to atomic increment word (LDADDWU) to common
header file sys/mips/rmi/rmi_mips_exts.h
- Fix xlr_ldaddwu() for
Author: jchandra
Date: Thu Sep 16 19:25:24 2010
New Revision: 212759
URL: http://svn.freebsd.org/changeset/base/212759
Log:
Update rge.h for r212758 - stats incremented using xlr_ldaddwu should be
unsigned int.
Modified:
head/sys/mips/rmi/dev/xlr/rge.h
Modified:
Author: jchandra
Date: Thu Sep 16 20:23:22 2010
New Revision: 212763
URL: http://svn.freebsd.org/changeset/base/212763
Log:
RMI security accelerator driver update.
- Compile fixes for 9.0, the previous version of this driver was
for FreeBSD 6.
- Add virtual address field in
Author: jchandra
Date: Fri Sep 17 10:28:10 2010
New Revision: 212790
URL: http://svn.freebsd.org/changeset/base/212790
Log:
Fixes for XLR network accelerator driver (nlge).
- Process some tx done messages in the transmit path, to ensure that
the XLR NA tx done FIFO does not overflow.
1 - 100 of 234 matches
Mail list logo