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

2024-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 23 20:47:17 UTC 2024 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_rtc_set: Zero-initialize op before passing to hypervisor. PR port-xen/58362 To generate a diff of this commit: cvs rdiff -u -r1.

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

2024-06-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 23 20:47:17 UTC 2024 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: xen_rtc_set: Zero-initialize op before passing to hypervisor. PR port-xen/58362 To generate a diff of this commit: cvs rdiff -u -r1.

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

2024-06-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jun 20 15:17:27 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix various cosmetic issues pointed out by Roland Illig. NFC. While there add 2024 to copyright. To generate a diff of this commit:

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

2024-06-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jun 20 15:17:27 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix various cosmetic issues pointed out by Roland Illig. NFC. While there add 2024 to copyright. To generate a diff of this commit:

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

2024-06-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jun 19 09:43:22 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix format string for size_t argument To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/arch/xen/xen/xbdback_

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

2024-06-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Wed Jun 19 09:43:22 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix format string for size_t argument To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/arch/xen/xen/xbdback_

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

2024-06-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jun 19 09:02:49 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Restore "sparse" segements support which was lost in rev 1.83, causing VBD corruption with linux guests. The segments in a single req

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

2024-06-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jun 19 09:02:49 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Restore "sparse" segements support which was lost in rev 1.83, causing VBD corruption with linux guests. The segments in a single req

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

2024-06-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jun 13 14:47:54 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Get req->handle and req->sector_number from the correct structure for the current opertation. They happen to be at the same offset in

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

2024-06-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jun 13 14:47:54 UTC 2024 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Get req->handle and req->sector_number from the correct structure for the current opertation. They happen to be at the same offset in

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 Ma

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 Ma

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 rd

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 rd

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 -r1.

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 -r1.

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 cal

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 cal

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 here

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 rsp_prod_pvt,

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

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 src/sy

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. T

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 th

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 th

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 src/sy

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 str

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 here

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 rsp_prod_pvt,

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

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. T

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 str

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 -r1.11

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 -r1.11

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 rdif

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 rdif

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 rd

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 rd

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 src/sys

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 src/sys

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 sdt:xen:hardclock:jump(l

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 sdt:xen:hardclock:jump(l

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 secto

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 secto

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 u

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 u

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 on

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 on

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 ci_xen_ha

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 ci_xen_ha

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 xen_timer_ha

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 xen_timer_ha

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 P

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 P

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 -r1.1

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 -r1.1

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 src/sy

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 src/sy

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 src/

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 src/

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 -r1

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 -r1

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 acces

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 acces

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, w

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, w

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 point

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 point

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 hypervi

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 hypervi

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., load/s

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., load/s

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 RING_FINA

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 RING_FINA

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 rsp_cons

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 rsp_cons

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 ad

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 ad

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 t

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 t

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 en

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 en

  1   2   >