Commit Graph

275021 Commits

Author SHA1 Message Date
tsutsui
2b0ec46162 Add "live-image with a FAT partition for bootstrap files" support.
See PR/55075 for more details.
2020-03-21 14:19:26 +00:00
reinoud
165933c6be Fix use-after-free issue! 2020-03-21 13:39:31 +00:00
reinoud
c0e3afd8a3 Compile in the DPRINTF debug macro's on DEBUG kernels 2020-03-21 13:38:29 +00:00
nisimura
ab309cd331 - handle register adjustment when link speed change.
- make some more care on reset operation.
2020-03-21 11:46:36 +00:00
nisimura
84a92abc7d - add one more missing RXC_EN.
- handle link speed change.
- fix genmask0() bit mask generation error.
2020-03-21 08:16:19 +00:00
nisimura
ab427befe9 make comments about descriptor storage design detail 2020-03-21 07:16:16 +00:00
skrll
1b75da11c2 KNF 2020-03-21 06:55:13 +00:00
skrll
650ef5a6b3 KNG 2020-03-21 06:54:56 +00:00
skrll
dd4b336bab KNF 2020-03-21 06:54:32 +00:00
riastradh
615ae46ef3 Avoid misaligned access to lfs64 on-disk records in memory.
lfs64 directory entries are only 32-bit aligned in order to conserve
space in directory blocks, and we had a hack to stuff a 64-bit inode
in them.  This replaces the hack by __aligned(4) __packed, and goes
further:

1. It's not clear that all the other lfs64 data structures are 64-bit
   aligned on disk to begin with.  We can go through these later and
   upgrade them from

	struct foo64 {
		...
	} __aligned(4) __packed;

	union foo {
		struct foo64 f64;
		...
	};

   to

	struct foo64 {
		...
	};

	union foo {
		struct foo64 f64 __aligned(8);
		...
	} __aligned(4) __packed;

   if we really want to take advantage of 64-bit memory accesses.

   However, the __aligned(4) __packed must remain on the union
   because:

2. We access even the lfs32 data structures via a union that has
   lfs64 members, and it turns out that compilers will assume access
   through a union with 64-bit aligned members implies the whole
   union has 64-bit alignment, even if we're only accessing a 32-bit
   aligned member.
2020-03-21 06:11:05 +00:00
riastradh
25d7898425 CTASSERT lfs on-disk structure sizes. 2020-03-21 06:09:33 +00:00
riastradh
10b0529665 Restore historic $Hdr: ...$ text.
This was presumably eaten by git cvsexportcommit, which is curious
because I thought I had gotten out of the habit of passing -k to it.
2020-03-21 06:02:13 +00:00
pgoyette
9c5430b66e These test cases should now succeed, after fixing rump kernel to handle
modules that establish their sysctls via SYSCTL_SETUP()
2020-03-21 04:50:21 +00:00
pgoyette
5996efe558 Teach rump how to process __link_set_sysctl_funcs so it can handle
modules the same as a real kernel.

Partly addresses PR kern/55088 - __link_set_evcnts not yet handled
(that will happen later)
2020-03-21 04:48:37 +00:00
nisimura
8ea9077bd5 more on toward dual descriptor design 2020-03-21 04:35:20 +00:00
ad
6ec0222141 callout_destroy(): change output from a couple of assertions so it's clear
what they are checking for (callout being destroyed while pending/running).
2020-03-21 02:32:37 +00:00
nisimura
d4698dd931 - add missing RXC_EN bit to resume receiving.
- an inch forward to absorb incompatible descriptor designs.
2020-03-21 01:17:51 +00:00
jhigh
a91379283f cleanly fail initialization on empty keyring 2020-03-21 01:07:21 +00:00
pgoyette
25e8a2c735 Improve error message - at least indicate which value comes from the
module vs which was requested/wanted by the caller.
2020-03-20 23:09:01 +00:00
wiz
a92df5db5b openssl-1.1.1e out. 2020-03-20 23:01:24 +00:00
skrll
b2977fcd27 Really use armv7 noncache memory attribute for early kernel mapping and
not SO
2020-03-20 19:48:03 +00:00
ad
0622217a01 Go back to freeing struct vm_anon one by one. There may have been an
advantage circa ~2008 but there isn't now.
2020-03-20 19:08:54 +00:00
ad
1ffecadffe - pmap_extract(): This needs to take the pmap's lock, to allow for
concurrent removal of pages (a new requirement).

