CVS commit: src/sys/arch/xen/xen

2024-01-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jan 9 18:39:53 UTC 2024 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: disable TX checksum optimization, it's causing ARP lossage in some configurations using Linux dom0 PR port-xen/57743 by Brian

CVS commit: src/sys/arch/xen/xen

2024-01-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jan 9 18:39:53 UTC 2024 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: disable TX checksum optimization, it's causing ARP lossage in some configurations using Linux dom0 PR port-xen/57743 by Brian

CVS commit: src/sys/arch/xen/xen

2023-12-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 30 21:46:52 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback_xenbus.c: Nix trailing whitespace again. No functional change intended. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-12-30 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Dec 30 21:46:52 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback_xenbus.c: Nix trailing whitespace again. No functional change intended. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-12-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Dec 22 10:22:00 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: sanity check the fragments we get from the guest and reject the whole packet if it fails. Make sure we don't KASSERT() on data we

CVS commit: src/sys/arch/xen/xen

2023-12-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Dec 22 10:22:00 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: sanity check the fragments we get from the guest and reject the whole packet if it fails. Make sure we don't KASSERT() on data we

CVS commit: src/sys/arch/xen/xen

2023-10-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Oct 17 16:09:12 UTC 2023 Modified Files: src/sys/arch/xen/xen: genfb_xen.c Log Message: for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved using a platform hypercall; do so in the XENPVHVM case. Now genfb

CVS commit: src/sys/arch/xen/xen

2023-10-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Oct 17 16:09:12 UTC 2023 Modified Files: src/sys/arch/xen/xen: genfb_xen.c Log Message: for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved using a platform hypercall; do so in the XENPVHVM case. Now genfb

CVS commit: src/sys/arch/xen/xen

2023-10-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 17 10:24:11 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: xen_machdep.c: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.28

CVS commit: src/sys/arch/xen/xen

2023-10-17 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 17 10:24:11 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: xen_machdep.c: Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.28

CVS commit: src/sys/arch/xen/xen

2023-09-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 10 15:23:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: If Xen system time went backward, instead of ignoring the event assume one tick passed and reinitialise the local state. If we need to

CVS commit: src/sys/arch/xen/xen

2023-09-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 10 15:23:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: If Xen system time went backward, instead of ignoring the event assume one tick passed and reinitialise the local state. If we need to

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:57 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_connect. xneti is a private data structure to which we have exclusive access

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:47 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_rx_copy_process. - No need for barrier around touching req_cons and

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:37 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Simplify while loop in xennetback_evthandler. No functional change intended. To generate a diff of this commit:

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:37:55 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Add missing xen_rmb in xennetback_evthandler. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:27 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_evthandler. This should improve throughput without any impact on correctness.

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:16 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Move expensive xen_mb out of xennetback_evthandler loop. Use the cheaper RING_HAS_UNCONFIRMED_REQUESTS for most of

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:16 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Move expensive xen_mb out of xennetback_evthandler loop. Use the cheaper RING_HAS_UNCONFIRMED_REQUESTS for most of

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:37:55 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Add missing xen_rmb in xennetback_evthandler. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:37:44 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Comment on memory barriers in xennetback_evthandler. Note which ones appear unnecessary and which ones appear too

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:57 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_connect. xneti is a private data structure to which we have exclusive access

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:47 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_rx_copy_process. - No need for barrier around touching req_cons and

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:37 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Simplify while loop in xennetback_evthandler. No functional change intended. To generate a diff of this commit:

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:27 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit needless membars in xennetback_evthandler. This should improve throughput without any impact on correctness.

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:05 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit local variable aliasing xneti->xni_txring.req_cons. No functional change intended. To generate a diff of this

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:38:05 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Omit local variable aliasing xneti->xni_txring.req_cons. No functional change intended. To generate a diff of this

CVS commit: src/sys/arch/xen/xen

2023-08-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 9 08:37:44 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xvif(4): Comment on memory barriers in xennetback_evthandler. Note which ones appear unnecessary and which ones appear too

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:41:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Fix xennetback_evthandler loop." PR kern/57560 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:41:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Fix xennetback_evthandler loop." PR kern/57560 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:40:49 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Fix membars in xennetback_rx_copy_process." PR kern/57560 To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:40:49 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Fix membars in xennetback_rx_copy_process." PR kern/57560 To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:40:36 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Omit needless membars in xennetback_connect." PR kern/57560 To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-08-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Aug 4 18:40:36 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Revert "xennetback(4): Omit needless membars in xennetback_connect." PR kern/57560 To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/xen

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 20:11:13 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen: Fix previous commit, forgot to amend it before committing. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/xen/xen

