Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Patrick Wildt
On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > On Sun, Jan 24, 2016 at 01:02:49AM +0100, Patrick Wildt wrote: > > Hi, > > > > there are two code points in the v7 pmap where we need the physical > > address (to flush secondary cache) and use pmap_extract() instead > > of just

Panic with the latest snapshot

2016-01-30 Thread Liviu Daia
APU1.C router running the latest snapshot, Atheros AR9281 configured as an AP. The kernel panics shortly after connecting a wifi client. Regards, Liviu Daia panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed: file "../../../../net/pf.c", line 6569

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-30 Thread Joerg Jung
On Wed, Jan 27, 2016 at 05:20:59AM +0200, Sviatoslav Chagaev wrote: > On Sun, 10 Jan 2016 21:28:31 +0100 Joerg Jung wrote: > > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > > So below is a driver for TI LP8550. > ... > > > If there's any chance for it to be commited,

Re: ascii.7: use standard name for ASCII LF and FF

2016-01-30 Thread Sebastian Benoit
Christian Weisgerber(na...@mips.inka.de) on 2016.01.30 17:45:14 +0100: > From a similar FreeBSD commit: > Use standard name for ASCII LF and FF control codes. > > Only overdue by a few decades. OK? ok > Index: ascii.7 > === >

ascii.7: use standard name for ASCII LF and FF

2016-01-30 Thread Christian Weisgerber
>From a similar FreeBSD commit: Use standard name for ASCII LF and FF control codes. Only overdue by a few decades. OK? Index: ascii.7 === RCS file: /cvs/src/share/man/man7/ascii.7,v retrieving revision 1.7 diff -u -p -r1.7

Re: Don't wrap the cursor in tmux in copy mode

2016-01-30 Thread Michal Mazurek
On 14:45:12, 27.01.16, Nicholas Marriott wrote: > Hi > > tmux copy mode is not meant to work like vi, it is meant to work like > emacs, but emacs does do this so we can change it. > > However, your diff is wrong. It prevents the cursor moving back when it > is at 0,0 _on screen_. Here is a

sunxi: don't use sxitimer on the sun7i/A20

2016-01-30 Thread Patrick Wildt
Hi, one of the reasons Allwinner A20/sun7i-based boards, like the Cubieboard 2 or Banana Pi, don't boot is that the sxitimer does not work for us. We are getting no hardclock ticks and so the system can't work. There's a simple fix for that. We can just not use the sxitimer and instead use the

back out ASSERT(...pf.statekey == NULL) @ pf.c:6569

2016-01-30 Thread Alexandr Nedvedicky
Hello, time has come to backout stuff, which has been baked just before Christmas 2015. Although there was some progress over the last few days the things are not improving that fast to become good enough for 5.9 release. I took patch (~sthen/pf-statekey-backout.diff) prepared by sthen last

Re: ascii.7: use standard name for ASCII LF and FF

2016-01-30 Thread Christian Weisgerber
On 2016-01-30, Christian Weisgerber wrote: > From a similar FreeBSD commit: > Use standard name for ASCII LF and FF control codes. > > Only overdue by a few decades. OK? share/misc/ascii, too. Index: share/man/man7/ascii.7

Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Patrick Wildt
On Sun, Jan 31, 2016 at 02:53:57PM +1100, Jonathan Gray wrote: > On Sat, Jan 30, 2016 at 08:01:00PM +0100, Patrick Wildt wrote: > > On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > > > On Sun, Jan 24, 2016 at 01:02:49AM +0100, Patrick Wildt wrote: > > > > Hi, > > > > > > > > there

Re: domainname(1) - make usage __dead

2016-01-30 Thread Todd C. Miller
On Fri, 29 Jan 2016 14:34:39 -0500, "Ted Unangst" wrote: > do we have a preferred order for these words? i always use static void __dead > because i like the real C keywords first, then the annotations to follow. > starting the line with __ creates "glare". i don't know. not a big deal, just >

Re: Replace less(1)'s stdbool clone with the real McCoy

2016-01-30 Thread Todd C. Miller
On Fri, 29 Jan 2016 12:21:44 -0500, "Ted Unangst" wrote: > To throw in my vote, I happen to like bool/true/false, but if we don't > use them consistently, then sticking with int/1/0 is probably best. And > rototilling the whole src is a bad idea. I like bool as well and since less was already

Re: arm: don't unnecessarily call pmap_extract()

2016-01-30 Thread Jonathan Gray
On Sun, Jan 31, 2016 at 05:55:30AM +0100, Patrick Wildt wrote: > On Sun, Jan 31, 2016 at 02:53:57PM +1100, Jonathan Gray wrote: > > On Sat, Jan 30, 2016 at 08:01:00PM +0100, Patrick Wildt wrote: > > > On Tue, Jan 26, 2016 at 07:32:40PM +1100, Jonathan Gray wrote: > > > > On Sun, Jan 24, 2016 at

fix armv7 long descriptor second level bits

2016-01-30 Thread Jonathan Gray
The AP bits are the same place as in the small descriptor second level format. Expanded version of a diff from Patrick. Index: arm/pmap.c === RCS file: /cvs/src/sys/arch/arm/arm/pmap.c,v retrieving revision 1.57 diff -u -p -r1.57