Commit Graph

278578 Commits

Author SHA1 Message Date
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
jdolecek ea48e981b3 need to clear IFF_OACTIVE after allocating more pkts in order to actually
start processing the queue in bnx_start()
2020-07-16 14:57:59 +00:00
jdolecek 2949b63cdc disable MSI/MSI-X for time being, it causes interrupt timeouts and needs
to be investigated before enabling this again
2020-07-16 14:44:43 +00:00
jdolecek d35b28b2fa make sure the alignment of ciss_cmd matches KASSERT() in ciss_cmd() 2020-07-16 14:41:04 +00:00
jdolecek 76611ae630 revert the conversion to STAILQ, it broke execution of commands 2020-07-16 14:39:33 +00:00
simonb ff6bcc47ef Fix variable name for BUS_DMA_DEBUG. 2020-07-16 13:32:05 +00:00
jmcneill 84507484ec FDT support for Cavium OCTEON MIPS SoCs. WIP. 2020-07-16 11:49:37 +00:00
jmcneill c1100f3cbb Add glue for 8250 compatible UARTs. 2020-07-16 11:42:53 +00:00
jmcneill 9e222b02d1 Allow kernels to link with no console drivers 2020-07-16 11:42:17 +00:00
skrll ce95ee174e pmapboot_enter simplication
- bootpage_alloc in asm becomes pmapboot_pagealloc in C
- PMAPBOOT_ENTER_NOBLOCK is removed as it's not used
- PMAPBOOT_ENTER_NOOVERWRITE is removed as it's now always on
- physpage_allocator argument is removed as it's always
  pmapboot_pagealloc
- Support for EARLYCONS without CONSADDR is removed so that the identity
  map for CONSADDR is always known.

For the assembly files:
 2 files changed, 40 insertions(+), 89 deletions(-)

LGTM ryo
2020-07-16 11:36:35 +00:00
dholland 2f503947a6 +craptacular
(originally suggested by pgoyette)
2020-07-16 03:08:58 +00:00
yamaguchi f2e952a7b8 Set PCI_COMMAND_MASTER_ENABLE and PCI_COMMAND_MEM_ENABLE
to activate the pci devices

This configuration is needed when BIOS or UEFI do not make them set.
2020-07-16 01:20:38 +00:00
uwe 7bb9dbe9f7 Try to improve markup for better PostScript output. 2020-07-15 19:23:44 +00:00
leot 562d999853 Document unbound and unbound_chrootdir. 2020-07-15 17:55:34 +00:00
leot 093639c62c MKBSDTAR is yes by default 2020-07-15 17:46:06 +00:00
uwe 7eb2a579d9 Do not use "[...]", just "..." is enough.
Conventionally the ellipsis already expresses optional repetition,
e.g. .Ar without arguments produces "file ...".
2020-07-15 17:36:38 +00:00
jruoho f1c3cdfd23 's/blacklistd/blocklistd/'. Note also blocklistd_flags. 2020-07-15 16:52:48 +00:00
jruoho e86652a33f Note modules. 2020-07-15 16:46:11 +00:00
pgoyette 0c228d5c9c Remove now-extraneous Op since we already have Oo and Oc to enclose
the Ar port.
2020-07-15 16:41:16 +00:00
msaitoh 585c6ef0f7 Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD. 2020-07-15 15:57:52 +00:00
rin 979cf575ec Fix typo. Use PRIxPADDR rather than casting. 2020-07-15 15:08:26 +00:00
jdolecek 5cd050e749 g/c unused sc_channel_raw, sc_adapter_raw 2020-07-15 14:33:58 +00:00
kim 7392fbb224 Document optional speed argument to consdev 2020-07-15 12:38:30 +00:00
kim 0224cafa34 Let consdev command also set speed
Adapted from PR install/55490 by Sunil Nimmagadda
2020-07-15 12:36:30 +00:00
simonb bc6a081a98 Rename the evbmips ERLITE kernel to OCTEON now that it supports more
than just the EdgeRouter Lite.
2020-07-15 12:15:30 +00:00