skrll
bf343540f8
Use a define instead of a magic constant. NFCI.
2020-01-15 08:02:53 +00:00
thorpej
47e9d51ab5
tsleep -> kpause
2020-01-15 05:56:57 +00:00
jmcneill
d78e6d2ebd
evbarm: Add support for NXP i.MX 8M family SoCs.
2020-01-15 01:11:05 +00:00
jmcneill
91882526f7
Add support for NXP i.MX 8M Dual/8M QuadLite/8M Quad family SoCs.
2020-01-15 01:09:56 +00:00
christos
1c0459f7c5
.include bsd.own.mk for ${NETBSDSRCDIR}
2020-01-14 23:13:36 +00:00
msaitoh
c015e0f4d6
Add AMDFCH41_SMBUS_PORTMASK.
2020-01-14 22:55:27 +00:00
jdolecek
0631449bd5
enable the BAD_NCQ quirk for all 860 EVO drives
...
XXX work-in-progress, it's not clear whether this is driver or controller
XXX problem
2020-01-14 21:08:06 +00:00
christos
47fa72e3b5
In the extract atomic case, remove the destination hard link first
...
since it did not get removed before for us. If we wanted to do this
right, we would do the mk*temp() file generation and trying to link
instead of open, and finally when we got the link to succeed, we
would rename the temp link to the final destination name, making
hard link creation atomic. For now we just remove first.
2020-01-14 19:29:45 +00:00
martin
9e1b8986ab
PR install/54787: when trying to derive proper alignement and first offset
...
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
2020-01-14 19:28:31 +00:00
kamil
e4e4859de1
Adjust the error return value of pthread_sigmask for !libpthread usage
...
Instead of returning -1, return errno on error.
Catch up after the fix in libpthread by Andrew Doran in 2008
in lib/libpthread/pthread_misc.c r.1.9.
It's an open question whether this function shall be used without linked
in the POSIX thread library.
Detected by Bruno Haible (GNU) and documented in gnulib in commit
"pthread_sigmask: Avoid test failure on NetBSD 8.0. " r. 4d16a83b0c1fcb6c.
2020-01-14 18:18:59 +00:00
christos
53517b7626
Back to pax as tar until I figure out how I broke libarchive (hard link
...
extraction creates 0 length files for existing hard-links).
2020-01-14 16:48:18 +00:00
scole
b0ba3c3dd3
add noinline attribute
2020-01-14 16:23:07 +00:00
msaitoh
b45be541ba
Update for AMD FCHs (HUDSON, BOLTON and KERNCZ).
2020-01-14 15:43:19 +00:00
msaitoh
76a8e75348
Save/restore port number before selecting port. Linux driver says it must
...
be required on some systems.
2020-01-14 15:42:03 +00:00
msaitoh
877ea9b7bc
Simplify. No functional change.
2020-01-14 15:36:54 +00:00
kamil
d410a069a0
Catch up in ktruss(1) with ptrace descriptive operation names
...
Switch to dynamic string lists PT_STRINGS and PT_MACHDEP_STRINGS.
Reuse the code and approach from kdump(1).
2020-01-14 11:28:35 +00:00
msaitoh
f8441706c9
No functional change:
...
- Move some definitions from if_stgereg.h to if_stge.c again because those are
not chip (registers or descriptors) definitions.
- Use proplib to pass information that loading DSP code is required when
PHY reset.
2020-01-14 09:49:26 +00:00
wiz
592c2ae6b6
New sentence, new line.
2020-01-14 09:30:34 +00:00
isaki
aee2dc9e7e
Clean up.
...
- B_KEYINP is no longer called from C.
- B_COLOR is no longer used.
2020-01-14 04:00:41 +00:00
isaki
c8bf7b37b2
consio_init() should be done before printf().
2020-01-14 03:48:10 +00:00
pgoyette
292d66a015
If "application processors" were skipped/disabled at boot time (due to
...
RB_MD1 being set), don't try to examine the featurebus info, since it
was never retrieved. Addresses kern/54815
XXX pullup-9
2020-01-14 01:41:37 +00:00
jdolecek
94fd4cfd58
bump date for previous change
2020-01-13 21:43:38 +00:00
jdolecek
ee272eac35
document the wd(4) sysctl nodes, and add the note about the Sumsung EVO drives
...
part of fix for PR kern/54790 and PR kern/54855
2020-01-13 21:43:06 +00:00
jdolecek
eef4b266f0
disable NCQ by default for "Samsung SSD 860 EVO 1TB" and
...
"Samsung SSD 860 EVO 500GB" - these drives have known broken NCQ support
particularly when used with AMD SB710/750 chipsets, problem occur also
under Linux and Windows
https://eu.community.samsung.com/t5/Cameras-IT-Everything-Else/860-EVO-250GB-causing-freezes-on-AMD-system/td-p/575813
https://bugzilla.kernel.org/show_bug.cgi?id=201693
It seems there is no Samsung firmware update to fix this even.
Disable NCQ regardless of the controller, it's likely same problem
exists with other controllers too.
This should fix PR kern/54790 and PR kern/54855
2020-01-13 21:20:17 +00:00
christos
0b2b50b718
Revert previous; we don't want arm to have variable page size. Instead
...
nick@ is fixing the cache pages issue to use a separate pool.
2020-01-13 20:36:44 +00:00
ad
d2f8c8b222
Fix some more bugs in the topo stuff, that prevented it from working
...
properly with fake topo info + MP.
2020-01-13 20:30:08 +00:00
bouyer
aa13f6437c
Don't call cpu_switchto() before idle_loop(), it should not be needed any more.
...
While there, assume (and KASSERT) that curlwp == ci->ci_data.cpu_idlelwp,
this saves a lwp_getpcb() call.
2020-01-13 20:15:01 +00:00
joerg
174eb28ace
Fix atfork malloc handling to include all the locks in old jemalloc.
2020-01-13 19:14:37 +00:00
joerg
2de10fd665
Fix aarch64 definition in old jemalloc
...
There is no platform-specific reason for avoiding TLS. The tiny
allocations should be aligned the same as small allocations for ABI
reasons.
2020-01-13 19:14:02 +00:00
christos
05026dfa7b
use the host compiler
2020-01-13 19:03:03 +00:00
ad
510021886a
Rip out some very ambitious optimisations around pthread_mutex that are
...
don't buy much. This stuff is hard enough to get right in the kernel let
alone userspace, and I don't trust that it's right.
2020-01-13 18:22:56 +00:00
ryo
acd5d40d93
Fix mis-incrementing pointer size in bus_space_read_region_{4,8}
...
pointed out by jmcneill@. thanks.
2020-01-13 17:23:07 +00:00
uwe
15b02c1c94
Sort the list. Minor markup and wording tweaks.
2020-01-13 16:11:53 +00:00
uwe
6c5f0f40cb
Oops. Restore the dot lost in -width ".Dv ..."
2020-01-13 16:01:37 +00:00
uwe
33f5687847
Fix -width in the tagged list of special "handle" values.
2020-01-13 15:59:11 +00:00
uwe
45e536efb2
Minor tweaks.
...
Use same -indent for lists of values that are OR'ed as one argument.
Use consistent markup for dli_* member names.
Untabify Dl_info definition so that it lines up in PS output.
2020-01-13 15:54:48 +00:00
kamil
1d600a251c
Fix a typo
2020-01-13 14:25:06 +00:00
kamil
a653af7d46
Correct the authorship note of dlinfo(3)
2020-01-13 14:24:16 +00:00
uwe
ecd640553b
Miscellaneous fixes.
...
No space after asterisk in "type *arg".
There's no "-width indent", use something relevant instead.
Do not document the structure tag of the Link_map typedef.
Give the Link_map members a paragraph of their own for readability.
Give them a bit more breathing space in the tagged list.
Spell pooka's name correctly.
TODO: The text is pleonastic in several places ("Do foo. On success
does foo." etc) and could use some copy editing.
2020-01-13 14:10:52 +00:00
thorpej
d33e139d37
Fix silly mistake in rev 1.12.
2020-01-13 12:53:46 +00:00
ad
8854b07344
It looks like Xen cpu_hatch() calls cpu_switchto() with prevlwp=NULL,
...
instead of calling idle_loop() directly. I can't test a change to
cpu_hatch() right now so allow for prevlwp=NULL.
2020-01-13 12:03:41 +00:00
ad
20469ddbac
- Fix an inverted test that could have prevented LWPs running on helper
...
CPUs to teleport somewhere better during preempt().
- Fix a comment.
2020-01-13 11:53:24 +00:00
wiz
c6a8c7ed71
Add missing El. Fix grammar.
2020-01-13 11:47:06 +00:00
wiz
204fd08087
Clean up dash use. Remove superfluous Pp.
2020-01-13 11:44:02 +00:00
ad
5e191d6c46
It looks like Xen cpu_hatch() calls cpu_switchto() with prevlwp=NULL,
...
instead of calling idle_loop() directly. I can't test a change to
cpu_hatch() right now so allow for prevlwp=NULL.
2020-01-13 11:40:15 +00:00
martin
1c3eff7b6f
Fix debug printf formats.
2020-01-13 09:53:54 +00:00
kamil
230d4c0473
Bump date in dlfcn(3)
2020-01-13 09:00:59 +00:00
kamil
b99c657a23
Bump date in dlinfo(3)
2020-01-13 09:00:20 +00:00
kamil
2fcff62046
Cross-Link from dlfcn(3) to dlinfo(3)
2020-01-13 08:29:05 +00:00
kamil
ee05bbd41a
Document dlinfo(3)
...
Man-page taken from FreeBSD.
2020-01-13 08:25:02 +00:00