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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Module Name:src
Committed By: jdolecek
Date: Thu Apr 16 09:51:40 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
when checking for physio request check for B_PHYS in b_flags rather
than an internal field, so this works when the original buf is
Module Name:src
Committed By: jdolecek
Date: Wed Apr 15 10:16:47 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
make xbd(4) accept 64k (aka regular MAXPHYS) I/O, use two linked requests
for this, so that it does not require MAXPHYS override in
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 15:16:07 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
fix KASSERT() in xbd_map_align()
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/xen/xen/xbd_xenbus.c
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 14:06:24 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
rearrange slightly to do proper b_resid accounting, to prepare for partial
transfers
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 13:10:43 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
use single pre-allocated buffer for unaligned I/O - it's rare and not
performance critical path, it's more important to ensure it will
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 13:02:40 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
add forgotten mutex_exit() in detach, which caused panic in uvm_unmap1()
due to held spin lock
To generate a diff of this commit:
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 09:27:28 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
provide d_iosize hook to cap the xfer size used for dumps
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 08:22:00 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
if grant fails also revoke the grants for previous segments, fixes
grant leak on grant error
To generate a diff of this commit:
cvs
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 07:41:05 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xengnt.c
Log Message:
DRY - use pages for sizeof() for the frame allocations, so it get's allocated
the correct size without repeating the type
To generate a
Module Name:src
Committed By: jdolecek
Date: Tue Apr 14 07:38:12 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xengnt.c
Log Message:
actually fix also the allocated memory size for the getstatus frames on i386
To generate a diff of this commit:
cvs rdiff -u -r1.33
Module Name:src
Committed By: jdolecek
Date: Mon Apr 13 20:09:13 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
KASSERT() that requested I/O size is <= XBD_MAX_XFER - this can happen
e.g. with custom DomU kernel which doesn't have the value for
Module Name:src
Committed By: jdolecek
Date: Mon Apr 13 16:29:59 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
make xbd(4) D_MPSAFE
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/xen/xen/xbd_xenbus.c
Please note
Module Name:src
Committed By: jdolecek
Date: Sun Apr 12 20:17:36 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
convert to bus_dma(9)
simplify and fix error handling in xbd_handler(), expect backend
to not use the grant once request is finished,
Module Name:src
Committed By: jdolecek
Date: Sun Apr 12 18:14:09 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
add KASSERT() for unaligned case to make sure it indeed happens only
for requests via physio
To generate a diff of this commit:
cvs
Module Name:src
Committed By: jdolecek
Date: Sun Apr 12 13:57:07 UTC 2020
Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c
Log Message:
move IFNET_UNLOCK() immediatelly after xennet_stop() call in detach,
doesn't need to be held for the disestablish
To generate
Module Name:src
Committed By: jdolecek
Date: Sun Apr 12 13:55:06 UTC 2020
Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c
Log Message:
fix locking against myself panic in xennet_stop() on 'ifconfig xennet0 down'
xennet_stop() is called with IFNET already held
Module Name:src
Committed By: jdolecek
Date: Sat Apr 11 17:52:01 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
revert previous - physio arranges for tranfer directly to user-provided
buffers, which are generally not DEV_BSIZE-aligned
To
Module Name:src
Committed By: jdolecek
Date: Sat Apr 11 16:15:34 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
now that getebuf() et.al. always returns DEV_BSIZE-aligned buffers
and rest of kernel code doing disk I/O was also converted over to
Module Name:src
Committed By: jdolecek
Date: Sat Apr 11 16:02:41 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
print 'backend features' instead of just 'features' for the detected backend
features, so that it's clear it's just capability rather
Module Name:src
Committed By: jdolecek
Date: Sat Apr 11 11:48:21 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xennetback_xenbus.c
Log Message:
convert to bus_dma(9), no explicit xpmap_*() calls any more
as part of this move some global arrays into struct
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 21:03:21 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xengnt.c
Log Message:
gnttab_get_status_frames frame_list is array if uint64_t values, not u_long
like gnttab_setup_table, fix to use uint64_t
fixes
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 19:08:10 UTC 2020
Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c
Log Message:
use ETHER_ADDR_LEN on one more place
To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 18:03:06 UTC 2020
Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c
Log Message:
convert to bus_dma(9), remove now not necessary XENPVHVM redefines
To generate a diff of this commit:
cvs rdiff -u -r1.109
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 11:41:04 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
update comment for DIOCGCACHE (no DKCACHE_READ)
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 10:32:19 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
allow DIOCSSTRATEGY, there is no particular reason why it should be
restricted for xbd(4)
To generate a diff of this commit:
cvs
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 10:30:10 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xbd_xenbus.c
Log Message:
implement DIOCGCACHE - assume if CACHE_FLUSH is supported, write cache
is enabled
convert the sc_cache_flush flag to a feature bit
Module Name:src
Committed By: jdolecek
Date: Fri Apr 10 08:35:52 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xengnt.c
Log Message:
add KASSERT() for owned grant_lock in xengnt_get_entry()
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32
Module Name:src
Committed By: bouyer
Date: Thu Apr 9 15:54:41 UTC 2020
Modified Files:
src/sys/arch/xen/xen: xengnt.c
Log Message:
xengnt_more_entries() can be called from interrupt context so use
kmem_intr_alloc()/free() here
To generate a diff of this commit:
cvs
1 - 100 of 302 matches
Mail list logo