Commit Graph

252343 Commits

Author SHA1 Message Date
christos 18205d18b1 Async event can be called before the adapter is running (pmax tc asc) 2017-07-14 17:50:11 +00:00
jmcneill 2be84737fc Latest mandoc no longer supports multiple -O options. Instead it expects
option values to be separated by commas. PR toolchain/52402
2017-07-14 17:30:31 +00:00
perseant 4a641438c8 Add a simple collation test. This test is expected to fail on HEAD since
we do not yet have a working implementation of wcscoll.
2017-07-14 14:57:43 +00:00
joerg 3d39ee5ed6 VAX doesn't have the test cases, so stub the body as well. 2017-07-14 14:09:53 +00:00
maxv d245e6f22a Should be loadfactor(). 2017-07-14 13:23:48 +00:00
maxv e26423f71c Don't forget to clean l_md.md_flags, otherwise there may be MDL_COMPAT32,
in which case the kernel would always use iret (slower).
2017-07-14 13:21:29 +00:00
maxv bcdfaccefa Revert rev1.26. l_estcpu is increased by only one cpu, not all of them. 2017-07-14 13:02:20 +00:00
christos a3394c1444 make the comment match 2017-07-14 12:27:55 +00:00
ozaki-r 38b8f795b6 Prepare to stop using isr->sav
isr is a shared resource and using isr->sav as a temporal storage
for each packet processing is racy. And also having a reference from
isr to sav makes the lifetime of sav non-deterministic; such a reference
is removed when a packet is processed and isr->sav is overwritten by
new one. Let's have a sav locally for each packet processing instead of
using shared isr->sav.

However this change doesn't stop using isr->sav yet because there are
some users of isr->sav. isr->sav will be removed after the users find
a way to not use isr->sav.
2017-07-14 12:26:26 +00:00
ozaki-r dfda6b6abe Add test cases for SAs with different SPIs 2017-07-14 11:54:52 +00:00
skrll fe73f16b7a Only call uhci_free_stds if there are TDs to free.
In uhci_alloc_std_chain ensure we fill the TD array correctly and note
the number of allocated TDs so that uhci_free_stds will do the right thing

Fixes a problem seen by anon
2017-07-14 10:37:05 +00:00
skrll e9d8639106 KNF 2017-07-14 06:33:26 +00:00
spz 74c5beb1c7 add a few more '*' 2017-07-14 04:56:11 +00:00
msaitoh bab58959a3 Calling wm_init_lcd_from_nvm() makes hang on some machines reported by
Brad Harder. Until fix this problem correctly, Disable whole of
wm_init_lcd_from_nvm().
2017-07-14 04:34:29 +00:00
ozaki-r 35fd5457ec Avoid examining freshness of sav on packet processing
If a sav list is sorted (by lft_c->sadb_lifetime_addtime) in advance,
we don't need to examine each sav and also don't need to delete one
on the fly and send up a message. Fortunately every sav lists are sorted
as we need.

