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

2021-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 28 22:17:49 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: fix off-by-one check in another KASSERT() for bcount still related to PR port-xen/56328 To generate a diff of this commit: cvs

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

2021-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 28 21:38:50 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: fix intentional, but eventually faulty off-by-one for the maximum number of segments for I/O - this was supposed to allow

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

2021-06-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jun 16 10:49:50 UTC 2021 Modified Files: src/sys/arch/xen/xenbus: xenbus_probe.c Log Message: Grab KERNEL_LOCK before calling config_found() To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

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

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:11:59 UTC 2021 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: in xen_shm_map(), make sure to unmap any successfully mapped pages before returning failure if there is partial failure fix

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

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:02:25 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: reset xio_xv before calling xbdback_io_error() so it won't try to unmap the non-initialized handles when xen_shm_map() fails

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

2020-11-30 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Nov 30 17:05:02 UTC 2020 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Switch some debug/informational printf to device_printf(). Usefull for multiprocessor environnement. To generate a diff of this commit:

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

2020-11-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Nov 15 14:01:06 UTC 2020 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Don't restrict debug event to XENPV, it's also usefull for PVH/PVHVM To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96

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

2020-09-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Sep 15 10:58:02 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Fix side effect of previous commit: skip xencons attachement only for PVHVM guests. Should fix issue with console on PV dom0 reported by

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

2020-09-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Sep 9 16:46:06 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Workarounds for amazon's Xen 4.2 version, still present on some instances: - It doens't provides an xencons, so allow

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

2020-08-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Aug 26 15:54:11 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Nix trailing whitespace and mixed space/tab indentation. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128

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

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:39:40 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c xen_intr.c Log Message: adjust includes to pull __HAVE_PCI_MSI_MSIX properly To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2020-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 19 16:20:36 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: add #ifdef __HAVE_PCI_MSI_MSIX so this still compiles with NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2020-07-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 13 21:21:57 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: change xbd_unmap_align() to get the bp via argument rathen than req_bp, to avoid using req_bp after it's been set to NULL by the time

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

