Author: jah
Date: Sat Sep 12 07:04:00 2020
New Revision: 365652
URL: https://svnweb.freebsd.org/changeset/base/365652
Log:
amd64: prevent KCSan false positives on LAPIC mapping
For configurations without x2APIC support (guests, older hardware), the global
LAPIC MMIO mapping will trigger f
Author: jah
Date: Fri Aug 14 21:37:38 2020
New Revision: 364239
URL: https://svnweb.freebsd.org/changeset/base/364239
Log:
kenv: avoid sleepable alloc for integer tunables
Avoid performing a potentially-blocking malloc for kenv lookups that will only
perform non-destructive integer conver
Author: jah
Date: Sun Aug 2 20:18:37 2020
New Revision: 363784
URL: https://svnweb.freebsd.org/changeset/base/363784
Log:
vt(4): CONS_HISTORY/CONS_CLRHIST should operate on issuing terminal
Currently the CONS_HISTORY and CONS_CLRHIST ioctls modify the state of the
active terminal instead
Author: jah
Date: Wed Jun 3 00:16:36 2020
New Revision: 361741
URL: https://svnweb.freebsd.org/changeset/base/361741
Log:
Remove unnecessary WITNESS check in x86 bus_dma
When I did some bus_dma cleanup in r320528, I brought forward some sketchy
WITNESS checks from the prior x86 busdma wr
Author: jah
Date: Tue Jun 2 01:21:48 2020
New Revision: 361719
URL: https://svnweb.freebsd.org/changeset/base/361719
Log:
vt(4): reset scrollback and cursor position after clearing history buffer
r361601 implemented basic support for cleaing the console history buffer.
But after clearing
Author: jah
Date: Thu May 28 21:22:30 2020
New Revision: 361601
URL: https://svnweb.freebsd.org/changeset/base/361601
Log:
vt(4): Add support for `vidcontrol -C'
Extract scrollback buffer initialization into a common routine, used both
during vt(4) init and in handling the CONS_CLRHIST io
Author: jah
Date: Mon Apr 27 05:35:26 2020
New Revision: 360368
URL: https://svnweb.freebsd.org/changeset/base/360368
Log:
MFC r359815: config(8): use sbuf to manage line buffers
Modified:
stable/12/usr.sbin/config/main.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/
Author: jah
Date: Sun Apr 12 02:42:42 2020
New Revision: 359815
URL: https://svnweb.freebsd.org/changeset/base/359815
Log:
config(8): use sbuf to manage line buffers
PR: 245476
Reported by: kevans
Reviewed by: imp, kevans
MFC after:1 week
Differential Revision:https:
Author: jah
Date: Sat Apr 11 05:12:38 2020
New Revision: 359794
URL: https://svnweb.freebsd.org/changeset/base/359794
Log:
MFC r359501: deadlkres: include thread name in panic messages
Modified:
stable/12/sys/kern/kern_clock.c
Directory Properties:
stable/12/ (props changed)
Modified: st
Author: jah
Date: Sat Apr 4 04:03:10 2020
New Revision: 359628
URL: https://svnweb.freebsd.org/changeset/base/359628
Log:
mac_policy: Remove mac_policy_sx
This lock was made unnecessary by the addition of mac_policy_rms in r356120.
Reviewed by: mjg, kib
Differential Revision:
Author: jah
Date: Wed Apr 1 04:51:39 2020
New Revision: 359501
URL: https://svnweb.freebsd.org/changeset/base/359501
Log:
deadlkres: include thread name in panic messages
Reviewed by: markj
MFC after:1 week
Differential Revision:https://reviews.freebsd.org/D24235
Modified
Author: jah
Date: Sat Jan 25 08:57:26 2020
New Revision: 357110
URL: https://svnweb.freebsd.org/changeset/base/357110
Log:
Implement cycle-detecting garbage collector for AF_UNIX sockets
The existing AF_UNIX socket garbage collector destroys any socket
which may potentially be in a cycle,
Author: jah
Date: Tue Sep 17 03:39:31 2019
New Revision: 352434
URL: https://svnweb.freebsd.org/changeset/base/352434
Log:
mips: move support for temporary mappings above KSEG0 to per-CPU data
This is derived from similar work done in r310481 for i386 and r312610 for
armv6/armv7. Addition
Author: jah
Date: Sun Apr 7 19:02:33 2019
New Revision: 346019
URL: https://svnweb.freebsd.org/changeset/base/346019
Log:
MFC r345741:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
a
Author: jah
Date: Sun Apr 7 19:08:07 2019
New Revision: 346020
URL: https://svnweb.freebsd.org/changeset/base/346020
Log:
MFC r345741:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
a
Author: jah
Date: Sat Mar 30 23:43:58 2019
New Revision: 345741
URL: https://svnweb.freebsd.org/changeset/base/345741
Log:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
architectures. The
Author: jah
Date: Sun Apr 7 19:08:07 2019
New Revision: 346020
URL: https://svnweb.freebsd.org/changeset/base/346020
Log:
MFC r345741:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
a
Author: jah
Date: Sun Apr 7 19:02:33 2019
New Revision: 346019
URL: https://svnweb.freebsd.org/changeset/base/346019
Log:
MFC r345741:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
a
Author: jah
Date: Sat Mar 30 23:43:58 2019
New Revision: 345741
URL: https://svnweb.freebsd.org/changeset/base/345741
Log:
freebsd32: fix padding of computed control message length for recvmsg()
Each control message region must be aligned on a 4-byte boundary on 32-bit
architectures. The
Author: jah
Date: Sun Mar 17 06:05:19 2019
New Revision: 345240
URL: https://svnweb.freebsd.org/changeset/base/345240
Log:
MFC r344562:
FFS: allow sendfile(2) to work with block sizes greater than the page size
Implement ffs_getpages_async(), which when possible calls the asynchronous
Author: jah
Date: Tue Mar 5 08:33:14 2019
New Revision: 344792
URL: https://svnweb.freebsd.org/changeset/base/344792
Log:
MFC r344561:
Fix incorrect assertion in vnode_pager_generic_getpages()
Modified:
stable/12/sys/vm/vnode_pager.c
Directory Properties:
stable/12/ (props changed)
Author: jah
Date: Tue Feb 26 04:56:10 2019
New Revision: 344562
URL: https://svnweb.freebsd.org/changeset/base/344562
Log:
FFS: allow sendfile(2) to work with block sizes greater than the page size
Implement ffs_getpages_async(), which when possible calls the asynchronous
flavor of the ge
Author: jah
Date: Tue Feb 26 04:50:46 2019
New Revision: 344561
URL: https://svnweb.freebsd.org/changeset/base/344561
Log:
Fix incorrect assertion in vnode_pager_generic_getpages()
Reviewed by: kib, glebius
MFC after:1 week
Modified:
head/sys/vm/vnode_pager.c
Modified: head/sys/v
Author: jah
Date: Thu Feb 21 06:40:15 2019
New Revision: 344422
URL: https://svnweb.freebsd.org/changeset/base/344422
Log:
MFC r343827:
r342089 changed cap_syslog(3) to preserve the stdio descriptors inherited
from its parent so that LOG_PERROR would work. However, this caused
dhclient
Author: jah
Date: Wed Feb 6 04:36:28 2019
New Revision: 343827
URL: https://svnweb.freebsd.org/changeset/base/343827
Log:
r341692 changed cap_syslog(3) to preserve the stdio descriptors inherited
from its parent so that LOG_PERROR would work. However, this caused
dhclient(8)'s stdio stream
Author: jah
Date: Mon Jan 21 08:24:49 2019
New Revision: 343254
URL: https://svnweb.freebsd.org/changeset/base/343254
Log:
MFC r343005: Handle SIGIO for listening sockets
r319722 separated struct socket and parts of the socket I/O path into
listening-socket-specific and dataflow-socket-sp
Author: jah
Date: Sun Jan 13 20:33:54 2019
New Revision: 343005
URL: https://svnweb.freebsd.org/changeset/base/343005
Log:
Handle SIGIO for listening sockets
r319722 separated struct socket and parts of the socket I/O path into
listening-socket-specific and dataflow-socket-specific pieces
Author: jah
Date: Tue Jul 10 01:06:43 2018
New Revision: 336155
URL: https://svnweb.freebsd.org/changeset/base/336155
Log:
MFC r328489, r329232, r331836
r328489:
Remove system makefile path directives from env passed to PORTS_MODULES step
Previously, MAKESYSPATH as well as '-m' di
Author: jah
Date: Sat Mar 31 05:17:12 2018
New Revision: 331836
URL: https://svnweb.freebsd.org/changeset/base/331836
Log:
Remove MK_AUTO_OBJ from env passed to PORTS_MODULES
This fixes a failure to resolve object file paths seen when buildkernel
(which sets MK_AUTO_OBJ=yes) and installke
Author: jah
Date: Sat Jan 27 20:13:36 2018
New Revision: 328489
URL: https://svnweb.freebsd.org/changeset/base/328489
Log:
Remove system makefile path directives from env passed to PORTS_MODULES step
Previously, MAKESYSPATH as well as '-m' directives in MAKEFLAGS would cause
any port rebu
+290,7 @@
08/19 Chin-San Huang born in Yi-Lan, Taiwan, Republic
of China, 1979
08/19 Pav Lucistnik born in Kutna Hora, Czech Republic,
1980
08/20 Michael Heffner born in Cleona, Pennsylvania,
United States, 1981
+08/21 Jason A. Harmening born in Fort Wayne, Indiana,
United States, 1981
Author: jah
Date: Sat Jul 1 15:58:57 2017
New Revision: 320545
URL: https://svnweb.freebsd.org/changeset/base/320545
Log:
Bump __FreeBSD_version due to r320528, cleanup and inlining of
bus_dmamap* functions.
Reported by: David Wolfskill
Modified:
head/sys/sys/param.h
Modified: head
Author: jah
Date: Sat Jul 1 05:35:29 2017
New Revision: 320528
URL: https://svnweb.freebsd.org/changeset/base/320528
Log:
Clean up MD pollution of bus_dma.h:
--Remove special-case handling of sparc64 bus_dmamap* functions.
Replace with a more generic mechanism that allows MD busdma
Author: jah
Date: Sun Feb 19 02:03:09 2017
New Revision: 313930
URL: https://svnweb.freebsd.org/changeset/base/313930
Log:
Bring back r313037, with fixes for mips:
Implement get_pcpu() for amd64/sparc64/mips/powerpc, and use it to
replace pcpu_find(curcpu) in MI code.
Reviewed by: a
Author: jah
Date: Fri Feb 17 07:08:37 2017
New Revision: 313862
URL: https://svnweb.freebsd.org/changeset/base/313862
Log:
MFC r312952:
Implement get_pcpu() for i386 and use it to replace pcpu_find(curcpu)
in the i386 pmap.
The curcpu macro loads the per-cpu data pointer as its first
Author: jah
Date: Wed Feb 15 10:35:46 2017
New Revision: 313766
URL: https://svnweb.freebsd.org/changeset/base/313766
Log:
MFC r312610, r312792
r312610:
Like r310481 for i386, move the objects used to create temporary
mappings for armv6 pmap zero and copy operations to the MD PCPU reg
Author: jah
Date: Sat Feb 4 06:24:49 2017
New Revision: 313193
URL: https://svnweb.freebsd.org/changeset/base/313193
Log:
Revert r313037
The switch to get_pcpu() in MI code seems to cause hangs on MIPS.
Back out until we can get a better idea of what's happening there.
Reported by:
Author: jah
Date: Wed Feb 1 03:32:49 2017
New Revision: 313037
URL: https://svnweb.freebsd.org/changeset/base/313037
Log:
Implement get_pcpu() for the remaining architectures and use it to
replace pcpu_find(curcpu) in MI code.
Modified:
head/sys/amd64/include/pcpu.h
head/sys/kern/kern_rm
Author: jah
Date: Sun Jan 29 16:54:55 2017
New Revision: 312952
URL: https://svnweb.freebsd.org/changeset/base/312952
Log:
Implement get_pcpu() for i386 and use it to replace pcpu_find(curcpu)
in the i386 pmap.
The curcpu macro loads the per-cpu data pointer as its first step,
so the re
Author: jah
Date: Thu Jan 26 05:23:33 2017
New Revision: 312792
URL: https://svnweb.freebsd.org/changeset/base/312792
Log:
Further cleanup of per-CPU armv6 pmap data:
- Replace pcpu_find(curcpu) with get_pcpu(), which is much
more direct.
- Remove armv4 pcpu fields which I added in
Author: jah
Date: Sun Jan 22 00:46:04 2017
New Revision: 312610
URL: https://svnweb.freebsd.org/changeset/base/312610
Log:
Like r310481 for i386, move the objects used to create temporary
mappings for armv6 pmap zero and copy operations to the MD PCPU region.
Change sysmap initialization to
Author: jah
Date: Sat Jan 21 06:48:52 2017
New Revision: 312561
URL: https://svnweb.freebsd.org/changeset/base/312561
Log:
MFC r312153, r312191
r312153:
For i386 temporary mappings, unpin the thread before releasing
the cmap lock. Releasing the lock first may result in the threa
Author: jah
Date: Sat Jan 14 19:35:36 2017
New Revision: 312191
URL: https://svnweb.freebsd.org/changeset/base/312191
Log:
Add comment explaining relative order of sched_unpin() and mtx_unlock().
Suggested by: alc
MFC after:1 week
Modified:
head/sys/i386/i386/pmap.c
Modified: head
Author: jah
Date: Sat Jan 14 09:56:01 2017
New Revision: 312153
URL: https://svnweb.freebsd.org/changeset/base/312153
Log:
For i386 temporary mappings, unpin the thread before releasing
the cmap lock. Releasing the lock first may result in the thread
being immediately rescheduled and bound
Author: jah
Date: Sat Jan 7 18:54:57 2017
New Revision: 311653
URL: https://svnweb.freebsd.org/changeset/base/311653
Log:
MFC r310481:
Move the objects used to create temporary mappings for i386 pmap zero
and copy operations to the MD PCPU region. Change sysmap
initialization to only
Author: jah
Date: Fri Dec 23 15:14:56 2016
New Revision: 310481
URL: https://svnweb.freebsd.org/changeset/base/310481
Log:
Move the objects used to create temporary mappings for i386 pmap zero and copy
operations to the MD PCPU region. Change sysmap initialization to only
allocate KVA pages
Author: jah
Date: Sun Aug 7 15:50:08 2016
New Revision: 303814
URL: https://svnweb.freebsd.org/changeset/base/303814
Log:
powerpc busdma: Use pmap_quick_enter_page()/pmap_quick_remove_page() to handle
bouncing of unmapped buffers. Also treat userspace buffers as unmapped, to
avoid borrowin
Author: jah
Date: Sun May 29 07:14:51 2016
New Revision: 300948
URL: https://svnweb.freebsd.org/changeset/base/300948
Log:
MFC r300258:
iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to
prevent memory exhaustion and short allocations on 32-bit systems. Since
Author: jah
Date: Fri May 20 03:03:04 2016
New Revision: 300258
URL: https://svnweb.freebsd.org/changeset/base/300258
Log:
iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages
to prevent memory exhaustion and short allocations on 32-bit systems. Since
iicrdwr is intended
Author: jah
Date: Wed Oct 28 21:17:38 2015
New Revision: 290120
URL: https://svnweb.freebsd.org/changeset/base/290120
Log:
Retire pmap_dmap_iscurrent(). It is only a wrapper around pmap_is_current(),
and is no longer called.
Modified:
head/sys/arm/arm/pmap-v6-new.c
head/sys/arm/arm/pmap-v
Author: jah
Date: Fri Oct 23 12:06:06 2015
New Revision: 289826
URL: https://svnweb.freebsd.org/changeset/base/289826
Log:
Fix capitalization
Modified:
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.h
==
--- hea
Author: jah
Date: Fri Oct 23 12:03:25 2015
New Revision: 289825
URL: https://svnweb.freebsd.org/changeset/base/289825
Log:
Remove unclear comment about address truncation in busdma. Add (hopefully
much clearer) comment at declaration of PHYS_TO_VM_PAGE().
Noted by: avg
Modified:
he
Author: jah
Date: Thu Oct 22 16:38:01 2015
New Revision: 289759
URL: https://svnweb.freebsd.org/changeset/base/289759
Log:
Use pmap_quick* functions in armv6 busdma, for bounce buffers and cache
maintenance. This makes it safe to sync buffers that have no VA mapping
associated with the busdma
Author: jah
Date: Wed Oct 21 19:44:20 2015
New Revision: 289717
URL: https://svnweb.freebsd.org/changeset/base/289717
Log:
Use pmap_quick* functions in arm64 busdma to make bounce buffer
synchronization more flexible and avoid borrowing UVAs for userspace buffers.
This is mostly equivalent to
Author: jah
Date: Wed Oct 21 04:53:34 2015
New Revision: 289675
URL: https://svnweb.freebsd.org/changeset/base/289675
Log:
Use pmap_quick* for out-of-context bounce buffers and (limited) cache
maintenance of unmapped buffers in armv5 busdma.
Tested by:Mattia Rossi
Differential Revis
Author: jah
Date: Sat Oct 17 14:58:55 2015
New Revision: 289457
URL: https://svnweb.freebsd.org/changeset/base/289457
Log:
Don't page-align the physical address when calling PHYS_TO_VM_PAGE().
Mbusdma_bounce.c
Modified:
head/sys/x86/x86/busdma_bounce.c
Modified: head/sys/x86/x86/bus
Author: jah
Date: Tue Oct 13 02:17:56 2015
New Revision: 289202
URL: https://svnweb.freebsd.org/changeset/base/289202
Log:
Ensure the client regions for unmapped bounce buffers created through
bus_dmamap_load_phys() do not span multiple pages.
This is already done for mapped buffers.
While
Author: jah
Date: Mon Aug 17 18:28:40 2015
New Revision: 286851
URL: https://svnweb.freebsd.org/changeset/base/286851
Log:
Some cleanups to make the style of pmap_quick_enter_page() and
pmap_quick_remove_page() in arm/pmap-v6-new.c more consistent with the rest of
the file.
Submitted by:
Author: jah
Date: Fri Aug 14 20:08:16 2015
New Revision: 286787
URL: https://svnweb.freebsd.org/changeset/base/286787
Log:
Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86
busdma_bounce implementation. Also treat user buffers as unmapped.
This allows two things:
Author: jah
Date: Fri Aug 14 18:01:40 2015
New Revision: 286785
URL: https://svnweb.freebsd.org/changeset/base/286785
Log:
Reformat x86 bounce buffer synchronization code to reduce indentation. No
functional change.
Approved by: kib (mentor)
Modified:
head/sys/x86/x86/busdma_bounce.c
/pmap_quick_enter_page.9 Fri Aug 7 12:13:15 2015
(r286411)
@@ -0,0 +1,103 @@
+.\"
+.\" Copyright (c) 2015 Jason A. Harmening
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitt
Author: jah
Date: Wed Aug 5 10:48:32 2015
New Revision: 286313
URL: https://svnweb.freebsd.org/changeset/base/286313
Log:
Properly sort the function declarations added in r286296
Submitted by: alc
Approved by: kib (mentor)
Modified:
head/sys/vm/pmap.h
Modified: head/sys/vm/pmap.h
==
Author: jah
Date: Tue Aug 4 19:46:13 2015
New Revision: 286296
URL: https://svnweb.freebsd.org/changeset/base/286296
Log:
Add two new pmap functions:
vm_offset_t pmap_quick_enter_page(vm_page_t m)
void pmap_quick_remove_page(vm_offset_t kva)
These will create and destroy a temporary, C
Author: jah
Date: Fri May 15 13:04:14 2015
New Revision: 282969
URL: https://svnweb.freebsd.org/changeset/base/282969
Log:
Bump date for iic.4
Modified:
head/share/man/man4/iic.4
Modified: head/share/man/man4/iic.4
=
Author: jah
Date: Fri May 15 12:28:17 2015
New Revision: 282966
URL: https://svnweb.freebsd.org/changeset/base/282966
Log:
Update iic(4) man page to reflect recent changes
Differential Revision:https://reviews.freebsd.org/D2461
Reviewed by: wblock
Approved by: kib (mentor)
Mo
Author: jah
Date: Tue Apr 21 11:50:31 2015
New Revision: 281828
URL: https://svnweb.freebsd.org/changeset/base/281828
Log:
Fix numerous issues in iic(4) and iicbus(4):
--Allow multiple open iic fds by storing addressing state in cdevpriv
--Fix, as much as possible, the baked-in race conditio
Author: jah
Date: Sun Mar 22 18:32:37 2015
New Revision: 280353
URL: https://svnweb.freebsd.org/changeset/base/280353
Log:
MFC r279919: Using parent DMA tag in drm_pci_alloc(). This can allow
drm2 devices to work with Intel DMAR enabled for the system, as long as
DMAR is disabled for the drm
Author: jah
Date: Sun Mar 22 18:31:28 2015
New Revision: 280352
URL: https://svnweb.freebsd.org/changeset/base/280352
Log:
MFC r279919: Using parent DMA tag in drm_pci_alloc(). This can allow
drm2 devices to work with Intel DMAR enabled for the system, as long as
DMAR is disabled for the drm
Author: jah
Date: Thu Mar 12 14:18:36 2015
New Revision: 279919
URL: https://svnweb.freebsd.org/changeset/base/279919
Log:
Using parent DMA tag in drm_pci_alloc(). This can allow drm2 devices to work
with Intel DMAR enabled for the system, as long as DMAR is disabled for the
drm2 device.
d.org\
iedowse [label="Ian Dowse\niedo...@freebsd.org\n2000/12/01"]
imp [label="Warner Losh\n...@freebsd.org\n1996/09/20"]
ivoras [label="Ivan Voras\nivo...@freebsd.org\n2008/06/10"]
+jah [label="Jason A. Harmening\n...@freebsd.org\n2015/03/08"]
jamie [lab
70 matches
Mail list logo