4d210a60 nwhitehorn June 16, 2019, 9:56 p.m.
on deletion, not the parent's.

MFC after:	3 weeks
cgit ViewVC
76cab884 antoine June 16, 2019, 8:01 p.m.
Reported by:	zeising
cgit ViewVC
0af7a9a4 ian June 16, 2019, 7:44 p.m.
Previously, there was a pwmc instance for each instance of pwm hardware
regardless of how many pwm channels that hardware supported.  Now there
will be a pwmc instance for each channel when the hardware supports
multiple channels.  With a separate instance for each channel, we can have
"named channels" in userland by making devfs alias entries in /dev/pwm.

These changes add support for ivars to pwmbus, and use an ivar to track the
channel number for each child.  It also adds support for hinted children.

In pwmc, the driver checks for a label hint, and if present, it's used to
create an alias for the cdev in /dev/pwm.  It's not anticipated that hints
will be heavily used, but it's easy to do and allows quick ad-hoc creation
of named channels from userland by using kenv to create hint.pwmc.N.label=
hints.  Upcoming changes will add FDT support, and most labels will
probably be specified that way.
cgit ViewVC
83743dae trasz June 16, 2019, 5:32 p.m.
for tps >= 100 and MB/s >= 1000, to prevent them for widening too much.

MFC after:	2 weeks
cgit ViewVC
bf13f9d2 alc June 16, 2019, 4:45 p.m.
Implement protection changes on superpage mappings.  Previously, a superpage
mapping was unconditionally demoted by pmap_protect(), even if the
protection change applied to the entire superpage mapping.

Precompute the bit mask describing the protection changes rather than
recomputing it for every page table entry that is changed.

Skip page table entries that already have the requested protection changes
in place.

Reviewed by:	andrew, kib
MFC after:	10 days
Differential Revision:	https://reviews.freebsd.org/D20657
cgit ViewVC
b71764df ian June 16, 2019, 4:02 p.m.
This gives the bus and its children the chance to return EBUSY to abort
the detach if they're in the middle of doing some IO.
cgit ViewVC
b9353973 ian June 16, 2019, 3:56 p.m.
is nothing left in the file that related to pwmbus at all.  It just contains
prototypes for the functions implemented in dev/pwm.ofw_pwm.c, so name it
accordingly and fix the include protect wrappers to match.

A new pwmbus.h will be coming along in a future commit.
cgit ViewVC
97634938 emaste June 16, 2019, 3:14 p.m.
PR:		205707
Submitted by:	Dmitry Wagin
MFC with:	349100
Event:		Berlin Devsummit 2019
cgit ViewVC
08584e2c emaste June 16, 2019, 1:51 p.m.
Previously if we had a BBX entry that had invalid values (e.g. bounding
box outside of font bounding box) and failed sscanf (e.g., because it
had fewer than four values) we skipped the BBX value validation and then
triggered an assertion failure.

Reported by:	afl
MFC with:	r349100
Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
fd0e3f7c emaste June 16, 2019, 1:35 p.m.
Previously we would crash if the BBX y-offset was outside of the font
bounding box.

Reported by:	afl
MFC with:	r349100
Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
c6e475ff emaste June 16, 2019, 12:44 p.m.
vtfontcvt(8) can convert both .bdf and .hex inputs to binary vt(4) .fnt
files.

Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
0f17b429 emaste June 16, 2019, 12:26 p.m.
I believe this case could be triggered by a broken .bdf font.

PR:		205707
Reported by:	ci.freebsd.org
MFC with:	349100
Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
0026fec5 rene June 16, 2019, 11:53 a.m.
Currently APLHA packages are treated as CURRENT or STABLE versions,
resulting in e.g. 13.0.s20190615125609. This version number is indeed
different from the next version number but ALPHA2 would be nicer IMO.

For the BETA, PRERELEASE and RC phases the packages are versioned the
same as for releases, so 11.3-BETA1 is 11.3 and so is 11.3-RC1, meaning
that pkg cannot easiliy upgrade from the former the next. This happened
on my Raspberry Pi which runs pkgbase.

Submitted by:	rene
Approved by:	manu
Event:		Berlin hackathon 2019
Differential Revision:	https://reviews.freebsd.org/D20651
cgit ViewVC
ff31ddeb emaste June 16, 2019, 10:43 a.m.
PR:		205707
MFC with:	349100
Event:		Berlin Devsummit 2019
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
3bd2e9a5 emaste June 16, 2019, 9:17 a.m.
Support larger font sizes.

PR:		205707
Submitted by:	Dmitry Wagin (original version)
MFC after:	2 weeks
Event:		Berlin Devsummit 2019
Differential Revision:	https://reviews.freebsd.org/D20650
cgit ViewVC