CVS commit: src/sys/dev/ic

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:41:46 UTC 2022 Modified Files: src/sys/dev/ic: dwc_eqos.c dwc_eqos_reg.h Log Message: Fix eqos(4) to work on RK3588 as well. - Several registers needed to be initialized - Add some register definitions To generate a

CVS commit: src/sys/dev/ic

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:41:46 UTC 2022 Modified Files: src/sys/dev/ic: dwc_eqos.c dwc_eqos_reg.h Log Message: Fix eqos(4) to work on RK3588 as well. - Several registers needed to be initialized - Add some register definitions To generate a

CVS commit: src/sys/arch

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:40:46 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: files.rockchip src/sys/arch/evbarm/conf: GENERIC64 Added Files: src/sys/arch/arm/rockchip: rk_eqos.c Log Message: add eqos(4) for RK3588 To

CVS commit: src/sys/arch

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:40:46 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: files.rockchip src/sys/arch/evbarm/conf: GENERIC64 Added Files: src/sys/arch/arm/rockchip: rk_eqos.c Log Message: add eqos(4) for RK3588 To

CVS commit: src/sys/arch

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:39:06 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: files.rockchip rk_cru.h rk_cru_arm.c rk_cru_composite.c rk_cru_pll.c rk_platform.c src/sys/arch/evbarm/conf: GENERIC64 Added Files:

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

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:33:39 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c rk_cru.h rk_cru_arm.c Log Message: - change struct rk_cru_arm and RK_CPU macros to allow mux and div registers to be specified independently.

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

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:33:39 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c rk_cru.h rk_cru_arm.c Log Message: - change struct rk_cru_arm and RK_CPU macros to allow mux and div registers to be specified independently.

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

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:32:18 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c rk_cru.h rk_cru_arm.c Log Message: Make .reg1 and .reg2 of struct rk_cru_cpu_rate into array, and change the type of those to bus_size_t and

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

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:32:18 UTC 2022 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c rk_cru.h rk_cru_arm.c Log Message: Make .reg1 and .reg2 of struct rk_cru_cpu_rate into array, and change the type of those to bus_size_t and

CVS commit: src/sys/arch/aarch64/aarch64

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:31:13 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: locore.S start.S Log Message: Bss clearing is now done at the beginning of start.S. Some `__attribute__((__section__(".data")))' hack will no longer be

CVS commit: src/sys/arch/aarch64/aarch64

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:31:13 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: locore.S start.S Log Message: Bss clearing is now done at the beginning of start.S. Some `__attribute__((__section__(".data")))' hack will no longer be

CVS commit: src/sys/arch/aarch64/aarch64

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:29:44 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: start.S Log Message: Align the loaded kernel image to 2Mbytes, if necessary. It appears that there are bootloaders that cannot specify the load address or

CVS commit: src/sys/arch/aarch64/aarch64

2022-08-22 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Tue Aug 23 05:29:44 UTC 2022 Modified Files: src/sys/arch/aarch64/aarch64: start.S Log Message: Align the loaded kernel image to 2Mbytes, if necessary. It appears that there are bootloaders that cannot specify the load address or

CVS commit: src/sys/dev/usb

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 23 01:08:04 UTC 2022 Modified Files: src/sys/dev/usb: usbnet.c Log Message: usbnet(9): Don't touch ifp->if_flags in usbnet_start_locked. Instead, consult unp->unp_txstopped -- but the caller already guarantees it is

CVS commit: src/sys/dev/usb

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 23 01:08:04 UTC 2022 Modified Files: src/sys/dev/usb: usbnet.c Log Message: usbnet(9): Don't touch ifp->if_flags in usbnet_start_locked. Instead, consult unp->unp_txstopped -- but the caller already guarantees it is

CVS commit: src/sys/dev/mii

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 23 01:05:50 UTC 2022 Modified Files: src/sys/dev/mii: mii_physubr.c Log Message: mii(9): Make mii_phy_down clear the flag if it prevented the callout. This fixes a bug in the previous change to make mii_down wait for

CVS commit: src/sys/dev/mii

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 23 01:05:50 UTC 2022 Modified Files: src/sys/dev/mii: mii_physubr.c Log Message: mii(9): Make mii_phy_down clear the flag if it prevented the callout. This fixes a bug in the previous change to make mii_down wait for

CVS commit: src/sys/external/bsd/drm2/dist/drm

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 18:30:50 UTC 2022 Modified Files: src/sys/external/bsd/drm2/dist/drm: drm_dp_mst_topology.c Log Message: drm_dp_mst_topology: Fix wakeups: must hold lock for DRM_WAKEUP_ALL. While here, omit NetBSD conditionals;

