Commit Graph

213172 Commits

Author SHA1 Message Date
is 72b7fc9f19 Note OpenSSH 6.1. Thanks for heads-up to Snader_LB. 2012-08-31 20:23:33 +00:00
wiz 498ab6ee99 cgd and sjg relicensed this under 2-clause-BSD.
Reported by Ed Schouten <ed@FreeBSD.org> to tech-userlevel.

Adapt license to match FreeBSD's version, leaving Ed out
since according to CVS logs, he didn't touch NetBSD's version.
2012-08-31 19:55:23 +00:00
matt 82b664585f The arm11 barriers are mcr (write), not mrc (read) 2012-08-31 17:29:08 +00:00
pooka ebca36f90a Hook ZFS tests to MKZFS instead of a homegrown variable. 2012-08-31 14:46:53 +00:00
chs 898c59c515 fix some confusion about PG_FAKE. 2012-08-31 14:31:46 +00:00
macallan eb30b37d82 when calculating per-IPL virq masks, take into account that shared IRQs may
request different IPLs
fixes vr(4)-related problems seen on ofppc
2012-08-31 13:12:52 +00:00
matt 968d0b4134 Use __ASSEMBLER__ to control inline definitions 2012-08-31 12:01:15 +00:00
skrll 3bbaf20745 Don't advertise the abt/und/irq stack pointers as accessible to crash(8)
when they're not
2012-08-31 11:52:39 +00:00
skrll 204f751fed DO_AST_AND_RESTORE_ALIGNMENT_FAULTS needs AST_ALIGNMENT_FAULT_LOCALS 2012-08-31 11:45:38 +00:00
matt a31d113a55 Don't do inlines if _STANDALONE 2012-08-31 11:40:42 +00:00
drochner 629e6fc4b6 fix for archs w/o cpu ucode driver: add dummy definition 2012-08-31 07:27:27 +00:00
sjg ea86d17992 Cast sizeof() to int, which is sufficent and consistent with other use
within make.
2012-08-31 07:00:36 +00:00
jnemeth 45d8ad6bc8 PR/46877 - Wolfgang Stukenbrock -- missing definition for Symbios SAS 9261-8i 2012-08-31 05:22:17 +00:00
riastradh 4c12bd76ba Fix typo: tftpd, not tfptd. 2012-08-31 05:18:44 +00:00
pgoyette af44ca577f There's a known-but-unresolved race condition in here somewhere that
causes these tests to sometimes deadlock.  Since they run really fast
when they are successful, it doesn't do any good to wait for the
default 5-minute timeout.  So explicitly set timeout for these tests
to just 30 seconds.
2012-08-31 04:02:21 +00:00
pgoyette 4e59942717 Cast sizeof() to (ssize_t) to avoid build errors. 2012-08-31 02:59:37 +00:00
matt 48caf1182a Support deciphering SDHCv3 clock rates. 2012-08-31 01:44:20 +00:00
christos fbb3db86f7 Don't support sysctl for the tools version of config. It is too complicated
to do so, and config -x is not used during the build.
2012-08-31 01:23:49 +00:00
msaitoh 3c8544b725 Enable VLAN hardware tagging on all chips that have the new queue mechanism.
Tested with 82575{EB,GB}, 82576, 82580, I350 and ICH9.
2012-08-30 23:14:20 +00:00
wiz d5a95690ed Add an s. 2012-08-30 22:35:37 +00:00
sjg aede2a76f4 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 22:09:58 +00:00
sjg 170700dd50 Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.

Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
2012-08-30 21:17:05 +00:00
wiz 686e48a4a3 Use more markup. Wording. 2012-08-30 12:42:41 +00:00
christos c9ffe47f54 bump date. 2012-08-30 12:32:07 +00:00
christos 8aaed51273 make config -x look at the booted kernel first. 2012-08-30 12:31:25 +00:00
drochner 8588929dc5 Add "consttime_bcmp" and "explicit_bzero" functions for both kernel
abd userland, as proposed on tech-security, with explicit_bzero using
a volatile function pointer as suggested by Alan Barrett.
Both do what the name says. For userland, both are prefixed by "__"
to keep them out of the user namespace.
Change some memset/memcmp uses to the new functions where it makes
sense -- these are just some examples, more to come.
2012-08-30 12:16:48 +00:00
matt 99af3c507e Add a new more KASSERT/KASSERTMSG 2012-08-30 02:26:38 +00:00
matt 2411d236db A few more KASSERT/KASSERTMSG. 2012-08-30 02:26:02 +00:00
matt b0d1f89948 Change KASSERT to KASSERTMSG 2012-08-30 02:25:35 +00:00
matt a91e719fd0 KASSERT -> KASSERTMSG 2012-08-30 02:24:48 +00:00
matt dfb595098c Give config thread more descriptive names. 2012-08-30 02:24:20 +00:00
matt ed51f1779c Use __cacheline_aligned 2012-08-30 02:23:14 +00:00
matt 8af4ccc21e Add a l1pte_supersection_p macro. 2012-08-30 02:10:15 +00:00
matt 52a89e8259 Teach pmap_extract about supersections. 2012-08-30 02:05:56 +00:00
macallan 86f21a33c1 add options ADBKBD_EMUL_USB to turn USB emulation on by default 2012-08-30 01:27:44 +00:00
matt 2ea337846d Add core locator to mainbus. Add support for attaching multiple CPUs 2012-08-29 23:16:35 +00:00
matt 72c1c71ead Don't use locations in .data to store exception temporaries, use decidicated
space in cpu_info instead.  This also moves undefined_handler_address into
cpu_info as well.
Use the new armreg* inlines for getting TPIDRPRW register.
Add MULTIPROCESSOR version of CPU_INFO_FOREACH
2012-08-29 23:10:31 +00:00
matt a9ceb00145 Add __stub_start and __stub_end symbols. 2012-08-29 22:43:57 +00:00
rmind 485da0c75c tlbflushg/i386: test for the PGE feature flag first, before checking the %cr4.
Add a comment explaining why need to check both and in such order.
2012-08-29 22:43:35 +00:00
matt 57281f1e48 Add __BIT(n) macro 2012-08-29 22:25:05 +00:00
bouyer 3fbad4acef Make vlan and all ip/ip6 checksum offload work for the I350.
On newer devices, when using the legacy TX descriptors, vlan-related flags
that were set on the last descriptor of a packet have to be set on the
first one.
For tso/checksum offloads, a new "advanced" descriptor format has to be
used.

