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

2021-08-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 18 09:18:09 UTC 2021 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: It's time to add ixg(4) and ixv(4). To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/arch/evbarm/conf/GENERIC

CVS commit: src/sys/dev/pci/ixgbe

2021-08-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Aug 18 09:17:17 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Refresh unrefreshed descriptors' buffers correctly. - Update next_to_refresh at least before ixgbe_rx_unrefresed() to detect the unref

CVS commit: src/sys/dev/sdmmc

2021-08-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 3 07:54:39 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Use unsigned to avoid undefined behavior in sdmmc_mem_sd_switch(). Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.7

CVS commit: src/doc

2021-08-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Aug 3 01:44:11 UTC 2021 Modified Files: src/doc: TODO.smpnet Log Message: Remove ixgbe because both ixg and ixv exist in the list. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/doc/TODO.smpnet Please

CVS commit: src/sys/dev/pci/ixgbe

2021-07-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 15 08:09:31 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Add a new sysctl to read rxr->next_to_refresh. To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/sys/dev/pci/ixgb

CVS commit: src/sys/dev/pci

2021-07-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 12 12:59:54 UTC 2021 Modified Files: src/sys/dev/pci: ichsmb.c Log Message: Add Jasper Lake support. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/sys/dev/pci/ichsmb.c Please note that diffs are no

CVS commit: src/sys/dev/pci

2021-07-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 12 12:59:26 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.1413 -r1.1414 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1412 -r1.14

CVS commit: src/sys/dev/pci

2021-07-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 12 12:58:58 UTC 2021 Modified Files: src/sys/dev/pci: pcidevs Log Message: Add Intel Jasper Lake devices and Reealtek RTL8821CE. To generate a diff of this commit: cvs rdiff -u -r1.1426 -r1.1427 src/sys/dev/pci/pcidevs

CVS commit: src/usr.sbin/cpuctl/arch

2021-07-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 12 12:56:52 UTC 2021 Modified Files: src/usr.sbin/cpuctl/arch: i386.c Log Message: Add 0x96(Elkhart Lake) and 0x9c(Jasper Lake). Not listed in SDM but listed in those spec update documents. To generate a diff of this c

CVS commit: src/sys/dev/pci

2021-07-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jul 12 04:41:14 UTC 2021 Modified Files: src/sys/dev/pci: pci_subr.c Log Message: s/Precision Time Management/Precision Time Measurement/ To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/dev/pci/pci_s

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

2021-07-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jul 10 17:33:28 UTC 2021 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add v_spec_ctrl, avx512_fp16, sme, sev and sev_es. Tested by nonaka@. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.

CVS commit: src/usr.sbin/cpuctl/arch

2021-07-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jul 10 17:18:05 UTC 2021 Modified Files: src/usr.sbin/cpuctl/arch: i386.c Log Message: 0x6a and 0x6c are 3rd gen Xeon Scalable (Ice Lake). To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/usr.sbin/cpuctl/

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

2021-07-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Jul 10 17:08:37 UTC 2021 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add some definitions from Intel SDM: - CPUID leaf 7:0 %ecx bit 13 TME_EN (Total Memory Encryption) - CPUID leaf 7:0 %edx bit 18 P

CVS commit: src/sys/dev/pci/ixgbe