CVS commit: src/sys/external/bsd/drm2/dist/drm

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 18:30:50 UTC 2022 Modified Files: src/sys/external/bsd/drm2/dist/drm: drm_dp_mst_topology.c Log Message: drm_dp_mst_topology: Fix wakeups: must hold lock for DRM_WAKEUP_ALL. While here, omit NetBSD conditionals;

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 18:09:05 UTC 2022 Modified Files: src/sys/dev/pci: if_iwi.c Log Message: iwi_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 18:09:05 UTC 2022 Modified Files: src/sys/dev/pci: if_iwi.c Log Message: iwi_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 18:08:05 UTC 2022 Modified Files: src/sys/dev/pci: if_ipw.c Log Message: ipw_start(): Replace "IF_DEQUEUE() -> IF_PREPEND() on failure" with "IF_POLL() -> IF_DEQUEUE() on success". To generate a diff of this commit:

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 18:08:05 UTC 2022 Modified Files: src/sys/dev/pci: if_ipw.c Log Message: ipw_start(): Replace "IF_DEQUEUE() -> IF_PREPEND() on failure" with "IF_POLL() -> IF_DEQUEUE() on success". To generate a diff of this commit:

CVS commit: src/bin/sh

2022-08-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 22 17:33:11 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: Add debugging trace points for history and the editline interface. NFC for any normal shell (not compiled with debugging (sh DEBUG) enabled. We have

CVS commit: src/bin/sh

2022-08-22 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 22 17:33:11 UTC 2022 Modified Files: src/bin/sh: histedit.c Log Message: Add debugging trace points for history and the editline interface. NFC for any normal shell (not compiled with debugging (sh DEBUG) enabled. We have

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 17:07:40 UTC 2022 Modified Files: src/sys/dev/pci: if_ipw.c if_iwi.c Log Message: We come into our if_start routine via ether_output(), therefore there is no need to check-and-pullup to sizeof(struct ether_header).

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 17:07:40 UTC 2022 Modified Files: src/sys/dev/pci: if_ipw.c if_iwi.c Log Message: We come into our if_start routine via ether_output(), therefore there is no need to check-and-pullup to sizeof(struct ether_header).

CVS commit: src

2022-08-22 Thread Brook Milligan
Module Name:src Committed By: brook Date: Mon Aug 22 16:50:25 UTC 2022 Modified Files: src: BUILDING src/etc/etc.evbarm: Makefile.inc Log Message: By default, do not install any bootable images. The previous commit introduced the ability to install a set of

CVS commit: src

2022-08-22 Thread Brook Milligan
Module Name:src Committed By: brook Date: Mon Aug 22 16:50:25 UTC 2022 Modified Files: src: BUILDING src/etc/etc.evbarm: Makefile.inc Log Message: By default, do not install any bootable images. The previous commit introduced the ability to install a set of

Re: CVS commit: src

2022-08-22 Thread Martin Husemann
On Mon, Aug 22, 2022 at 10:28:55AM -0600, Brook Milligan wrote: > OK. Here is the current patch I intend to commit along with the following > commit message: Looks good! Martin

Re: CVS commit: src

2022-08-22 Thread Brook Milligan
> On Aug 22, 2022, at 8:34 AM, Martin Husemann wrote: > > On Mon, Aug 22, 2022 at 08:27:18AM -0600, Brook Milligan wrote: >> INSTALLBOOT_BOARDS is constructed dynamically from installboot, so it >> is not really part of the current user interface. > > I would just drop the

Re: CVS commit: src

2022-08-22 Thread Brook Milligan
> On Aug 22, 2022, at 9:53 AM, Martin Husemann wrote: > > On Mon, Aug 22, 2022 at 09:23:37AM -0600, Brook Milligan wrote: >> However, that does not help people (the NetBSD build farm?, >> armbsd.org?) who want to release an entire collection of bootable >> images, which I think would be a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 16:18:44 UTC 2022 Modified Files: src/sys/dev/pci: if_age.c Log Message: age_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 16:18:44 UTC 2022 Modified Files: src/sys/dev/pci: if_age.c Log Message: age_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 16:14:31 UTC 2022 Modified Files: src/sys/dev/pci: if_age.c Log Message: age_encap(): Use m_defrag(), not m_pullup(), to compact an mbuf chain if it has too many DMA segments. Let the caller handle dispose of the

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 16:14:31 UTC 2022 Modified Files: src/sys/dev/pci: if_age.c Log Message: age_encap(): Use m_defrag(), not m_pullup(), to compact an mbuf chain if it has too many DMA segments. Let the caller handle dispose of the

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:59:42 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_encap(): Fix error logic in previous change for when the defrag works, but DMA mapping fails to use DMA resource shortage. To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:59:42 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_encap(): Fix error logic in previous change for when the defrag works, but DMA mapping fails to use DMA resource shortage. To generate a

Re: CVS commit: src

2022-08-22 Thread Martin Husemann
On Mon, Aug 22, 2022 at 09:23:37AM -0600, Brook Milligan wrote: > However, that does not help people (the NetBSD build farm?, > armbsd.org?) who want to release an entire collection of bootable > images, which I think would be a really great service if anyone wishes > to pick it up. I am not sure

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:43:50 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:43:50 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with "IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)". To generate a

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:39:26 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_encap(): Use m_defrag(), not m_pullup(), to compact an mbuf chain if it has too many DMA segments. Let the caller handle dispose of the

CVS commit: src/sys/dev/pci

2022-08-22 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon Aug 22 15:39:26 UTC 2022 Modified Files: src/sys/dev/pci: if_ale.c Log Message: ale_encap(): Use m_defrag(), not m_pullup(), to compact an mbuf chain if it has too many DMA segments. Let the caller handle dispose of the

Re: CVS commit: src

2022-08-22 Thread Martin Husemann
On Mon, Aug 22, 2022 at 08:27:18AM -0600, Brook Milligan wrote: > INSTALLBOOT_BOARDS is constructed dynamically from installboot, so it > is not really part of the current user interface. I would just drop the INSTALLBOOT_BOARDS != part and leave it to the user to pass a proper list via

Re: CVS commit: src

2022-08-22 Thread Brook Milligan
> On Aug 22, 2022, at 5:47 AM, Martin Husemann wrote: > > On Sun, Aug 21, 2022 at 03:01:08PM +, Brook Milligan wrote: >> Create bootable images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. >> ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. If a boot block is >> not available,

CVS commit: src/sys/arch

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 13:57:24 UTC 2022 Modified Files: src/sys/arch/amd64/include: asan.h src/sys/arch/x86/x86: kgdb_machdep.c Log Message: Sprinkle "#include ", kernel ALL/amd64 compiles again. To generate a diff of this

CVS commit: src/sys/arch

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 13:57:24 UTC 2022 Modified Files: src/sys/arch/amd64/include: asan.h src/sys/arch/x86/x86: kgdb_machdep.c Log Message: Sprinkle "#include ", kernel ALL/amd64 compiles again. To generate a diff of this

CVS commit: src/sys/rump/include/machine

2022-08-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 22 13:22:10 UTC 2022 Modified Files: src/sys/rump/include/machine: pmap.h Log Message: provide pmap_wired_count macro. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/rump/include/machine/pmap.h

CVS commit: src/sys/rump/include/machine

2022-08-22 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Aug 22 13:22:10 UTC 2022 Modified Files: src/sys/rump/include/machine: pmap.h Log Message: provide pmap_wired_count macro. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/rump/include/machine/pmap.h

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

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 13:21:47 UTC 2022 Modified Files: src/sys/arch/amd64/include: msan.h Log Message: amd64/msan.h: Fix includes for private pmap. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

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

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 13:21:47 UTC 2022 Modified Files: src/sys/arch/amd64/include: msan.h Log Message: amd64/msan.h: Fix includes for private pmap. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

Re: CVS commit: src

2022-08-22 Thread Martin Husemann
On Sun, Aug 21, 2022 at 03:01:08PM +, Brook Milligan wrote: > Create bootable images in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. > ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/gzimg. If a boot block is > not available, which is the typical situation currently, no additional > image will

CVS commit: src

2022-08-22 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Aug 22 09:25:55 UTC 2022 Modified Files: src/share/man/man7: sysctl.7 src/sys/netinet: icmp6.h src/sys/netinet6: icmp6.c Log Message: Add sysctl entry to enable/disable to use path MTU discovery for icmpv6

CVS commit: src

2022-08-22 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Aug 22 09:25:55 UTC 2022 Modified Files: src/share/man/man7: sysctl.7 src/sys/netinet: icmp6.h src/sys/netinet6: icmp6.c Log Message: Add sysctl entry to enable/disable to use path MTU discovery for icmpv6

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:14:59 UTC 2022 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Use fstrans_start()/fstrans_done() to cross the mount in lookup_crossmount(). It is sufficient here as it prevents the file system from unmount

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:14:59 UTC 2022 Modified Files: src/sys/kern: vfs_lookup.c Log Message: Use fstrans_start()/fstrans_done() to cross the mount in lookup_crossmount(). It is sufficient here as it prevents the file system from unmount

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:14:24 UTC 2022 Modified Files: src/sys/kern: vfs_mount.c Log Message: Protect changing "v_mountedhere" with file system suspension instead of vnode lock. To generate a diff of this commit: cvs rdiff -u -r1.94

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:14:24 UTC 2022 Modified Files: src/sys/kern: vfs_mount.c Log Message: Protect changing "v_mountedhere" with file system suspension instead of vnode lock. To generate a diff of this commit: cvs rdiff -u -r1.94

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:13:08 UTC 2022 Modified Files: src/sys/kern: vfs_trans.c Log Message: Don't allocate lwp info for fstrans_held() and fstrans_is_owner(). If it doesn't exist we cannot hold a transaction or suspension. To generate

CVS commit: src/sys/kern

2022-08-22 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Aug 22 09:13:08 UTC 2022 Modified Files: src/sys/kern: vfs_trans.c Log Message: Don't allocate lwp info for fstrans_held() and fstrans_is_owner(). If it doesn't exist we cannot hold a transaction or suspension. To generate

CVS commit: src/sys/dev/usb

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 08:37:16 UTC 2022 Modified Files: src/sys/dev/usb: usbnet.h Log Message: usbnet(9): Update comments about locking to reflect current reality. No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/usb

2022-08-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 22 08:37:16 UTC 2022 Modified Files: src/sys/dev/usb: usbnet.h Log Message: usbnet(9): Update comments about locking to reflect current reality. No functional change. To generate a diff of this commit: cvs rdiff -u