2023-08-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Aug 1 20:11:13 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen: Fix previous commit, forgot to amend it before committing. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:39:14 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): New hardclock dtrace probes. sdt:xen:hardclock:tick(last, now) fires on every hardclock tick

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:39:14 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): New hardclock dtrace probes. sdt:xen:hardclock:tick(last, now) fires on every hardclock tick

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:39:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Compute NS_PER_TICK only once per call. This involves a division by an unknown number, so let's cache it. XXX Could do

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:39:01 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Compute NS_PER_TICK only once per call. This involves a division by an unknown number, so let's cache it. XXX Could do

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:38:44 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Fix whitespace and sprinkle comments. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 10:38:44 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Fix whitespace and sprinkle comments. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-07-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 25 16:15:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Propoerly handle 4k sector size backends: - report the backend's sector size to upper layers, not DEV_BSIZE. Adjust the number of

CVS commit: src/sys/arch/xen/xen

2023-07-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 25 16:15:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Propoerly handle 4k sector size backends: - report the backend's sector size to upper layers, not DEV_BSIZE. Adjust the number of

CVS commit: src/sys/arch/xen/xen

2023-07-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 21 11:28:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Also use XEN_BSIZE when computing the number of bytes for format_bytes(). While there note in a comment that sc_sectors is in XEN_BSIZE

CVS commit: src/sys/arch/xen/xen

2023-07-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 21 11:28:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Also use XEN_BSIZE when computing the number of bytes for format_bytes(). While there note in a comment that sc_sectors is in XEN_BSIZE

CVS commit: src/sys/arch/xen/xen

2023-07-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 21 11:21:56 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: The disk size reported in the xenstore is always in XEN_BSIZE units, not sector-size. Should fix the issue reported by Christian Kujau

CVS commit: src/sys/arch/xen/xen

2023-07-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 21 11:21:56 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: The disk size reported in the xenstore is always in XEN_BSIZE units, not sector-size. Should fix the issue reported by Christian Kujau

CVS commit: src/sys/arch/xen/xen

2023-07-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jul 17 10:12:54 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Unmask event after arming the one-shot timer in clock initialisation, to avoid a possible race with xen_timer_handler() updating

CVS commit: src/sys/arch/xen/xen

2023-07-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jul 17 10:12:54 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Unmask event after arming the one-shot timer in clock initialisation, to avoid a possible race with xen_timer_handler() updating

CVS commit: src/sys/arch/xen/xen

2023-07-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 7 15:13:41 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Unmask event after VCPUOP_stop_periodic_timer and initializing ci->ci_xen_hardclock_systime_ns, to avoid a possible race with

CVS commit: src/sys/arch/xen/xen

2023-07-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jul 7 15:13:41 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Unmask event after VCPUOP_stop_periodic_timer and initializing ci->ci_xen_hardclock_systime_ns, to avoid a possible race with

CVS commit: src/sys/arch/xen/xen

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 09:03:19 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Sprinkle dtrace probes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/xen/xen_clock.c

CVS commit: src/sys/arch/xen/xen

