Re: audio2

2019-05-27 Thread Taylor R Campbell
> Date: Mon, 27 May 2019 22:28:37 +0900 > From: Tetsuya Isaki > > At Sat, 25 May 2019 18:01:11 +0300, > Valery Ushakov wrote: > > My point is exactly that you are confusing implementation detail that > > uses right shift as a good enough implementation (which, I reiterate, > > I don't object to

Re: audio2

2019-05-27 Thread Tetsuya Isaki
At Sat, 25 May 2019 18:01:11 +0300, Valery Ushakov wrote: > Speaking in the abstract: The operation that happens here is > rescaling, as far as I understand. Yes, the two-complement ranges are > lopsided with an extra value on the negative side, but that is far > less important, I think, than

CVS commit: src/sys/dev/fdt

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:18:33 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_regulator.c Log Message: Honour regulator-enable-ramp-delay To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fdt_regulator.c Please

CVS commit: src/sys/dev/fdt

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:18:33 UTC 2019 Modified Files: src/sys/dev/fdt: fdt_regulator.c Log Message: Honour regulator-enable-ramp-delay To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/fdt_regulator.c Please

CVS commit: src/sys/arch

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 17:32:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: cpu.c pmap.c svs.c x86_tlb.c Log Message: Remove 'ci_svs_kpdirpa', unused.

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:12:54 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun8i_a23_apbclk.c sun9i_a80_cpusclk.c Log Message: Add apb0 and cpus clock drivers for A80 To

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:12:54 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: files.sunxi Added Files: src/sys/arch/arm/sunxi: sun8i_a23_apbclk.c sun9i_a80_cpusclk.c Log Message: Add apb0 and cpus clock drivers for A80 To

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:11:51 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_nmi.c Log Message: Add A80 support To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_nmi.c Please note that

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:11:51 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_nmi.c Log Message: Add A80 support To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sunxi_nmi.c Please note that

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:11:13 UTC 2019 Modified Files: src/sys/dev/i2c: ac100.c Log Message: FDT-ize AC100 driver To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/i2c/ac100.c Please note that diffs are not

CVS commit: src/sys/arch/evbarm/conf

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:13:29 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: Add sun8iapbclk, sun9icpusclk, ac100ic To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbarm/conf/GENERIC

CVS commit: src/sys/arch/evbarm/conf

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:13:29 UTC 2019 Modified Files: src/sys/arch/evbarm/conf: GENERIC Log Message: Add sun8iapbclk, sun9icpusclk, ac100ic To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/evbarm/conf/GENERIC

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:20 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: Fix support for Allwinner-specific pin bindings and add support for pink bank regulators To generate a diff of this commit: cvs

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:02:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_mmcclk.c Log Message: Enable parent clocks To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun9i_a80_mmcclk.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:02:32 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_mmcclk.c Log Message: Enable parent clocks To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun9i_a80_mmcclk.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gmac.c Log Message: Enable phy-supply if present To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_gmac.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Enable vmmc-supply if present To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/sunxi/sunxi_mmc.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_gpio.c Log Message: Set has_io_bias_config flag To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:28:41 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add basic support for AXP809 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/i2c/axppmic.c Please note that diffs

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:28:41 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add basic support for AXP809 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/i2c/axppmic.c Please note that diffs

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.h Log Message: Add has_io_bias_config property to sunxi_gpio_padconf To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:14 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.h Log Message: Add has_io_bias_config property to sunxi_gpio_padconf To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:26 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gmac.c Log Message: Enable phy-supply if present To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/sunxi/sunxi_gmac.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:42 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sun9i_a80_gpio.c Log Message: Set has_io_bias_config flag To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:27:01 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_mmc.c Log Message: Enable vmmc-supply if present To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/sunxi/sunxi_mmc.c

CVS commit: src/sys/arch/arm/sunxi

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 23:26:20 UTC 2019 Modified Files: src/sys/arch/arm/sunxi: sunxi_gpio.c Log Message: Fix support for Allwinner-specific pin bindings and add support for pink bank regulators To generate a diff of this commit: cvs

CVS commit: src/sys/arch

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 17:32:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: cpu.c pmap.c svs.c x86_tlb.c Log Message: Remove 'ci_svs_kpdirpa', unused.

CVS commit: src/share/man/man4

2019-05-27 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon May 27 21:19:55 UTC 2019 Modified Files: src/share/man/man4: userconf.4 Log Message: Use Mt for emails. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/userconf.4 Please note that diffs are

CVS commit: src/share/man/man4

2019-05-27 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon May 27 21:19:55 UTC 2019 Modified Files: src/share/man/man4: userconf.4 Log Message: Use Mt for emails. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/userconf.4 Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:36:08 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Adjust regulator voltage at attach time to be between the min and max values specified in the dts To generate a diff of this commit: cvs

CVS commit: src/sys/dev/sdmmc

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:25:27 UTC 2019 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: If a mem function fails to initialize, set the error flag so sdmmc doesn't try to use it anyway. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:10:44 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add support for AXP806 To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/i2c/axppmic.c Please note that diffs are

CVS commit: src/sys/dev/i2c

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon May 27 21:10:44 UTC 2019 Modified Files: src/sys/dev/i2c: axppmic.c Log Message: Add support for AXP806 To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/i2c/axppmic.c Please note that diffs are

CVS commit: src/sys/dev/sdmmc

2019-05-27 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue May 28 00:25:27 UTC 2019 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: If a mem function fails to initialize, set the error flag so sdmmc doesn't try to use it anyway. To generate a diff of this commit: cvs

CVS commit: src/share/misc

2019-05-27 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Mon May 27 16:54:38 UTC 2019 Modified Files: src/share/misc: acronyms Log Message: GCD To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283 src/share/misc/acronyms Please note that diffs are not public domain; they

CVS commit: src/share/misc

2019-05-27 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Mon May 27 16:54:38 UTC 2019 Modified Files: src/share/misc: acronyms Log Message: GCD To generate a diff of this commit: cvs rdiff -u -r1.282 -r1.283 src/share/misc/acronyms Please note that diffs are not public domain; they

CVS commit: src/external/gpl3/gdb.old/dist/gdb

2019-05-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue May 28 01:20:02 UTC 2019 Modified Files: src/external/gpl3/gdb.old/dist/gdb: rust-exp.c Log Message: fix locally modified file. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2

CVS commit: src/sys/netinet6

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:56:46 UTC 2019 Modified Files: src/sys/netinet6: in6.h Log Message: Decorate struct in6_addr with the __packed attribute This avoids undefined behavior when accessing misaligned pointers. Detected by kUBSan. Patch

CVS commit: src/sys/netinet6

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:56:46 UTC 2019 Modified Files: src/sys/netinet6: in6.h Log Message: Decorate struct in6_addr with the __packed attribute This avoids undefined behavior when accessing misaligned pointers. Detected by kUBSan. Patch

CVS commit: src/sys/arch/amd64/amd64

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/ufs/ffs

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:53:29 UTC 2019 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: Avoid unportable shift base -1 in ffs_subr.c Cast the start variable before the modulo opration to unsigned int. Detected with kUBSan. To

CVS commit: src/sys/ufs/ffs

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:53:29 UTC 2019 Modified Files: src/sys/ufs/ffs: ffs_subr.c Log Message: Avoid unportable shift base -1 in ffs_subr.c Cast the start variable before the modulo opration to unsigned int. Detected with kUBSan. To

CVS commit: src/sys/arch/arm/amlogic

2019-05-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue May 28 05:08:47 UTC 2019 Modified Files: src/sys/arch/arm/amlogic: meson_uart.c Log Message: - since ttyinput (t_linesw->l_rint) should not be called from interrupt context, it has been modified to use softint like other

CVS commit: src/sys/external/bsd/acpica/dist/include

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 04:04:11 UTC 2019 Modified Files: src/sys/external/bsd/acpica/dist/include: amlresrc.h Log Message: Use pack attribute for AML_RESOURCE in acpica This fixes kUBSan warnings. Patch by Akul Pillai. To generate a diff

CVS commit: src/sys/external/bsd/acpica/dist/include

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 04:04:11 UTC 2019 Modified Files: src/sys/external/bsd/acpica/dist/include: amlresrc.h Log Message: Use pack attribute for AML_RESOURCE in acpica This fixes kUBSan warnings. Patch by Akul Pillai. To generate a diff

CVS commit: src/sys/dev/pci

2019-05-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 28 05:07:13 UTC 2019 Modified Files: src/sys/dev/pci: if_jme.c Log Message: Fix typos. From OpenBSD r1.52. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_jme.c Please note that diffs

CVS commit: src/sys/dev/pci

2019-05-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 28 05:07:13 UTC 2019 Modified Files: src/sys/dev/pci: if_jme.c Log Message: Fix typos. From OpenBSD r1.52. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_jme.c Please note that diffs

CVS commit: src/include

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 27 07:31:11 UTC 2019 Modified Files: src/include: assert.h Log Message: As a _NETBSD_SOURCE extension define static_assert for pre-c11/c++99 Proposed on source-changes-d. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/include

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 27 07:31:11 UTC 2019 Modified Files: src/include: assert.h Log Message: As a _NETBSD_SOURCE extension define static_assert for pre-c11/c++99 Proposed on source-changes-d. To generate a diff of this commit: cvs rdiff -u