2021-07-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 7 08:58:20 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Add new sysctl "rx_copy_len". ixgbe_rxeof() has an optimization "RX_COPY" to reduce costs of bus_dmamap_load_mbuf(

CVS commit: src/sys/dev/pci/ixgbe

2021-07-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 7 08:32:51 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Set rxr->next_to_refresh correctly in ixgbe_setup_receive_ring(). ixgbe_setup_receive_ring() fully allocates rx buffers. When a descript

CVS commit: src/sys/dev/pci

2021-06-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 17 02:05:48 UTC 2021 Modified Files: src/sys/dev/pci: if_iwnreg.h Log Message: Use unsigned to avoid undefined behavior. Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/if_

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

2021-05-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 28 07:33:02 UTC 2021 Modified Files: src/sys/arch/alpha/conf: GENERIC Log Message: Add ixg* (commented out). Tested with rin@'s AlphaServer DS10. To generate a diff of this commit: cvs rdiff -u -r1.410 -r1.411 src/sys/

CVS commit: src/sys/dev/pci/ixgbe

2021-05-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 27 06:11:35 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Do no_jmbuf++ when ixgbe_getjcl() failed in ixgbe_setup_receive_ring(), too. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1

CVS commit: src/sys/dev/pci/ixgbe

2021-05-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 20 10:39:32 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Use uint64_t instead of bus_addr_t for the TX descriptor's buffer address. At least, this change is required for macppc (sizeof(bus_addr_

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

2021-05-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 20 01:41:55 UTC 2021 Modified Files: src/sys/arch/arm/rockchip: rk_cru_composite.c Log Message: Fix wrong calculation found by kUBSan. OK'd by jmcneill. The output was: UBSan: Undefined Behavior in ../../../../arch/

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

2021-05-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 20 01:07:24 UTC 2021 Modified Files: src/sys/arch/arm/rockchip: rk3399_cru.c Log Message: Fix signed integer overflow found by kUBSan. OK'd by jmcneill. The output was: UBSan: Undefined Behavior in ../../../../arch/a

CVS commit: src/sys/dev/pci/ixgbe

2021-05-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 19 08:19:20 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_dcb_82598.h ixgbe_netbsd.h ixgbe_type.h ixgbe_x540.c ixgbe_x550.c ixv.c Log Message: No functional change: - Add NetBSD RCS IDs. - KNF. To

CVS commit: src/sys/dev/pci/ixgbe

2021-05-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 18 05:29:16 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixv.c Log Message: - Cleanup an rxbuf entry when bus_dmamap_load_mbuf() failed to prevent panic. - Print error number when error occurred. To

CVS commit: src/sys/dev/pci/ixgbe

2021-05-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 14 05:15:17 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Keep m_len and m_pkthdr.len consistent to prevent panic on arm. Arm's bus_dmamap_load_mbuf() keeps a pointer to the original mbuf an

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

2021-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 13 06:15:41 UTC 2021 Modified Files: src/sys/arch/arm/rockchip: rk3399_iomux.c Log Message: Use unsigned to avoid undefined behavior in GRF_GPIO_P_{CTL,WRITE_EN}. Found by kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/ic

2021-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 13 05:56:39 UTC 2021 Modified Files: src/sys/dev/ic: dwc_gmac.c Log Message: Cast to uint32_t to avoid undefined behavior in dwc_gmac_write_hwaddr(). Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/dev/sdmmc

2021-05-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 13 05:54:15 UTC 2021 Modified Files: src/sys/dev/sdmmc: sdhc.c Log Message: Use unsigned to avoid undefined behavior in hwrite[12](). Found by kUBSan. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110 src

CVS commit: [netbsd-9] src/doc

2021-05-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 12 06:55:12 UTC 2021 Modified Files: src/doc [netbsd-9]: CHANGES-9.2 Log Message: Ticket #1271. To generate a diff of this commit: cvs rdiff -u -r1.1.2.81 -r1.1.2.82 src/doc/CHANGES-9.2 Please note that diffs are not p

CVS commit: [netbsd-9] src/usr.sbin/sysinst

2021-05-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 12 06:53:56 UTC 2021 Modified Files: src/usr.sbin/sysinst [netbsd-9]: label.c mbr.c src/usr.sbin/sysinst/arch/evbarm [netbsd-9]: md.c Log Message: Pull up following revision(s) (requested by martin in ticket #1271

CVS commit: src/sys/dev/pci/ixgbe

2021-05-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 7 09:15:52 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Print the error value of ixgbe_reset_hw() for debugging. To generate a diff of this commit: cvs rdiff -u -r1.281 -r1.282 src/sys/dev/pci/

CVS commit: src/sys/dev/pci/ixgbe

2021-04-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Apr 30 06:55:32 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_fdir.c if_sriov.c ix_txrx.c ixgbe.c ixgbe_82598.c ixgbe_82599.c ixgbe_api.c ixgbe_common.c ixgbe_dcb.c ixgbe_dcb_82598.c ix

CVS commit: src/sys/dev/pci/ixgbe

2021-04-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Apr 30 06:41:36 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: if_bypass.c if_fdir.c if_sriov.c ixgbe_bypass.h ixgbe_dcb.c ixgbe_dcb.h ixgbe_dcb_82598.c ixgbe_dcb_82599.c ixgbe_dcb_82599.h ixgbe_fdir.h

CVS commit: src

2021-04-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Apr 16 07:45:42 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man9: Makefile src/usr.sbin/makemandb: nostem.txt Log Message: - Remove obsolete cltom(9) and mtocl(9). - Add missing manu

CVS commit: src/sys/dev/pci/ixgbe

2021-03-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 31 07:53:53 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixv.c Log Message: KNF a bit. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/dev/pci/ixgbe/ix_tx

CVS commit: src/sys/dev/pci/ixgbe

2021-03-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 31 07:52:15 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Modify error message to sync with ixgbe.c To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.157 src/sys/dev/pci/ixgbe/ixv.c Pleas

CVS commit: src/sys/dev/pci/ixgbe

2021-03-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 11 02:30:47 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Add "TX " to "Queue No Descriptor Available" to make it more understandable. Same as ixgbe.c rev. 1.278. To generate a diff of this commit:

CVS commit: src/sys/dev/pci

2021-03-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 11 01:23:34 UTC 2021 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Whitespace fixes. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.701 -r1.702 src/sys/dev/pci/if_wm.c Please note tha

CVS commit: src

2021-03-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 11 01:13:11 UTC 2021 Modified Files: src/lib/libc/gen: extattr_copy_file.3 src/sbin/restore: tape.c Log Message: s/skiping/skipping/ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gen/e

CVS commit: src/sys/arch

2021-03-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Mar 10 06:38:44 UTC 2021 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: GENERIC Log Message: Add micphy(4). To generate a diff of this commit: cvs rdiff -u -r1.586 -r1.587 src/sys/arch/amd

CVS commit: src

2021-03-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 9 10:03:18 UTC 2021 Modified Files: src/share/man/man4: ixg.4 ixv.4 src/sys/dev/pci: files.pci src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixgbe_netbsd.h ixv.c Log Message: Modify some parameters to

CVS commit: src/sys/dev/pci/ixgbe

2021-03-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Mar 8 07:10:45 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Use no_jmbuf evcnt for the failure case of ixgbe_getjcl(). To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pc

CVS commit: src/sys/kern

2021-03-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 4 01:37:42 UTC 2021 Modified Files: src/sys/kern: uipc_mbuf.c Log Message: Revert accidentally committed debug code. Sorry. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/kern/uipc_mbuf.c Ple

CVS commit: src/sys/kern

2021-03-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Mar 4 01:35:32 UTC 2021 Modified Files: src/sys/kern: uipc_mbuf.c uipc_socket2.c Log Message: Add missing opt_inet.h. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/kern/uipc_mbuf.c cvs rdiff -u -r

CVS commit: src/sys/dev/pci/ixgbe

2021-03-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 2 11:10:53 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c Log Message: Fix jcl's starvation case in ixgbe_rxeof() again. ix_txrx.c rev.1.64 preallocates jcl to prevent starvation but it's not perfect. Don't

CVS commit: src/share/man/man4

2021-02-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Feb 19 08:57:56 UTC 2021 Modified Files: src/share/man/man4: ddb.4 Log Message: Add missing 'q' modifier for the write command. To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/share/man/man4/ddb.4 Plea

CVS commit: src/sys/dev/pci/ixgbe

2021-01-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 20 06:53:17 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_vf.c Log Message: The max number of queue(pair) is not 7 but 8. Inspired by DPDK. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/

CVS commit: src/sys/dev/pci/ixgbe

2021-01-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jan 14 05:47:35 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add "TX " to "Queue No Descriptor Available" to make it more understandable. To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.

CVS commit: src/sys/dev/pci/ixgbe

2020-12-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 31 12:34:33 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Reduce code duplication. No functional change. Add new ixgbe_intr_admin_common() and use it in both ixgbe_msix_admin() and ixgbe_legac

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:27:38 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Copy & paste some missing part (flow director, ECC and temp sensor) from ixgbe_msix_admin() to ixgbe_legacy_irq(). Now it's ready to make a

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:17:55 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Don't return in the middle of ixgbe_msix_admin() when an flow director reinit failed. NetBSD currently doesn't support flow director, so th

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:10:17 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: Disable some interrupt in ixgbe_{legacy_irq,msix_admin}() to prevent log spam. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:07:16 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe.h ixgbe_type.h Log Message: Disable/enable the OTHER interrupts correctly. The OTHER interrupt was not blocked correctly when MSI-X is used.

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:02:42 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Check EICR's queue bit instead of IFF_RUNNING. This change fixes a bug that it might incorrectly enable interrupt when IFF_RUNNING is not s

CVS commit: src/sys/dev/pci/ixgbe

2020-12-25 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sat Dec 26 06:01:22 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Don't use "more" flag for simplify in ixgbe_legacy_irq(). No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 22:36:43 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Simplify setting of EIAC register. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 18:32:53 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that INTx is disabled if the INTx line is shared with other device. ixgbe.c rev. 1.264 was not correct. Restore EIMS before

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 15:51:33 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: The EICR register are cleared in the beginning of the ixgbe_legacy_irq(), so it's not required to clear each bit later in the function. T

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 15:51:04 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: The EICR register's all OTHER interrupt bits are cleared in the beginning of the ixgbe_msix_admin(), so it's not required to clear each bit

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 10:37:47 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Reorder some code to reduce diff between ixgbe_legacy_irq() and ixgbe_msix_admin. No functional change intended. To generate a diff of th

CVS commit: src/sys/dev/pci/ixgbe

2020-12-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 10:00:36 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Add some debug printf()s and modify comments. To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/sys/dev/pci/ixgbe/ixgbe.

CVS commit: src/sys/dev/pci/ixgbe

2020-12-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 24 06:14:42 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove strange ixgbe_enable_intr() in ixgbe_legacy_irq(). If the interface is UP and the INTx line is shared with other devices, it resul

CVS commit: src/sys/dev/pci/ixgbe

2020-12-21 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Dec 22 07:16:23 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Correctly ACK the fan failure interrupt in ixgbe_legacy_irq(). To generate a diff of this commit: cvs rdiff -u -r1.262 -r1.263 src/sys/de

CVS commit: src/sys/dev/pci/ixgbe

2020-12-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Dec 11 05:01:19 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_type.h Log Message: Don't use EIMC_OTHER bit because it's read only other than 82598. Documents say: 82598: All of bit 31(OTHER bit) of

CVS commit: src/sys/dev/pci/ixgbe

2020-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 30 07:53:42 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Apply ixgbe.c rev. 1.204 which was for ixgbe_msix_admin() to ixgbe_legacy_irq(), too. > An interrupt might not arrive when a module is i

CVS commit: src

2020-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 30 05:33:32 UTC 2020 Modified Files: src/sys/arch/sh3/sh3: vm_machdep.c src/sys/arch/x86/x86: vm_machdep.c src/sys/dev/usb: ehci.c src/sys/net80211: ieee80211_node.c src/tests/dev/raidframe:

CVS commit: src/sys/dev/pci/ixgbe

2020-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 30 05:30:56 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_vf.c Log Message: s/ we we / we / To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/ixgbe/ixgbe_vf.c Please note that diffs

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

2020-11-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 30 00:04:03 UTC 2020 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add sgx, sgx_lc, serialize and tsxldtrk. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/x86/procf

CVS commit: src/usr.sbin/cpuctl/arch

2020-11-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Nov 24 00:48:39 UTC 2020 Modified Files: src/usr.sbin/cpuctl/arch: i386.c Log Message: - Print CPUID 0x808 %ebx on Intel, too. Intel now supports WBNOINVD. - Print CPUID leaf 7 subleaf 1. To generate a diff of this comm

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

2020-11-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Nov 24 00:46:28 UTC 2020 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add some definitions from the latest Intel SDM: - Add CPUID leaf 7 %edx bit 23 "KL" (Key Locker). - Add CPUID leaf 7 subleaf 1 %e

CVS commit: src/sys/dev/pci

2020-11-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 20 01:29:47 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs.h pcidevs_data.h Log Message: Regen. To generate a diff of this commit: cvs rdiff -u -r1.1407 -r1.1408 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1406 -r1.14

CVS commit: src/sys/dev/pci

2020-11-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 20 01:29:12 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs Log Message: Add newer Intel PCH internal devices. To generate a diff of this commit: cvs rdiff -u -r1.1420 -r1.1421 src/sys/dev/pci/pcidevs Please note th

CVS commit: src/sys/dev/pci

2020-11-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 19 02:36:30 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Add some sysctl values for debugging TX/RX queues. To generate a diff of this commit: cvs rdiff -u -r1.696 -r1.697 src/sys/dev/pci/if_wm.c Ple

CVS commit: src/sys/dev/pci/ixgbe

2020-11-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 19 02:23:24 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.h Log Message: Add comment. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/ixgbe/ixgbe.h Please note that diffs are not

CVS commit: src/sys/dev/ic

2020-11-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Nov 16 00:12:13 UTC 2020 Modified Files: src/sys/dev/ic: ath.c atppc.c Log Message: s/reseting/resetting/ To generate a diff of this commit: cvs rdiff -u -r1.132 -r1.133 src/sys/dev/ic/ath.c cvs rdiff -u -r1.36 -r1.37 src/s

CVS commit: src/sys/dev/pci/ixgbe

2020-11-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 13 05:53:36 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that some advertise speeds can't be set with hw.ixgN.advertise_speed if both 2.5G and 5G are set. Fix the error message, too. T

CVS commit: src/sys/dev/pci/ixgbe

2020-11-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 13 04:12:38 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe_x540.c Log Message: Fix typo in a debug message. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/ixgbe/ixgbe_x540.c Please

CVS commit: src/sys/dev/mii

2020-11-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Nov 4 09:15:10 UTC 2020 Modified Files: src/sys/dev/mii: igphy.c ihphy.c makphy.c Log Message: Fix a bug that "ifconfig xx0 media none" set LINK_STATE_UNKNOWN instead of LINK_STATE_DOWN. XXX We should check for other PHY d

CVS commit: src/sys/dev/pci

2020-10-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Oct 30 06:29:47 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c if_wmvar.h Log Message: Add WMPHY_I350. Not used yet. To generate a diff of this commit: cvs rdiff -u -r1.693 -r1.694 src/sys/dev/pci/if_wm.c cvs rdiff -u -r

CVS commit: src/sys/dev/pci

2020-10-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Oct 30 06:23:39 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Add new sysctl hw.wmN.debug_flags. This sysctl can be used if WM_DEBUG is set. OK'd by knakahara. % sysctl -d hw.wm0.debug_flags hw.wm0.debug_fl

CVS commit: src/sys/dev/pci

2020-10-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Oct 28 07:08:08 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Add missing drain for pcq in wm_stop_locked(). OK'd by knakahara. This change fixes two problems: 1. If the pcq is full and watchdog timer is f

CVS commit: src/sys/dev/mii

2020-10-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 20 08:53:34 UTC 2020 Modified Files: src/sys/dev/mii: makphy.c Log Message: Add Intel I347-AT4. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/mii/makphy.c Please note that diffs are not publ

CVS commit: src/sys/dev/pci

2020-10-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Oct 16 05:53:40 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fixes a problem that the attach function reported "wm_gmii_setup_phytype: Unknown PHY model. OUI=00, model=" and "PHY type is still unkno

CVS commit: src/sbin/ifconfig

2020-09-29 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 29 08:52:11 UTC 2020 Modified Files: src/sbin/ifconfig: ifconfig.8 Log Message: Add [-]eee and [-]vlan-hwfilter. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/sbin/ifconfig/ifconfig.8 Please note

CVS commit: src/sys/dev/scsipi

2020-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 29 03:04:03 UTC 2020 Modified Files: src/sys/dev/scsipi: cd.c Log Message: s/settng/setting/ To generate a diff of this commit: cvs rdiff -u -r1.347 -r1.348 src/sys/dev/scsipi/cd.c Please note that diffs are not public

CVS commit: src

2020-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 29 03:02:19 UTC 2020 Modified Files: src/sys/arch/atari/dev: ncr5380.c src/sys/arch/mac68k/dev: ncr5380.c src/sys/dev/scsipi: cd.c src/sys/fs/nfs/client: nfs_clbio.c src/usr.bin/config: conf

CVS commit: src

2020-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 29 02:58:53 UTC 2020 Modified Files: src/bin/csh: file.c src/distrib/utils/more: more.help prim.c src/lib/libc/arch/vax/string: index.S src/sbin/disklabel: main.c src/sys/arch/acorn32/stand/

CVS commit: src

2020-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 29 02:49:56 UTC 2020 Modified Files: src/distrib/alpha/instkernel/ramdisk: install.sh src/doc: CHANGES.prev src/etc/defaults: rc.conf src/sbin/disklabel: main.c src/sys/arch/atari/stand/ahdi

CVS commit: src/sys/dev/pci

2020-09-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 24 08:00:59 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Small fixes from knakahara: - Check return value correctly in wm_lv_jumbo_workaround_ich8lan(). - Fix comment. To generate a diff of this commi

CVS commit: src/sys/dev/ic

2020-09-20 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Sep 21 06:57:00 UTC 2020 Modified Files: src/sys/dev/ic: rtl8169.c rtl81x9reg.h rtl81x9var.h Log Message: - Print chip revision. From OpenBSD. - Rename RTK_HWREV_8168_SPIN[123] to RTK_HWREV_8168'B'_SPIN[123]. Same as other

CVS commit: src/sys/dev/pci

2020-09-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Sep 16 15:04:58 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Use 12K for packet buffer for jumbo frame on PCH2 and newer. XXX Note that Linux Use 14K. To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/sys/dev

2020-09-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Sep 16 15:04:02 UTC 2020 Modified Files: src/sys/dev/mii: inbmphyreg.h src/sys/dev/pci: if_wm.c if_wmreg.h Log Message: Add a workaround for jumbo frame on PCH2 and newer. Tested by chs@. - Add wm_lv_jumbo_workaroun

CVS commit: src/sys/dev/pci

2020-09-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 15 08:39:04 UTC 2020 Modified Files: src/sys/dev/pci: if_wm.c if_wmvar.h Log Message: Add new flag named WM_F_CRC_STRIP and use it. No functional change. This change also sets the RCTL_SECRC bit on I211 but it doesn't

CVS commit: src/sys/dev/pci/ixgbe

2020-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Sep 7 05:50:58 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: if_fdir.c if_sriov.c ixgbe.c ixv.c Log Message: - Remove extra callout_stop() in ixgbe_detach(). Found by knakahara@. - Rename ix{gbe,v}_free_workqueue() to ix{g

CVS commit: src/sys/dev/pci/ixgbe

2020-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Sep 7 04:15:12 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: __predict_false() should be __predict_true() for adapter->osdep.detaching == false check. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci/ixgbe

2020-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Sep 7 03:57:28 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Don't schedule admin work while shutdown like the recovery mode timer. The admin workqueue also runs while !IFF_UP like the recovery mode

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

2020-09-06 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Sep 7 03:03:09 UTC 2020 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Add CPUID(EAX=07H, ECX=0) ECX bit 16 LA57 from maxv. To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/sys/arch

CVS commit: src/sys/arch/mips/atheros/dev

2020-09-02 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Sep 2 08:26:05 UTC 2020 Modified Files: src/sys/arch/mips/atheros/dev: if_ae.c Log Message: Id -> NetBSD in comment. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/mips/at

CVS commit: src/sys/dev/pci/ixgbe

2020-08-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 1 04:19:16 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_osdep.h Log Message: Fix a panic on shutdown on a machine which use the recovery mode timer. The recovery mode timer is first issued by the call

CVS commit: src/sys/dev/pci/ixgbe

2020-08-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 1 04:06:56 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Call ixgbe_ifstop() instead of ixgbe_stop_locked() in ixgbe_setup_low_power_mode() to stop the timer workqueue. To generate a diff of thi

CVS commit: src/sys/dev/pci/ixgbe

2020-08-31 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 31 14:12:50 UTC 2020 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c ixgbe_common.c ixv.c Log Message: Rename ix{gbe,v}_stop() with ix{gbe,v}_stop_locked(). No functional change. To generate a diff of this commit: cvs r

  1   2   3   4   5   6   7   8   9   10   >