HomeSort by: relevance | last modified time | path
    Searched hist:1.645 (Results 1 - 25 of 25) sorted by relevancy

  /src/sys/dev/pci/
if_wm.c 1.645 Tue Jul 30 04:42:29 UTC 2019 msaitoh branches: 1.645.2;
- rnd_add_*() call must be serialized. Unserialized accesses broke the
sc->rnd_source structure and caused off by one in kern_rndq.c's
rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
rnd(9) manual page says "To allow the system to gather the timing information
accurately, this call should be placed within the actual hardware interrupt
service routine."
- Pass a better value to rnd_add_uint32() in wm_intr_legacy().

XXX pullup-8.
Tue Jul 30 04:42:29 UTC 2019 msaitoh branches: 1.645.2;
- rnd_add_*() call must be serialized. Unserialized accesses broke the
sc->rnd_source structure and caused off by one in kern_rndq.c's
rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
rnd(9) manual page says "To allow the system to gather the timing information
accurately, this call should be placed within the actual hardware interrupt
service routine."
- Pass a better value to rnd_add_uint32() in wm_intr_legacy().

XXX pullup-8.
1.508.4.34 Thu Aug 01 13:50:13 UTC 2019 martin Pull up following revision(s) (requested by msaitoh in ticket #1312):

sys/dev/pci/if_wm.c: revision 1.644
sys/dev/pci/if_wm.c: revision 1.645
sys/dev/pci/if_wmreg.h: revision 1.115

Define RETA_ENTRY_MASK_Q(used in RSS redirection table) correctly.
Found by UBSan.

Use aprint_debug_dev() instead of printf() in wm_ulp_disable().

- rnd_add_*() call must be serialized. Unserialized accesses broke the
sc->rnd_source structure and caused off by one in kern_rndq.c's
rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
rnd(9) manual page says "To allow the system to gather the timing information
accurately, this call should be placed within the actual hardware interrupt
service routine."

- Pass a better value to rnd_add_uint32() in wm_intr_legacy().
XXX pullup-8.
1.645.2.21 Fri Feb 23 19:45:40 UTC 2024 martin Pull up the following, requested by msaitoh in ticket #1802:

sys/dev/pci/if_wm.c 1.794-1.798 via patch
sys/dev/pci/if_wmreg.h 1.131

- Add RQDPC(Receive Queue Drop Packet Count) to iqdrops.
- Drop frames if the RX descriptor ring has no room on multiqueue
system.
- Improve dmesg output:
- Print RX packet buffer size.
- Fix the upper 16bit of Image Unique ID(EtrackID).
1.645.2.20 Sat Feb 03 00:02:58 UTC 2024 martin Pull up following revision(s) (requested by msaitoh in ticket #1791):

sys/dev/pci/if_wm.c: revision 1.793

Add Intel I219-{LM,V}(20,21) support.
1.645.2.19 Wed Oct 18 14:29:18 UTC 2023 martin Pull up following revision(s) (requested by msaitoh in ticket #1754):

sys/dev/pci/pcidevs: revision 1.1497
sys/dev/pci/if_wm.c: revision 1.790
sys/dev/pci/if_wm.c: revision 1.791
sys/dev/pci/if_wmvar.h: revision 1.51

pcidevs: Add Intel I219{V,LM}({22,23})

wm(4): Add a new workaround for Tiger Lake and newer.
- Define new WM_T_PCH_TGP and use it for Tiger Lake and newer.
Note that we don't define WM_T_PCH_ADP because we have no any
Alder Lake specific workaround yet.
- Add new workaround for Tiger Lake (and newer) in wm_init_locked()
to avoid packet loss.

wm(4): Add I219{V,LM}({22,23}) devices (Raptor Lake).
1.645.2.18 Sun Oct 08 15:28:49 UTC 2023 martin Pull up following revision(s) (requested by msaitoh in ticket #1746):

sys/dev/pci/if_wm.c: revision 1.785
sys/dev/pci/if_wm.c: revision 1.786
sys/dev/pci/if_wm.c: revision 1.787
sys/dev/pci/if_wm.c: revision 1.788
sys/dev/pci/if_wm.c: revision 1.789

wm(4): Use SCVPC and HRMPC for 82575 and newer.
The SCVPC(SerDes/SGMII Code Violation Packet Count) register and the HRMPC
(Header Redirection Missed Packet Count) register were added in if_wm.c
rev. 1.776 but the location in the code were incorrect. Fix them.

wm(4): Add some info to some event counters.
- The difference between the RUC(Rx Undersize) and RFC(Rx Fragment) is whether
the CRC is valid or not.
- The difference between the ROC(Rx Oversize) and RJC(Rx Jabber) is whether
the CRC is valid or not.
- LENERRS(Length Errors) is for the length/type field <= 1500.

wm(4): the IAC(Interrupt Assertion Count) register is for 82571 and newer.

wm(4): Modify descriptions of flow control related event counters.

wm(4): Replace /* nothing */ to __nothing for evcnt macros
Prevent empty if bodies for !WM_EVENT_COUNTERS.
1.645.2.17 Mon Sep 04 17:55:24 UTC 2023 martin Pull up following revision(s) (requested by msaitoh in ticket #344):

sys/dev/pci/if_wmvar.h: revision 1.50
sys/dev/pci/if_wm.c: revision 1.783,1.784 via patch

Delay sending LINK_STATE_UP to prevent dropping packets on I35[04] and I21[01].

Some (not all) systems use I35[04] or I21[01] don't send packet soon
after linkup. The MAC send a packet to the PHY and any error is not
observed. This behavior causes a problem that gratuitous ARP and/or
IPv6 DAD packet are silently dropped. To avoid this problem, don't
call mii_pollstat() here which will send LINK_STATE_UP notification
to the upper layer. Instead, mii_pollstat() will be called in
wm_gmii_mediastatus() or mii_tick() will be called in wm_tick().

Note that the similar workaround is in Linux's igb driver though it's
only for I21[01].

OK'd by hikaru@ and knakahara@.

Fix #ifdef WM_DEBUG code in wm_gmii_i82544_{read,write}reg_locked.
1.645.2.16 Tue Jun 27 18:32:46 UTC 2023 martin Pull up the following revisions, requested by msaitoh in #1656:

sys/dev/pci/if_wm.c 1.768-1.782 via patch
sys/dev/pci/if_wmreg.h 1.129-1.130
sys/dev/pci/if_wmvar.h 1.49

wm(4):
- Rework for event counters:
- Fix calculation of GORC, GOTC, TOR and TOT counters correctly.
- Rearrange the order of the registers so that they are roughly
in ascending order.
- Reorder evcnt_attach_dynamic(), WM_EVCNT_ADD() and evcnt_detach()
to match.
- IC{TX,RX}*C registers are for older than 82575.
- Fix a bug that the transmit underrun counter is incorrectly
counted.
- Don't add "Count" for event counter's description.
- Some statistics registers were replaced with new counters on newer
chips. Treat 0x403c(CEXTERR->HTDPMC), 0x40fc(TSCTFC->CBRMPC),
0x4124(ICRXOC->HTCBDPC) and from 0x4104 to 0x4124.
- Add some new counters:
- Circuit Breaker TX Manageability Packet
- Circuit Breaker RX Dropped Packet
- Host Good Octets RX
- Host Good Octets TX
- Length Errors
- SerDes/SGMII Code Violation Packet
- Header Redirection Missed Packet
- EEE TX LPI
- EEE RX LPI
- Fix prc511's comment and description.
- Add SOICZIFDATA (ifconfig -z) support for evcnt(9).
- Use WM_IS_ICHPCH(). No functional change.
- Fix typo. s/ictxact/ictxatc/. No functional change.
- Add comment.
1.645.2.15 Mon Jan 23 13:59:04 UTC 2023 martin Pull up the following revisions, requested by msaitoh in ticket #1578:

sys/dev/pci/if_wm.c 1.764-1.767 via patch
sys/dev/pci/if_wmreg.h 1.128

- Workaround for some hypervisor environments. The environments
cannot stop e1000 interrupt immediately.
- Rename nq_txdesc' member "nqrx_ctx" to "nqtx_ctx". No functional
change.
- Add comment. Modify comment.
- KNF.
if_wmreg.h 1.98.6.10 Thu Aug 01 13:50:14 UTC 2019 martin Pull up following revision(s) (requested by msaitoh in ticket #1312):

sys/dev/pci/if_wm.c: revision 1.644
sys/dev/pci/if_wm.c: revision 1.645
sys/dev/pci/if_wmreg.h: revision 1.115

Define RETA_ENTRY_MASK_Q(used in RSS redirection table) correctly.
Found by UBSan.

Use aprint_debug_dev() instead of printf() in wm_ulp_disable().

- rnd_add_*() call must be serialized. Unserialized accesses broke the
sc->rnd_source structure and caused off by one in kern_rndq.c's
rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
rnd(9) manual page says "To allow the system to gather the timing information
accurately, this call should be placed within the actual hardware interrupt
service routine."

- Pass a better value to rnd_add_uint32() in wm_intr_legacy().
XXX pullup-8.
pcidevs.h 1.645 Wed Aug 04 19:29:05 UTC 2004 mycroft Regen.
pcidevs_data.h 1.645 Thu Aug 05 21:44:01 UTC 2004 mycroft Regen.
pcidevs 1.645 Thu Aug 05 16:26:05 UTC 2004 cube Add the GeForce 5900XT. Totally not related to Doom3 release. Honest.
  /src/sys/dev/usb/
usbdevs.h 1.645 Mon Sep 02 07:41:01 UTC 2013 christos regen
usbdevs_data.h 1.645 Sat Aug 10 21:15:26 UTC 2013 jnemeth PR/48112 - Kai-Uwe Eckhardt -- add support for Sitecom N300 usb wifi adapter
usbdevs 1.645 Sat Mar 30 03:03:48 UTC 2013 christos missed one
  /src/usr.bin/xlint/lint1/
tree.c 1.645 Sat Jun 08 11:55:40 UTC 2024 rillig lint: fix type of GCC-specific __FUNCTION__ to be an array
  /src/usr.bin/make/
parse.c 1.645 Sun Jan 09 11:28:04 UTC 2022 rillig make: in ApplyDependencySourceWait, align variable type with %u

No binary change.
main.c 1.645 Sat May 03 08:18:33 UTC 2025 rillig make: miscellaneous cleanups
var.c 1.645 Mon Nov 02 17:00:33 UTC 2020 rillig make(1): format code in ApplyModifiersIndirect and ApplyModifiers
  /src/share/man/man4/
Makefile 1.645 Tue Nov 28 11:59:16 UTC 2017 wiz Install qemufwcfg(4) and mount_qemufwcfg(8).
  /src/sys/arch/i386/i386/
machdep.c 1.645 Tue Nov 11 06:46:42 UTC 2008 dyoung It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled. So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown(). No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown(). I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that. Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
  /src/sys/sys/
param.h 1.645 Thu Jan 23 17:03:20 UTC 2020 ad NetBSD 9.99.42 - struct vnode changed.
  /src/sys/arch/i386/conf/
GENERIC 1.645 Thu Dec 02 14:33:31 UTC 2004 xtraeme Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed and ok'ed by cube@ and martin@.
  /src/sys/conf/
files 1.645 Thu Dec 04 19:38:23 UTC 2003 atatat Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded. Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment. I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
  /src/doc/
CHANGES 1.645 Fri Jun 30 23:05:28 UTC 2006 chap Terminates chap-midi branch.
3RDPARTY 1.645 Mon Oct 20 00:09:15 UTC 2008 martti IPF 4.1.31 is out
  /src/distrib/sets/lists/tests/
mi 1.645 Mon Sep 14 05:22:56 UTC 2015 ozaki-r Add tests for IPv6 ICMP redirect

Note that tests for redirect timeout doesn't work for now due to
PR kern/50240.

From s-yamaguchi@IIJ (with some fixes and tweaks by ozaki-r)
  /src/share/mk/
bsd.own.mk 1.645 Sun Dec 05 09:54:34 UTC 2010 mrg switch ofppc to xorg.
  /src/distrib/sets/lists/base/
mi 1.645 Sat Aug 19 10:58:40 UTC 2006 tnozaki 1. added iconv support of Chinese Simplefied encoding, GBK.
2. added Unicode mapping of 2byte GB18030 User Defined Area.
shl.mi 1.645 Thu Jan 03 23:20:29 UTC 2013 christos bump libmagic
  /src/distrib/sets/lists/man/
mi 1.645 Sun Jan 04 00:54:18 UTC 2004 lukem Support MKCRYPTO=no
  /src/distrib/sets/lists/comp/
mi 1.645 Wed Dec 10 11:40:11 UTC 2003 hannken The file system snapshot pseudo driver.

Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>

Completed in 2509 milliseconds