Commit Graph

198513 Commits

Author SHA1 Message Date
njoly 486cd08890 Fix powernow section in xref. 2011-02-25 18:48:26 +00:00
pooka f70541ba1f whoops, didn't mean to delete futimes in previous. also from riz 2011-02-25 18:36:36 +00:00
pooka b183f0392f support mknod. from riz 2011-02-25 18:29:00 +00:00
pgoyette 08b100965c Disable the "raw" test case. The test is bogus, and did not work before
conversion from src/regress/ to atf
2011-02-25 18:11:53 +00:00
jruoho 0f6b94e451 Fix an oversight; the APERF and MPERF counters are per-CPU, so also reset
these by broadcasting to all CPUs with x86_msr_xcall(9).
2011-02-25 17:23:34 +00:00
jruoho 19a0877b02 Add couple of comments. 2011-02-25 17:07:30 +00:00
jruoho 66d1c2c3a5 Also declare support for APERF/MPERF during the BIOS _PDC/_OSC query. 2011-02-25 16:54:36 +00:00
pooka da73d5bcb9 Ok, for reasons I can't begin to understand, the binaries I tested
yesterday on powerpc broke overnight.  Apparently adding one more
function before the call to dlsym() fixes things again.  I hope
I don't have to add another one tomorrow ....
2011-02-25 16:01:41 +00:00
pooka 9e33d7d6e2 fix __RCSID 2011-02-25 15:12:06 +00:00
tsutsui 6ee330adf2 Uncomment "clear SOFT_INT bits" lines in _splsw_spl0().
This makes interrupts on cobalt (and probably other Rm5200 machines) work,
and no bad side effect seen on R4400 ews4800mips.

Cobalt GENERIC kernel on RaQ still panics right after mountroot() though:
---
 :
