Commit Graph

278732 Commits

Author SHA1 Message Date
rillig
43fb13888f make(1): eliminate unused local variables 2020-07-19 15:51:51 +00:00
rillig
b0f8b8b292 make(1): eliminate macro from VarGetPattern 2020-07-19 15:47:10 +00:00
riastradh
0ab10b6fe1 Nix trailing whitespace. 2020-07-19 15:42:25 +00:00
riastradh
52c1c2aa09 Expand on importance of not using fpu for crypto if there's no fpu. 2020-07-19 15:33:08 +00:00
rillig
e8d07af35a make(1): add test for stray dollar signs in :@ modifier 2020-07-19 15:16:22 +00:00
wiz
707fcfff00 Remove unused Pp. Sort SEE ALSO. 2020-07-19 14:43:35 +00:00
maxv
6466ac3ae7 sync with reality 2020-07-19 14:39:42 +00:00
maxv
d3713544b3 Compile USER_LDT by default, but, put it behind a privileged sysctl that
defaults to disabled. To enable:

	# sysctl -w machdep.user_ldt=1
2020-07-19 14:31:31 +00:00
jdolecek
6bd27cf6bd for Xen MSI, fallback to INTx when PHYSDEVOP_map_pirq fails for the device
apparently Xen requires VT-d to be enabled in BIOS for PHYSDEVOP_map_pirq
to work, this change makes it work on systems with VT-d disabled or missing

adresses the panic part of PR port-xen/55285 by Patrick Welche
2020-07-19 14:27:07 +00:00
rillig
ce9c1c2a77 make(1): add test for ampersand in SysV substitution modifier 2020-07-19 14:23:02 +00:00
rillig
98eae199aa make(1): replace ApplyModifiersState field with local variable 2020-07-19 14:05:39 +00:00
maxv
cdd6fe381f we're already in an #ifdef USER_LDT block, so no need to #ifdef again 2020-07-19 13:58:26 +00:00
maxv
fdf397881b don't include opt_user_ldt.h when it is not needed 2020-07-19 13:55:08 +00:00
rillig
328db7a41e make(1): rename flags for :S and :C pattern matching
Renaming these flags makes it obvious that VarPattern is used in a few
places where it doesn't belong.  These will be fixed in follow-up
commits.
2020-07-19 13:21:56 +00:00
rillig
b5ae4b2e29 make(1): convert VarFind flags to typed enum 2020-07-19 12:51:06 +00:00
rillig
e60b891d45 make(1): clean up unnecessary snprintf and multi-line function calls 2020-07-19 12:35:30 +00:00
rillig
2b74fdb213 make(1): rename Varf_Flags to VarEvalFlags
In var.c there are lots of different flag types.  To make any accidental
mixture obvious, each flag group gets its own prefix.

The only flag group that is visible outside of var.c is concerned with
evaluating variables, therefore the "e", which replaces the former "f"
that probably just meant "flag".
2020-07-19 12:26:17 +00:00
skrll
c16f3849c0 Fix RPI boot which needs more early stack
XXX centralise INIT_ARM_STACK_{SHIFT,SIZE}
XXX how to protect against this breaking again?
2020-07-19 11:47:47 +00:00
rillig
6254cc83fe make(1): clean up handling of :? modifier
The VarPattern type had nothing to do with parsing conditions.
2020-07-19 10:38:02 +00:00
rillig
6e4dd0002d make(1): clean up code in var.c
* use canonical comparison to zero in more cases
* omit unnecessary snprintf for string literal concatenation
* omit a few redundant parentheses and braces
2020-07-19 10:28:44 +00:00
simonb
0d9526dcf2 A little KNF. 2020-07-19 09:30:08 +00:00
rillig
5412fdea01 make(1): move SysV string matching to var.c
This kind of string matching is only used in variable modifiers, and only
if this feature is enabled by SYSVVARSUB.
2020-07-19 09:26:18 +00:00
rillig
0376ea853f make(1): add more tests for :ts modifier 2020-07-19 09:13:22 +00:00
simonb
5a22ba8ebf KNF whitespace nits. 2020-07-19 08:58:35 +00:00
simonb
6a9dede689 Reserve space for all CPU cores (incorrect logic).
Reserve a full page for each core, not incorrect 4096 (from skrll@).
2020-07-19 08:53:24 +00:00
maxv
95a0a18880 Revert most of ad's movs/stos change. Instead do a lot simpler: declare
svs_quad_copy() used by SVS only, with no need for instrumentation, because
SVS is disabled when sanitizers are on.
2020-07-19 07:35:08 +00:00
ryo
58d7a688ba fix build with clang/llvm.
clang aarch64 assembler doesn't accept optional number of lanes of vector register.
(but ARMARM says that an assembler must accept it)
2020-07-19 07:32:43 +00:00
ryo
20f7aea9e5 fix build error with LLVM. 2020-07-19 07:18:07 +00:00
rillig
58964e7922 make(1): demonstrate inconsistent :ts behavior among modifiers 2020-07-19 07:08:09 +00:00
maxv
cdfdc5e3ae Switch to fpu_kern_enter/leave, to prevent clobbering, now that the kernel
itself uses the fpu.
2020-07-19 06:56:09 +00:00
maxv
ba4f5bd862 The TLB flush IPIs do not respect the IPL, so enforcing IPL_HIGH has no
effect. Disable interrupts earlier instead. This prevents a possible race
against such IPIs.
2020-07-19 06:36:37 +00:00
simonb
ba69e4b56c Call fdtbus_intr_init() during startup. 2020-07-19 06:31:13 +00:00
sjg
6625c883c8 Add -dh for DEBUG_HASH
Allow tracking of max chain length, to see how well the hash
tables are working.
Pull the actual hash operation into a marco so it can be
easily changed - for experimenting.

