Commit Graph

169759 Commits

Author SHA1 Message Date
ad
bd60b91d0a If the boot processor's lapic has the wrong ID, reset it. 2008-05-10 17:23:54 +00:00
ad
f372a4ddde This file now unused. 2008-05-10 17:18:48 +00:00
christos
b6c10a6fe5 avoid using free_func as an argument because it is already a typedef. 2008-05-10 16:52:05 +00:00
ad
47f99407d1 Assume that TSC is stable on P-II and P-III Xeons, since systems with those
CPUs are likely to have a TSC-friendly configuration.
2008-05-10 16:44:00 +00:00
ad
c328252caf TSC should also be enabled for intel f03. 2008-05-10 16:37:08 +00:00
ad
95a272a377 Make xen build after tsc changes. 2008-05-10 16:27:57 +00:00
ad
feb38f6706 Take skew into account for cpu_counter(). 2008-05-10 16:21:41 +00:00
ad
75ada79f33 Improve x86 tsc handling:
- Ditch the cross-CPU calibration stuff. It didn't work properly, and it's
  near impossible to synchronize the CPUs in a running system, because bus
  traffic will interfere with any calibration attempt, messing up the
  timings.

- Only enable the TSC on CPUs where we are sure it does not drift. If we are
  On a known good CPU, give the TSC high timecounter quality, making it the
  default.

- When booting CPUs, detect TSC skew and account for it. Most Intel MP
  systems have synchronized counters, but that need not be true if the
  system has a complicated bus structure. As far as I know, AMD systems
  do not have synchronized TSCs and so we need to handle skew.

- While an AP is waiting to be set running, try and make the TSC drift by
  entering a reduced power state. If we detect drift, ensure that the TSC
  does not get a high timecounter quality. This should not happen and is
  only for safety.

- Make cpu_counter() stuff LKM safe.
2008-05-10 16:12:32 +00:00
martin
7734697b2f Simplify some unclear grammar (sync KASSERT and KDASSERT wording) 2008-05-10 15:39:04 +00:00
martin
5d1469bd77 Backout previous: the license sweep touched these files in error, so
restore the old license.
2008-05-10 15:31:03 +00:00
chris
fe50151584 Fix 9.5 year old buffer overflow.
It wasn't noticed till now as it wasn't overflowing onto anything
important (or was overwritten by the correct data).  Recent changes
meant irqstr was placed just before footbridge_intrq and so it trashed
the interrupt linked list, and so caused an alignment fault.

Note that cats still doesn't boot even with the change, as it hangs when
starting userland, I suspect an interrupt issue.
2008-05-10 15:29:25 +00:00
ad
50e2f52a23 Use MI cpu_counter() interface. 2008-05-10 15:11:10 +00:00
ad
9a48c061bc Remove tsc debugging code. 2008-05-10 15:05:01 +00:00
ad
8038b5d5a5 Report: family, model, extfamily, extmodel 2008-05-10 15:01:05 +00:00
ad
1e2d1c67a2 + uint64_t cpu_cc_freq; /* cycle counter frequency */
+       int64_t         cpu_cc_skew;            /* counter skew vs cpu0 */
2008-05-10 14:56:13 +00:00
ad
9ab200719c Merge cpu_counter.h. 2008-05-10 14:53:54 +00:00
simonb
dc15915150 Fix a tyop in a comment. 2008-05-10 14:52:55 +00:00
joerg
27acbcf978 Remove #if 0'd code for flashing firmware. It was never active and even
the FreeBSD version of the driver removed it.
2008-05-10 14:36:02 +00:00
jmcneill
688f4b6b9c Cleanup aprint messages, remove unnecessary usage of aprint_error. 2008-05-10 14:27:20 +00:00
jmcneill
11830b6203 Don't use aprint_error in the success path. 2008-05-10 14:08:15 +00:00
jmcneill
0b59054580 Use aprint when reporting AC adapter status. 2008-05-10 14:01:32 +00:00
jmcneill
2b7bb9303a Use aprint 2008-05-10 13:56:54 +00:00
jmcneill
2d069a6c6f Hide a harmless warning about optional fields having zero address or lengths
unless ACPI_DEBUG is defined.
2008-05-10 13:45:13 +00:00
jmcneill
1c1d16a9e9 Use aprint_naive, cleanup error printing. 2008-05-10 13:38:34 +00:00
jmcneill
a6a2bdb866 Mhz -> MHz in aprint, use aprint_naive. 2008-05-10 13:35:56 +00:00
tnn
503997e388 Try to adapt the usema driver to new select/poll world order.
Also fix build with DEBUG_IRIX defined.
Fixes PR port-sgimips/38367 and makes GENERIC build again.
Only build tested because something else is still wrong with compat_irix.
2008-05-10 12:57:18 +00:00
degroote
d6c75ad916 Fix error handling after m_pullup 2008-05-10 12:56:28 +00:00
martin
d6c07702bb Years in license are four digits 2008-05-10 11:52:20 +00:00
martin
b46765907d Minor typo in license 2008-05-10 11:49:37 +00:00
isaki
007dbd3e78 Make it retire, because no one refers.
arch/x68k/dev/spc.c includes <dev/ic/mb89352reg.h> instead of
this, since 1999.
2008-05-10 10:37:38 +00:00
martin
e033c388a9 normalize license (cosmetics only) 2008-05-10 09:33:31 +00:00
skrll
a498c05e5e Fix pasto in RAS_END_ASM_HIDDEN 2008-05-10 08:11:32 +00:00
rumble
8c7664bba5 Typo. 2008-05-10 04:08:59 +00:00
rumble
a1221b6d4a Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most of the file systems can now be loaded as new style
modules.

Quick sanity check by ad@.
2008-05-10 02:26:09 +00:00
skd
830972dccc Bump version string, as per lukem@. 2008-05-10 01:14:57 +00:00
skd
315d173b9f Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4 and ipv6 respectively. This hack is due to our friends a Juniper Networks who break
epsv in ipv6.  Should be fixed in ScreenOS 6.2.X.
2008-05-10 00:05:31 +00:00
christos
33d34d249c fix version string 2008-05-09 22:10:19 +00:00
christos
ca47211c3a new openssl 2008-05-09 22:08:26 +00:00
christos
7faa05656c re-gen 2008-05-09 22:02:42 +00:00
christos
89d424a9f8 mention new openssl 2008-05-09 21:59:02 +00:00
christos
da16318f7a new openssl 2008-05-09 21:55:30 +00:00
cegger
d4e5a8360c Buildfix: Remove duplicate #defines. 2008-05-09 21:53:56 +00:00
christos
a04ecacd9e bump because of libcrypto 2008-05-09 21:53:15 +00:00
christos
8a6a174d43 new openssl 2008-05-09 21:52:18 +00:00
christos
2149db96e3 resolve conflicts 2008-05-09 21:49:39 +00:00
christos
b69a53abf2 import today's snapshot! Hi <tls> 2008-05-09 21:34:04 +00:00
joerg
f809e517f2 Only check for hlt on !Xen. This needs to be reviewed when Xen gets SMP
support.
2008-05-09 21:25:43 +00:00
ad
8b6686aea4 LAPIC_ID_MASK is 8 bits these days. 2008-05-09 21:23:48 +00:00
tnn
a1744e1285 Make it build, struct vfsops gained a member.
(Making compat_irix actually work again is a project for another day.)
2008-05-09 20:49:14 +00:00
dyoung
a00439c7f3 In address, integer, string parsers, gracefully handle a missing
token.
2008-05-09 20:48:59 +00:00