atabus1 at viaide0 channel 1
VIA Technologies VT83C572 USB Controller (USB serial bus, revision 0x02) at pci0 dev 9 function 2 not configured
wd0 at atabus0 drive 0
wd0: <QUANTUM FIREBALLlct15 15>
wd0: 14324 MB, 29104 cyl, 16 head, 63 sec, 512 bytes/sect x 29336832 sectors
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pid 1(init): ABI set to O32 (e_flags=0x1007)
pid 4(sh): trap: cpu0, address error (load or I-fetch) in kernel mode
status=0x8003, cause=0x10, epc=0x801430a0, vaddr=0x8001
tf=0xc6471a88 ksp=0xc6471b28 ra=0x801f0c90 ppl=0x801f0c24
kernel: address error (load or I-fetch) trap
Stopped in pid 4.1 (sh) at      netbsd:mutex_abort:     lw      v1,0(a0)
db> tr
0xc6471b28: mutex_abort+0 (8001,80380530,803cbb10,803ff840) ra 801f0c90 sz 0
0xc6471b28: mips_pmap_map_poolpage+90 (8001,80380530,803cbb10,803ff840) ra 80276788 sz 40
0xc6471b50: pool_grow+4c (8001,80380530,803cbb10,803ff840) ra 80276b64 sz 48
0xc6471b80: pool_catchup+34 (8001,80380530,803cbb10,803ff840) ra 80276418 sz 24
0xc6471b98: pool_get+50c (8001,80380530,803cbb10,803ff840) ra 801f11b8 sz 64
0xc6471bd8: pmap_enter_pv+e8 (8001,80380530,803cbb10,803ff840) ra 801f3054 sz 48
0xc6471c08: pmap_enter+138 (8001,80380530,803cbb10,803ff840) ra 802fd528 sz 64
0xc6471c48: uvm_fault_lower+24c (8001,80380530,803cbb10,803ff840) ra 802fec50 sz 96
0xc6471ca8: uvm_fault_internal+72c (83ed5b40,80380530,1,0) ra 802b5b08 sz 272
0xc6471db8: trap+8d0 (10,8,1,408fb8) ra 8018f22c sz 400
0xc6471f48: mips3_user_gen_exception+cc (10,8,1,408fb8) ra 0 sz 0
User-level: pid 4.1
db>
2011-02-25 14:57:45 +00:00
joerg b7b592d544 Back out using the thread register (if present) for now.
libgcc_s's __register_frame_info gets called from libc's CSU code before
the libc constructors are run. __register_frame_info in turn calls
pthread_mutex_lock. libpthread is not initialised at this point and
therefore pthread__self() traps when deferencing the thread register.
This worked before because the garbage from pthread__self() is
effectively ignored.
2011-02-25 14:32:38 +00:00
wiz 1cc61a3b95 Add quoting for minus, for PostScript output. 2011-02-25 14:11:25 +00:00
joerg 13b2e74237 Be nicer to software that insists on -ansi and use __inline. 2011-02-25 14:07:12 +00:00
jmcneill 29a080d47e Today I learned that 'pcictl pci0 list -b -1' lists devices on all busses. 2011-02-25 13:50:18 +00:00
joerg 6372674194 Fix redundant version. 2011-02-25 13:29:46 +00:00
jruoho e05a11c6ab Remove the last reference to #ifdef a.k.a. options(4) POWERNOW_K8. 2011-02-25 12:41:51 +00:00
joerg 18c77ab149 Bump to 5.99.47 for TLS changes. 2011-02-25 12:15:32 +00:00
jruoho eb43e911ff Rename couple of badly named functions for consistency. No functional change. 2011-02-25 12:08:35 +00:00
pooka 74ed8d21f3 fix my whitespace copypaste 2011-02-25 11:55:28 +00:00
pooka ba7613308e Fix LE softfloat (mostly theoretical) and comment.
from Alessandro Forin
2011-02-25 11:53:07 +00:00
tsutsui 601ea3a1e7 Fix cvt.d.s per analysis by Marcus Comstedt in PR port-mips/36251.
Confirmed on ews4800mips.
2011-02-25 11:44:56 +00:00
jruoho eb5a69e0be Add support for APERF and MPERF on AMD processors. 2011-02-25 10:59:32 +00:00
tron 89953a5ba8 Remove duplicate definitions which break the build. 2011-02-25 10:45:57 +00:00
kiyohara 02bfed6ecc Need splraise(-1) here. 2011-02-25 10:18:09 +00:00
kiyohara 56ced87f5a Fix UIC cascading. UIC1 to IRQ 30, UIC2 to 28. 2011-02-25 10:16:59 +00:00
kiyohara ee964c9732 Style. 2011-02-25 10:12:44 +00:00
kiyohara c001e9875c Update description to latest boot. 2011-02-25 10:06:24 +00:00
kiyohara 5fda4e37f1 Fix build failed.
Need separator `,'.
2011-02-25 09:54:23 +00:00
jruoho 97b3ad9cac Add preliminary support for the IA32_APERF and IA32_MPERF frequency counters.
These are not yet used for anything and only Intel is supported at the moment.
2011-02-25 09:16:00 +00:00
cegger bb30508062 fix botched line break. How did this even compile for me? 2011-02-25 08:04:18 +00:00
cegger 6d8192ac4c sync with FreeBSD rev 1.11. No binary changes. 2011-02-25 08:01:49 +00:00
jruoho 86bc152d93 Store a pointer to cpu_info rather than cpu_info::ci_acpiid alone. 2011-02-25 06:18:02 +00:00
jruoho c601745de5 Clarify a comment. 2011-02-25 05:07:43 +00:00
jmcneill be74080bef regen 2011-02-25 01:36:37 +00:00
jmcneill 8a76752a98 add AMD (ATI) Radeon HD 6310 Graphics ID 2011-02-25 01:36:18 +00:00
jmcneill 351de62b93 regen 2011-02-25 01:33:59 +00:00
jmcneill f45045c099 add AMD Family14h host bridge IDs 2011-02-25 01:33:34 +00:00
joerg eb077f08e0 No trailing 0 byte for hexdigits. 2011-02-25 00:20:36 +00:00
joerg 36ed38c29f Move HEXDIGIT to mvme68k's sboot. It seems to be the only user.
Save a byte by explicitly specifying the size.
2011-02-25 00:17:35 +00:00
christos b6ccfb3a6f simplify and avoid pointer gymnastics 2011-02-24 23:49:26 +00:00
christos aa30cd0dfb simplify and handle unaligned pointer access. 2011-02-24 23:48:59 +00:00
drochner 1caa9a52b2 small modifications in dealing with the unknown result size of compression/
decompression:
-seperate the IPCOMP specific rule that compression must not grow the
 data from general compression semantics: Introduce a special name
 CRYPTO_DEFLATE_COMP_NOGROW/comp_algo_deflate_nogrow to describe
 the IPCOMP semantics and use it there. (being here, fix the check
 so that equal size is considered failure as well as required by
 RFC2393)
 Customers of CRYPTO_DEFLATE_COMP/comp_algo_deflate now always get
 deflated data back, even if they are not smaller than the original.
-allow to pass a "size hint" to the DEFLATE decompression function
 which is used for the initial buffer allocation. Due to the changes
 done there, additional allocations and extra copies are avoided if the
 initial allocation is sufficient. Set the size hint to MCLBYTES (=2k)
 in IPCOMP which should be good for many use cases.
2011-02-24 20:03:41 +00:00
matt 95ad459439 Add Intel Pineview support 2011-02-24 20:01:53 +00:00
matt 274ce75f7e Regen. 2011-02-24 20:01:26 +00:00
matt 44e4746a62 Update desc for RT3090. Add Intel NM10_LPC 2011-02-24 20:00:59 +00:00
drochner 7d3e4b2396 make the crypto softint MPSAFE -- I see no reason not to do it, and
it didn't cause trouble for me. (It doesn't give additional parallelization
as things look now, just saves the acquisition of KERNEL_LOCK.)
2011-02-24 19:35:46 +00:00
phx 356132d33a Print "interrupting at". Improved style guide conformance. 2011-02-24 19:32:34 +00:00
drochner 8b3e490633 Don't panic, just truncate, if the iov is too short in a COPYBACK.
This case can be triggered from userland cryptodev if the buffer
for decompressed data is too small.
(It would look cleaner if the lengths would be passed explicitely
everywhere, but that would thwart the abstraction done by COPYDATA/COPYBACK
which allows to treat mbufs and iovs the same way.)
2011-02-24 19:28:03 +00:00
jruoho 39c7a68be3 Catch up with x86 on cpufeaturebus. 2011-02-24 19:00:58 +00:00
plunky eec5ecf4cc avoid #ifdef/#endif inside sprint() argument list, as with USE_FORT=yes
sprint becomes a macro
2011-02-24 18:35:40 +00:00