mrg
500cd05674
add something to auto-detect when GCC has changed from gcc to gcc.old
...
or back and auto-cleandir tools/gcc.
based upon the code for PREVIOUSTOOLDIR in tools/Makefile.
2019-11-06 07:26:31 +00:00
maxv
9cce0b0a08
Change kcsan_md_is_avail() to always return true; I was testing with
...
interrupts disabled as debugging. Change the delay/sample parameters
to have better fluidity.
2019-11-06 06:57:22 +00:00
msaitoh
fed9b39940
ixv(4): disable RSS configuration on 82599 and X540 VFs.
...
Those VFs share their RSS configuration with PF and, thus,
they cannot be configured independently. From FreeBSD r354349.
2019-11-06 04:17:16 +00:00
jmcneill
29967b31f2
Reserve enough memory at boot to support the drmfb buffer plus a 4K buffer
...
for Xorg.
2019-11-05 23:31:23 +00:00
jmcneill
65b0425d84
Add support for DRM GEM/CMA helpers using a driver provided vmem arena.
2019-11-05 23:29:28 +00:00
jmcneill
810998e8ba
Arm DMA tags with _nranges=0 require no address translation. Handle this
...
in PHYS_TO_BUS_MEM and BUS_TO_PHYS_MEM instead of panicing.
2019-11-05 23:27:23 +00:00
joerg
336e4f812b
Use alignof and not size_t for platforms with non-natural base
...
alignments.
2019-11-05 22:22:42 +00:00
dyoung
19dbe0f014
Fix typo: vmem_add(9) does not actually take an addrp
argument.
2019-11-05 22:19:43 +00:00
maxv
5c12d3cd79
Note kCSan.
2019-11-05 20:23:44 +00:00
maxv
1205187376
Add the __nocsan attribute on this function. Races on ci_want_resched are
...
accepted (part of the design).
2019-11-05 20:21:34 +00:00
maxv
b7edd3d132
Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
...
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.
We do basically two things:
- On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
describing the access, and delay the calling CPU (10ms).
- On all memory accesses, we verify if the memory we're reading/writing
is referenced in a cell already.
The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.
The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.
Reviewed by Kamil.
2019-11-05 20:19:17 +00:00
christos
1bfb63bfe1
regen powerpc64
2019-11-05 20:07:20 +00:00
christos
9c9fe86bc2
- Use EXTRA_SPECS like we did for aarch64 instead of SUBSUBTARGET_EXTRA_SPECS
...
so that assembly specs get propagated (they were lost before)
- adjust the block register padding (like the other OS's) so that code compiles
- XXX: linker still broken for shared libraries because the os specific spec
is not chosen
2019-11-05 20:06:41 +00:00
tnn
a12cabe254
ssdfb: fix i2c transfer error with some controllers
...
If the controller doesn't support the full 128 byte transfer size we need,
then split the write across multiple transactions.
2019-11-05 19:59:35 +00:00
martin
7dbd222d55
Add GPT wedge autodiscovery
2019-11-05 12:59:54 +00:00
martin
9da70fb6ae
Add siisata* at pci (no idea why it was missing)
2019-11-05 12:28:23 +00:00
jmcneill
bbd6b5bcf8
Do not try to use direct map for prefetchable mappings
2019-11-05 10:21:31 +00:00
jmcneill
b27ec4bb31
Map buffer objects with BUS_DMA_PREFETCHABLE.
2019-11-05 09:59:16 +00:00
jmcneill
80fc328b35
bus_dmamem_map: honour BUS_DMA_PREFETCHABLE hint
2019-11-05 09:57:47 +00:00
msaitoh
58c2d6794b
Avoid null pointer dereference found by kUBSan with "member access within
...
null pointer of type 'struct drm_fb_helper_crtc'".
2019-11-05 04:09:51 +00:00
prlw1
958bc58d6c
Fix locking bug seen when using WDCNDELAY_DEBUG in PR kern/52126
...
(Observed
piixide0:0:0: warning: busy-wait took 200us
with no panic)
2019-11-04 15:12:10 +00:00
joerg
a0e0f8b685
PR 54093: Align static TLS area to max_align_t.
2019-11-04 12:45:10 +00:00
rin
722445852f
regen
2019-11-04 11:33:01 +00:00
rin
7c942e66ce
netbsd32_size_t should be used instead of size_t for argument of
...
32-bit syscalls:
- netbsd32___getvfsstat90: bufsize
- netbsd32___fhstatvfs190: fh_size
No need to pullup, since these syscalls were introduced after
branch of netbsd-9.
2019-11-04 11:32:22 +00:00
rin
4b1be82a0c
regen
2019-11-04 11:21:36 +00:00
rin
15c6ad24fa
For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.
...
Since bufsize is the last argument, this affects only LP64EB.
XXX
pullup to netbsd-9, -8, and -7
2019-11-04 11:20:22 +00:00
fcambus
1d7422761b
Update Spleen kernel fonts to version 1.5.0, bringing the following
...
improvements:
- Tweak the digit '7' for consistency with other sizes (5x8 version)
- Tweak the digit '2' for consistency with other sizes (12x24 version)
- Shift the middle bar of the digit '3' one pixel up, for better
alignement (12x24 version)
- Make the 'Z' and 'z' characters more balanced, as is the case with
other sizes (12x24 version)
- Make the slash inside the digit '0' one pixel thiner (32x64 version)
2019-11-04 10:44:00 +00:00
tsutsui
3763bad718
Fix build with VERBOSE_INIT_ARM without DIAGNOSTIC.
2019-11-04 10:36:18 +00:00
jmcneill
ff91b6af94
Speed up mode setting a bit and turn off the display while changing modes
2019-11-04 10:02:39 +00:00
jmcneill
1eaa5a0907
Select closest rate to desired pixel clock
2019-11-04 09:38:38 +00:00
jmcneill
66036e2826
Use 297MHz for display clock
2019-11-04 09:37:51 +00:00
jmcneill
62466b77b2
evbarm: Update TI OMAP3 SoC support to use FDT based configuration.
2019-11-04 09:11:00 +00:00
isaki
3477e919b3
Use kmem_zalloc() instead of kmem_alloc() to initialize structure.
...
struct audio_format added a member since isaki-audio2.
Fix PR kern/54662 "uaudio sometimes not recognized".
2019-11-04 05:46:39 +00:00
christos
6438fea304
bump for gcc8
2019-11-04 00:59:05 +00:00
rin
2055c79d5d
Try to fix build failure due to missing obsolete qualifier.
2019-11-04 00:51:33 +00:00
rin
31575e7ffd
Fix previous; restore accidentally removed newline.
2019-11-04 00:33:29 +00:00
jmcneill
180c207303
Comment out mode fixup (not needed it seems)
2019-11-03 23:31:49 +00:00
jmcneill
18efc2c1b1
Test DRM_MODE_* flags, not VID_*
2019-11-03 23:28:59 +00:00
jmcneill
c66374c28a
Add tdahdmi, tilcdc, tifb
2019-11-03 22:59:24 +00:00
jmcneill
cdc19e1da2
Add support for AM335x display controller (LCDC).
2019-11-03 22:59:06 +00:00
jmcneill
796f615048
Add driver for NXP TDA19988 HDMI encoder
2019-11-03 22:57:52 +00:00
jmcneill
f1ebdd76aa
Defer power monitor polling to the sysmon taskq thread to avoid i2c transactions in intr context
2019-11-03 22:55:34 +00:00
jmcneill
64189a95a1
Also match ti,omap2-onenand
2019-11-03 13:45:57 +00:00
jmcneill
9b2bf15e8b
No longer used.
2019-11-03 12:18:28 +00:00
jmcneill
7d44aa3b01
OMAP3 SoC and all peripherals in the IGEPV2 kernel are now supported by
...
GENERIC.
2019-11-03 12:17:32 +00:00
jmcneill
cd5d9e70a6
Remove commented out IGEPV2 entry
2019-11-03 12:16:35 +00:00
jmcneill
9dc63ddb97
OMAP3 SoC and all peripherals in the OVERO kernel are now supported by
...
GENERIC.
2019-11-03 12:11:42 +00:00
jmcneill
086e3ee64a
Remove OVERO from build, and commented out N900 kernel config
2019-11-03 12:09:04 +00:00
jmcneill
e8613f935e
Only one instance of twl(4) is needed
2019-11-03 12:07:46 +00:00
jmcneill
b2da2235c6
Match smsc,lan9115 and honour local-mac-address/mac-address properties
2019-11-03 12:06:32 +00:00