Change wcd_txdescs to a union defining all types of descriptors (they
are all 16-bytes wide).
Define a new tx function wm_nq_start(), which handle newer devices.
There is some code duplication with wm_start(), but adding support to
the existing wm_start() would make it a if () {} else {} maze. This also
allows to get rid of some workaround for older chips that are not needed
here.
Use wm_nq_start() instead of wm_start() for the I350 (this should probably
be for all WM_F_NEWQUEUE devices, but I have no hardware but the I350 to
test). Call ifp->if_start() instead of wm_start() where is matters.

Tested on a I350, and a i80003 (which use the old format), both with and
without vlans, with and without checksum offloads.
2012-08-29 20:39:24 +00:00
drochner a01fe2e22b g/c unused struct member 2012-08-29 20:37:50 +00:00
wiz c9ea1856a7 Use new makemandb -Q flag to be really quiet. 2012-08-29 20:34:18 +00:00
wiz e93044e5ab Add -Q flag:
Print only fatal error messages (i.e., when the database is left in
an inconsistent state and needs manual intervention).

From Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>.
2012-08-29 20:33:01 +00:00
matt 2101b6c77f Since the PMC cycle counter is started in cpufunc no reason to do so here.
Use curcpu()->ci_data.cpu_cc_freq and new armreg* inlines.
2012-08-29 19:10:15 +00:00
matt 1fe5d0826a Make all cortex and arm11 cpus uses writeback cached memories for pagetables 2012-08-29 18:56:45 +00:00
dholland 523ec9d4d8 Add missing newline to printf (in the disabled code for $ORIGIN). 2012-08-29 18:56:39 +00:00
dholland 3ab360cd87 Fix rcsid. 2012-08-29 18:52:31 +00:00
dholland 8c41afe697 Check for NULL *before* using ALIGN().
I don't remember what prompted this, but it's obviously a desirable fix
and I've been carrying it on a heavily-used machine for more than a year.
2012-08-29 18:50:35 +00:00
dholland 06b26cd86b Use more markup, fix English usage. 2012-08-29 18:46:13 +00:00