The current hash, is pretty good.

Reviewed by: christos
2020-07-18 21:37:38 +00:00
maxv
946a6a655a Now that the IDT is per-CPU, it must be saved/restored on each CPU
independently.
2020-07-18 20:56:53 +00:00
nia
8555e3a676 missing e.g. 2020-07-18 18:11:46 +00:00
nia
fba738a313 more hardware 2020-07-18 18:09:42 +00:00
nia
879844e8a6 clarify 2020-07-18 17:45:11 +00:00
nia
65b55d2ec3 Initial evbarm upgrade instructions - need work 2020-07-18 17:40:14 +00:00
nia
3c1d32f8ae more contents 2020-07-18 17:20:59 +00:00
nia
4007c97d9d safe estimation of required storage 2020-07-18 17:10:23 +00:00
nia
ebf5b694b7 more modernization of evbarm install instructions 2020-07-18 16:41:14 +00:00
skrll
3cf96b0176 Always call pmap_segtab_activate in pmap_activate. pmap_segtab_activate
does the right thing if called with non-curlwp.
2020-07-18 16:12:09 +00:00
tsutsui
230265cedb Xorg 1.20 servers require libXfont2 instead of libXfont.
Per the following upstream commit:
 https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7
 > dix: Switch to the libXfont2 API (v2)

Now Xorg 1.20 based X68k server builds and confirmed working on XM6i.
2020-07-18 16:07:15 +00:00
tsutsui
3de7bb0e83 Sync with xorg-server.old: No need to link miext/libshadow.a. 2020-07-18 15:26:30 +00:00
tsutsui
d90047b5d0 No need to link miext/libshadow.a. 2020-07-18 15:24:31 +00:00
wiz
69f2512a80 Add missing linebreak.
Reported by Anon.
2020-07-18 14:53:10 +00:00
jmcneill
3e4f2cbfff Add BIOCSETWF32 (bpf) 2020-07-18 12:46:19 +00:00
lukem
6ded57f3ab ftp: add -? for help. improve synopsis
Add -? to display usage synopsis and help to stdout.
This allows for "ftp -? | less", which is more user friendly.
Errors still show usage to stderr.
Consistency improvements in some usage text.
2020-07-18 03:00:37 +00:00
jmcneill
793877b034 Remove 2 CPU limit in OCTEON interrupt controller driver. 2020-07-17 21:59:30 +00:00
jdolecek
b0b4f42cf7 remove explicit irqack() call for unexpected interrupt; this happens
normally during boot when running identify for the drive as polled
command, and fixes hard hang caused by the irqack() on a sun machine

the unexpected interrupt happens because cmdide doesn't respect
WDCTL_IDS bit and triggers interrupt also for polled commands

also reclassify the "bogus intr" as aprint_verbose() to avoid noise
on boot

discussed and tested by Martin Husemann
2020-07-17 21:04:14 +00:00