Added key_validate_savlist validates that each sav list is surely sorted
(run only if DEBUG because it's not cheap).
2017-07-14 01:30:08 +00:00
ozaki-r be5a3d6f81 Pass sav directly to opencrypto callback
In a callback, use a passed sav as-is by default and look up a sav
only if the passed sav is dead.
2017-07-14 01:24:23 +00:00
pgoyette aa0f3024cb Add myself in a couple of places 2017-07-13 22:17:09 +00:00
christos 21bc2c0747 ramdisk ate too much ice cream, compensate. 2017-07-13 21:14:41 +00:00
uwe 5f386bb28c Claim responsibility for landisk too. 2017-07-13 19:10:59 +00:00
uwe 22830dc7ed Add myself to sh3. 2017-07-13 16:46:43 +00:00
christos b30d96bb63 turn on "console" which can be either the serial console or the glass tty
instead of ttyE0, to facilitate anita tests. From uanand.
2017-07-13 16:03:36 +00:00
christos 2658452278 s == NULL is illegal. 2017-07-13 16:00:30 +00:00
joerg a2027e8500 Redo previous: catch NULL pointer earlier, check for empty string
latter.
2017-07-13 15:46:26 +00:00
joerg fc68490ed6 Spell NULL correctly. 2017-07-13 15:44:45 +00:00
joerg 449e86f3ef Drop part-responsibility for audio on nat. 2017-07-13 15:38:23 +00:00
joerg 61ffc08f28 jmcneill is committing again, so unstar him. 2017-07-13 15:36:20 +00:00
joerg 3ab1b00046 Claim responsibility for ld.elf_so. 2017-07-13 15:35:44 +00:00
joerg e5b91c2885 GCC 5.3 likes to emit unwind data with float registers, i.e. register
halfs. Compensate.
2017-07-13 15:13:19 +00:00
joerg bde7a58ae6 Fix two bugs related to promotion of DSO TLS blocks into the static
thread allocation:
(1) Set the DTV vector up whenever an offset into the static allocation
is assigned, even if the block itself is not initialized. This has been
seen in libstdc++.
(2) Do not free a DTV block if it is part of the static thread
allocation.
2017-07-13 14:10:38 +00:00
roy 1541a8a5a7 Remove the stopping and starting of various network scripts on
sleep / resume.
This should no longer be needed now the various applications
(dhcpcd, ntpd, wpa_supplicant et all) are more aware to the network state
as all interface carriers should be brought down and up again.

Fixes PR misc/52397.
2017-07-13 13:50:48 +00:00
msaitoh ab32461818 IF TX is not required to flush, RX is also not required to flush. Same as
other OSes.
2017-07-13 13:27:08 +00:00
wiz 6595bf8f10 Sort sections. Fix macro usage. 2017-07-13 10:59:53 +00:00
jmcneill cc7f5cea9a Build sun8i-h2-plus-orangepi-zero.dts 2017-07-13 09:06:28 +00:00
jmcneill 929352b6a8 Add support for Allwinner H2+ as found in the Orange Pi Zero. 2017-07-13 09:04:28 +00:00
msaitoh a86419ff1e - Official shortname of LN Requester is LNR, so change PCI_EXTCAP_LN_REQ
to PCI_EXTCAP_LNR
- Use macro.
2017-07-13 08:41:19 +00:00
manu c87959dccf Fix route and netstat -r output when built with -DSMALL
A missing \n caused the routing table to be printed all in one line
if -DSMALL was used.
2017-07-13 08:26:29 +00:00
msaitoh 66ef30384e - Call wm_kmrn_lock_loss_workaround_ich8lan() before any PHY access in
wm_linkintr_gmii().
- Register access in wm_kmrn_lock_loss_workaround_ich8lan() now works
  correctly. Enable this function.
- Configure the LCD with the extended configuration region in NVM if it's
  required.
- Add debug printf.
2017-07-13 08:22:20 +00:00
msaitoh 1f27f8ba00 - Fix a bug that wm_gmii_i82544_{read,write}reg() didn't take care of page
select. PHY access from igphy() automatically did it, but accessing from
  wm(4) for wrokaround didn't work correctly. This change affects 8254[17],
  8257[12] ICH8, ICH9 and ICH10.
- Add diagnostic code.
2017-07-13 08:04:56 +00:00
msaitoh 25a246b36d - Use device_printf() instead of aprint_error_dev() for PHY read/write
functions because those are used not only in device attach.
- Add debug printf.
- Rename variables.
2017-07-13 07:50:49 +00:00
ozaki-r cd5c509658 Fix header size calculation of ah in the case sav is NULL
This fix was also needed for esp.
2017-07-13 03:25:38 +00:00
ozaki-r f924be8731 Fix header size calculation of esp where sav is NULL 2017-07-13 03:00:46 +00:00
ozaki-r 74f0dfc527 Fix splx isn't called on some error paths 2017-07-13 01:48:52 +00:00
ozaki-r 24bce11942 Simplify; omit unnecessary saidx passing
- ipsec_nextisr returns a saidx but no caller uses it
- key_checkrequest is passed a saidx but it can be gotton by
  another argument (isr)
2017-07-13 01:22:44 +00:00
jmcneill 4bfd07dbda Add local patches to sun8i-h3-orangepi-plus2e and sun8i-h3-nanopi-neo to
enable ethernet support.
2017-07-13 01:17:58 +00:00
jmcneill 1b047987b1 Add support for dts files outside of external/gpl2. 2017-07-13 01:17:03 +00:00
nonaka 3ce7f47319 PR/52266: Before access MSR[APICBASE], need to check if APIC is present. 2017-07-13 00:44:14 +00:00
kre cdfea65894 Fix a reference after free (and consequent nonsense diagnostic for
attempts to set readonly variables) I added in 1.60 by incompletely
copying the FreeBSD fix for the lost memory issue.
2017-07-12 19:06:16 +00:00
christos 97c79d531d rename the macro 2017-07-12 17:55:24 +00:00
christos 15e7a34b21 make this compile with debug again (symnum uninitialized) 2017-07-12 17:54:23 +00:00
maxv 9eebcc097f rsp2, not 3 2017-07-12 17:52:18 +00:00