2023-05-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon May 1 09:03:19 UTC 2023 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_clock(4): Sprinkle dtrace probes. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/xen/xen_clock.c

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:37:47 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:37:47 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:52 UTC 2023 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: xengnt(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:52 UTC 2023 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: xengnt(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:40 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:40 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:28 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.102

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:28 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.102

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:15 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: xbd(4): Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/sys/arch/xen/xen/xbd_xenbus.c

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:35:15 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: xbd(4): Nix trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.130 -r1.131 src/sys/arch/xen/xen/xbd_xenbus.c

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:36 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Omit needless membars in xennetback_connect. xneti is a private data structure to which we have exclusive

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:36 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Omit needless membars in xennetback_connect. xneti is a private data structure to which we have exclusive

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:25 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Fix membars in xennetback_rx_copy_process. - No need for barrier around touching req_cons and rsp_prod_pvt,

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:25 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Fix membars in xennetback_rx_copy_process. - No need for barrier around touching req_cons and rsp_prod_pvt,

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:13 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Fix xennetback_evthandler loop. - After observing the other side has produced pending tx requests by reading

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:34:13 UTC 2023 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: xennetback(4): Fix xennetback_evthandler loop. - After observing the other side has produced pending tx requests by reading

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: xengnt(4): Membar audit. This had the sense of membars reversed, presumably because xen_rmb and xen_wmb had gotten reversed at some

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:50 UTC 2023 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: xengnt(4): Membar audit. This had the sense of membars reversed, presumably because xen_rmb and xen_wmb had gotten reversed at some

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:39 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Reduce unnecessary membars. - xencons_handler: After advancing in_cons, only need one xen_wmb before notifying the

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:39 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Reduce unnecessary membars. - xencons_handler: After advancing in_cons, only need one xen_wmb before notifying the

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:27 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Membar audit. - xenconscn_getc: Once we have consumed an input slot, it is clearer to issue xen_wmb (release, i.e.,

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:27 UTC 2023 Modified Files: src/sys/arch/xen/xen: xencons.c Log Message: xencons(4): Membar audit. - xenconscn_getc: Once we have consumed an input slot, it is clearer to issue xen_wmb (release, i.e.,

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:15 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback(4): Membar audit. After consuming request slots, must issue xen_wmb notifying the other side that we've consumed them in

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:15 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback(4): Membar audit. After consuming request slots, must issue xen_wmb notifying the other side that we've consumed them in

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:04 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: xbd(4): Membar audit. After consuming slots, must issue xen_wmb before notifying the other side that we've consumed them in

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:33:04 UTC 2023 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: xbd(4): Membar audit. After consuming slots, must issue xen_wmb before notifying the other side that we've consumed them in

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:32:49 UTC 2023 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: xennet(4): Membar audit. - xennet_tx_complete: Other side owns rsp_prod, giving us responses to tx commands. We own

CVS commit: src/sys/arch/xen/xen

2023-02-24 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 25 00:32:49 UTC 2023 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: xennet(4): Membar audit. - xennet_tx_complete: Other side owns rsp_prod, giving us responses to tx commands. We own

CVS commit: src/sys/arch/xen/xen

2022-09-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 22 16:21:34 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Fix fallout from previous: ci_ipending is in the low bytes of ci_istate, so we should not left-shift by 8 the ci_ipending value we want to

CVS commit: src/sys/arch/xen/xen

2022-09-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 22 16:21:34 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Fix fallout from previous: ci_ipending is in the low bytes of ci_istate, so we should not left-shift by 8 the ci_ipending value we want to

CVS commit: src/sys/arch/xen/xen

2022-09-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 4 11:20:33 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Release mutexes earlier in xenevt_free(), to call *destroy and kmem_free without holding spin locks. Fixes an occasional deadlock seen when

CVS commit: src/sys/arch/xen/xen

2022-09-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 4 11:20:33 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Release mutexes earlier in xenevt_free(), to call *destroy and kmem_free without holding spin locks. Fixes an occasional deadlock seen when

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 2 05:09:49 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenmem.c Log Message: Fix the syntax of the non _LP64 code fragment to match that in the _LP64 fragment, so hopefully 32 bit ports with XEN (i386) will build again.

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Sep 2 05:09:49 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenmem.c Log Message: Fix the syntax of the non _LP64 code fragment to match that in the _LP64 fragment, so hopefully 32 bit ports with XEN (i386) will build again.

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 16:28:08 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenmem.c Log Message: Call extent_alloc_subregion() with EX_MALLOCOK; under heavy I/O load we need lots of them and the preallocatted extent descriptors are not

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 16:28:08 UTC 2022 Modified Files: src/sys/arch/xen/xen: xenmem.c Log Message: Call extent_alloc_subregion() with EX_MALLOCOK; under heavy I/O load we need lots of them and the preallocatted extent descriptors are not

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 15:33:23 UTC 2022 Modified Files: src/sys/arch/xen/xen: pciback.c xbdback_xenbus.c xennetback_xenbus.c Log Message: in backend drivers, use xen_shm_(un)map for the rings instead of inline, mostly duplicate code. To

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 15:33:23 UTC 2022 Modified Files: src/sys/arch/xen/xen: pciback.c xbdback_xenbus.c xennetback_xenbus.c Log Message: in backend drivers, use xen_shm_(un)map for the rings instead of inline, mostly duplicate code. To

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 15:32:16 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Redo previous; kill the right printf() To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/xen/xen/privcmd.c

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 15:32:16 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Redo previous; kill the right printf() To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/xen/xen/privcmd.c

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 12:31:26 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Remove a noisy printf; HVM guests triggers it (a lot) and it seems to be expected. To generate a diff of this commit: cvs rdiff -u -r1.64

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 12:31:26 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Remove a noisy printf; HVM guests triggers it (a lot) and it seems to be expected. To generate a diff of this commit: cvs rdiff -u -r1.64

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 12:26:00 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Adjust privcmd_notify() so it has a chance to work in a PVH environnement too. To generate a diff of this commit: cvs rdiff -u -r1.63

CVS commit: src/sys/arch/xen/xen

2022-09-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Sep 1 12:26:00 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: Adjust privcmd_notify() so it has a chance to work in a PVH environnement too. To generate a diff of this commit: cvs rdiff -u -r1.63

CVS commit: src/sys/arch/xen/xen

2022-08-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Aug 31 14:00:44 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: If we check XENPV, make sure to #include "opt_xen.h" To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

CVS commit: src/sys/arch/xen/xen

2022-08-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Aug 31 14:00:44 UTC 2022 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: If we check XENPV, make sure to #include "opt_xen.h" To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

  1   2   >