2020-07-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 8 11:11:00 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter() Follows revision 1.177 of sys/arch/x86/x86/cpu.c: """ Add a small

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

2020-06-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 29 21:45:50 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: when using two linked requests for I/O (i.e. when backend doesn't support INDIRECT segments), make sure to clear req_bp for both of

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

2020-06-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 27 09:54:08 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: avoid excessive stack usage in mp_cpu_start(), this is called after VM init so kmem(9) can be used To generate a diff of this commit: cvs

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

2020-06-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jun 24 14:33:08 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: fix tyop in KASSERT() condition which made it an assignment rather than a check the field indeed is supposed to be set to

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

2020-06-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 4 08:24:44 UTC 2020 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: G.C. No functional change. OK'd by bouyer@. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/xen

2020-05-26 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue May 26 10:11:56 UTC 2020 Modified Files: src/sys/arch/xen/include: xenio.h src/sys/arch/xen/xen: privcmd.c Log Message: Implement new ioctl, needed by Xen 4.13: IOCTL_PRIVCMD_MMAPBATCH_V2 IOCTL_PRIVCMD_MMAP_RESOURCE

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

2020-05-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat May 23 14:51:19 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: switch back to PHYSDEVOP_alloc_irq_vector for non-MSI interrupts - on my computer it works the same as PHYSDEVOP_map_pirq, but seems it

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

2020-05-22 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri May 22 17:44:05 UTC 2020 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Set frame = NULL in XENPV whether DIAGNOSTIC or not. For Xen PV, the interrupt logic stores the relevant information in the CPU's

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

2020-05-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue May 19 21:57:25 UTC 2020 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: Remove duplicate def of tsc_get_timecount(). To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/arch/xen

2020-05-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 15 07:42:58 UTC 2020 Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: pintr.c Log Message: use short for irq2port[] to save memory (4KB), it only needs to store numbers <= NR_EVENT_CHANNELS

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

2020-05-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 15 07:31:07 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: only call PHYSDEVOP_map_pirq for a shared interrupt once, same as previous code fixes boot problem reported privately by Frank Kardel and

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

2020-05-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu May 14 19:36:03 UTC 2020 Modified Files: src/sys/arch/xen/include: intr.h Log Message: xen_vec_alloc() is no more To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/xen/include/intr.h Please note

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

2020-05-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu May 14 13:25:40 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: fix resume for xennet, now the network continues working after resume we can't read feature-rx-copy in resume, at that time the

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

2020-05-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu May 14 13:18:55 UTC 2020 Modified Files: src/sys/arch/xen/xenbus: xenbus_probe.c Log Message: fix compile when DPRINK() is defined To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

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

2020-05-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu May 14 09:47:25 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: rearrange so that suspend & resume doesn't cause panics, and interface is more likely to work - particularly, don't try to

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

2020-05-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed May 13 22:13:49 UTC 2020 Modified Files: src/sys/arch/xen/xen: shutdown_xenbus.c Log Message: fix how shutdown is acknowledged - do it just by writing empty value into the key; this is necessary for suspend, for it removal

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

2020-05-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed May 13 16:17:46 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: move the xen_intr_disestablish() to resume - having it in suspend seems to cause panic in later phases of suspend don't try to revoke

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

2020-05-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed May 13 16:13:14 UTC 2020 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: need to set the version on resume same as during initialization part of PR port-xen/55207 To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/xen

2020-05-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed May 13 13:19:38 UTC 2020 Modified Files: src/sys/arch/xen/xen: evtchn.c src/sys/arch/xen/xenbus: xenbus_comms.c xenbus_comms.h xenbus_probe.c Log Message: don't reinitialize mutexes/cv on resume part of PR

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

2020-05-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue May 12 09:54:02 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: move xen_intr_disestablish() call in xbd_xenbus_suspend() so it's executed without holding the xbd mutex, to avoid LOCKDEBUG assertion

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

2020-05-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat May 9 08:01:38 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Also set x86_delay to xen_delay, unbreaks PVH To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84

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

2020-05-08 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri May 8 17:28:33 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: strlcpy() the command line only if it's present. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83

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

2020-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 7 19:52:50 UTC 2020 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Go back using cpu_info_primary, all events are bound to vCPU 0 by default. Register the event handler on cpu_info_primary. While there.

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

2020-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 7 19:49:30 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: This should be mpsafe, register the event handler as such. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96

CVS commit: src/sys/arch/xen

2020-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 7 19:48:58 UTC 2020 Modified Files: src/sys/arch/xen/include: evtchn.h src/sys/arch/xen/x86: xen_intr.c xen_ipi.c src/sys/arch/xen/xen: evtchn.c xen_clock.c Log Message: Change event_set_handler() to take

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

2020-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 7 19:25:57 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c xencons.c Log Message: Localify. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/arch/xen/xen/xbd_xenbus.c cvs rdiff -u

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

2020-05-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 7 15:44:35 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Cast physical address to uintptr_t, fix PAE build. Pointed out by John D. Baker To generate a diff of this commit: cvs rdiff -u -r1.81

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 20:40:33 UTC 2020 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: The event channel is not necesserely bound to the primary CPU. Use the CPU returned in the interrupt handler instead. To generate a diff

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 20:09:26 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Drop xbdi_lock() before calling intr_disestablish(), it needs to take cpu_lock. To generate a diff of this commit: cvs rdiff -u

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:52:19 UTC 2020 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: Attempts to make MP-safe: xpmap_ptom_unmap() doens't need to be called at splvm; we own the pa. Use atomic ops to change pmap_pa_end Make

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:50:26 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_bus_dma.c Log Message: Make MP-safe: make sure the xpq_queue* are flushed before making the pages visible to UVM. To generate a diff of this commit: cvs

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:49:00 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: We can't take v_interlock with a spin lock held. Release xbdi_lock before scheduling the I/O, and take again once queued. It looks

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:47:05 UTC 2020 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c xenfunc.c Log Message: xpq_queue_* use per-cpu queue; splvm() is enough to protect them. remove the XXX SMP comments. To generate a diff of this

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 17:28:26 UTC 2020 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: KASSERT() that the per-cpu queues are run at IPL_VM after boot. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 17:27:39 UTC 2020 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: No need to run hypercalls at IPL_VM. XXX still not MP-safe To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 16:50:13 UTC 2020 Modified Files: src/sys/arch/xen/xenbus: xenbus_comms.c xenbus_comms.h xenbus_probe.c xenbus_xs.c Log Message: Convert remaining splfoo/splx and tsleep/wakeup to mutex and condvar. Mark

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 13:43:48 UTC 2020 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: remove the per-channel spin lock and instead make sure that events add/remove will only be done on the CPU the handler is bound to, with

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

2020-05-05 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue May 5 09:52:13 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: due to the locking wild west for if_ioctl can't assert IFNET_LOCKED() in xennet_ioctl(), so just do splnet() like other drivers

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

2020-05-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon May 4 10:03:45 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: fix delet-o To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/arch/xen/xen/if_xennet_xenbus.c Please

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

2020-05-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon May 4 08:22:45 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c xennet_checksum.c xennetback_xenbus.c Log Message: remove IPv4 csum offloading for xennet(4) - it's not complete, and even if it

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

2020-05-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 3 17:56:19 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: add support for scatter-gather also for frontend Rx path (backend -> frontend) enable ETHERCAP_JUMBO_MTU and feature-sg To

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

2020-05-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 3 17:54:28 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: reduce buffer size for format_number() so that xbd(4) would show the size in KB/GB/TB instead of bytes again; the '9' matches what

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

2020-05-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun May 3 17:24:11 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: For PVH and HVM, copy hvm_start_info.flags to xen_start_info.flags To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

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

2020-05-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun May 3 17:23:14 UTC 2020 Modified Files: src/sys/arch/xen/x86: pvh_consinit.c Log Message: Hanble dom0 console. This one doesn't need a ring to be mapped, and can be used earlier. To generate a diff of this commit: cvs

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

2020-05-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 3 16:10:26 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennet_checksum.c Log Message: return EOPNOTSUPP for unknown IP protocol (same as unknown ethernet type), so that EINVAL is returned only when the packet is too

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

2020-05-02 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat May 2 16:46:06 UTC 2020 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: This is called pvh_consinit not hvm_consinit To generate a diff of this commit: cvs rdiff -u -r1.183 -r1.184

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

2020-05-02 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat May 2 11:28:02 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: fix gref offset when setting up copy of multi-fragment packet so data for second and further fragments gets copied into correct

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

2020-05-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 1 19:59:47 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: destroy dma maps in xennetback_xenbus_destroy() to avoid memory leak when xvif(4) is destroyed To generate a diff of this

CVS commit: src/sys/arch/xen

2020-05-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 1 19:53:17 UTC 2020 Modified Files: src/sys/arch/xen/include: xennet_checksum.h src/sys/arch/xen/xen: if_xennet_xenbus.c xennet_checksum.c xennetback_xenbus.c Log Message: make the csum

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

2020-04-30 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 30 11:23:44 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: add support for scatter-gather when accepting packets on frontend Tx path (frontend -> backend) don't enable

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

2020-04-30 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 30 11:19:39 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: NETTXF_csum_blank and NETTXF_data_validated should be set only for first fragment of the packet To generate a diff of this

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

2020-04-28 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 28 13:27:29 UTC 2020 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Remove debug printfs To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/arch/xen/xen/hypervisor.c Please note that

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

2020-04-28 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 28 13:21:01 UTC 2020 Modified Files: src/sys/arch/xen/xenbus: xenbus_probe.c Log Message: Skip block device with device-type "cdrom", as their emulation can't be disabled; and the backend driver doesn't handle them

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

2020-04-26 Thread Roy Marples
Module Name:src Committed By: roy Date: Sun Apr 26 20:41:30 UTC 2020 Modified Files: src/sys/arch/xen/xen: xen_clock.c Log Message: Guard xen_wallclock with XENPV. Thanks to riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2020-04-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 26 13:09:53 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: bump send queue to 2*NET_TX_RING_SIZE to make it less likely packets are dropped on load m_defrag() short packets before

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

2020-04-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 26 12:58:28 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: support feature-sg practical offshot of this xennet(4) now supports jumbo frames, it is also necessary for eventual TSO support

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

2020-04-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 26 12:38:22 UTC 2020 Modified Files: src/sys/arch/xen/xen: xennet_checksum.c Log Message: if part of checksum was undeferred via sw and part not, count it as both To generate a diff of this commit: cvs rdiff -u -r1.10

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

2020-04-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 25 20:05:25 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: parse indirect_op using appropriate 32/64-bit access types, this fixes the BLKIF_OP_INDIRECT handling for 32-bit DomU running

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

2020-04-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 25 11:33:28 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c xennetback_xenbus.c Log Message: use m_defrag() instead of local code now that it returns single mbuf To generate a diff of this commit:

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 15:06:50 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: also let backend know that feature-ipv6-csum-offload is supported To generate a diff of this commit: cvs rdiff -u -r1.115

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 14:54:48 UTC 2020 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: g/c unused macro To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/xen/xen/if_xennet_xenbus.c

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 09:16:21 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: make xbdback actually MPSAFE and stop using KERNEL_LOCK() remove no longer necessary atomics, the counters are now always updated

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 08:09:25 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: allocate xbdback_io instances as part of struct xbdback_instance and stop using pool_cache(9), to remove possibility for the

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 07:39:07 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: g/c no longer used xbdi_same_page and xbdi_lastfragio_time To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88

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

2020-04-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 23 07:24:40 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: g/c no longer needed xbdi_io structure member, just pass it as continuation parameter To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen

2020-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 21 19:03:51 UTC 2020 Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: xen_intr.c Log Message: adjust so that this at least compiles and links with __HAVE_PCI_MSI_MSIX To generate a diff

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

2020-04-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 21 18:25:12 UTC 2020 Modified Files: src/sys/arch/xen/include: intrdefs.h Log Message: XEN_IPI_KICK was replaced by XEN_IPI_AST. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

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

2020-04-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 21 18:24:05 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Remove spurious reference to XEN_IPI_KICK - it represents the absence of a specific IPI type. To generate a diff of this commit: cvs rdiff -u

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

2020-04-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 21 18:22:29 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Follow convention and put entire predicate inside __predict_false() To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

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

2020-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 21 14:51:07 UTC 2020 Modified Files: src/sys/arch/xen/include: xenring.h Log Message: add blkif_x86_{32,64}_request_indirect types To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2020-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 21 13:56:18 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: add support for indirect segments, which makes it possible to pass up to MAXPHYS (implementation limit, interface allows more)

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

2020-04-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 21 13:31:09 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: adjust the condition for max indirect segments to make it clear what is really needed (enough to map MAXPHYS + 1 page); no functional

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

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 20:03:21 UTC 2020 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Pull from bouyer-xenpvh: Bad news: * grant table v2 is not supported for HVM guests on 4.11 at last. * see xen/arch/x86/hvm/hypercall.c in

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

2020-04-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 20 19:29:09 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback_fragio_intvl is also no longer used To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

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

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:20:36 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix build with DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/xen/xen/xbdback_xenbus.c

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

2020-04-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 20 16:12:28 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: remove I/O defragmentation logic, pass requests straight to the underlying block device without trying to coalesce them it seems

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

2020-04-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Apr 20 14:11:05 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: do not retry when xen_shm_map() fails after having returned error for it, it corrupts the ring; just go to next request should

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

2020-04-19 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Apr 20 03:00:33 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix typo to make compilable. To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/arch/xen/xen/xbdback_xenbus.c

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

2020-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 19 20:53:20 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: SLIST_INIT() xbdi->xbdi_va_free just for clarity To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

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

2020-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 19 20:07:54 UTC 2020 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: make privpgops const To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/xen/xen/privcmd.c Please note that

CVS commit: src/sys/arch/xen

2020-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 19 18:47:40 UTC 2020 Modified Files: src/sys/arch/xen/include: xen_shm.h src/sys/arch/xen/x86: xen_shm_machdep.c src/sys/arch/xen/xen: hypervisor.c xbdback_xenbus.c Log Message: change interface for

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

2020-04-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Apr 19 16:45:09 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: fix calculation of remaining bytes in xbd_diskstart_submit() for second part of exactly I/O over 32KB when the remaining size was less

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

2020-04-18 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 18 23:24:49 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: read feature-persistent value on connect, e.g. the Linux Dom0 writes the value only together with the device info; no functional

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

2020-04-18 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Apr 18 16:58:00 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: make compile with XBD_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/xen/xen/xbd_xenbus.c

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

2020-04-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Apr 17 10:35:06 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: constify xbddkdriver To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/arch/xen/xen/xbd_xenbus.c Please note

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

2020-04-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Apr 17 10:32:19 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: remove some old #if 0 code To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/arch/xen/xen/xbd_xenbus.c Please

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

2020-04-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 16 16:38:43 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: if backend supports it, use indirect segment for I/O requests over 32KB there is some overhead for backend without persistent

  1   2   3   4   5   6   >