278702 Commits

Author SHA1 Message Date
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
jmcneill
679b5d89c4 Simplify IPI handling and change IPLs of IPI_HALT, IPI_XCALL, and
IPI_GENERIC from IPL_SCHED to IPL_HIGH.
2020-07-17 19:40:47 +00:00
wiz
b46ced516b Remove trailing whitespace. 2020-07-17 18:58:11 +00:00
jmcneill
e78c0566fa Cleanup handling of multiple banks. 2020-07-17 17:57:16 +00:00
kamil
8af10a1e6a libc: Added ppoll() wrapper around native pollts(2) 2020-07-17 15:52:16 +00:00
kamil
cfa66197c1 Enable support for ppoll() 2020-07-17 15:44:04 +00:00
kamil
07e8492e26 Add ppoll() a compatibility wrapper around pollts(2)
Submitted by Apurva Nandan.
2020-07-17 15:34:16 +00:00
kamil
8d51512d13 man5/changelist.5 does not depend on MKPOSTFIX 2020-07-17 15:24:03 +00:00
jmcneill
4813953ca0 Create an "octeon.img.gz" bootable image for evbmips64-eb release builds. 2020-07-17 15:16:34 +00:00
jmcneill
3f09c19cb3 ERLITE -> OCTEON 2020-07-17 14:57:54 +00:00
jmcneill
7a6b3bddd8 Add wedge support 2020-07-17 14:56:47 +00:00
jdolecek
4dc6094006 don't install xen/xenio.h and xen/xenio3.h anymore, xentools don't use it
PR port-xen/52874
2020-07-17 12:12:24 +00:00
jdolecek
f76d358ef5 if bnx_tx_encap() fails because mbuf is too fragmented or too long,
drop the mbuf instead of wedging the TX queue forever; found by code inspection

this is quite unlikely scenario since it requires mbuf chain consisting of
more than 8 frags and m_defrag() failing, so probably unrelated to PR kern/47229
2020-07-17 10:56:15 +00:00
jdolecek
1a46628b8f make sure bnx_alloc_pkts() always clears BNX_ALLOC_PKTS_FLAG and IFF_OACTIVE,
even on dmamap allocation failure; remove unnecessary IFF_UP condition
2020-07-17 10:08:04 +00:00
jdolecek
4ded2a864b remove mistakely committed in-progress code from previous commit 2020-07-17 09:51:31 +00:00
jdolecek
058a3ee6ba re-enable MSI/MSI-X, the TX timeouts were caused by the IFF_OACTIVE handling,
which was fixed in previous revision
2020-07-17 09:48:21 +00:00
simonb
36999567da Don't use a reserved value for the USB endian CSR selects and
enable octxhci_uctl_init().  Between these, USB works without
needing a "usb start" from u-boot.

XXX: Note the port power enable goop is still disabled until
we get a GPIO driver.
2020-07-17 08:06:02 +00:00
ryo
998f23adb0 KNF. 80 cols, use tab. 2020-07-17 07:21:44 +00:00
ryo
7550a1b667 Add options PMAPBOOT_DEBUG to dump TTBR when pmapboot_enter().
Formerly DEBUG_MMU in locore.S, but there was a bit of confusion.
2020-07-17 07:16:10 +00:00
yamaguchi
58f3aef4d7 Note x86 per-cpu IDTs change 2020-07-17 06:42:56 +00:00
uwe
76bad7923e Tweak a bit and add some comments.
Same object code is generated.
2020-07-17 02:16:57 +00:00
uwe
eec3da13da Do not recycle loop variable for unrealated purposes.
It just obfuscates the code.  Same object code is generated.
2020-07-17 02:05:44 +00:00
jmcneill
9164e37d6c Add USB3 support. 2020-07-16 21:34:52 +00:00
jmcneill
d911ef3ab2 Support 128 IRQs instead of 64. This is icky and needs to be cleaned up. 2020-07-16 21:33:50 +00:00
jmcneill
f0ccda17e5 Add of_find_bycompat helper to search a tree for a node by compat string. 2020-07-16 21:32:44 +00:00
jmcneill
571c571288 Add driver for Cavium Interrupt Bus. 2020-07-16 18:39:18 +00:00
jmcneill
92b28f3246 Initialize FDT console device 2020-07-16 16:40:28 +00:00
jmcneill
969e5db0bd Use uart0 for stdout-path 2020-07-16 16:39:54 +00:00
jmcneill
10ab27fe51 Add kernel option FDT_DEFAULT_STDOUT_PATH to set default (fallback)
stdout-path
2020-07-16 16:39:18 +00:00
jmcneill
62921dc975 Make consinit actually work 2020-07-16 16:38:40 +00:00
msaitoh
0be10c48cf Don't accept negative value.
Reported-by: syzbot+e71a77402d6668f1868d@syzkaller.appspotmail.com
2020-07-16 15:02:08 +00:00