- pmap_remove_pv(): Keep hold time of pp_lock as short as possible.

- pmap_get_ptp(): Don't re-init struct pmap_page for PD PTPs.  Would
  have no ill effects but is wrong regardless.
2020-03-20 19:06:14 +00:00
tnn
067e9296fc cgd: switch from malloc(9) to kmem(9)
XXX might be worthwhile to use pool_cache(9) in the write path
2020-03-20 19:03:13 +00:00
ad
fbf93ce6a4 uvm_fault_upper_lookup(): don't call pmap_extract() and pmap_update() more
often than needed.
2020-03-20 18:50:09 +00:00
skrll
c5feb15c53 Disable thrctrl or now and note why 2020-03-20 17:20:30 +00:00
sevan
3ec15de348 Apply the same change as for if_iwi.c r1.114 here.
This driver sleeps during wpi_media_change(), and thus requires an adaptive
mutex for the media lock.
2020-03-20 17:19:25 +00:00
skrll
bc8d1afbda Remember / use sc_verid 2020-03-20 17:07:17 +00:00
skrll
71d02e4922 Add DWC_MMC_VERID_280A 2020-03-20 17:02:16 +00:00
sevan
c405b2181e Apply the same change as for if_iwi.c r1.114 here, as part of kern/55090.
This driver sleeps during iwn_media_change(), and thus requires an adaptive
mutex for the media lock.
2020-03-20 16:35:41 +00:00
thorpej
b7bc642127 This driver sleeps during iwi_media_change(), and thus requires an
adaptive mutex for the media lock.
2020-03-20 13:33:23 +00:00
nisimura
6568c166fe use correct product name. still unfinished 2020-03-20 12:29:09 +00:00
nisimura
5276ed43d7 remove #ifdef _LP64 as jmcneil@ suggested 2020-03-20 09:41:24 +00:00
hannken
f829bc96b4 With zfs_netbsd_reclaim() no longer doing an unconditional
zil commit dmu_buf_get_user() may return a NULL handle when
the znode already disappeared.
2020-03-20 08:26:01 +00:00
wiz
5303923225 Fix some typos, remove unnecessary Pp 2020-03-20 08:02:55 +00:00
msaitoh
2fc773ffab Print DDR3's row and column correctly. 2020-03-20 07:44:10 +00:00
skrll
f45e91efa1 Support Exynos 5410 GPIO 2020-03-20 06:38:16 +00:00
skrll
867d49b6c5 G/C 2020-03-20 06:35:59 +00:00
skrll
ab04260380 Use __BIT/__SHIFTOUT some more. NFCI. 2020-03-20 06:33:00 +00:00
skrll
0baa021b7f Provide a sc_intr_cardmask to restore the value used to that before
http://mail-index.netbsd.org/source-changes/2020/01/22/msg113182.html
2020-03-20 06:23:51 +00:00
skrll
520270421c Trailing whitespace 2020-03-20 06:18:45 +00:00
sevan
90954e835a bsd-family-tree 2020-03-20 03:21:14 +00:00
sevan
6cccac6916 Update to r359157 from FreeBSD 2020-03-20 03:19:43 +00:00
thorpej
a3d4be7fa6 Update for recent locking changes. 2020-03-20 01:15:05 +00:00
joerg
af730bf1c8 Fix visibility of various C99 features, esp. for C++11. 2020-03-20 01:08:42 +00:00
joerg
6f346dc5f4 Use __builtin_va_start for clang as well. This avoids a bug in the
warning engine for the compatibility alias.
2020-03-20 01:06:11 +00:00
nisimura
f81c99603b Socionext AVE GbE driver for UniPhier SoC family. 2020-03-20 00:27:58 +00:00
nisimura
87836083fb make sni_exiu.c fdt/ACPI dual attach device 2020-03-19 22:17:45 +00:00
nisimura
c0444c540b make sni_gpio.c fdt/ACPI dual attach device 2020-03-19 20:53:53 +00:00
ad
d305fcb599 sysctl_vm_uvmexp2(): some counters were needlessly truncated. 2020-03-19 20:23:19 +00:00