Now
MAIN commitmail json YAML
Exclude references to _ucas_{32,64}_mp() for _RUMPKERNEL.
MAIN commitmail json YAML
Add a test to make sure an overflowing-into-kernel-space fetch/store near
vm_max_address fails with EFAULT.
vm_max_address fails with EFAULT.
MAIN commitmail json YAML
...and now I really have the list of arch versions that require the armv2
style of ufetch_16/ustore_16. And since it's so many, just stop naming it
for the arch version, and name it for the instruction capability.
style of ufetch_16/ustore_16. And since it's so many, just stop naming it
for the arch version, and name it for the instruction capability.
MAIN commitmail json YAML
src/sys/arch/powerpc/booke/booke_machdep.c@1.26
/
diff
/
nxr@1.26
src/sys/arch/powerpc/booke/copyin.c@1.7 / diff / nxr@1.7
src/sys/arch/powerpc/booke/copyout.c@1.5 / diff / nxr@1.5
src/sys/arch/powerpc/ibm4xx/trap.c@1.70 / diff / nxr@1.70
src/sys/arch/powerpc/include/booke/cpuvar.h@1.20 / diff / nxr@1.20
src/sys/arch/powerpc/include/types.h@1.59 / diff / nxr@1.59
src/sys/arch/powerpc/powerpc/trap.c@1.156 / diff / nxr@1.156
src/sys/arch/powerpc/booke/copyin.c@1.7 / diff / nxr@1.7
src/sys/arch/powerpc/booke/copyout.c@1.5 / diff / nxr@1.5
src/sys/arch/powerpc/ibm4xx/trap.c@1.70 / diff / nxr@1.70
src/sys/arch/powerpc/include/booke/cpuvar.h@1.20 / diff / nxr@1.20
src/sys/arch/powerpc/include/types.h@1.59 / diff / nxr@1.59
src/sys/arch/powerpc/powerpc/trap.c@1.156 / diff / nxr@1.156
Detangle some of the PowerPC CPU configuration spaghetti.
MAIN commitmail json YAML
Fix ARM_ARCH_* brain fart.
MAIN commitmail json YAML
G/C some obsolete definitions (we haven't had a fixed u. for quite
some time).
some time).
MAIN commitmail json YAML
src/sys/arch/amd64/amd64/copy.S@1.32
/
diff
/
nxr@1.32
src/sys/arch/i386/i386/copy.S@1.30 / diff / nxr@1.30
src/sys/arch/i386/i386/copy.S@1.30 / diff / nxr@1.30
Fix a think-o / paste-o in the max user address check, pointed out
by maxv@.
by maxv@.
MAIN commitmail json YAML
Fix building crash(8) on sparc after ufetch / ustore changes.
MAIN commitmail json YAML
Treat _RUMPKERNEL like a __HAVE_UCAS_FULL platform. Add a comment
explaining what's going on. Fixes librump build on sparc.
explaining what's going on. Fixes librump build on sparc.
MAIN commitmail json YAML
src/distrib/sets/lists/comp/mi@1.2266
/
diff
/
nxr@1.2266
src/distrib/sets/lists/tests/module.mi@1.18 / diff / nxr@1.18
src/share/man/man9/Makefile@1.436 / diff / nxr@1.436
src/share/man/man9/fetch.9 deleted
src/share/man/man9/ipi.9@1.3 / diff / nxr@1.3
src/share/man/man9/store.9 deleted
src/share/man/man9/ucas.9@1.3 / diff / nxr@1.3
src/share/man/man9/ufetch.9@1.1 / diff / nxr@1.1
src/share/man/man9/ustore.9@1.1 / diff / nxr@1.1
src/sys/arch/aarch64/aarch64/TODO@1.4 / diff / nxr@1.4
src/sys/arch/aarch64/aarch64/fault.c@1.9 / diff / nxr@1.9
src/sys/arch/aarch64/aarch64/fusu.S@1.6 / diff / nxr@1.6
src/sys/arch/aarch64/aarch64/trap.c@1.17 / diff / nxr@1.17
src/sys/arch/aarch64/include/machdep.h@1.7 / diff / nxr@1.7
src/sys/arch/alpha/alpha/genassym.cf@1.21 / diff / nxr@1.21
src/sys/arch/alpha/alpha/locore.s@1.123 / diff / nxr@1.123
src/sys/arch/alpha/alpha/trap.c@1.134 / diff / nxr@1.134
src/sys/arch/alpha/include/alpha.h@1.38 / diff / nxr@1.38
src/sys/arch/alpha/include/pcb.h@1.22 / diff / nxr@1.22
src/sys/arch/alpha/include/types.h@1.55 / diff / nxr@1.55
:
(more 98 files)
src/distrib/sets/lists/tests/module.mi@1.18 / diff / nxr@1.18
src/share/man/man9/Makefile@1.436 / diff / nxr@1.436
src/share/man/man9/fetch.9 deleted
src/share/man/man9/ipi.9@1.3 / diff / nxr@1.3
src/share/man/man9/store.9 deleted
src/share/man/man9/ucas.9@1.3 / diff / nxr@1.3
src/share/man/man9/ufetch.9@1.1 / diff / nxr@1.1
src/share/man/man9/ustore.9@1.1 / diff / nxr@1.1
src/sys/arch/aarch64/aarch64/TODO@1.4 / diff / nxr@1.4
src/sys/arch/aarch64/aarch64/fault.c@1.9 / diff / nxr@1.9
src/sys/arch/aarch64/aarch64/fusu.S@1.6 / diff / nxr@1.6
src/sys/arch/aarch64/aarch64/trap.c@1.17 / diff / nxr@1.17
src/sys/arch/aarch64/include/machdep.h@1.7 / diff / nxr@1.7
src/sys/arch/alpha/alpha/genassym.cf@1.21 / diff / nxr@1.21
src/sys/arch/alpha/alpha/locore.s@1.123 / diff / nxr@1.123
src/sys/arch/alpha/alpha/trap.c@1.134 / diff / nxr@1.134
src/sys/arch/alpha/include/alpha.h@1.38 / diff / nxr@1.38
src/sys/arch/alpha/include/pcb.h@1.22 / diff / nxr@1.22
src/sys/arch/alpha/include/types.h@1.55 / diff / nxr@1.55
:
(more 98 files)
Overhaul the API used to fetch and store individual memory cells in
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms. The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
MAIN commitmail json YAML
Add an ipi_trigger_broadcast() call, like ipi_trigger_multi() but to the
full set of attached CPUs, with an optional "skip_self" argument to skip
the calling CPU. Add a "skip_self" to the ipi_broadcast() call for
symmetry.
(Kernel version bump coming in a subsequent commit.)
full set of attached CPUs, with an optional "skip_self" argument to skip
the calling CPU. Add a "skip_self" to the ipi_broadcast() call for
symmetry.
(Kernel version bump coming in a subsequent commit.)
MAIN commitmail json YAML
Add (commented out) MODULAR-related options.
MAIN commitmail json YAML
Prrovide a basic (i.e. empty) module_init_md(). MODULAR doesn't quite
work yet (missing support for a couple of relocations), but at last the
kernel links.
work yet (missing support for a couple of relocations), but at last the
kernel links.
MAIN commitmail json YAML
clzdi2 and ctzdi2 are needed on alpha. (counting instructions are in the
optional CIX extension, and thus not used by the default compiler configuation).
optional CIX extension, and thus not used by the default compiler configuation).
MAIN commitmail json YAML
After throwing away countless hours of my life on this driver, I am not
going to let an obvious typo go uncorrected.
going to let an obvious typo go uncorrected.
MAIN commitmail json YAML
Fix a couple of latent MP issues in the Alpha pmap:
- In pmap_activate(), even though we manipulate the active mask
with atomic ops, the lev1map pointer needs to stay consistent,
so we do, in fact, have to take the pmap lock there.
- In pmap_emulate_reference(), some of the DEBUG checks done here
are race-prone, so don't do them. (Leave them #if 0'd out for
documentary purposes.)
- In pmap_activate(), even though we manipulate the active mask
with atomic ops, the lev1map pointer needs to stay consistent,
so we do, in fact, have to take the pmap lock there.
- In pmap_emulate_reference(), some of the DEBUG checks done here
are race-prone, so don't do them. (Leave them #if 0'd out for
documentary purposes.)
MAIN commitmail json YAML
src/sys/arch/amiga/amiga/locore.s@1.157
/
diff
/
nxr@1.157
src/sys/arch/atari/atari/locore.s@1.113 / diff / nxr@1.113
src/sys/arch/atari/atari/locore.s@1.113 / diff / nxr@1.113
G/C a couple of lingering instances of addupc(). There is still some bit-
rotten profiling code that references it, but that code is already almost
certainly broken for other reasons.
rotten profiling code that references it, but that code is already almost
certainly broken for other reasons.
MAIN commitmail json YAML
Use copyin(), not fusword().
MAIN commitmail json YAML
src/sys/arch/cesfic/conf/GENERIC@1.71
/
diff
/
nxr@1.71
src/sys/arch/hp300/conf/GENERIC@1.201 / diff / nxr@1.201
src/sys/arch/hp300/conf/INSTALL@1.64 / diff / nxr@1.64
src/sys/arch/hp300/hp300/machdep.c@1.230 / diff / nxr@1.230
src/sys/arch/m68k/conf/files.m68k@1.49 / diff / nxr@1.49
src/sys/arch/m68k/include/m68k.h@1.23 / diff / nxr@1.23
src/sys/arch/m68k/m68k/copy.s@1.46 / diff / nxr@1.46
src/sys/arch/m68k/m68k/mappedcopy.c deleted
src/sys/arch/mvme68k/mvme68k/machdep.c@1.155 / diff / nxr@1.155
src/sys/arch/news68k/news68k/machdep.c@1.104 / diff / nxr@1.104
src/sys/arch/next68k/next68k/machdep.c@1.112 / diff / nxr@1.112
src/sys/arch/x68k/conf/GENERIC@1.194 / diff / nxr@1.194
src/sys/arch/x68k/conf/INSTALL@1.118 / diff / nxr@1.118
src/sys/arch/x68k/x68k/machdep.c@1.198 / diff / nxr@1.198
src/sys/arch/hp300/conf/GENERIC@1.201 / diff / nxr@1.201
src/sys/arch/hp300/conf/INSTALL@1.64 / diff / nxr@1.64
src/sys/arch/hp300/hp300/machdep.c@1.230 / diff / nxr@1.230
src/sys/arch/m68k/conf/files.m68k@1.49 / diff / nxr@1.49
src/sys/arch/m68k/include/m68k.h@1.23 / diff / nxr@1.23
src/sys/arch/m68k/m68k/copy.s@1.46 / diff / nxr@1.46
src/sys/arch/m68k/m68k/mappedcopy.c deleted
src/sys/arch/mvme68k/mvme68k/machdep.c@1.155 / diff / nxr@1.155
src/sys/arch/news68k/news68k/machdep.c@1.104 / diff / nxr@1.104
src/sys/arch/next68k/next68k/machdep.c@1.112 / diff / nxr@1.112
src/sys/arch/x68k/conf/GENERIC@1.194 / diff / nxr@1.194
src/sys/arch/x68k/conf/INSTALL@1.118 / diff / nxr@1.118
src/sys/arch/x68k/x68k/machdep.c@1.198 / diff / nxr@1.198
G/C "MAPPECOPY". It is the deadest of wood, and never actually worked in
NetBSD.
NetBSD.
MAIN commitmail json YAML
In zx_cursor_color(), don't throw away the second half of the color
map data.
map data.
MAIN commitmail json YAML
Fix an issue with FIOCSCURSOR FB_CUR_SETCMAP on zx described here:
http://mail-index.netbsd.org/port-sparc/2019/02/11/msg002134.html
by replacing the fubyte() calls with copyin() into temporary buffers.
The other issue in zx_cursor_color() mentioned in that message will
be addressed separately.
http://mail-index.netbsd.org/port-sparc/2019/02/11/msg002134.html
by replacing the fubyte() calls with copyin() into temporary buffers.
The other issue in zx_cursor_color() mentioned in that message will
be addressed separately.
MAIN commitmail json YAML
src/sys/arch/atari/atari/trap.c@1.114
/
diff
/
nxr@1.114
src/sys/arch/atari/conf/files.atari@1.123 / diff / nxr@1.123
src/sys/arch/atari/include/cpu.h@1.72 / diff / nxr@1.72
src/sys/arch/cesfic/cesfic/trap.c@1.58 / diff / nxr@1.58
src/sys/arch/cesfic/conf/files.cesfic@1.18 / diff / nxr@1.18
src/sys/arch/cesfic/include/cpu.h@1.32 / diff / nxr@1.32
src/sys/arch/hp300/conf/files.hp300@1.92 / diff / nxr@1.92
src/sys/arch/hp300/hp300/trap.c@1.152 / diff / nxr@1.152
src/sys/arch/hp300/include/cpu.h@1.71 / diff / nxr@1.71
src/sys/arch/luna68k/conf/files.luna68k@1.28 / diff / nxr@1.28
src/sys/arch/luna68k/include/cpu.h@1.36 / diff / nxr@1.36
src/sys/arch/luna68k/luna68k/trap.c@1.70 / diff / nxr@1.70
src/sys/arch/m68k/include/frame.h@1.31 / diff / nxr@1.31
src/sys/arch/m68k/m68k/m68k_trap.c@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/conf/files.mac68k@1.128 / diff / nxr@1.128
src/sys/arch/mac68k/include/cpu.h@1.101 / diff / nxr@1.101
src/sys/arch/mac68k/mac68k/trap.c@1.148 / diff / nxr@1.148
src/sys/arch/mvme68k/conf/files.mvme68k@1.64 / diff / nxr@1.64
src/sys/arch/mvme68k/mvme68k/trap.c@1.109 / diff / nxr@1.109
src/sys/arch/news68k/conf/files.news68k@1.35 / diff / nxr@1.35
:
(more 8 files)
src/sys/arch/atari/conf/files.atari@1.123 / diff / nxr@1.123
src/sys/arch/atari/include/cpu.h@1.72 / diff / nxr@1.72
src/sys/arch/cesfic/cesfic/trap.c@1.58 / diff / nxr@1.58
src/sys/arch/cesfic/conf/files.cesfic@1.18 / diff / nxr@1.18
src/sys/arch/cesfic/include/cpu.h@1.32 / diff / nxr@1.32
src/sys/arch/hp300/conf/files.hp300@1.92 / diff / nxr@1.92
src/sys/arch/hp300/hp300/trap.c@1.152 / diff / nxr@1.152
src/sys/arch/hp300/include/cpu.h@1.71 / diff / nxr@1.71
src/sys/arch/luna68k/conf/files.luna68k@1.28 / diff / nxr@1.28
src/sys/arch/luna68k/include/cpu.h@1.36 / diff / nxr@1.36
src/sys/arch/luna68k/luna68k/trap.c@1.70 / diff / nxr@1.70
src/sys/arch/m68k/include/frame.h@1.31 / diff / nxr@1.31
src/sys/arch/m68k/m68k/m68k_trap.c@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/conf/files.mac68k@1.128 / diff / nxr@1.128
src/sys/arch/mac68k/include/cpu.h@1.101 / diff / nxr@1.101
src/sys/arch/mac68k/mac68k/trap.c@1.148 / diff / nxr@1.148
src/sys/arch/mvme68k/conf/files.mvme68k@1.64 / diff / nxr@1.64
src/sys/arch/mvme68k/mvme68k/trap.c@1.109 / diff / nxr@1.109
src/sys/arch/news68k/conf/files.news68k@1.35 / diff / nxr@1.35
:
(more 8 files)
Refactor the 68040 writeback() from each m68k port's trap handler into a
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
shared copy: m68040_writeback(). It is essentially a copy of the Atari
version, with some minor cosmetic tweaks and one small performance optimization
from the mvme68k port.
Tested by rjs@ on a Quadra 950. (Thanks!)
MAIN commitmail json YAML
In ksem_close_fop(), if we get a pshared semaphore that's not already
been marked dead, make sure we mark it so if the owner proc is the proc
closing it. (This case can happen if a process sem_init()'s a pshared
semaphore and then exits without destroying it.)
Fixes kern/53942.
been marked dead, make sure we mark it so if the owner proc is the proc
closing it. (This case can happen if a process sem_init()'s a pshared
semaphore and then exits without destroying it.)
Fixes kern/53942.
MAIN commitmail json YAML
src/distrib/sets/lists/tests/mi@1.805
/
diff
/
nxr@1.805
src/lib/libpthread/Makefile@1.91 / diff / nxr@1.91
src/lib/libpthread/sem.c deleted
src/lib/librt/sem.c@1.8 / diff / nxr@1.8
src/sys/compat/netbsd32/netbsd32_sem.c@1.12 / diff / nxr@1.12
src/sys/kern/uipc_sem.c@1.52 / diff / nxr@1.52
src/sys/sys/ksem.h@1.15 / diff / nxr@1.15
src/tests/kernel/Makefile@1.57 / diff / nxr@1.57
src/tests/kernel/t_ksem.c@1.1 / diff / nxr@1.1
src/tests/lib/librt/t_sem.c@1.4 / diff / nxr@1.4
src/usr.bin/fstat/misc.c@1.21 / diff / nxr@1.21
src/lib/libpthread/Makefile@1.91 / diff / nxr@1.91
src/lib/libpthread/sem.c deleted
src/lib/librt/sem.c@1.8 / diff / nxr@1.8
src/sys/compat/netbsd32/netbsd32_sem.c@1.12 / diff / nxr@1.12
src/sys/kern/uipc_sem.c@1.52 / diff / nxr@1.52
src/sys/sys/ksem.h@1.15 / diff / nxr@1.15
src/tests/kernel/Makefile@1.57 / diff / nxr@1.57
src/tests/kernel/t_ksem.c@1.1 / diff / nxr@1.1
src/tests/lib/librt/t_sem.c@1.4 / diff / nxr@1.4
src/usr.bin/fstat/misc.c@1.21 / diff / nxr@1.21
Implement support for "pshared" POSIX semaphores.
Fixes lib/53273 (and Firefox's multi-process tab feature).
Fixes lib/53273 (and Firefox's multi-process tab feature).
MAIN commitmail json YAML
src/sys/arch/arm/fdt/gic_fdt.c@1.16
/
diff
/
nxr@1.16
src/sys/arch/arm/fdt/gicv3_fdt.c@1.7 / diff / nxr@1.7
src/sys/arch/arm/fdt/gicv3_fdt.c@1.7 / diff / nxr@1.7
Define constants for representing the standard interrupt types
({pos,neg,double}-edge, {high,low}-level) from the FDT "interrupts"
bindings. Use these defined constants rather than magic numbers.
({pos,neg,double}-edge, {high,low}-level) from the FDT "interrupts"
bindings. Use these defined constants rather than magic numbers.
MAIN commitmail json YAML
src/sys/arch/arm/broadcom/bcm2835_gpio.c@1.9
/
diff
/
nxr@1.9
src/sys/arch/arm/nvidia/tegra_lic.c@1.6 / diff / nxr@1.6
src/sys/arch/arm/sunxi/sunxi_gpio.c@1.23 / diff / nxr@1.23
src/sys/dev/fdt/fdtvar.h@1.47 / diff / nxr@1.47
src/sys/arch/arm/nvidia/tegra_lic.c@1.6 / diff / nxr@1.6
src/sys/arch/arm/sunxi/sunxi_gpio.c@1.23 / diff / nxr@1.23
src/sys/dev/fdt/fdtvar.h@1.47 / diff / nxr@1.47
Define constants for representing the standard interrupt types
({pos,neg,double}-edge, {high,low}-level) from the FDT "interrupts"
bindings. Use these defined constants rather than magic numbers.
({pos,neg,double}-edge, {high,low}-level) from the FDT "interrupts"
bindings. Use these defined constants rather than magic numbers.
MAIN commitmail json YAML
Implement subroutines for parsing out some of the generic properties
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.
Ok jmcneill@
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.
Ok jmcneill@
MAIN commitmail json YAML
src/sys/arch/arm/amlogic/meson_pinctrl.c@1.2
/
diff
/
nxr@1.2
src/sys/arch/arm/rockchip/rk3328_iomux.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/rockchip/rk3399_iomux.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/sunxi/sunxi_gpio.c@1.22 / diff / nxr@1.22
src/sys/dev/fdt/fdtvar.h@1.46 / diff / nxr@1.46
src/sys/arch/arm/rockchip/rk3328_iomux.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/rockchip/rk3399_iomux.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/sunxi/sunxi_gpio.c@1.22 / diff / nxr@1.22
src/sys/dev/fdt/fdtvar.h@1.46 / diff / nxr@1.46
Implement subroutines for parsing out some of the generic properties
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.
Ok jmcneill@
specified in the pinctrl bindings, and adapt Meson, Rockchip, and
Allwinner pinctrl back-ends to use them.
Ok jmcneill@
MAIN commitmail json YAML
Explicitly size the regmap array.
MAIN commitmail json YAML
src/sys/arch/mips/alchemy/dev/com_aubus.c@1.9
/
diff
/
nxr@1.9
src/sys/arch/mips/ralink/ralink_com.c@1.8 / diff / nxr@1.8
src/sys/dev/ic/com.c@1.355 / diff / nxr@1.355
src/sys/dev/ic/comvar.h@1.92 / diff / nxr@1.92
src/sys/dev/ic/ns16550reg.h@1.13 / diff / nxr@1.13
src/sys/arch/mips/ralink/ralink_com.c@1.8 / diff / nxr@1.8
src/sys/dev/ic/com.c@1.355 / diff / nxr@1.355
src/sys/dev/ic/comvar.h@1.92 / diff / nxr@1.92
src/sys/dev/ic/ns16550reg.h@1.13 / diff / nxr@1.13
Simplify regmap initialization, and fix an regmap issue that
affected TI OMAP (LCR register would get clobbered due to
using the wrong offset for the MDR1 register) reported by Lwazi Dube
(who also found the root cause).
affected TI OMAP (LCR register would get clobbered due to
using the wrong offset for the MDR1 register) reported by Lwazi Dube
(who also found the root cause).
MAIN commitmail json YAML
Fix a silly bug the "cancel thrash" test: the exit condition for the
job was never set, and so if the job actually got started before the
cancellation request came in, it would never finish and the cancellation
request would just hang forever.
Should address a spurious automated test failure reported by kre@.
job was never set, and so if the job actually got started before the
cancellation request came in, it would never finish and the cancellation
request would just hang forever.
Should address a spurious automated test failure reported by kre@.
MAIN commitmail json YAML
Regen.
MAIN commitmail json YAML
Add ReakTek RTL8189FTV SDIO 802.11 interface.
MAIN commitmail json YAML
Expose the worker thread idle timeout via sysctl as "kern.threadpool.idle_ms".
MAIN commitmail json YAML
src/tests/rump/kernspace/kernspace.h@1.8
/
diff
/
nxr@1.8
src/tests/rump/kernspace/threadpool.c@1.4 / diff / nxr@1.4
src/tests/rump/rumpkern/t_threadpool.c@1.2 / diff / nxr@1.2
src/tests/rump/kernspace/threadpool.c@1.4 / diff / nxr@1.4
src/tests/rump/rumpkern/t_threadpool.c@1.2 / diff / nxr@1.2
Add a test case that exercises repeated sceduling and cancelling of a job,
with periodic dropping of the interlock.
with periodic dropping of the interlock.
MAIN commitmail json YAML
kre@ notified me that the kernel/t_threadpool "rapid" test was occasionally
tripping a KASSERT() failure in the i386-qemu test rig. It turns out this
is due to "rapid" simply being a buggy test that makes assumptions that
aren't always true, especially on slower / uniprocesor hardware. So, the
right thing to do is just remove the test.
tripping a KASSERT() failure in the i386-qemu test rig. It turns out this
is due to "rapid" simply being a buggy test that makes assumptions that
aren't always true, especially on slower / uniprocesor hardware. So, the
right thing to do is just remove the test.
MAIN commitmail json YAML
Fix job reference counting:
- threadpool_job_hold() no longer returns failure on overflow; it
asserts that overflow doesn't happen.
- threadpool_job_rele() must be called with the job lock held.
- Always grab a reference count on the job in threadpool_schedule_job()
if we're going to do any work.
- Drop that reference count directly in threadpool_job_done(); it's not
safe to dereference the job structure after the job function has called it.
- In the overseer thread, when handing off the job to work thread, hold an
extra reference briefly, as there's a window where we hold neither the
pool lock or the job lock, and without this extra reference, the job could
be snatched away.
- threadpool_job_hold() no longer returns failure on overflow; it
asserts that overflow doesn't happen.
- threadpool_job_rele() must be called with the job lock held.
- Always grab a reference count on the job in threadpool_schedule_job()
if we're going to do any work.
- Drop that reference count directly in threadpool_job_done(); it's not
safe to dereference the job structure after the job function has called it.
- In the overseer thread, when handing off the job to work thread, hold an
extra reference briefly, as there's a window where we hold neither the
pool lock or the job lock, and without this extra reference, the job could
be snatched away.
MAIN commitmail json YAML
Restore curlwp->l_name in threadpool_job_done(), rather than after the
job function has returned. This lays the groundwork for some job object
reference counting change that will be coming in a subsequent comment.
job function has returned. This lays the groundwork for some job object
reference counting change that will be coming in a subsequent comment.
MAIN commitmail json YAML
Fix spurios whitespace (thank you substandard vi clones).
MAIN commitmail json YAML
src/sys/kern/init_main.c@1.501
/
diff
/
nxr@1.501
src/sys/kern/kern_threadpool.c@1.11 / diff / nxr@1.11
src/sys/rump/librump/rumpkern/rump.c@1.332 / diff / nxr@1.332
src/sys/sys/threadpool.h@1.6 / diff / nxr@1.6
src/sys/kern/kern_threadpool.c@1.11 / diff / nxr@1.11
src/sys/rump/librump/rumpkern/rump.c@1.332 / diff / nxr@1.332
src/sys/sys/threadpool.h@1.6 / diff / nxr@1.6
Rather than performing lazy initialization, statically initialize early
in the respective kernel startup routines.
in the respective kernel startup routines.
MAIN commitmail json YAML
Document the threadpool_job_fn_t type and its use.
MAIN commitmail json YAML
Adjust the definition of threadpool_job_fn_t to reflect Taylor's original
intent. (The original didn't compile, and I'm not a very good mind reader.)
intent. (The original didn't compile, and I'm not a very good mind reader.)
MAIN commitmail json YAML
Fix one de-_t'ficiation I missed.
MAIN commitmail json YAML
Whitespace tweaks.
MAIN commitmail json YAML
Stylistic tweak to previous.
MAIN commitmail json YAML
Simplify thread reference counting of the thread pool object.
MAIN commitmail json YAML
Make the callers of threadpool_create() and threadpool_destroy()
responsibile for managing their own storage.
responsibile for managing their own storage.
MAIN commitmail json YAML
Use uint64_t for the unbound and per-cpu thread pool ref counts; they're
always manipulated under a lock. Rather than bother returning EBUSY,
just assert that the ref count never overlows (if it ever does, you have
bigger problems).
always manipulated under a lock. Rather than bother returning EBUSY,
just assert that the ref count never overlows (if it ever does, you have
bigger problems).
MAIN commitmail json YAML
src/share/man/man9/threadpool.9@1.2
/
diff
/
nxr@1.2
src/sys/kern/kern_threadpool.c@1.4 / diff / nxr@1.4
src/sys/sys/threadpool.h@1.3 / diff / nxr@1.3
src/tests/kernel/threadpool_tester/threadpool_tester.c@1.2 / diff / nxr@1.2
src/tests/rump/kernspace/threadpool.c@1.3 / diff / nxr@1.3
src/sys/kern/kern_threadpool.c@1.4 / diff / nxr@1.4
src/sys/sys/threadpool.h@1.3 / diff / nxr@1.3
src/tests/kernel/threadpool_tester/threadpool_tester.c@1.2 / diff / nxr@1.2
src/tests/rump/kernspace/threadpool.c@1.3 / diff / nxr@1.3
- De-opaque'ify struct threadpool_job.
- De-_t'ify all of the structure types.
No functional chage, no ABI change (verified with old rump unit test
before and after new librump.so).
Per Taylor's request.
- De-_t'ify all of the structure types.
No functional chage, no ABI change (verified with old rump unit test
before and after new librump.so).
Per Taylor's request.
MAIN commitmail json YAML
Add -lrump after -lkernspace, because kernspace.a references symbols
from librump and hooray for static linking semantics.
Fixes sun2 build issue reported by kre@.
(XXX WTF did this only start failing after the addition of t_threadpool?)
from librump and hooray for static linking semantics.
Fixes sun2 build issue reported by kre@.
(XXX WTF did this only start failing after the addition of t_threadpool?)
MAIN commitmail json YAML
Include some non-critical-but-still-for-correctness lines of code
in the cancellation unit test. (I could have sworn I actually typed
these lines, no really...)
in the cancellation unit test. (I could have sworn I actually typed
these lines, no really...)
MAIN commitmail json YAML
Ho ho ho! We can suppress that warning with __diagused! Merry Christmas!
MAIN commitmail json YAML
src/distrib/sets/lists/tests/mi@1.800
/
diff
/
nxr@1.800
src/tests/rump/kernspace/Makefile@1.7 / diff / nxr@1.7
src/tests/rump/kernspace/kernspace.h@1.7 / diff / nxr@1.7
src/tests/rump/kernspace/threadpool.c@1.1 / diff / nxr@1.1
src/tests/rump/rumpkern/Makefile@1.17 / diff / nxr@1.17
src/tests/rump/rumpkern/t_threadpool.c@1.1 / diff / nxr@1.1
src/tests/rump/kernspace/Makefile@1.7 / diff / nxr@1.7
src/tests/rump/kernspace/kernspace.h@1.7 / diff / nxr@1.7
src/tests/rump/kernspace/threadpool.c@1.1 / diff / nxr@1.1
src/tests/rump/rumpkern/Makefile@1.17 / diff / nxr@1.17
src/tests/rump/rumpkern/t_threadpool.c@1.1 / diff / nxr@1.1
Add rump-based test cases for threadpool(9).
MAIN commitmail json YAML
Don't need <sys/queue.h> here.
MAIN commitmail json YAML
Note threadpool(9).
MAIN commitmail json YAML
src/distrib/sets/lists/comp/mi@1.2245
/
diff
/
nxr@1.2245
src/distrib/sets/lists/tests/mi@1.799 / diff / nxr@1.799
src/distrib/sets/lists/tests/module.mi@1.14 / diff / nxr@1.14
src/share/man/man9/Makefile@1.434 / diff / nxr@1.434
src/share/man/man9/threadpool.9@1.1 / diff / nxr@1.1
src/sys/kern/files.kern@1.29 / diff / nxr@1.29
src/sys/kern/kern_threadpool.c@1.1 / diff / nxr@1.1
src/sys/rump/librump/rumpkern/Makefile.rumpkern@1.173 / diff / nxr@1.173
src/sys/sys/param.h@1.574 / diff / nxr@1.574
src/sys/sys/threadpool.h@1.1 / diff / nxr@1.1
src/tests/kernel/Makefile@1.55 / diff / nxr@1.55
src/tests/kernel/t_threadpool.sh@1.1 / diff / nxr@1.1
src/tests/kernel/threadpool_tester/Makefile@1.1 / diff / nxr@1.1
src/tests/kernel/threadpool_tester/threadpool_tester.c@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.799 / diff / nxr@1.799
src/distrib/sets/lists/tests/module.mi@1.14 / diff / nxr@1.14
src/share/man/man9/Makefile@1.434 / diff / nxr@1.434
src/share/man/man9/threadpool.9@1.1 / diff / nxr@1.1
src/sys/kern/files.kern@1.29 / diff / nxr@1.29
src/sys/kern/kern_threadpool.c@1.1 / diff / nxr@1.1
src/sys/rump/librump/rumpkern/Makefile.rumpkern@1.173 / diff / nxr@1.173
src/sys/sys/param.h@1.574 / diff / nxr@1.574
src/sys/sys/threadpool.h@1.1 / diff / nxr@1.1
src/tests/kernel/Makefile@1.55 / diff / nxr@1.55
src/tests/kernel/t_threadpool.sh@1.1 / diff / nxr@1.1
src/tests/kernel/threadpool_tester/Makefile@1.1 / diff / nxr@1.1
src/tests/kernel/threadpool_tester/threadpool_tester.c@1.1 / diff / nxr@1.1
Add threadpool(9), an abstraction that provides shared pools of kernel
threads running at specific priorities, with support for unbound pools
and per-cpu pools.
Written by riastradh@, and based on the May 2014 draft, with a few changes
by me:
- Working on the assumption that a relative few priorities will actually
be used, reduce the memory footprint by using linked lists, rather than
2 large (and mostly empty) tables. The performance impact is essentially
nil, since these lists are consulted only when pools are created (and
destroyed, for DIAGNOSTIC checks), and the lists will have at most 225
entries.
- Make threadpool job object, which the caller must allocate storage for,
really opaque.
- Use typedefs for the threadpool types, to reduce the verbosity of the
API somewhat.
- Fix a bunch of pool / worker thread / job object lifecycle bugs.
Also include an ATF unit test, written by me, that exercises the basics
of the API by loading a kernel module that exposes several sysctls that
allow the ATF test script to create and destroy threadpools, schedule a
basic job, and verify that it ran.
And thus NetBSD 8.99.29 has arrived.
threads running at specific priorities, with support for unbound pools
and per-cpu pools.
Written by riastradh@, and based on the May 2014 draft, with a few changes
by me:
- Working on the assumption that a relative few priorities will actually
be used, reduce the memory footprint by using linked lists, rather than
2 large (and mostly empty) tables. The performance impact is essentially
nil, since these lists are consulted only when pools are created (and
destroyed, for DIAGNOSTIC checks), and the lists will have at most 225
entries.
- Make threadpool job object, which the caller must allocate storage for,
really opaque.
- Use typedefs for the threadpool types, to reduce the verbosity of the
API somewhat.
- Fix a bunch of pool / worker thread / job object lifecycle bugs.
Also include an ATF unit test, written by me, that exercises the basics
of the API by loading a kernel module that exposes several sysctls that
allow the ATF test script to create and destroy threadpools, schedule a
basic job, and verify that it ran.
And thus NetBSD 8.99.29 has arrived.
MAIN commitmail json YAML
Add support for building overlay DT blobs specified in the kernel
config file like so:
makeoptions DTS_OVERLAYDIR="${THISARM}/conf"
makeoptions DTS_OVERLAYS="
my-cool-overlay.dts
"
The result is my-cool-overlay.dtbo in the kernel compile directory.
config file like so:
makeoptions DTS_OVERLAYDIR="${THISARM}/conf"
makeoptions DTS_OVERLAYS="
my-cool-overlay.dts
"
The result is my-cool-overlay.dtbo in the kernel compile directory.
MAIN commitmail json YAML
src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c@1.30
/
diff
/
nxr@1.30
src/sys/arch/mips/ingenic/ingenic_com.c@1.9 / diff / nxr@1.9
src/sys/arch/mips/rmi/rmixl_com.c@1.8 / diff / nxr@1.8
src/sys/dev/ic/com.c@1.354 / diff / nxr@1.354
src/sys/dev/ic/comvar.h@1.91 / diff / nxr@1.91
src/sys/dev/marvell/com_mv.c@1.10 / diff / nxr@1.10
src/sys/arch/mips/ingenic/ingenic_com.c@1.9 / diff / nxr@1.9
src/sys/arch/mips/rmi/rmixl_com.c@1.8 / diff / nxr@1.8
src/sys/dev/ic/com.c@1.354 / diff / nxr@1.354
src/sys/dev/ic/comvar.h@1.91 / diff / nxr@1.91
src/sys/dev/marvell/com_mv.c@1.10 / diff / nxr@1.10
Add a convenience function, com_init_regs_stride(), that shifts the register
offsets and size by the specified amount. Use in front-ends as appropriate.
offsets and size by the specified amount. Use in front-ends as appropriate.
MAIN commitmail json YAML
Make i2c_acquire_bus() / i2c_release_bus() real symbols.
MAIN commitmail json YAML
sparc64 doesn't have a scalar bus_space_handle_t, so cope with this.
Also, add a comment about why we're using the dummy / nil space handle
in the first place.
Also, add a comment about why we're using the dummy / nil space handle
in the first place.
MAIN commitmail json YAML
src/sys/arch/mips/alchemy/dev/com_aubus.c@1.8
/
diff
/
nxr@1.8
src/sys/arch/mips/ingenic/ingenic_com.c@1.8 / diff / nxr@1.8
src/sys/arch/mips/ralink/ralink_com.c@1.7 / diff / nxr@1.7
src/sys/arch/mips/rmi/rmixl_com.c@1.7 / diff / nxr@1.7
src/sys/conf/files@1.1218 / diff / nxr@1.1218
src/sys/dev/ic/com.c@1.352 / diff / nxr@1.352
src/sys/dev/ic/comvar.h@1.90 / diff / nxr@1.90
src/sys/dev/marvell/com_mv.c@1.9 / diff / nxr@1.9
src/sys/arch/mips/ingenic/ingenic_com.c@1.8 / diff / nxr@1.8
src/sys/arch/mips/ralink/ralink_com.c@1.7 / diff / nxr@1.7
src/sys/arch/mips/rmi/rmixl_com.c@1.7 / diff / nxr@1.7
src/sys/conf/files@1.1218 / diff / nxr@1.1218
src/sys/dev/ic/com.c@1.352 / diff / nxr@1.352
src/sys/dev/ic/comvar.h@1.90 / diff / nxr@1.90
src/sys/dev/marvell/com_mv.c@1.9 / diff / nxr@1.9
Remove the COM_REGMAP option -- just use it all the time. While here,
garbage-collect the COM_FUNCMAP and COM_AU1X00 options, as there are
not used anywhere.
garbage-collect the COM_FUNCMAP and COM_AU1X00 options, as there are
not used anywhere.
MAIN commitmail json YAML
src/sys/arch/acorn32/mainbus/com_pioc.c@1.17
/
diff
/
nxr@1.17
src/sys/arch/acorn32/podulebus/amps.c@1.21 / diff / nxr@1.21
src/sys/arch/algor/dev/com_mainbus.c@1.15 / diff / nxr@1.15
src/sys/arch/alpha/jensenio/com_jensenio.c@1.15 / diff / nxr@1.15
src/sys/arch/alpha/sableio/com_sableio.c@1.14 / diff / nxr@1.14
src/sys/arch/amiga/clockport/com_ss.c@1.2 / diff / nxr@1.2
src/sys/arch/amiga/dev/com_supio.c@1.31 / diff / nxr@1.31
src/sys/arch/arc/jazz/com_jazzio.c@1.13 / diff / nxr@1.13
src/sys/arch/arm/broadcom/bcm2835_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/broadcom/bcm53xx_cca.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/gemini/gemini_com.c@1.4 / diff / nxr@1.4
src/sys/arch/arm/gemini/lpc_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/nvidia/tegra_com.c@1.10 / diff / nxr@1.10
src/sys/arch/arm/omap/obio_com.c@1.8 / diff / nxr@1.8
src/sys/arch/arm/omap/omap_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/omap/omapl1x_com.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/ti/ti_com.c@1.4 / diff / nxr@1.4
src/sys/arch/arm/xscale/ixp425_com.c@1.19 / diff / nxr@1.19
src/sys/arch/arm/xscale/pxa2x0_com.c@1.14 / diff / nxr@1.14
src/sys/arch/cobalt/dev/com_mainbus.c@1.22 / diff / nxr@1.22
:
(more 53 files)
src/sys/arch/acorn32/podulebus/amps.c@1.21 / diff / nxr@1.21
src/sys/arch/algor/dev/com_mainbus.c@1.15 / diff / nxr@1.15
src/sys/arch/alpha/jensenio/com_jensenio.c@1.15 / diff / nxr@1.15
src/sys/arch/alpha/sableio/com_sableio.c@1.14 / diff / nxr@1.14
src/sys/arch/amiga/clockport/com_ss.c@1.2 / diff / nxr@1.2
src/sys/arch/amiga/dev/com_supio.c@1.31 / diff / nxr@1.31
src/sys/arch/arc/jazz/com_jazzio.c@1.13 / diff / nxr@1.13
src/sys/arch/arm/broadcom/bcm2835_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/broadcom/bcm53xx_cca.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/gemini/gemini_com.c@1.4 / diff / nxr@1.4
src/sys/arch/arm/gemini/lpc_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/nvidia/tegra_com.c@1.10 / diff / nxr@1.10
src/sys/arch/arm/omap/obio_com.c@1.8 / diff / nxr@1.8
src/sys/arch/arm/omap/omap_com.c@1.5 / diff / nxr@1.5
src/sys/arch/arm/omap/omapl1x_com.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/ti/ti_com.c@1.4 / diff / nxr@1.4
src/sys/arch/arm/xscale/ixp425_com.c@1.19 / diff / nxr@1.19
src/sys/arch/arm/xscale/pxa2x0_com.c@1.14 / diff / nxr@1.14
src/sys/arch/cobalt/dev/com_mainbus.c@1.22 / diff / nxr@1.22
:
(more 53 files)
Clean up initialization of com_regs structure, in preparation for
some additional changers.
some additional changers.
MAIN commitmail json YAML
EINVAL (22) is a valid return value for ARM mmap routines; we need to
return -1 for invalid mmap attempts.
return -1 for invalid mmap attempts.
MAIN commitmail json YAML
src/sys/dev/ic/rtwn_data.h@1.1
/
diff
/
nxr@1.1
src/sys/dev/ic/rtwnreg.h@1.1 / diff / nxr@1.1
src/sys/dev/pci/if_rtwn.c@1.17 / diff / nxr@1.17
src/sys/dev/pci/if_rtwnreg.h@1.5 / diff / nxr@1.5
src/sys/dev/usb/if_urtwn.c@1.60 / diff / nxr@1.60
src/sys/dev/usb/if_urtwn_data.h deleted
src/sys/dev/usb/if_urtwnreg.h@1.12 / diff / nxr@1.12
src/sys/dev/usb/if_urtwnvar.h@1.11 / diff / nxr@1.11
src/sys/dev/ic/rtwnreg.h@1.1 / diff / nxr@1.1
src/sys/dev/pci/if_rtwn.c@1.17 / diff / nxr@1.17
src/sys/dev/pci/if_rtwnreg.h@1.5 / diff / nxr@1.5
src/sys/dev/usb/if_urtwn.c@1.60 / diff / nxr@1.60
src/sys/dev/usb/if_urtwn_data.h deleted
src/sys/dev/usb/if_urtwnreg.h@1.12 / diff / nxr@1.12
src/sys/dev/usb/if_urtwnvar.h@1.11 / diff / nxr@1.11
- Unify the "rtwn" and "urtwn" register definitions and initialization
tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.
tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.
MAIN commitmail json YAML
src/sys/arch/evbarm/conf/ARMADILLO210@1.41
/
diff
/
nxr@1.41
src/sys/arch/evbarm/conf/ARMADILLO9@1.58 / diff / nxr@1.58
src/sys/arch/evbarm/conf/BEAGLEBONE@1.44 / diff / nxr@1.44
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.38 / diff / nxr@1.38
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.59 / diff / nxr@1.59
src/sys/arch/evbmips/conf/OMSAL400@1.8 / diff / nxr@1.8
src/sys/arch/evbarm/conf/ARMADILLO9@1.58 / diff / nxr@1.58
src/sys/arch/evbarm/conf/BEAGLEBONE@1.44 / diff / nxr@1.44
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.38 / diff / nxr@1.38
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.59 / diff / nxr@1.59
src/sys/arch/evbmips/conf/OMSAL400@1.8 / diff / nxr@1.8
Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.
MAIN commitmail json YAML
src/sys/dev/i2c/at24cxx.c@1.30
/
diff
/
nxr@1.30
src/sys/dev/i2c/files.i2c@1.93 / diff / nxr@1.93
src/sys/dev/i2c/i2c.c@1.66 / diff / nxr@1.66
src/sys/dev/i2c/i2cvar.h@1.17 / diff / nxr@1.17
src/sys/dev/i2c/files.i2c@1.93 / diff / nxr@1.93
src/sys/dev/i2c/i2c.c@1.66 / diff / nxr@1.66
src/sys/dev/i2c/i2cvar.h@1.17 / diff / nxr@1.17
Remove the i2c "size" locator and corresponding property / attach arg.
It was a hack meant only for EEPROMs, which have another way to specify
size in the config directive ("flag" paramter), as well as a better way
to detect size based on "compatible" string.
It was a hack meant only for EEPROMs, which have another way to specify
size in the config directive ("flag" paramter), as well as a better way
to detect size based on "compatible" string.
MAIN commitmail json YAML
In of_enter_i2c_devs(), we no longer need to set a "size" property
for a couple of models of Atmel EEPROMs because the driver can figure
this out on its own now (based on the same "compatible" criteria that
we're using).
for a couple of models of Atmel EEPROMs because the driver can figure
this out on its own now (based on the same "compatible" criteria that
we're using).
MAIN commitmail json YAML
Encode the size information in the compat data.
MAIN commitmail json YAML
src/sys/arch/macppc/dev/deq.c@1.16
/
diff
/
nxr@1.16
src/sys/arch/macppc/dev/smusat.c@1.6 / diff / nxr@1.6
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.9 / diff / nxr@1.9
src/sys/dev/i2c/adadc.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/adm1021.c@1.19 / diff / nxr@1.19
src/sys/dev/i2c/adm1026.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/as3722.c@1.15 / diff / nxr@1.15
src/sys/dev/i2c/at24cxx.c@1.28 / diff / nxr@1.28
src/sys/dev/i2c/axp20x.c@1.13 / diff / nxr@1.13
src/sys/dev/i2c/axp22x.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/axppmic.c@1.14 / diff / nxr@1.14
src/sys/dev/i2c/dbcool.c@1.52 / diff / nxr@1.52
src/sys/dev/i2c/ds1307.c@1.29 / diff / nxr@1.29
src/sys/dev/i2c/dstemp.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/fcu.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/ihidev.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/lm75.c@1.33 / diff / nxr@1.33
src/sys/dev/i2c/lm87.c@1.10 / diff / nxr@1.10
src/sys/dev/i2c/max77620.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/pcf8563.c@1.11 / diff / nxr@1.11
:
(more 7 files)
src/sys/arch/macppc/dev/smusat.c@1.6 / diff / nxr@1.6
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.9 / diff / nxr@1.9
src/sys/dev/i2c/adadc.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/adm1021.c@1.19 / diff / nxr@1.19
src/sys/dev/i2c/adm1026.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/as3722.c@1.15 / diff / nxr@1.15
src/sys/dev/i2c/at24cxx.c@1.28 / diff / nxr@1.28
src/sys/dev/i2c/axp20x.c@1.13 / diff / nxr@1.13
src/sys/dev/i2c/axp22x.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/axppmic.c@1.14 / diff / nxr@1.14
src/sys/dev/i2c/dbcool.c@1.52 / diff / nxr@1.52
src/sys/dev/i2c/ds1307.c@1.29 / diff / nxr@1.29
src/sys/dev/i2c/dstemp.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/fcu.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/ihidev.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/lm75.c@1.33 / diff / nxr@1.33
src/sys/dev/i2c/lm87.c@1.10 / diff / nxr@1.10
src/sys/dev/i2c/max77620.c@1.6 / diff / nxr@1.6
src/sys/dev/i2c/pcf8563.c@1.11 / diff / nxr@1.11
:
(more 7 files)
In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication). So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication). So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.
MAIN commitmail json YAML
src/sys/dev/i2c/axppmic.c@1.13
/
diff
/
nxr@1.13
src/sys/dev/i2c/ds1307.c@1.28 / diff / nxr@1.28
src/sys/dev/i2c/i2c.c@1.65 / diff / nxr@1.65
src/sys/dev/i2c/i2cvar.h@1.16 / diff / nxr@1.16
src/sys/kern/subr_autoconf.c@1.261 / diff / nxr@1.261
src/sys/sys/device.h@1.154 / diff / nxr@1.154
src/sys/dev/i2c/ds1307.c@1.28 / diff / nxr@1.28
src/sys/dev/i2c/i2c.c@1.65 / diff / nxr@1.65
src/sys/dev/i2c/i2cvar.h@1.16 / diff / nxr@1.16
src/sys/kern/subr_autoconf.c@1.261 / diff / nxr@1.261
src/sys/sys/device.h@1.154 / diff / nxr@1.154
Change device_compatible_match() and iic_compatible_match() to return
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.
MAIN commitmail json YAML
Revert previous.
MAIN commitmail json YAML
In fdtbus_print(), aprint_normal the path to the device (rather than
aprint_debug). This info is every bit as useful as, say, PCI device
locations.
aprint_debug). This info is every bit as useful as, say, PCI device
locations.
MAIN commitmail json YAML
Sigh, fix another stupid mistake in previous that squeaked by because,
again, I booted the wrong test kernel.
again, I booted the wrong test kernel.
MAIN commitmail json YAML
Use the device_compatible_entry mechanism rather than of_compat_data;
all of the OF / FDT data we need is already in the i2c_attach_args.
all of the OF / FDT data we need is already in the i2c_attach_args.
MAIN commitmail json YAML
src/sys/arch/macppc/dev/deq.c@1.15
/
diff
/
nxr@1.15
src/sys/arch/macppc/dev/smusat.c@1.5 / diff / nxr@1.5
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.8 / diff / nxr@1.8
src/sys/dev/i2c/adadc.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/adm1021.c@1.18 / diff / nxr@1.18
src/sys/dev/i2c/adm1026.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/as3722.c@1.14 / diff / nxr@1.14
src/sys/dev/i2c/at24cxx.c@1.27 / diff / nxr@1.27
src/sys/dev/i2c/axp20x.c@1.12 / diff / nxr@1.12
src/sys/dev/i2c/axp22x.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/dbcool.c@1.50 / diff / nxr@1.50
src/sys/dev/i2c/ds1307.c@1.27 / diff / nxr@1.27
src/sys/dev/i2c/dstemp.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/fcu.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/i2c.c@1.63 / diff / nxr@1.63
src/sys/dev/i2c/i2cvar.h@1.15 / diff / nxr@1.15
src/sys/dev/i2c/ihidev.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/lm75.c@1.32 / diff / nxr@1.32
src/sys/dev/i2c/lm87.c@1.9 / diff / nxr@1.9
src/sys/dev/i2c/max77620.c@1.5 / diff / nxr@1.5
:
(more 6 files)
src/sys/arch/macppc/dev/smusat.c@1.5 / diff / nxr@1.5
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.8 / diff / nxr@1.8
src/sys/dev/i2c/adadc.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/adm1021.c@1.18 / diff / nxr@1.18
src/sys/dev/i2c/adm1026.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/as3722.c@1.14 / diff / nxr@1.14
src/sys/dev/i2c/at24cxx.c@1.27 / diff / nxr@1.27
src/sys/dev/i2c/axp20x.c@1.12 / diff / nxr@1.12
src/sys/dev/i2c/axp22x.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/dbcool.c@1.50 / diff / nxr@1.50
src/sys/dev/i2c/ds1307.c@1.27 / diff / nxr@1.27
src/sys/dev/i2c/dstemp.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/fcu.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/i2c.c@1.63 / diff / nxr@1.63
src/sys/dev/i2c/i2cvar.h@1.15 / diff / nxr@1.15
src/sys/dev/i2c/ihidev.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/lm75.c@1.32 / diff / nxr@1.32
src/sys/dev/i2c/lm87.c@1.9 / diff / nxr@1.9
src/sys/dev/i2c/max77620.c@1.5 / diff / nxr@1.5
:
(more 6 files)
- Rename iic_compat_match() to iic_compatible_match() and change it
to use the new device_compatible_match() routine. A pointer to
the matching device_compatible_entry is returned if a match is
found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
simplify model selection.
(I'm coming for you next, of_compat_data...)
to use the new device_compatible_match() routine. A pointer to
the matching device_compatible_entry is returned if a match is
found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
simplify model selection.
(I'm coming for you next, of_compat_data...)
MAIN commitmail json YAML
Fix a silly mistake in device_compatible_entry_matches() that I made
while re-factoring this from a prior version.
(I booted the wrong kernel when testing, oops.)
while re-factoring this from a prior version.
(I booted the wrong kernel when testing, oops.)
MAIN commitmail json YAML
Add device_compatible_match(), a generalized routine for weighted
matching of device_compatible_entry data to a device's "compatible"
strings.
matching of device_compatible_entry data to a device's "compatible"
strings.
MAIN commitmail json YAML
Add slightly-more generalized version of the "of_compat_data" structure
called "device_compatible_entry". It performs a similar function, but
instead of one "compatible" string per entry, it takes an array of
"comaptible" strings per entry. Also included are macros for initializing
an array of these entries and accessing data embedded in them.
called "device_compatible_entry". It performs a similar function, but
instead of one "compatible" string per entry, it takes an array of
"comaptible" strings per entry. Also included are macros for initializing
an array of these entries and accessing data embedded in them.
MAIN commitmail json YAML
Fix compilation error pointed out by nishimura@.
MAIN commitmail json YAML
Oops, another one.
MAIN commitmail json YAML
Remove now-unused variable.
MAIN commitmail json YAML
More cleanup to i2c autoconfiguration:
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
In addition to the above:
- Add support for direct-config matching this driver based on
"compatible" properties.
- Address-only matching is now done based on the specific addresses
the requested model supports.
- "compatible" property can specify to the driver which model is to
be used, so that using config "flags" directives aren't required
in the direct-config case.
XXX More changes coming that require re-factoring some other code.
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
In addition to the above:
- Add support for direct-config matching this driver based on
"compatible" properties.
- Address-only matching is now done based on the specific addresses
the requested model supports.
- "compatible" property can specify to the driver which model is to
be used, so that using config "flags" directives aren't required
in the direct-config case.
XXX More changes coming that require re-factoring some other code.
MAIN commitmail json YAML
More cleanup to i2c autoconfiguration:
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
XXX This driver is an odd-ball with respect to the hardware device.
See comments in the match routine. Unclear how best to handle it.
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
XXX This driver is an odd-ball with respect to the hardware device.
See comments in the match routine. Unclear how best to handle it.
MAIN commitmail json YAML
src/sys/arch/evbmips/loongson/dev/stvii.c@1.6
/
diff
/
nxr@1.6
src/sys/arch/hpcarm/dev/nbppcon.c@1.3 / diff / nxr@1.3
src/sys/arch/macppc/dev/deq.c@1.14 / diff / nxr@1.14
src/sys/arch/macppc/dev/smusat.c@1.4 / diff / nxr@1.4
src/sys/arch/macppc/dev/videopll.c@1.3 / diff / nxr@1.3
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.7 / diff / nxr@1.7
src/sys/arch/sparc64/dev/tda.c@1.12 / diff / nxr@1.12
src/sys/arch/zaurus/dev/ioexp.c@1.2 / diff / nxr@1.2
src/sys/arch/zaurus/dev/wm8731_zaudio.c@1.2 / diff / nxr@1.2
src/sys/arch/zaurus/dev/wm8750_zaudio.c@1.2 / diff / nxr@1.2
src/sys/dev/i2c/ac100.c@1.2 / diff / nxr@1.2
src/sys/dev/i2c/act8846.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/adadc.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/adm1021.c@1.17 / diff / nxr@1.17
src/sys/dev/i2c/adm1026.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/am2315.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/as3722.c@1.13 / diff / nxr@1.13
src/sys/dev/i2c/at24cxx.c@1.26 / diff / nxr@1.26
src/sys/dev/i2c/axp20x.c@1.11 / diff / nxr@1.11
src/sys/dev/i2c/axp22x.c@1.4 / diff / nxr@1.4
:
(more 40 files)
src/sys/arch/hpcarm/dev/nbppcon.c@1.3 / diff / nxr@1.3
src/sys/arch/macppc/dev/deq.c@1.14 / diff / nxr@1.14
src/sys/arch/macppc/dev/smusat.c@1.4 / diff / nxr@1.4
src/sys/arch/macppc/dev/videopll.c@1.3 / diff / nxr@1.3
src/sys/arch/sparc64/dev/pcf8591_envctrl.c@1.7 / diff / nxr@1.7
src/sys/arch/sparc64/dev/tda.c@1.12 / diff / nxr@1.12
src/sys/arch/zaurus/dev/ioexp.c@1.2 / diff / nxr@1.2
src/sys/arch/zaurus/dev/wm8731_zaudio.c@1.2 / diff / nxr@1.2
src/sys/arch/zaurus/dev/wm8750_zaudio.c@1.2 / diff / nxr@1.2
src/sys/dev/i2c/ac100.c@1.2 / diff / nxr@1.2
src/sys/dev/i2c/act8846.c@1.5 / diff / nxr@1.5
src/sys/dev/i2c/adadc.c@1.4 / diff / nxr@1.4
src/sys/dev/i2c/adm1021.c@1.17 / diff / nxr@1.17
src/sys/dev/i2c/adm1026.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/am2315.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/as3722.c@1.13 / diff / nxr@1.13
src/sys/dev/i2c/at24cxx.c@1.26 / diff / nxr@1.26
src/sys/dev/i2c/axp20x.c@1.11 / diff / nxr@1.11
src/sys/dev/i2c/axp22x.c@1.4 / diff / nxr@1.4
:
(more 40 files)
More cleanup to i2c autoconfiguration:
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
MAIN commitmail json YAML
When initiating a transfer, if a device isn't present, we won't
get an ACK after sending the address. Check for this alternate
state and suppress the error message when it occurs.
Fixes PR kern/53356.
get an ACK after sending the address. Check for this alternate
state and suppress the error message when it occurs.
Fixes PR kern/53356.
MAIN commitmail json YAML
src/sys/arch/acorn32/conf/EB7500ATX@1.66
/
diff
/
nxr@1.66
src/sys/arch/acorn32/conf/GENERIC@1.126 / diff / nxr@1.126
src/sys/arch/acorn32/conf/INSTALL@1.80 / diff / nxr@1.80
src/sys/arch/acorn32/conf/LOWMEM_WSCONS@1.74 / diff / nxr@1.74
src/sys/arch/acorn32/conf/NC@1.73 / diff / nxr@1.73
src/sys/arch/alpha/conf/GENERIC@1.383 / diff / nxr@1.383
src/sys/arch/amd64/conf/ALL@1.89 / diff / nxr@1.89
src/sys/arch/amd64/conf/GENERIC@1.493 / diff / nxr@1.493
src/sys/arch/amd64/conf/XEN3_DOM0@1.151 / diff / nxr@1.151
src/sys/arch/evbarm/conf/ARMADAXP@1.23 / diff / nxr@1.23
src/sys/arch/evbarm/conf/ARMADILLO210@1.40 / diff / nxr@1.40
src/sys/arch/evbarm/conf/ARMADILLO9@1.57 / diff / nxr@1.57
src/sys/arch/evbarm/conf/CUBOX@1.7 / diff / nxr@1.7
src/sys/arch/evbarm/conf/DNS323@1.11 / diff / nxr@1.11
src/sys/arch/evbarm/conf/GUMSTIX@1.96 / diff / nxr@1.96
src/sys/arch/evbarm/conf/KUROBOX_PRO@1.10 / diff / nxr@1.10
src/sys/arch/evbarm/conf/KURONAS_X4@1.3 / diff / nxr@1.3
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.36 / diff / nxr@1.36
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.57 / diff / nxr@1.57
src/sys/arch/evbarm/conf/MV2120@1.37 / diff / nxr@1.37
:
(more 12 files)
src/sys/arch/acorn32/conf/GENERIC@1.126 / diff / nxr@1.126
src/sys/arch/acorn32/conf/INSTALL@1.80 / diff / nxr@1.80
src/sys/arch/acorn32/conf/LOWMEM_WSCONS@1.74 / diff / nxr@1.74
src/sys/arch/acorn32/conf/NC@1.73 / diff / nxr@1.73
src/sys/arch/alpha/conf/GENERIC@1.383 / diff / nxr@1.383
src/sys/arch/amd64/conf/ALL@1.89 / diff / nxr@1.89
src/sys/arch/amd64/conf/GENERIC@1.493 / diff / nxr@1.493
src/sys/arch/amd64/conf/XEN3_DOM0@1.151 / diff / nxr@1.151
src/sys/arch/evbarm/conf/ARMADAXP@1.23 / diff / nxr@1.23
src/sys/arch/evbarm/conf/ARMADILLO210@1.40 / diff / nxr@1.40
src/sys/arch/evbarm/conf/ARMADILLO9@1.57 / diff / nxr@1.57
src/sys/arch/evbarm/conf/CUBOX@1.7 / diff / nxr@1.7
src/sys/arch/evbarm/conf/DNS323@1.11 / diff / nxr@1.11
src/sys/arch/evbarm/conf/GUMSTIX@1.96 / diff / nxr@1.96
src/sys/arch/evbarm/conf/KUROBOX_PRO@1.10 / diff / nxr@1.10
src/sys/arch/evbarm/conf/KURONAS_X4@1.3 / diff / nxr@1.3
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.36 / diff / nxr@1.36
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.57 / diff / nxr@1.57
src/sys/arch/evbarm/conf/MV2120@1.37 / diff / nxr@1.37
:
(more 12 files)
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
has been enhanced to make this unnecessary.
MAIN commitmail json YAML
In device_register(), if the device is an "iic" child of "imcsmb",
attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits
the allowed devices to "spdmem" and "sdtemp". Also set the
I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE,
since that controller can't issue any of the "quick" commands.
XXX It would be nice to be able to do this in the imcsmb driver
itself, but the way autoconfiguration works makes that infeasible.
attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits
the allowed devices to "spdmem" and "sdtemp". Also set the
I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE,
since that controller can't issue any of the "quick" commands.
XXX It would be nice to be able to do this in the imcsmb driver
itself, but the way autoconfiguration works makes that infeasible.
MAIN commitmail json YAML
Changes / enhancements to i2c indirect device auto-configuration:
— iic_search() chooses a “probe strategy” based on the
"i2c-indirect-probe-strategy” property on the “iic” instance.
Valid values are "smbus-quick-write”, "smbus-receive-byte”, and
“none”. If no value is specified, the default is "smbus-quick-write”.
— If the "i2c-indirect-device-whitelist” exists on the “iic” instance,
iic_search() will first check the driver name in the cfdata_t against
this list, and only allow the match/probe to move forward if the
cfdata_t driver name is in the list. This is primarily to accommodate
the Intel integrated memory controller neutered-i2c-thing.
— If the cfdata_t specifies a wildcard address, each address of the i2c
bus will be consulted. If the cfdata_t contains a nailed-down address,
then we limit the bus scan to that specific address.
— We explicitly skip reserved / special i2c addresses, such as the
General-Call address, etc.
— We introduce the notion of a “match quality” for i2c drivers. From
lowest-quality to highest-quality: matched by plausible address only,
matched by plausible address and poking at the bus to see if the
device looks reasonable, matched by direct-config “compatible” string,
matched by direct-config “driver name” string.
— If the “match quality” is merely “plausible address only”, then
iic_search() will use the probe strategy selected above to see if
a device responds to that address.
— iic_search() chooses a “probe strategy” based on the
"i2c-indirect-probe-strategy” property on the “iic” instance.
Valid values are "smbus-quick-write”, "smbus-receive-byte”, and
“none”. If no value is specified, the default is "smbus-quick-write”.
— If the "i2c-indirect-device-whitelist” exists on the “iic” instance,
iic_search() will first check the driver name in the cfdata_t against
this list, and only allow the match/probe to move forward if the
cfdata_t driver name is in the list. This is primarily to accommodate
the Intel integrated memory controller neutered-i2c-thing.
— If the cfdata_t specifies a wildcard address, each address of the i2c
bus will be consulted. If the cfdata_t contains a nailed-down address,
then we limit the bus scan to that specific address.
— We explicitly skip reserved / special i2c addresses, such as the
General-Call address, etc.
— We introduce the notion of a “match quality” for i2c drivers. From
lowest-quality to highest-quality: matched by plausible address only,
matched by plausible address and poking at the bus to see if the
device looks reasonable, matched by direct-config “compatible” string,
matched by direct-config “driver name” string.
— If the “match quality” is merely “plausible address only”, then
iic_search() will use the probe strategy selected above to see if
a device responds to that address.
MAIN commitmail json YAML
Back out unintended commits.
MAIN commitmail json YAML
src/sys/dev/i2c/i2c.c@1.59
/
diff
/
nxr@1.59
src/sys/dev/i2c/i2cvar.h@1.11 / diff / nxr@1.11
src/sys/dev/i2c/tsl256x.c@1.3 / diff / nxr@1.3
src/sys/dev/i2c/i2cvar.h@1.11 / diff / nxr@1.11
src/sys/dev/i2c/tsl256x.c@1.3 / diff / nxr@1.3
Adjust come defaults:
- Initial gain -> 16x
- auto_gain -> true
- Initial gain -> 16x
- auto_gain -> true
MAIN commitmail json YAML
A minimal change to prevent the Raspberry Pi i2c driver from
looping forever if the command buffer and data buffer are both
NULL. XXX This driver needs an overhaul.
Also, preemptively return an error if we get a 10-bit address,
because we don't yet handle them correctly.
looping forever if the command buffer and data buffer are both
NULL. XXX This driver needs an overhaul.
Also, preemptively return an error if we get a 10-bit address,
because we don't yet handle them correctly.
MAIN commitmail json YAML
Fix a paste-o that prevented the 2-pin interrupt messages from being
printed correctly (but no other harmful effects). Pointed out by
Brad Spencer.
printed correctly (but no other harmful effects). Pointed out by
Brad Spencer.
MAIN commitmail json YAML
Update the compat strings to match what Linux uses, per jmcneill@.
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1590
/
diff
/
nxr@1.1590
src/share/man/man4/Makefile@1.655 / diff / nxr@1.655
src/share/man/man4/tsllux.4@1.1 / diff / nxr@1.1
src/sys/dev/i2c/files.i2c@1.92 / diff / nxr@1.92
src/sys/dev/i2c/tsl256x.c@1.1 / diff / nxr@1.1
src/sys/dev/i2c/tsl256xreg.h@1.1 / diff / nxr@1.1
src/share/man/man4/Makefile@1.655 / diff / nxr@1.655
src/share/man/man4/tsllux.4@1.1 / diff / nxr@1.1
src/sys/dev/i2c/files.i2c@1.92 / diff / nxr@1.92
src/sys/dev/i2c/tsl256x.c@1.1 / diff / nxr@1.1
src/sys/dev/i2c/tsl256xreg.h@1.1 / diff / nxr@1.1
Add a driver for the Taos TSL256x light sensors.
MAIN commitmail json YAML
src/sys/dev/sysmon/sysmon_envsys_tables.c@1.13
/
diff
/
nxr@1.13
src/sys/sys/envsys.h@1.37 / diff / nxr@1.37
src/usr.sbin/envstat/envstat.c@1.96 / diff / nxr@1.96
src/sys/sys/envsys.h@1.37 / diff / nxr@1.37
src/usr.sbin/envstat/envstat.c@1.96 / diff / nxr@1.96
Add support for light sensors that report Illuminance in lux.
MAIN commitmail json YAML
Avoid dereferencing NULL if we attempt to look up an known unit type.
MAIN commitmail json YAML
src/share/man/man4/gpiopps.4@1.1
/
diff
/
nxr@1.1
src/sys/modules/gpiopps/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/gpiopps/gpiopps.ioconf@1.1 / diff / nxr@1.1
src/sys/modules/gpiopps/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/gpiopps/gpiopps.ioconf@1.1 / diff / nxr@1.1
Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.
PR kern/51676
(Oops, forgot to "cvs add" these items previously.)
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.
PR kern/51676
(Oops, forgot to "cvs add" these items previously.)
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1588
/
diff
/
nxr@1.1588
src/distrib/sets/lists/modules/mi@1.116 / diff / nxr@1.116
src/etc/MAKEDEV.tmpl@1.190 / diff / nxr@1.190
src/share/man/man4/Makefile@1.654 / diff / nxr@1.654
src/share/man/man8/MAKEDEV.8@1.48 / diff / nxr@1.48
src/sys/conf/majors@1.79 / diff / nxr@1.79
src/sys/dev/gpio/files.gpio@1.16 / diff / nxr@1.16
src/sys/dev/gpio/gpiopps.c@1.1 / diff / nxr@1.1
src/sys/modules/Makefile@1.204 / diff / nxr@1.204
src/distrib/sets/lists/modules/mi@1.116 / diff / nxr@1.116
src/etc/MAKEDEV.tmpl@1.190 / diff / nxr@1.190
src/share/man/man4/Makefile@1.654 / diff / nxr@1.654
src/share/man/man8/MAKEDEV.8@1.48 / diff / nxr@1.48
src/sys/conf/majors@1.79 / diff / nxr@1.79
src/sys/dev/gpio/files.gpio@1.16 / diff / nxr@1.16
src/sys/dev/gpio/gpiopps.c@1.1 / diff / nxr@1.1
src/sys/modules/Makefile@1.204 / diff / nxr@1.204
Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.
PR kern/51676
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.
PR kern/51676
MAIN commitmail json YAML
Note GPIO interrupt support overhaul.
MAIN commitmail json YAML
Implement PMAP_DIRECT / pmap_direct_process() in support of experimental
UBC optimizations.
UBC optimizations.
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1587
/
diff
/
nxr@1.1587
src/distrib/sets/lists/modules/mi@1.115 / diff / nxr@1.115
src/share/man/man4/Makefile@1.653 / diff / nxr@1.653
src/share/man/man4/gpioirq.4@1.1 / diff / nxr@1.1
src/sys/dev/gpio/files.gpio@1.15 / diff / nxr@1.15
src/sys/dev/gpio/gpioirq.c@1.1 / diff / nxr@1.1
src/sys/modules/Makefile@1.203 / diff / nxr@1.203
src/sys/modules/gpioirq/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/gpioirq/gpioirq.ioconf@1.1 / diff / nxr@1.1
src/distrib/sets/lists/modules/mi@1.115 / diff / nxr@1.115
src/share/man/man4/Makefile@1.653 / diff / nxr@1.653
src/share/man/man4/gpioirq.4@1.1 / diff / nxr@1.1
src/sys/dev/gpio/files.gpio@1.15 / diff / nxr@1.15
src/sys/dev/gpio/gpioirq.c@1.1 / diff / nxr@1.1
src/sys/modules/Makefile@1.203 / diff / nxr@1.203
src/sys/modules/gpioirq/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/gpioirq/gpioirq.ioconf@1.1 / diff / nxr@1.1
Add an example "gpioirq" driver that demonstrates interrupts on GPIO
pins. Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.
Based on initial work by Brad Spencer.
PR kern/51676
pins. Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.
Based on initial work by Brad Spencer.
PR kern/51676
MAIN commitmail json YAML
Add support for interrupts on GPIO pins. We support both FDT-driven
interrupt registration as well as the new GPIO interrupt interface.
Based on initial work by Brad Spencer.
PR kern/51676
interrupt registration as well as the new GPIO interrupt interface.
Based on initial work by Brad Spencer.
PR kern/51676
MAIN commitmail json YAML
src/share/man/man4/gpio.4@1.33
/
diff
/
nxr@1.33
src/sys/dev/gpio/gpio.c@1.61 / diff / nxr@1.61
src/sys/dev/gpio/gpiovar.h@1.18 / diff / nxr@1.18
src/sys/sys/gpio.h@1.16 / diff / nxr@1.16
src/usr.sbin/gpioctl/gpioctl.c@1.24 / diff / nxr@1.24
src/sys/dev/gpio/gpio.c@1.61 / diff / nxr@1.61
src/sys/dev/gpio/gpiovar.h@1.18 / diff / nxr@1.18
src/sys/sys/gpio.h@1.16 / diff / nxr@1.16
src/usr.sbin/gpioctl/gpioctl.c@1.24 / diff / nxr@1.24
Overhaul of GPIO interrupt support (that wasn't even used by anything).
- Remove the old, not-expressive-enough interrupt flags, and replace them
with a new set of interrupt-specific flags that can express a wide
variety of interrupt configurations (pos, neg, and double-edge, high
and low level).
- Remove old, unused gpio_pin_ctl_intr() and gpio_pin_irqen(), and
replace them with gpio_intr_establish(), gpio_intr_disestablish(),
and gpio_intr_str(). Corresponding fields in the gpio_chipset_tag
are also added for back-end controllers, which now handle the actual
dispatch of GPIO interrupts in order to properly support level-triggered
interrupts as well as interoperate properly with FDT-registered
interrupts.
Piggy-back on the 8.99.18 version bump.
Inspired by initial work from Brad Spencer.
PR kern/51676
- Remove the old, not-expressive-enough interrupt flags, and replace them
with a new set of interrupt-specific flags that can express a wide
variety of interrupt configurations (pos, neg, and double-edge, high
and low level).
- Remove old, unused gpio_pin_ctl_intr() and gpio_pin_irqen(), and
replace them with gpio_intr_establish(), gpio_intr_disestablish(),
and gpio_intr_str(). Corresponding fields in the gpio_chipset_tag
are also added for back-end controllers, which now handle the actual
dispatch of GPIO interrupts in order to properly support level-triggered
interrupts as well as interoperate properly with FDT-registered
interrupts.
Piggy-back on the 8.99.18 version bump.
Inspired by initial work from Brad Spencer.
PR kern/51676
MAIN commitmail json YAML
MAIN commitmail json YAML
Fix a problem reported by jmcneill@ where by a system with multuple i2c
busses would end up with "ghost" device instances on the second bus. This
issue was previously masked on ARM systems by the empty-child-devices
array issue fixed recently (that effectively blocked all indirect config
of i2c busses on those systems).
To fix this problem, we require that indirectly-configured devices have
to fully specify their parent spec and address, e.g.:
foo* at iic0 addr 0x55
NOT
foo* at iic? addr ?
or even:
foo* at iic? addr 0x55
This is needed because of how indirect configuration works... attach
directives in the kernel config file are enumerated, calling the bus's
search routine, which in the case of i2c, enumerates all i2c addresses
and calls the match routine for each address. Because we can't always
reliably probe for i2c devices, we ended up with erroneous matches.
Direct configuration of i2c is still allowed to use wildcarded parent specs
and locators.
busses would end up with "ghost" device instances on the second bus. This
issue was previously masked on ARM systems by the empty-child-devices
array issue fixed recently (that effectively blocked all indirect config
of i2c busses on those systems).
To fix this problem, we require that indirectly-configured devices have
to fully specify their parent spec and address, e.g.:
foo* at iic0 addr 0x55
NOT
foo* at iic? addr ?
or even:
foo* at iic? addr 0x55
This is needed because of how indirect configuration works... attach
directives in the kernel config file are enumerated, calling the bus's
search routine, which in the case of i2c, enumerates all i2c addresses
and calls the match routine for each address. Because we can't always
reliably probe for i2c devices, we ended up with erroneous matches.
Direct configuration of i2c is still allowed to use wildcarded parent specs
and locators.
MAIN commitmail json YAML
src/sys/arch/amd64/conf/ALL@1.87
/
diff
/
nxr@1.87
src/sys/arch/amd64/conf/GENERIC@1.491 / diff / nxr@1.491
src/sys/arch/amd64/conf/XEN3_DOM0@1.150 / diff / nxr@1.150
src/sys/arch/i386/conf/ALL@1.439 / diff / nxr@1.439
src/sys/arch/i386/conf/GENERIC@1.1178 / diff / nxr@1.1178
src/sys/arch/i386/conf/XEN3_DOM0@1.128 / diff / nxr@1.128
src/sys/arch/amd64/conf/GENERIC@1.491 / diff / nxr@1.491
src/sys/arch/amd64/conf/XEN3_DOM0@1.150 / diff / nxr@1.150
src/sys/arch/i386/conf/ALL@1.439 / diff / nxr@1.439
src/sys/arch/i386/conf/GENERIC@1.1178 / diff / nxr@1.1178
src/sys/arch/i386/conf/XEN3_DOM0@1.128 / diff / nxr@1.128
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
N.B. The x86 platforms are sort of a mess, here... legacy indirect
config and ACPI direct config sort of smashed together with the
same config file directives.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
N.B. The x86 platforms are sort of a mess, here... legacy indirect
config and ACPI direct config sort of smashed together with the
same config file directives.
MAIN commitmail json YAML
src/sys/arch/evbarm/conf/ARMADAXP@1.22
/
diff
/
nxr@1.22
src/sys/arch/evbarm/conf/ARMADILLO210@1.39 / diff / nxr@1.39
src/sys/arch/evbarm/conf/ARMADILLO9@1.56 / diff / nxr@1.56
src/sys/arch/evbarm/conf/CUBOX@1.6 / diff / nxr@1.6
src/sys/arch/evbarm/conf/DNS323@1.10 / diff / nxr@1.10
src/sys/arch/evbarm/conf/GUMSTIX@1.95 / diff / nxr@1.95
src/sys/arch/evbarm/conf/KUROBOX_PRO@1.9 / diff / nxr@1.9
src/sys/arch/evbarm/conf/KURONAS_X4@1.2 / diff / nxr@1.2
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.35 / diff / nxr@1.35
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.56 / diff / nxr@1.56
src/sys/arch/evbarm/conf/MV2120@1.36 / diff / nxr@1.36
src/sys/arch/evbarm/conf/TEAMASA_NPWR@1.93 / diff / nxr@1.93
src/sys/arch/evbarm/conf/VTC100@1.16 / diff / nxr@1.16
src/sys/arch/evbarm/conf/ARMADILLO210@1.39 / diff / nxr@1.39
src/sys/arch/evbarm/conf/ARMADILLO9@1.56 / diff / nxr@1.56
src/sys/arch/evbarm/conf/CUBOX@1.6 / diff / nxr@1.6
src/sys/arch/evbarm/conf/DNS323@1.10 / diff / nxr@1.10
src/sys/arch/evbarm/conf/GUMSTIX@1.95 / diff / nxr@1.95
src/sys/arch/evbarm/conf/KUROBOX_PRO@1.9 / diff / nxr@1.9
src/sys/arch/evbarm/conf/KURONAS_X4@1.2 / diff / nxr@1.2
src/sys/arch/evbarm/conf/MMNET_GENERIC@1.35 / diff / nxr@1.35
src/sys/arch/evbarm/conf/MPCSA_GENERIC@1.56 / diff / nxr@1.56
src/sys/arch/evbarm/conf/MV2120@1.36 / diff / nxr@1.36
src/sys/arch/evbarm/conf/TEAMASA_NPWR@1.93 / diff / nxr@1.93
src/sys/arch/evbarm/conf/VTC100@1.16 / diff / nxr@1.16
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
Revert previous; we actually use direct-configuration of I2C in this
kernel config.
kernel config.
MAIN commitmail json YAML
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
src/sys/arch/zaurus/conf/GENERIC@1.76
/
diff
/
nxr@1.76
src/sys/arch/zaurus/conf/INSTALL@1.36 / diff / nxr@1.36
src/sys/arch/zaurus/conf/INSTALL_C700@1.3 / diff / nxr@1.3
src/sys/arch/zaurus/conf/INSTALL@1.36 / diff / nxr@1.36
src/sys/arch/zaurus/conf/INSTALL_C700@1.3 / diff / nxr@1.3
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
Actully, we can STAR the iic instances (the configuration code can
handle pinned pspecs to STAR'd potential parents).
handle pinned pspecs to STAR'd potential parents).
MAIN commitmail json YAML
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
src/sys/arch/evbmips/conf/GDIUM@1.30
/
diff
/
nxr@1.30
src/sys/arch/evbmips/conf/LOONGSON@1.37 / diff / nxr@1.37
src/sys/arch/evbmips/conf/LOONGSON@1.37 / diff / nxr@1.37
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
src/sys/arch/acorn32/conf/EB7500ATX@1.65
/
diff
/
nxr@1.65
src/sys/arch/acorn32/conf/GENERIC@1.125 / diff / nxr@1.125
src/sys/arch/acorn32/conf/INSTALL@1.79 / diff / nxr@1.79
src/sys/arch/acorn32/conf/LOWMEM_WSCONS@1.73 / diff / nxr@1.73
src/sys/arch/acorn32/conf/NC@1.72 / diff / nxr@1.72
src/sys/arch/acorn32/conf/GENERIC@1.125 / diff / nxr@1.125
src/sys/arch/acorn32/conf/INSTALL@1.79 / diff / nxr@1.79
src/sys/arch/acorn32/conf/LOWMEM_WSCONS@1.73 / diff / nxr@1.73
src/sys/arch/acorn32/conf/NC@1.72 / diff / nxr@1.72
Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.
MAIN commitmail json YAML
src/sys/arch/arm/broadcom/bcm2835_bsc.c@1.11
/
diff
/
nxr@1.11
src/sys/arch/arm/nvidia/tegra_i2c.c@1.17 / diff / nxr@1.17
src/sys/arch/arm/samsung/exynos_i2c.c@1.14 / diff / nxr@1.14
src/sys/arch/arm/sunxi/sunxi_rsb.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/sunxi/sunxi_twi.c@1.9 / diff / nxr@1.9
src/sys/arch/arm/nvidia/tegra_i2c.c@1.17 / diff / nxr@1.17
src/sys/arch/arm/samsung/exynos_i2c.c@1.14 / diff / nxr@1.14
src/sys/arch/arm/sunxi/sunxi_rsb.c@1.2 / diff / nxr@1.2
src/sys/arch/arm/sunxi/sunxi_twi.c@1.9 / diff / nxr@1.9
If we don't get informed (via device properties) of child I2C devices,
don't assign an empty array to iba.iba_child_devices, as it will prevent
indirect configuration of the I2C bus from occurring.
Tested on Raspberry Pi (bcm2835), identical logical fix replicated
(and compile-tested) elsewhere.
PR port-arm/53171
don't assign an empty array to iba.iba_child_devices, as it will prevent
indirect configuration of the I2C bus from occurring.
Tested on Raspberry Pi (bcm2835), identical logical fix replicated
(and compile-tested) elsewhere.
PR port-arm/53171
MAIN commitmail json YAML
The probe this driver uses is potentially destructive; at the very
least, filter on the I2C address the device is expected at before we
unleash its fury.
least, filter on the I2C address the device is expected at before we
unleash its fury.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/libelf.h@1.6
/
diff
/
nxr@1.6
src/tools/libelf/Makefile@1.3 / diff / nxr@1.3
src/tools/libelf/Makefile@1.3 / diff / nxr@1.3
Include nbtool_config.h as needed. Should fix missing defn of __unused in
some host tool environments.
some host tool environments.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/elf_begin.c@1.4
/
diff
/
nxr@1.4
src/external/bsd/libelf/dist/elf_data.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_hash.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_scn.c@1.5 / diff / nxr@1.5
src/external/bsd/libelf/dist/elf_update.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_cap.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_dyn.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_ehdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_move.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_phdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_rel.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_rela.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_shdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_sym.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_syminfo.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_symshndx.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf.c@1.6 / diff / nxr@1.6
src/external/bsd/libelf/dist/libelf_align.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_allocate.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_ar.c@1.4 / diff / nxr@1.4
:
(more 6 files)
src/external/bsd/libelf/dist/elf_data.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_hash.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_scn.c@1.5 / diff / nxr@1.5
src/external/bsd/libelf/dist/elf_update.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_cap.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_dyn.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_ehdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_move.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_phdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_rel.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_rela.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_shdr.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_sym.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_syminfo.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/gelf_symshndx.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf.c@1.6 / diff / nxr@1.6
src/external/bsd/libelf/dist/libelf_align.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_allocate.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_ar.c@1.4 / diff / nxr@1.4
:
(more 6 files)
Merge FreeBSD-8-0-RELEASE. All this does is remove the __RCSID() tags
due to the modified prepare-import.sh.
due to the modified prepare-import.sh.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/Makefile imported
src/external/bsd/libelf/dist/README imported
src/external/bsd/libelf/dist/Version.map imported
src/external/bsd/libelf/dist/_libelf.h imported
src/external/bsd/libelf/dist/elf.3 imported
src/external/bsd/libelf/dist/elf_begin.3 imported
src/external/bsd/libelf/dist/elf_cntl.3 imported
src/external/bsd/libelf/dist/elf_cntl.c imported
src/external/bsd/libelf/dist/elf_end.3 imported
src/external/bsd/libelf/dist/elf_end.c imported
src/external/bsd/libelf/dist/elf_errmsg.3 imported
src/external/bsd/libelf/dist/elf_errmsg.c imported
src/external/bsd/libelf/dist/elf_errno.c imported
src/external/bsd/libelf/dist/elf_fill.3 imported
src/external/bsd/libelf/dist/elf_fill.c imported
src/external/bsd/libelf/dist/elf_flag.c imported
src/external/bsd/libelf/dist/elf_flagdata.3 imported
src/external/bsd/libelf/dist/elf_getarhdr.3 imported
src/external/bsd/libelf/dist/elf_getarhdr.c imported
src/external/bsd/libelf/dist/elf_getarsym.3 imported
:
(more 59 files)
src/external/bsd/libelf/dist/README imported
src/external/bsd/libelf/dist/Version.map imported
src/external/bsd/libelf/dist/_libelf.h imported
src/external/bsd/libelf/dist/elf.3 imported
src/external/bsd/libelf/dist/elf_begin.3 imported
src/external/bsd/libelf/dist/elf_cntl.3 imported
src/external/bsd/libelf/dist/elf_cntl.c imported
src/external/bsd/libelf/dist/elf_end.3 imported
src/external/bsd/libelf/dist/elf_end.c imported
src/external/bsd/libelf/dist/elf_errmsg.3 imported
src/external/bsd/libelf/dist/elf_errmsg.c imported
src/external/bsd/libelf/dist/elf_errno.c imported
src/external/bsd/libelf/dist/elf_fill.3 imported
src/external/bsd/libelf/dist/elf_fill.c imported
src/external/bsd/libelf/dist/elf_flag.c imported
src/external/bsd/libelf/dist/elf_flagdata.3 imported
src/external/bsd/libelf/dist/elf_getarhdr.3 imported
src/external/bsd/libelf/dist/elf_getarhdr.c imported
src/external/bsd/libelf/dist/elf_getarsym.3 imported
:
(more 59 files)
Import libelf from FreeBSD 8.0-RELEASE. The main purpose of this is to
get a new import after prepare-import.sh was changed to not insert NetBSD
__RCSID() macros (which are problematic for host tool builds).
Status:
Vendor Tag: FreeBSD
Release Tags: FreeBSD-8-0-RELEASE
get a new import after prepare-import.sh was changed to not insert NetBSD
__RCSID() macros (which are problematic for host tool builds).
Status:
Vendor Tag: FreeBSD
Release Tags: FreeBSD-8-0-RELEASE
MAIN commitmail json YAML
We don't really need __RCSID() tags in these files, so just get rid of them.
MAIN commitmail json YAML
Note when this appeared in NetBSD.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/libelf.h@1.5
/
diff
/
nxr@1.5
src/tools/Makefile@1.130 / diff / nxr@1.130
src/tools/Makefile.disklabel@1.14 / diff / nxr@1.14
src/tools/libelf/Makefile@1.1 / diff / nxr@1.1
src/tools/libelf/libelf.inc@1.1 / diff / nxr@1.1
src/tools/Makefile@1.130 / diff / nxr@1.130
src/tools/Makefile.disklabel@1.14 / diff / nxr@1.14
src/tools/libelf/Makefile@1.1 / diff / nxr@1.1
src/tools/libelf/libelf.inc@1.1 / diff / nxr@1.1
Add support for building libelf in a host-tool environment.
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle
that problem right now.
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle
that problem right now.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/_libelf.h@1.4
/
diff
/
nxr@1.4
src/external/bsd/libelf/dist/elf_begin.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_data.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_scn.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf.c@1.5 / diff / nxr@1.5
src/external/bsd/libelf/dist/libelf_ehdr.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_phdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_xlate.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_begin.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/elf_data.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_scn.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf.c@1.5 / diff / nxr@1.5
src/external/bsd/libelf/dist/libelf_ehdr.c@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_phdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_xlate.c@1.2 / diff / nxr@1.2
- _libelf_globals::libelf_arch and _libelf_globals::libelf_class are
completely unused. Remove them.
- _libelf_globals::libelf_byteorder is really all about the byte order of
the host running libelf, so replace it with a _libelf_host_byteorder()
internal function that computes the host byte order in a very portable
way (doesn't rely on BSD-specific header files).
completely unused. Remove them.
- _libelf_globals::libelf_byteorder is really all about the byte order of
the host running libelf, so replace it with a _libelf_host_byteorder()
internal function that computes the host byte order in a very portable
way (doesn't rely on BSD-specific header files).
MAIN commitmail json YAML
src/distrib/sets/lists/base/shl.elf@1.194
/
diff
/
nxr@1.194
src/distrib/sets/lists/base/shl.mi@1.508 / diff / nxr@1.508
src/distrib/sets/lists/comp/mi@1.1350 / diff / nxr@1.1350
src/distrib/sets/lists/comp/shl.mi@1.95 / diff / nxr@1.95
src/distrib/sets/lists/base/shl.mi@1.508 / diff / nxr@1.508
src/distrib/sets/lists/comp/mi@1.1350 / diff / nxr@1.1350
src/distrib/sets/lists/comp/shl.mi@1.95 / diff / nxr@1.95
Add libelf files.
MAIN commitmail json YAML
Build libelf.
MAIN commitmail json YAML
Enable __LIBELF_HAVE_ELF_SYMINFO.
MAIN commitmail json YAML
Add defns for Elf{32,64}_Syminfo.
MAIN commitmail json YAML
Add some definitions, from FreeBSD.
MAIN commitmail json YAML
Fix a typo.
MAIN commitmail json YAML
Add some range checks to quiet warnings.
MAIN commitmail json YAML
We don't have an Elf_Note typedef, but Elf32_Nhdr and Elf64_Nhdr are
equivalent; use Elf32_Nhdr instead.
equivalent; use Elf32_Nhdr instead.
MAIN commitmail json YAML
Fix all sorts of problems with lint and compiler warnings.
MAIN commitmail json YAML
Squash a signed-vs-unsigned char * warning.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/elf_hash.c@1.2
/
diff
/
nxr@1.2
src/external/bsd/libelf/dist/libelf.h@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf.h@1.3 / diff / nxr@1.3
Change elf_hash() to take a const void *, rather than a const char *.
MAIN commitmail json YAML
Provide definitions of MALIGN() and MALIGN64() for the __lint__ case.
MAIN commitmail json YAML
ELF_ARCH, ELF_TARG_DATA, and ELF_TARG_CLASS are macros defined in a FreeBSD
header file. For NetBSD, map to equivalent defines.
header file. For NetBSD, map to equivalent defines.
MAIN commitmail json YAML
LIBELF_COPY_U32(), LIBELF_COPY_S32(): Make sure that the SRC values are
being compared as the maximum width and appropriate signed-ness.
being compared as the maximum width and appropriate signed-ness.
MAIN commitmail json YAML
- _libelf_load_scn(): If shoff is larger than SSIZE_MAX, bail out with
a HEADER error. Pass lint.
a HEADER error. Pass lint.
MAIN commitmail json YAML
<machine/elf.h> is a FreeBSD-specific header.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/libelf_convert.m4@1.5
/
diff
/
nxr@1.5
src/external/bsd/libelf/dist/libelf_msize.m4@1.4 / diff / nxr@1.4
src/external/bsd/libelf/dist/libelf_msize.m4@1.4 / diff / nxr@1.4
<libelf.h> is responsible for including <sys/elf32.h> and <sys/elf64.h> on
FreeBSD; no need to do it here.
FreeBSD; no need to do it here.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/libelf_convert.m4@1.4
/
diff
/
nxr@1.4
src/external/bsd/libelf/dist/libelf_fsize.m4@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_msize.m4@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_fsize.m4@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_msize.m4@1.3 / diff / nxr@1.3
Don't need to include <osreldate.h> here.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/elf_types.m4@1.2
/
diff
/
nxr@1.2
src/external/bsd/libelf/dist/gelf.h@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_cap.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_move.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_syminfo.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf.h@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_align.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_convert.m4@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_data.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_fsize.m4@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_msize.m4@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf.h@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_cap.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_move.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/gelf_syminfo.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf.h@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_align.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_convert.m4@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_data.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_fsize.m4@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_msize.m4@1.2 / diff / nxr@1.2
Centralize dependency on __FreeBSD_version into libelf.h, and generalize
the conditional inclusion of API/ELF features so that it works with NetBSD
as well.
the conditional inclusion of API/ELF features so that it works with NetBSD
as well.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/gelf_cap.c@1.2
/
diff
/
nxr@1.2
src/external/bsd/libelf/dist/gelf_dyn.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_ehdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_move.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_phdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_rel.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_rela.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_shdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_sym.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_syminfo.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_symshndx.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_dyn.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_ehdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_move.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_phdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_rel.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_rela.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_shdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_sym.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_syminfo.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/gelf_symshndx.c@1.2 / diff / nxr@1.2
<sys/limits.h> -> <limits.h>
MAIN commitmail json YAML
src/external/bsd/libelf/dist/elf_begin.c@1.2
/
diff
/
nxr@1.2
src/external/bsd/libelf/dist/libelf_allocate.c@1.3 / diff / nxr@1.3
src/external/bsd/libelf/dist/libelf_allocate.c@1.3 / diff / nxr@1.3
<sys/errno.h> -> <errno.h>
MAIN commitmail json YAML
src/external/bsd/libelf/dist/_libelf.h@1.2
/
diff
/
nxr@1.2
src/external/bsd/libelf/dist/elf_scn.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_update.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_allocate.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_ar.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_convert.m4@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_ehdr.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_scn.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/elf_update.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_allocate.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_ar.c@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_convert.m4@1.2 / diff / nxr@1.2
src/external/bsd/libelf/dist/libelf_ehdr.c@1.2 / diff / nxr@1.2
while (0) -> while (/*CONSTCOND*/0)
MAIN commitmail json YAML
src/external/bsd/libelf/Makefile@1.1
/
diff
/
nxr@1.1
src/external/bsd/libelf/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/libelf/lib/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/libelf/lib/shlib_version@1.1 / diff / nxr@1.1
src/external/bsd/libelf/Makefile.inc@1.1 / diff / nxr@1.1
src/external/bsd/libelf/lib/Makefile@1.1 / diff / nxr@1.1
src/external/bsd/libelf/lib/shlib_version@1.1 / diff / nxr@1.1
Initial build glue for libelf. Still a work-in-progress.
MAIN commitmail json YAML
Add a script to prepare libelf for import.
MAIN commitmail json YAML
src/external/bsd/libelf/dist/Makefile@1.1.1.1
/
diff
/
nxr@1.1.1.1
src/external/bsd/libelf/dist/README@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/Version.map@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/_libelf.h@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_begin.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_begin.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_cntl.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_cntl.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_data.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_end.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_end.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errmsg.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errmsg.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errno.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_fill.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_fill.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_flag.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_flagdata.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_getarhdr.3@1.1.1.1 / diff / nxr@1.1.1.1
:
(more 85 files)
src/external/bsd/libelf/dist/README@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/Version.map@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/_libelf.h@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_begin.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_begin.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_cntl.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_cntl.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_data.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_end.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_end.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errmsg.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errmsg.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_errno.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_fill.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_fill.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_flag.c@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_flagdata.3@1.1.1.1 / diff / nxr@1.1.1.1
src/external/bsd/libelf/dist/elf_getarhdr.3@1.1.1.1 / diff / nxr@1.1.1.1
:
(more 85 files)
Import the libelf from FreeBSD 8.0-RC3.
Status:
Vendor Tag: FreeBSD
Release Tags: FreeBSD-8-0-RC3
Status:
Vendor Tag: FreeBSD
Release Tags: FreeBSD-8-0-RC3
MAIN commitmail json YAML
Fix error in previous that could cause us to refer to the wrong cpu_info
after handling an AST.
after handling an AST.
MAIN commitmail json YAML
Restructure exception_return() a bit in preparation for some upcoming
changes.
changes.
MAIN commitmail json YAML
src/sys/arch/alpha/alpha/ipifuncs.c@1.41
/
diff
/
nxr@1.41
src/sys/arch/alpha/alpha/pmap.c@1.248 / diff / nxr@1.248
src/sys/arch/alpha/include/intr.h@1.67 / diff / nxr@1.67
src/sys/arch/alpha/include/pmap.h@1.75 / diff / nxr@1.75
src/sys/arch/alpha/alpha/pmap.c@1.248 / diff / nxr@1.248
src/sys/arch/alpha/include/intr.h@1.67 / diff / nxr@1.67
src/sys/arch/alpha/include/pmap.h@1.75 / diff / nxr@1.75
Garbage-collect pmap_do_reactivate() and the associated IPI -- nothing has
used them for a long time.
used them for a long time.
MAIN commitmail json YAML
Garbage-collect PMAP_LEV1MAP_SHOOTDOWN() -- it hasn't been used for a long
time.
time.
MAIN commitmail json YAML
Ensure coherency between the L1 PT cache and pmap_growkernel() -- protect
allocations from pmap_growkernel() with a r/w lock.
allocations from pmap_growkernel() with a r/w lock.
MAIN commitmail json YAML
src/share/man/man9/pool_cache.9@1.13
/
diff
/
nxr@1.13
src/sys/kern/subr_pool.c@1.176 / diff / nxr@1.176
src/sys/sys/pool.h@1.67 / diff / nxr@1.67
src/sys/kern/subr_pool.c@1.176 / diff / nxr@1.176
src/sys/sys/pool.h@1.67 / diff / nxr@1.67
- pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
MAIN commitmail json YAML
Regenerate for:
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit. Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit. Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
MAIN commitmail json YAML
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit. Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
if off_t is 64-bit. Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
MAIN commitmail json YAML
src/sys/arch/amiga/amiga/pmap.c@1.154
/
diff
/
nxr@1.154
src/sys/arch/amiga/include/vmparam.h@1.38 / diff / nxr@1.38
src/sys/arch/atari/atari/pmap.c@1.120 / diff / nxr@1.120
src/sys/arch/atari/include/vmparam.h@1.25 / diff / nxr@1.25
src/sys/arch/cesfic/include/vmparam.h@1.11 / diff / nxr@1.11
src/sys/arch/hp300/include/vmparam.h@1.34 / diff / nxr@1.34
src/sys/arch/luna68k/include/vmparam.h@1.13 / diff / nxr@1.13
src/sys/arch/m68k/include/pmap_motorola.h@1.21 / diff / nxr@1.21
src/sys/arch/m68k/m68k/pmap_motorola.c@1.46 / diff / nxr@1.46
src/sys/arch/mac68k/include/vmparam.h@1.39 / diff / nxr@1.39
src/sys/arch/mvme68k/include/vmparam.h@1.30 / diff / nxr@1.30
src/sys/arch/news68k/include/vmparam.h@1.15 / diff / nxr@1.15
src/sys/arch/next68k/include/vmparam.h@1.20 / diff / nxr@1.20
src/sys/arch/x68k/include/vmparam.h@1.30 / diff / nxr@1.30
src/sys/arch/amiga/include/vmparam.h@1.38 / diff / nxr@1.38
src/sys/arch/atari/atari/pmap.c@1.120 / diff / nxr@1.120
src/sys/arch/atari/include/vmparam.h@1.25 / diff / nxr@1.25
src/sys/arch/cesfic/include/vmparam.h@1.11 / diff / nxr@1.11
src/sys/arch/hp300/include/vmparam.h@1.34 / diff / nxr@1.34
src/sys/arch/luna68k/include/vmparam.h@1.13 / diff / nxr@1.13
src/sys/arch/m68k/include/pmap_motorola.h@1.21 / diff / nxr@1.21
src/sys/arch/m68k/m68k/pmap_motorola.c@1.46 / diff / nxr@1.46
src/sys/arch/mac68k/include/vmparam.h@1.39 / diff / nxr@1.39
src/sys/arch/mvme68k/include/vmparam.h@1.30 / diff / nxr@1.30
src/sys/arch/news68k/include/vmparam.h@1.15 / diff / nxr@1.15
src/sys/arch/next68k/include/vmparam.h@1.20 / diff / nxr@1.20
src/sys/arch/x68k/include/vmparam.h@1.30 / diff / nxr@1.30
Minor tweak to the pv_table management in the Hibler-derived m68k pmaps:
The head of the list is now a pv_header, which contains the first pv_entry
as well as a 16-bit attributes field (replaces the pmap_attributes array
plus the pv_entry::pv_flags field) as a 16-bit count of caller-specified
cache-inhibited mappings.
Tested on hp300 (shared pmap_motorola.c), changes to atari and amiga copies
are purely mechanical.
The head of the list is now a pv_header, which contains the first pv_entry
as well as a 16-bit attributes field (replaces the pmap_attributes array
plus the pv_entry::pv_flags field) as a 16-bit count of caller-specified
cache-inhibited mappings.
Tested on hp300 (shared pmap_motorola.c), changes to atari and amiga copies
are purely mechanical.
MAIN commitmail json YAML
Make this compile again (64-bit dev_t printf format).
MAIN commitmail json YAML
src/sys/arch/x68k/conf/files.x68k@1.70
/
diff
/
nxr@1.70
src/sys/arch/x68k/x68k/bus.c@1.34 / diff / nxr@1.34
src/sys/arch/x68k/x68k/bus.c@1.34 / diff / nxr@1.34
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/sgimips/conf/files.sgimips@1.49
/
diff
/
nxr@1.49
src/sys/arch/sgimips/sgimips/bus.c@1.57 / diff / nxr@1.57
src/sys/arch/sgimips/sgimips/bus.c@1.57 / diff / nxr@1.57
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/pmax/conf/files.pmax@1.112
/
diff
/
nxr@1.112
src/sys/arch/pmax/pmax/bus_dma.c@1.53 / diff / nxr@1.53
src/sys/arch/pmax/pmax/bus_dma.c@1.53 / diff / nxr@1.53
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/playstation2/conf/files.playstation2@1.18
/
diff
/
nxr@1.18
src/sys/arch/playstation2/playstation2/bus_dma.c@1.19 / diff / nxr@1.19
src/sys/arch/playstation2/playstation2/bus_dma.c@1.19 / diff / nxr@1.19
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/newsmips/conf/files.newsmips@1.27
/
diff
/
nxr@1.27
src/sys/arch/newsmips/newsmips/bus.c@1.29 / diff / nxr@1.29
src/sys/arch/newsmips/newsmips/bus.c@1.29 / diff / nxr@1.29
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/mipsco/conf/files.mipsco@1.14
/
diff
/
nxr@1.14
src/sys/arch/mipsco/mipsco/bus_dma.c@1.25 / diff / nxr@1.25
src/sys/arch/mipsco/mipsco/bus_dma.c@1.25 / diff / nxr@1.25
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/hpcmips/conf/files.hpcmips@1.103
/
diff
/
nxr@1.103
src/sys/arch/hpcmips/hpcmips/bus_dma.c@1.34 / diff / nxr@1.34
src/sys/arch/hpcmips/hpcmips/bus_dma.c@1.34 / diff / nxr@1.34
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/ews4800mips/conf/files.ews4800mips@1.4
/
diff
/
nxr@1.4
src/sys/arch/ews4800mips/ews4800mips/bus_dma.c@1.10 / diff / nxr@1.10
src/sys/arch/ews4800mips/ews4800mips/bus_dma.c@1.10 / diff / nxr@1.10
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/cobalt/cobalt/bus.c@1.37
/
diff
/
nxr@1.37
src/sys/arch/cobalt/conf/files.cobalt@1.34 / diff / nxr@1.34
src/sys/arch/cobalt/conf/files.cobalt@1.34 / diff / nxr@1.34
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/algor/algor/bus_dma.c@1.21
/
diff
/
nxr@1.21
src/sys/arch/algor/conf/files.algor@1.26 / diff / nxr@1.26
src/sys/arch/algor/conf/files.algor@1.26 / diff / nxr@1.26
Use bus_dmamem_common.
MAIN commitmail json YAML
src/sys/arch/alpha/common/bus_dma.c@1.67
/
diff
/
nxr@1.67
src/sys/arch/alpha/conf/files.alpha@1.181 / diff / nxr@1.181
src/sys/arch/alpha/conf/files.alpha@1.181 / diff / nxr@1.181
Use bus_dmamem common.
MAIN commitmail json YAML
src/sys/common/bus_dma/bus_dmamem_common.c@1.1
/
diff
/
nxr@1.1
src/sys/common/bus_dma/bus_dmamem_common.h@1.1 / diff / nxr@1.1
src/sys/common/bus_dma/bus_dmamem_common.h@1.1 / diff / nxr@1.1
Add some common bus_dmamem routines to be shared by multiple platforms.
MAIN commitmail json YAML
src/sys/arch/arm/include/arm32/pmap.h@1.92
/
diff
/
nxr@1.92
src/sys/uvm/uvm_pmap.h@1.30 / diff / nxr@1.30
src/sys/uvm/uvm_pmap.h@1.30 / diff / nxr@1.30
Use PMAP_ENABLE_PMAP_KMPAGE to enable PMAP_KMPAGE. We still want the bit
defined in the MI space, not in an MD header.
defined in the MI space, not in an MD header.
MAIN commitmail json YAML
src/sys/arch/arm/include/arm32/pmap.h@1.91
/
diff
/
nxr@1.91
src/sys/uvm/uvm_pmap.h@1.29 / diff / nxr@1.29
src/sys/uvm/uvm_pmap.h@1.29 / diff / nxr@1.29
Rationalize the definition of PMAP_KMPAGE.
MAIN commitmail json YAML
Move uvm_object-related DDB hooks into uvm_object.c. Put all of the
uvm_map-related DDB stuff in one spot in the file.
uvm_map-related DDB stuff in one spot in the file.
MAIN commitmail json YAML
Back-out accidental check-in.
MAIN commitmail json YAML
src/sys/uvm/uvm_map.c@1.279
/
diff
/
nxr@1.279
src/sys/uvm/uvm_page.c@1.151 / diff / nxr@1.151
src/sys/uvm/uvm_page_impl.h@1.1 / diff / nxr@1.1
src/sys/uvm/uvm_page.c@1.151 / diff / nxr@1.151
src/sys/uvm/uvm_page_impl.h@1.1 / diff / nxr@1.1
Move uvm_page-related DDB hooks into uvm_page.c.
MAIN commitmail json YAML
src/sys/arch/alpha/alpha/pmap.c@1.240
/
diff
/
nxr@1.240
src/sys/arch/amiga/amiga/pmap.c@1.153 / diff / nxr@1.153
src/sys/arch/atari/atari/pmap.c@1.119 / diff / nxr@1.119
src/sys/arch/m68k/m68k/pmap_motorola.c@1.45 / diff / nxr@1.45
src/sys/arch/mips/mips/pmap.c@1.184 / diff / nxr@1.184
src/sys/arch/mips/mips/trap.c@1.219 / diff / nxr@1.219
src/sys/arch/powerpc/ibm4xx/pmap.c@1.57 / diff / nxr@1.57
src/sys/uvm/uvm_page.c@1.150 / diff / nxr@1.150
src/sys/uvm/uvm_page.h@1.57 / diff / nxr@1.57
src/sys/arch/amiga/amiga/pmap.c@1.153 / diff / nxr@1.153
src/sys/arch/atari/atari/pmap.c@1.119 / diff / nxr@1.119
src/sys/arch/m68k/m68k/pmap_motorola.c@1.45 / diff / nxr@1.45
src/sys/arch/mips/mips/pmap.c@1.184 / diff / nxr@1.184
src/sys/arch/mips/mips/trap.c@1.219 / diff / nxr@1.219
src/sys/arch/powerpc/ibm4xx/pmap.c@1.57 / diff / nxr@1.57
src/sys/uvm/uvm_page.c@1.150 / diff / nxr@1.150
src/sys/uvm/uvm_page.h@1.57 / diff / nxr@1.57
Add a real API for testing if a page is a managed page, and adjust callers
to stop relying on vm_physseg_find() for this purpose.
to stop relying on vm_physseg_find() for this purpose.
MAIN commitmail json YAML
src/sys/arch/alpha/conf/BASIL deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA.MP deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA.PROF deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA.MP deleted
src/sys/arch/alpha/conf/FRAU-FARBISSINA.PROF deleted
Delete some vanity configs, esp. now that the machines no longer exist.
MAIN commitmail json YAML
pmap_page_remove(), pmap_test_attrs(), pmap_clear_attrs(): We're passed in
a vm_page, so there is little point in the DIAGNOSTIC test to see that we
have been passed a managed page.
a vm_page, so there is little point in the DIAGNOSTIC test to see that we
have been passed a managed page.
MAIN commitmail json YAML
Pull in <sys/types.h> so that e.g. bool is in scope.
XXX The circular dependency with <sys/device.h> and <sys/pmf.h> needs to
be cleaned up.
XXX The circular dependency with <sys/device.h> and <sys/pmf.h> needs to
be cleaned up.
MAIN commitmail json YAML
Make condvars really opaque -- hide the wait message member from consumers
of the API.
of the API.
MAIN commitmail json YAML
Don't use sizeof(struct gpt_hdr). It will pad the structure on x86-64,
which causes some systems to reject the GPT.
kern/38997
which causes some systems to reject the GPT.
kern/38997
MAIN commitmail json YAML
rw_vector_exit(): When doing direct hand-off to a writer, only set
RW_WRITE_WANTED if there are additional writers waiting.
RW_WRITE_WANTED if there are additional writers waiting.