Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (19m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 20:56:18 UTC Now

2020-04-19 21:53:38 UTC MAIN commitmail json YAML

uvm_aio_aiodone_pages(): only call uvm_pageout_done() if work was done for
the page daemon.

(ad)

2020-04-19 21:37:00 UTC MAIN commitmail json YAML

ossaudio: Avoid giving userland uninitialized memory. Noticed by maxv.

The uninitalized field in this structure is `fillers`, an array that
simply reserves space for later changes in OSSv4, which this version
of the OSS compat layer (specifically for Linux applications) makes no
effort to implement.

(nia)

2020-04-19 21:24:36 UTC MAIN commitmail json YAML

PR port-arm/55186: tests crash arm pmap

pmap_clearbit(): take execbits into account in the fastpath.

(ad)

2020-04-19 21:11:43 UTC MAIN commitmail json YAML

- Fix uneven performance with "bursty" vmem arenas.  Adjust locking so that
  the mutex is acquired and released only once in the happy path.  Align
  tags to cachelines.  Size the hash table according to the maximum count of
  boundary tags over the interval just gone, not the instantaneous count,
  and decay that maximum value by 50%+1 after each rehash.  Round up to the
  next power of two to eliminate divisions.  Do the rehash check unlocked.

- Hash bucket size is sizeof(vmem_hashlist), not size of a pointer to same.

(ad)

2020-04-19 20:53:20 UTC MAIN commitmail json YAML

SLIST_INIT() xbdi->xbdi_va_free just for clarity

(jdolecek)

2020-04-19 20:47:04 UTC MAIN commitmail json YAML

Improve TSD behavior

Optimistically check whether the key has been used by this thread
already and avoid locking in that case. This avoids the atomic operation
in the hot path. When the value is set to non-NULL for the first time,
put the entry on the to-be-freed list and keep it their until
destruction or thread exit. Setting the key to NULL and back is common
enough and updating the list is more expensive than the extra check on
the final round.

(joerg)

2020-04-19 20:46:04 UTC MAIN commitmail json YAML

Reinit TSD mutex in the child to avoid issues with former waiters

(joerg)

2020-04-19 20:41:31 UTC MAIN commitmail json YAML

2020-04-19 20:35:29 UTC MAIN commitmail json YAML

2020-04-19 20:32:00 UTC MAIN commitmail json YAML

- Only increment nprocs when we're creating a new process, not just
  when allocating a PID.
- Per above, proc_free_pid() no longer decrements nprocs.  It's now done
  in proc_free() right after proc_free_pid().
- Ensure nprocs is accessed using atomics everywhere.

(thorpej)

2020-04-19 20:29:30 UTC bouyer-xenpvh commitmail json YAML

2020-04-19 20:07:54 UTC MAIN commitmail json YAML

2020-04-19 19:39:11 UTC bouyer-xenpvh commitmail json YAML

Add per-PIC callbacks for interrupt_get_devname(), interrupt_get_assigned()
and interrupt_get_count(). Implement Xen-specific callbacks for
PIC_XEN and use the x86 one for others.
In event_set_handler(), call intr_allocate_io_intrsource() so that
events appears in interrupt list (intrctl list).

(bouyer)

2020-04-19 19:37:07 UTC MAIN commitmail json YAML

Enable the code to clean the extattr blocks

(christos)

2020-04-19 19:36:49 UTC MAIN commitmail json YAML

Give UVMHIST_LOG() the 6 args it requires.  Unbreak builds.

(kre)

2020-04-19 19:20:32 UTC MAIN commitmail json YAML

fstab.5: note the first field is a placeholder for some FSes

Addresses PR misc/52607. (I suppose something about this could also be
added to the man pages for the mount commands for each applicable file
system, but I think this should suffice.)

(gutteridge)

2020-04-19 19:12:38 UTC MAIN commitmail json YAML

2020-04-19 18:47:40 UTC MAIN commitmail json YAML

change interface for xen_shm_map() so that caller always supplies the VA,
it now fails only if the Xen hypercall fails, in which case the failure
is final

change xbdback to pre-allocate KVA on xbdback attach (and free on detach),
so it has always KVA to map the request pages

remove no longer needed KVA allocation failure handling

(jdolecek)

2020-04-19 18:07:00 UTC MAIN commitmail json YAML

Define TESTSDIR even when not amd64 so the Atffile will be
installed in the correct location.

(kre)

2020-04-19 18:02:36 UTC MAIN commitmail json YAML

2020-04-19 17:49:42 UTC MAIN commitmail json YAML

Include dev/sysmon/sysmonvar.h for sysmon_pswitch.

Somehow only triggered by the compat build (which shouldn't have been
enabled!)

(maya)

2020-04-19 17:40:50 UTC MAIN commitmail json YAML

Turn off compat drm.
XXX issue security advisory

(maya)

2020-04-19 17:19:13 UTC MAIN commitmail json YAML

For drm drivers and on monitor hotplug, report a 'display-cycle' hotkey click

If powerd is running, it will invoke the script
/etc/powerd/actions/display-cycle

(maya)

2020-04-19 17:08:14 UTC MAIN commitmail json YAML

In iic_acquire_bus(), unlock the bus lock if the back-end returns an
error from its acquire-bus function.

(thorpej)

2020-04-19 16:45:09 UTC MAIN commitmail json YAML

fix calculation of remaining bytes in xbd_diskstart_submit() for second
part of exactly I/O over 32KB when the remaining size was less than 1 page,
loop just finished without filling the last segment

triggered by anita run by Manuel

(jdolecek)

2020-04-19 15:58:53 UTC MAIN commitmail json YAML

New Greek National Numbering Plan, according to the EETT decision published
in the Greek Government Gazette 127 B/8.2.2001

(is)

2020-04-19 13:59:13 UTC MAIN commitmail json YAML

- add locking
- wrap wapbl around truncating, ffs_extwrite does it on its own.

(christos)

2020-04-19 13:57:23 UTC phil-wifi commitmail json YAML

Initial 11n support for urtwn.

Compile tested only... More to come.

(nat)

2020-04-19 13:44:51 UTC MAIN commitmail json YAML

ossaudio: Implement SNDCTL_DSP_(SET|GET)TRIGGER.

(nia)

2020-04-19 13:26:18 UTC MAIN commitmail json YAML

Destroy anonymous device vnodes on reboot once the last file system
got unmounted and the mount list is empty.

PR kern/54969: Disk cache is no longer flushed on shutdown

(hannken)

2020-04-19 13:25:00 UTC MAIN commitmail json YAML

Take some pressure from vdrain lock:

- Use cv_signal() instead of cv_broadcast(), there is only one waiter.
- No need to signal if number of vnodes doesn't increase.
- Use kpause(1) instead of yield().

(hannken)

2020-04-19 13:22:58 UTC MAIN commitmail json YAML

2020-04-19 11:40:31 UTC bouyer-xenpvh commitmail json YAML

Add a struct pic * member to struct intrhand.
This will be used for interrupt_get_count()
For Xen remplace pic_type with a pointer to the pic, and add a pointer
to intrhand, in struct pintrhand
Make event_set_handler return the pointer to struct intrhand.
Don't allocate a fake intrhand in xen_intr_establish_xname(), use the
one returned by event_set_handler().

(bouyer)

2020-04-19 11:27:40 UTC MAIN commitmail json YAML

ossaudio: Make SNDCTL_DSP_[GET|SET][PLAY|RECORD]VOL closer to OSSv4

Problems in the previous code include returning values in the 0-255
range NetBSD uses instead of the 0-100 range OSSv4 expects, using
AUDIO_GETBUFINFO (which doesn't even return the mixer bits), and
not encoding channels as specified: "level=(left)|(right << 8)".

In reality, setting the gain in this way (through /dev/audio rather
than /dev/mixer) doesn't seem to work properly, and the mixer-set
value seems to be retained.

However, these changes at least ensure that the return values are
correct and the balance is set correctly.

I've only found one application using this API (audio/audacious), and
OSSv4 support in it is currently disabled precisely because it breaks
when it attempts to set the track volume using it.

(nia)

2020-04-19 11:01:36 UTC MAIN commitmail json YAML

revert previous, it actually doesn't help so no reason to diverge from xen

(jdolecek)

2020-04-19 08:59:53 UTC MAIN commitmail json YAML

Fix UVMHIST_LOG compile on 32bit platforms

(skrll)

2020-04-19 08:50:54 UTC MAIN commitmail json YAML

Fix typo in UVMHIST_LOG

(skrll)

2020-04-19 08:18:19 UTC MAIN commitmail json YAML

2020-04-19 04:13:10 UTC MAIN commitmail json YAML

Make round_blocksize satisfy all of
- restrictions that existed before merging isaki-audio2 branch.
- better support for 6 channels hardware.
- audio layer's requirement.
This may help PR kern/54474.

(isaki)

2020-04-19 03:52:22 UTC MAIN commitmail json YAML

Improve the blocksize notation.
The blocksize is expressed in bytes, and the millisecond notation
is supplementary information to make it easier to understand.

(isaki)

2020-04-19 03:12:35 UTC MAIN commitmail json YAML

Need <sys/types.h> for uint32_t and uintptr_t.

(riastradh)

2020-04-19 03:12:26 UTC MAIN commitmail json YAML

do {...} while (0) to make DTRACE_PROBE macros proper statements.

(riastradh)

2020-04-19 01:06:16 UTC MAIN commitmail json YAML

Rename __atomic_fork to __locked_fork and give it &errno as argument.
rtld and libc use different storage, so the initial version would
incorrectly report the failure reason for fork().

There is still a small race condition inside ld.elf_so as it doesn't use
thread-safe errno internally, but that's a more contained internal
issue.

(joerg)

2020-04-18 23:55:52 UTC MAIN commitmail json YAML

2020-04-18 23:24:49 UTC MAIN commitmail json YAML

read feature-persistent value on connect, e.g. the Linux Dom0 writes
the value only together with the device info; no functional difference,
since we don't allow persistent mappings

(jdolecek)

2020-04-18 22:03:51 UTC MAIN commitmail json YAML

2020-04-18 22:02:11 UTC MAIN commitmail json YAML

2020-04-18 20:36:31 UTC bouyer-xenpvh commitmail json YAML

If we get an event for another CPU just ignore it. The hypervisor will
callback on the other CPU anyway.

(bouyer)

2020-04-18 20:03:02 UTC bouyer-xenpvh commitmail json YAML

If possible, register a per-cpu callback via HVMOP_set_evtchn_upcall_vector.
From FreeBSD. This requires acking the interrupt in hypervisor_pvhvm_callback.

Don't try to use x86_cpu_idle_xen() for PVHVM, it cause the domU to hang.
FreeBSD doesn't seem to use it either.

(bouyer)

2020-04-18 19:32:20 UTC MAIN commitmail json YAML

2020-04-18 19:27:49 UTC MAIN commitmail json YAML

2020-04-18 19:18:34 UTC MAIN commitmail json YAML

2020-04-18 18:55:20 UTC MAIN commitmail json YAML

Remove trailing comma.

(wiz)

2020-04-18 17:45:16 UTC MAIN commitmail json YAML

2020-04-18 17:44:53 UTC MAIN commitmail json YAML

2020-04-18 17:31:53 UTC MAIN commitmail json YAML

msk(4): Avoid bus_dmamap_destroy() in msk_stop()

bus_dmamap_destroy() can not be executed in soft interrupt context,
and msk_stop() can be called in soft interrupt context.

As such, move creation and destruction of tx dmamaps to attach() and
detach() functions.

(jakllsch)

2020-04-18 17:22:26 UTC MAIN commitmail json YAML

Fix trailing whitespace.

(riastradh)

2020-04-18 17:02:00 UTC MAIN commitmail json YAML

be consistent about byte flipping (cosmetic no functional change)

(christos)

2020-04-18 16:58:00 UTC MAIN commitmail json YAML

make compile with XBD_DEBUG

(jdolecek)

2020-04-18 15:56:26 UTC MAIN commitmail json YAML

In _if_down(), release the link state change lock before calling
workqueue_wait().  Add a comment explaining how the locking here
works.

PR kern/55018.

(thorpej)

2020-04-18 15:06:18 UTC bouyer-xenpvh commitmail json YAML

Add PVHVM multiprocessor support:
We need the hypervisor to be set up before cpus attaches.
Move hypervisor setup to a new function xen_hvm_init(), called at the
beggining of mainbus_attach(). This function searches the cfdata[] array
to see if the hypervisor device is enabled (so you can disable PV
support with
disable hypervisor
from userconf).
For HVM, ci_cpuid doens't match the virtual CPU index needed by Xen.
Introduce ci_vcpuid to cpu_info. Introduce xen_hvm_init_cpu(), to be
called for each CPU in in its context, which initialize ci_vcpuid and
ci_vcpu, and setup the event callback.
Change Xen code to use ci_vcpuid.

Do not call lapic_calibrate_timer() for VM_GUEST_XENPVHVM, we will use
Xen timers.

Don't call lapic_initclocks() from cpu_hatch(); instead set
x86_cpu_initclock_func to lapic_initclocks() in lapic_calibrate_timer(),
and call *(x86_cpu_initclock_func)() from cpu_hatch().
Also call x86_cpu_initclock_func from cpu_attach() for the boot CPU.
As x86_cpu_initclock_func is called for all CPUs, x86_initclock_func can
be a NOP for lapic timer.

Reorganize Xen code for x86_initclock_func/x86_cpu_initclock_func.
Move x86_cpu_idle_xen() to hypervisor_machdep.c

(bouyer)

2020-04-18 14:49:57 UTC bouyer-xenpvh commitmail json YAML

Call stipending() only on XenPV. Fix spurious fpudna from kernel mode

(bouyer)

2020-04-18 14:47:56 UTC bouyer-xenpvh commitmail json YAML

Centralize initialisations of delay_func and initclock_func
in x86_machdep.c and export from <x86/machdep.h>
Introduce a x86_dummy_initclock() and a x86_cpu_initclock_func pointer,
to be used later for Xen HVM native clock support.
rename rtclock_tval to x86_rtclock_tval and export from <x86/machdep.h>,
for the benefit of lapic.c

(bouyer)

2020-04-18 12:56:38 UTC MAIN commitmail json YAML

enable NO_IOBUF_ALIGNED for x_newfs and x_fsck_ffs

(jdolecek)

2020-04-18 12:54:38 UTC MAIN commitmail json YAML

add NO_IOBUF_ALIGNED to not pull aligned_alloc() for really constrained
boot media

(jdolecek)

2020-04-18 12:25:01 UTC MAIN commitmail json YAML

Remove unused variable (to fix the build)

(martin)

2020-04-18 11:00:42 UTC MAIN commitmail json YAML

2020-04-18 10:55:47 UTC MAIN commitmail json YAML

2020-04-18 10:46:33 UTC MAIN commitmail json YAML

Remove PMAP_DEBUG by converting to UVMHIST

(skrll)

2020-04-18 10:37:37 UTC MAIN commitmail json YAML

It's __RCSID for an extra level of indirection on PPC

(joerg)

2020-04-18 10:30:49 UTC MAIN commitmail json YAML

Fix copy & pasto in previous (to fix the build)

(martin)

2020-04-18 09:45:45 UTC MAIN commitmail json YAML

Believe the datablocks predictor when determining if data on a node gets
stored internal or not. Also make a note that the datablocks predictor takes
NO extended attributes stored in the node into account

In rare cases it could lead to confusion where the predictor would say it
wouldn't fit internally when it could just have fitted. This would trigger the
assertion. Now it will on rare accasions create a datablock even though it
might have fitted.

(reinoud)

2020-04-18 07:10:29 UTC MAIN commitmail json YAML

2020-04-18 07:09:33 UTC MAIN commitmail json YAML

Add ATI Radeon R5/R6/R7 Graphics.

(simonb)

2020-04-18 03:27:13 UTC MAIN commitmail json YAML

Add an API to get a reference on the identity of an individual byte of
virtual memory, a "virtual object address".  This is not a reference to
a physical byte of memory, per se, but a reference to a byte residing
in a page, owned by a unique UVM object (either a uobj or an anon).  Two
separate address+addresses space tuples that reference the same byte in
an object (such as a location in a shared memory segment) will resolve
to equivalent virtual object addresses.  Even if the residency status
of the page changes, the virtual object address remains unchanged.

struct uvm_voaddr -- a structure that encapsulates this address reference.

uvm_voaddr_acquire() -- a function to acquire this address reference,
given a vm_map and a vaddr_t.

uvm_voaddr_release() -- a function to release this address reference.

uvm_voaddr_compare() -- a function to compare two such address references.

uvm_voaddr_acquire() resolves the COW status of the object address before
acquiring.

In collaboration with riastradh@ and chs@.

(thorpej)

2020-04-17 22:53:52 UTC MAIN commitmail json YAML

Switch from C11 specific static_assert() to __CTASSERT()

(kamil)

2020-04-17 22:35:18 UTC MAIN commitmail json YAML

Now that inputFS is dynamically allocated, make sure it's always non-NULL.
Fixes core dumps when building CDE.

(ad)

2020-04-17 19:42:14 UTC MAIN commitmail json YAML

Move the range example (for 8-11) to follow the range definition, and to
preceed the random (?) discussion (and the corresponding random example)

(pgoyette)

2020-04-17 18:39:31 UTC MAIN commitmail json YAML

Put back the ? syntax accidentally removed when syncing with the OpenBSD
man page.

(christos)

2020-04-17 17:43:38 UTC MAIN commitmail json YAML

remove documentation for (non-atomic) boottime, it was eliminated
from kernel in 2020-01-02 by thorpej@

(jdolecek)

2020-04-17 17:24:46 UTC MAIN commitmail json YAML

Slightly reorder for clarity, and add header.

(maxv)

2020-04-17 16:18:09 UTC phil-wifi commitmail json YAML

2020-04-17 15:22:35 UTC MAIN commitmail json YAML

Remove the static_assert() fallback for pre-C11 and pre-C++11

C++ without real static_assert() can be incompatible with the C fallback
as presented in openjdk.

A pre-C11 compiler can be picky on the implementation.

(kamil)

2020-04-17 14:59:23 UTC MAIN commitmail json YAML

Don't use typedef at all for __CTASSERT1.

(joerg)

2020-04-17 14:55:24 UTC MAIN commitmail json YAML

include aligned_alloc(3), now needed for newfs and fsck_ffs

(jdolecek)

2020-04-17 14:33:42 UTC MAIN commitmail json YAML

Fix __CTASSERT1() in sys/cdefs.h for recent Clang/LLVM

Clang now implements a restriction on giving non-C-compatible anonymous
structs a typedef name for linkage purposes, as described in C++ committee
paper `P1766R1 <http://wg21.link/p1766r1>'.

https://reviews.llvm.org/D74103

(kamil)

2020-04-17 14:19:44 UTC MAIN commitmail json YAML

2020-04-17 13:44:38 UTC phil-wifi commitmail json YAML

Make it compilable with URTWN_DEBUG

(martin)

2020-04-17 13:36:49 UTC MAIN commitmail json YAML

2020-04-17 11:21:06 UTC MAIN commitmail json YAML

Fix build after PV locking change

(skrll)

2020-04-17 10:35:06 UTC MAIN commitmail json YAML

2020-04-17 10:32:19 UTC MAIN commitmail json YAML

remove some old #if 0 code

(jdolecek)

2020-04-17 09:42:27 UTC MAIN commitmail json YAML

align buffers used for I/O to DEV_BSIZE so it's executed more optimally
when run for xbd(4) raw (character) device

(jdolecek)

2020-04-17 09:33:37 UTC MAIN commitmail json YAML

align buffers used for I/O to DEV_BSIZE so it's executed more optimally
when run for xbd(4) device

(jdolecek)

2020-04-17 08:17:06 UTC MAIN commitmail json YAML

Use UVMHIST_CALLARGS

(skrll)

2020-04-17 07:48:35 UTC MAIN commitmail json YAML

Improve diagnostic messages.

(isaki)

2020-04-17 03:15:51 UTC MAIN commitmail json YAML

2020-04-17 02:21:25 UTC MAIN commitmail json YAML

2020-04-16 23:29:54 UTC MAIN commitmail json YAML

Revert previous for now:
http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html

The reasoning turned out to be wrong; __KERNEL_RCSID() in header files
does *not* overwrite RCSID in main source files. The real problem is that
it inserts its RCSID into *every* object files. However, it can be still
useful even if heavily duplicated.

(rin)

2020-04-16 22:13:51 UTC MAIN commitmail json YAML

fix tense (Nelson Beebe)

(christos)

2020-04-16 22:11:12 UTC MAIN commitmail json YAML

Discard __HAVE_UNLOCKED_PMAP for 4xx; 4xx is uniprocessor architecture,
and everything gets more than 10 times slower by __HAVE_UNLOCKED_PMAP.

Note that we support three supervisor-level architectures for powerpc:
oea, booke, and 4xx. We have three different implementations of pmap as
a result. Whereas oea and booke support multiprocessor, 4xx does not.

(rin)

2020-04-16 21:56:43 UTC MAIN commitmail json YAML

2020-04-16 21:20:43 UTC MAIN commitmail json YAML

With the right timing, V->P operations could change stuff behind the back of
callers working in the opposite direction - fix it.  Tested by skrll@.

(ad)

2020-04-16 20:21:45 UTC bouyer-xenpvh commitmail json YAML

MOve the #ifdef XENPV block to the end, so that XEN3_DOM0 builds again.

(bouyer)

2020-04-16 20:21:04 UTC bouyer-xenpvh commitmail json YAML

switch vm_guest to VM_GUEST_XENPVHVM only after all tests succeeded.

(bouyer)

2020-04-16 19:23:51 UTC bouyer-xenpvh commitmail json YAML

Rename xen/xen/clock.c to xen_clock.c, so that it can be compiled
with x86/isa/clock.c
call events_default_setup() from hypervisor_match to that event
arrays are properly initialised.
Use xen_delay() and xen's timecounter for PVHVM.

(bouyer)

2020-04-16 18:56:04 UTC MAIN commitmail json YAML

Put the spaces back (they're part of the config(1) syntax) but quote
them to avoid formatting errors

(pgoyette)

2020-04-16 18:51:48 UTC MAIN commitmail json YAML

Remove extraneous spaces

(pgoyette)

2020-04-16 18:32:30 UTC MAIN commitmail json YAML

Add Comet Lake support.

(msaitoh)

2020-04-16 18:21:13 UTC MAIN commitmail json YAML

2020-04-16 18:20:46 UTC MAIN commitmail json YAML

- Add some Intel UHD Graphics devices. Mainly taken from OpenBSD.
- Add Comet Lake devices.
- Modify description of Intel 0x591e from HD Graphics to UHD Graphics.
- Add Western Digital WD Blue SN550 NVMe SSD

(msaitoh)

2020-04-16 17:50:52 UTC bouyer-xenpvh commitmail json YAML

amd64: Xhypervisor_pvhvm_callback has to be in text.user for SVS.
Thanks to maxv@ for helping me with this.
Enable SVS again.
While there, increase ci_idepth before calling do_hypervisor_callback,
and don't touch ci_idepth while looping over pending events.

(bouyer)

2020-04-16 17:47:37 UTC bouyer-xenpvh commitmail json YAML

fail silently if hypervisor is not found.

(bouyer)

2020-04-16 17:46:44 UTC bouyer-xenpvh commitmail json YAML

Don't try to attach hypervisor on non Xen; no more error messages about
hypervisor when booting on bare metal.

(bouyer)

2020-04-16 17:44:54 UTC bouyer-xenpvh commitmail json YAML

Avoid overflow of ci_ipi_events[] in the PVHVM case (it's size is
XEN_NIPIS but we use x86 IPIs): size XEN_NIPIS only for PV, and
CTASSERT that XEN_NIPIS <= X86_NIPI if we ever use Xen IPIs for
PVHVM.

(bouyer)

2020-04-16 17:24:49 UTC phil-wifi commitmail json YAML

2020-04-16 17:18:28 UTC MAIN commitmail json YAML

Correct rx packet count for 8192EU.  Tested OK.

(nat)

2020-04-16 16:38:43 UTC MAIN commitmail json YAML

if backend supports it, use indirect segment for I/O requests over 32KB

there is some overhead for backend without persistent mappings
(backend needs to map the extra indirect segment page), but this
makes it possible to queue more I/O if using 64KB block size

tested on NetBSD/amd64 DomU against Linux/amd64 Dom0

(jdolecek)

2020-04-16 15:58:13 UTC MAIN commitmail json YAML

update padding within 'struct blkif_request_indirect' to be binary
compatible with Linux/i386 - they changed padding so that there is no
structure layout difference between i386 and amd64; there is no change
for amd64 due to implicit padding

since Linux seems to be the only xen blkback implementation supporting
indirect segments, follow that rather than public xen includes; note
their blkif_x86_32_request_indirect handling expect this layout,
particularly padding for i386 before indirect_grefs[]

(jdolecek)

2020-04-16 15:47:20 UTC MAIN commitmail json YAML

Restore --copy-dt-needed as default. There is too much fallout in pkgsrc
mainly from -lcurses needing -lterminfo.

(christos)

2020-04-16 15:33:08 UTC phil-wifi commitmail json YAML

Use if_stat functions.

(nat)

2020-04-16 15:32:24 UTC phil-wifi commitmail json YAML

Pull in <sys/rndsource.h>

(nat)

2020-04-16 15:30:00 UTC phil-wifi commitmail json YAML

2020-04-16 14:39:58 UTC MAIN commitmail json YAML

Introduce intermediate locking for fork, so that the dynamic linker is
in a consistent state. This most importantly avoids races between dlopen
and friends and fork, potentially resulting in dead locks in the child
when it itself tries to acquire locks.

(joerg)

2020-04-16 14:03:24 UTC netbsd-9 commitmail json YAML

2020-04-16 14:02:36 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #836):

sys/dev/pci/machfb.c: revision 1.98

clean up the video mode selection logic, switch modes only when actually
necessary

while there make some debug output optional

(martin)

2020-04-16 10:42:26 UTC bouyer-xenpvh commitmail json YAML

Well, no, SVS does't quite work yet.

(bouyer)

2020-04-16 10:07:23 UTC bouyer-xenpvh commitmail json YAML

2020-04-16 09:51:57 UTC MAIN commitmail json YAML

To allow concurrent page faults on the same set of pages lock the PV
lists.  From ad@ and fixed up by me.

Remove __HAVE_UNLOCKED_PMAP

(skrll)

2020-04-16 09:51:40 UTC MAIN commitmail json YAML

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
wrapped by another one by e.g. dk(4)

fixes misfired assert when doing newfs on a wedge, reported by Manuel Bouyer

(jdolecek)

2020-04-16 09:45:57 UTC bouyer-xenpvh commitmail json YAML

2020-04-16 09:28:52 UTC MAIN commitmail json YAML

2020-04-16 08:59:16 UTC MAIN commitmail json YAML

Shave off 3 instructions per trap

(skrll)

2020-04-16 08:46:36 UTC bouyer-xenpvh commitmail json YAML

Reorganise sources to make it possible to include Xen PVHVM support in
native kernels. Among others:
- move xen/include/amd64/hypercall.h to amd64/include/xen and
  xen/include/i386/hypercall.h to i386/include/xen
- exclude some native files from the build for xenpv
- add xen to "machine" config statement for amd64 and i386
- split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers)
  and arch/xen/conf/files.xen.pv (for full pv support)
- add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV
  drivers.

(bouyer)

2020-04-16 08:03:30 UTC MAIN commitmail json YAML

add the case of kdb_trap(-1) called from pic_ipi_ddb().
it depended on the update timing of 'db_recover'.

(ryo)

2020-04-16 07:23:59 UTC MAIN commitmail json YAML

2020-04-16 05:44:44 UTC MAIN commitmail json YAML

Don't KASSERT there's an FPU present.  QEMU doesn't have one...

(skrll)

2020-04-16 05:22:59 UTC MAIN commitmail json YAML

2020-04-16 01:52:34 UTC MAIN commitmail json YAML

No functional change:
- Rename ci_cpuid_level to ci_max_cpuid and ci_cpuid_extlevel to
  ci_max_ext_cpuid to match x86/include/cpu.h though cpuctl/arch/i386.c added
  them first.
- Sort some entries.
- Add comment.

(msaitoh)

2020-04-15 23:10:27 UTC MAIN commitmail json YAML

2020-04-15 23:09:28 UTC MAIN commitmail json YAML

2020-04-15 21:29:28 UTC MAIN commitmail json YAML

Switch sha3 to the assembly version (fix the build)

(christos)

2020-04-15 21:28:08 UTC MAIN commitmail json YAML

switch ppc to the new binutils

(christos)

2020-04-15 20:31:58 UTC MAIN commitmail json YAML

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

(kim)

2020-04-15 19:26:51 UTC MAIN commitmail json YAML

Use 64-bit DMA if available

(jmcneill)

2020-04-15 17:28:26 UTC MAIN commitmail json YAML

Drop the todo and qualify the accesses.

(maxv)

2020-04-15 17:16:22 UTC MAIN commitmail json YAML

Introduce POOL_NOCACHE, simple option to cancel pool_caches and go directly
to the pool layer. It is taken out of POOL_QUARANTINE.

Advertise POOL_NOCACHE for kMSan rather than POOL_QUARANTINE. With kMSan
we are only interested in the no-caching effect, not the quarantine. This
reduces memory pressure on kMSan kernels.

(maxv)

2020-04-15 17:00:08 UTC MAIN commitmail json YAML

Use large pages for the kASan shadow, same as kMSan.

(maxv)

2020-04-15 16:39:06 UTC MAIN commitmail json YAML

ossaudio: If the user's channel count is rejected, use the hardware count

(nia)

2020-04-15 16:28:29 UTC MAIN commitmail json YAML

Use large pages for the kMSan shadows. This greatly improves performance,
and slightly reduces memory consumption.

(maxv)

2020-04-15 16:04:07 UTC bouyer-xenpvh commitmail json YAML

On amd64, always use the cmpxchg8b version of spllower. All x86_64 host should
have it and we already rely on it in lock stubs.
On i386, always use i686_mutex_spin_exit and cx8_spllower for Xen;
Xen doesn't run on CPUs on CPUs lacking the required instructions anyway.
Skip x86_patch only for XENPV, and adjust for changes in assembly functions.
Tested on Xen PV and PVHVM, and on bare metal core i5.

(bouyer)

2020-04-15 15:55:24 UTC MAIN commitmail json YAML

privsep: Redirect to /dev/null unless test or quiet and not debug

Keeps the rtsol like behaviour the same.

Fixes PR bin/55170

(roy)

2020-04-15 15:54:18 UTC MAIN commitmail json YAML

dhcpcd: Don't open a control socket in test mode

Fixes PR bin/55170

(roy)

2020-04-15 15:50:16 UTC MAIN commitmail json YAML

2020-04-15 15:25:33 UTC MAIN commitmail json YAML

ossaudio: Make SNDCTL_DSP_SETFMT conform with OSSv4.

The OSSv4 spec says we shouldn't really error if an invalid format is
chosen by an application. Things are especially likely to be confused
if we return MULAW, since in OSSv4 terms that means that's the native
hardware format. Instead, set and return the current hardware format
if an invalid format is chosen.

For the 24-bit sample formats, note that the NetBSD kernel currently
can't handle them in its default configuration, and will return an error
code if you attempt to use them. So, if an applicaton requests 24-bit PCM,
promote it to 32-bit PCM. According to the spec, this is valid and
applications should be checking the return value anyway.

In the Linux compat layer, we just use S16LE as a fallback. The OSSv3
headers that are still being shipped with Linux don't contain definitions
for fancier formats and we can reasonably expect all applications to
support S16LE.

(nia)

2020-04-15 15:22:37 UTC MAIN commitmail json YAML

2020-04-15 14:59:54 UTC netbsd-7-0 commitmail json YAML

2020-04-15 14:59:33 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1727):

sys/netinet6/nd6_rtr.c: revision 1.148 (via patch)

Fix default route selection

The primary issue was that in revision 1.79 a check was added in the
nd6_defrouter_select() search loop to ignore the entry if RA processing
is enabled on its interface.  In practice this results in all entries
being ignored.

This fix reverses the condition, so that an entry is ignored when RA
processing is NOT enabled on its interface.  Further, the entry is
only ignored for being selected as the default router.  The currently
installed router must be identified regardless of the (current) status
of its interface, so that we can delete the route before installing a
new one.

I also added error logging when adding or deleting a route fails. This
should help the administrator (or kernel developer) in noticing possible
problems.

Finally, if deleting a route fails, the corresponding default route
entry no longer has its "installed" flag cleared, so that deletion will
be retried.  At a minimum, this will cause repeated messages about the
failed deletion as opposed to only getting repeated messages about the
installation of a new default route failing.

Fixes PR kern/55091 and also PR bin/54997 as far as the behaviour
observed with ndp(8).

(martin)

2020-04-15 14:59:15 UTC netbsd-7-1 commitmail json YAML

2020-04-15 14:58:41 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1727):

sys/netinet6/nd6_rtr.c: revision 1.148 (via patch)

Fix default route selection

The primary issue was that in revision 1.79 a check was added in the
nd6_defrouter_select() search loop to ignore the entry if RA processing
is enabled on its interface.  In practice this results in all entries
being ignored.

This fix reverses the condition, so that an entry is ignored when RA
processing is NOT enabled on its interface.  Further, the entry is
only ignored for being selected as the default router.  The currently
installed router must be identified regardless of the (current) status
of its interface, so that we can delete the route before installing a
new one.

I also added error logging when adding or deleting a route fails. This
should help the administrator (or kernel developer) in noticing possible
problems.

Finally, if deleting a route fails, the corresponding default route
entry no longer has its "installed" flag cleared, so that deletion will
be retried.  At a minimum, this will cause repeated messages about the
failed deletion as opposed to only getting repeated messages about the
installation of a new default route failing.

Fixes PR kern/55091 and also PR bin/54997 as far as the behaviour
observed with ndp(8).

(martin)

2020-04-15 14:54:34 UTC MAIN commitmail json YAML

ossaudio: Make SNDCTL_DSP_SPEED more robust when using invalid rates.

From the perspective of reading the OSSv4 specification, NetBSD's
behaviour when an invalid sample rate is set makes no sense at all:
AUDIO_SETINFO simply returns an error code, and then we immediately
fall through to getting the sample rate, which is still set to the
legacy default of 8000 Hz.

Instead, what OSS applications generally expect is that they will be
able to receive the actual hardware sample rate. This is very, very
unlikely to be 8000 Hz on a modern machine.

No functional change when setting a sample rate between the supported
rates of 1000 and 192000 Hz. When a rate outside this range is requested,
the hardware rate is returned (on modern hardware, generally always 48000
Hz or a multiple of 48000 Hz).

(nia)

2020-04-15 14:52:56 UTC netbsd-7 commitmail json YAML

2020-04-15 14:52:29 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1727):

sys/netinet6/nd6_rtr.c: revision 1.148 (via patch)

Fix default route selection

The primary issue was that in revision 1.79 a check was added in the
nd6_defrouter_select() search loop to ignore the entry if RA processing
is enabled on its interface.  In practice this results in all entries
being ignored.

This fix reverses the condition, so that an entry is ignored when RA
processing is NOT enabled on its interface.  Further, the entry is
only ignored for being selected as the default router.  The currently
installed router must be identified regardless of the (current) status
of its interface, so that we can delete the route before installing a
new one.

I also added error logging when adding or deleting a route fails. This
should help the administrator (or kernel developer) in noticing possible
problems.

Finally, if deleting a route fails, the corresponding default route
entry no longer has its "installed" flag cleared, so that deletion will
be retried.  At a minimum, this will cause repeated messages about the
failed deletion as opposed to only getting repeated messages about the
installation of a new default route failing.

Fixes PR kern/55091 and also PR bin/54997 as far as the behaviour
observed with ndp(8).

(martin)

2020-04-15 14:46:38 UTC netbsd-8 commitmail json YAML

2020-04-15 14:44:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1532):

sys/dev/wsfb/genfb.c: revision 1.72

  Get genfb's address offset correctly when the value >= 4G. OK's by jmcneill.

  Tested on Intel BXNUC10I3FNK (Comet Lake U).

(martin)

2020-04-15 14:27:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1531):

sys/netinet6/nd6_rtr.c: revision 1.148

Fix default route selection

The primary issue was that in revision 1.79 a check was added in the
nd6_defrouter_select() search loop to ignore the entry if RA processing
is enabled on its interface.  In practice this results in all entries
being ignored.

This fix reverses the condition, so that an entry is ignored when RA
processing is NOT enabled on its interface.  Further, the entry is
only ignored for being selected as the default router.  The currently
installed router must be identified regardless of the (current) status
of its interface, so that we can delete the route before installing a
new one.

I also added error logging when adding or deleting a route fails. This
should help the administrator (or kernel developer) in noticing possible
problems.

Finally, if deleting a route fails, the corresponding default route
entry no longer has its "installed" flag cleared, so that deletion will
be retried.  At a minimum, this will cause repeated messages about the
failed deletion as opposed to only getting repeated messages about the
installation of a new default route failing.

Fixes PR kern/55091 and also PR bin/54997 as far as the behaviour
observed with ndp(8).

(martin)

2020-04-15 14:25:09 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1530:

sys/arch/x86/x86/procfs_machdep.c 1.33-1.36
sys/arch/x86/x86/tsc.c 1.40
sys/arch/x86/x86/specialreg.h 1.159-1.161
usr.sbin/cpuctl/arch/i386.c 1.109-1.110 via patch

- Print avx512ifma, cqm_mbm_total, cqm_mbm_local, waitpkg, rdpru,
  Fast Short Rep Mov(fsrm), AVX512_VP2INTERSECT, SERIALIZE and
  TSXLDTRK.
- Rename CPUID Fn8000_0007 %edx bit 8 from "TSC" to "ITSC"
  (Invariant TSC) to avoid confusion.
- Print CPUID 0x80000007 %edx on both Intel and AMD.
- Remove ci_max_ext_cpuid from usr.sbin/cpuctl/arch/i386.c because it's
  the same as ci_cpuid_extlevel.
- Use unsigned to avoid undefined behavior in procfs_getonefeatreg().

(martin)

2020-04-15 14:16:27 UTC netbsd-9 commitmail json YAML

2020-04-15 14:15:17 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #835):

sys/dev/wsfb/genfb.c: revision 1.72

Get genfb's address offset correctly when the value >= 4G. OK's by jmcneill.

Tested on Intel BXNUC10I3FNK (Comet Lake U).

(martin)

2020-04-15 13:33:13 UTC MAIN commitmail json YAML

When boot up with auto-boot? == true, some systems do not provide stdout
if the normal output is screen.

Open screen explicitly as stdout in this case, both for ofwboot and kernel,
which fixes problems with auto-boot? == true for Mac mini G4:

- messages from ofwboot do not appear
- kernel freeze during early boot stage

Taken from OpenBSD:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/macppc/ofw_machdep.c#rev1.3
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/arch/macppc/stand/Locore.c#rev1.3

XXX
pullup to netbsd-9 and -8

(rin)

2020-04-15 10:21:00 UTC MAIN commitmail json YAML

2020-04-15 10:16:47 UTC MAIN commitmail json YAML

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 kernel config
any more

this is useful even if we get indirect segment support one day,
for compatibility with Dom0's not supporting it, like currently NetBSD

(jdolecek)

2020-04-15 09:41:09 UTC MAIN commitmail json YAML

2020-04-15 08:14:22 UTC MAIN commitmail json YAML

2020-04-14 23:35:07 UTC MAIN commitmail json YAML

Drop most of the logic associated with pthread__started.

The pthread_cond logic is a questionable optimisation at best and the
post-fork logic is plainly broken.

(joerg)

2020-04-14 22:42:18 UTC MAIN commitmail json YAML

Set p_oppid always, not just when a parent is traced

PR kern/55151 by Martin Husemann

(kamil)

2020-04-14 22:37:25 UTC MAIN commitmail json YAML

Add timeout to syscall_signal_on_sce that hangs from time to time

(kamil)

2020-04-14 18:11:35 UTC netbsd-8 commitmail json YAML

2020-04-14 17:57:17 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1529:

sys/dev/mii/miidevs 1.154, 1.162-1.167
sys/dev/mii/atphy.c 1.28 via patch
sys/dev/mii/brgphy.c 1.87 via patch
sys/dev/mii/etphy.c 1.5, 1.6 via patch
sys/dev/mii/rdcphy.c 1.6, 1.8 via patch

- Add support Broadcom BCM54213PE and some new RDC devices.
- Rename RDC to xxRDC.
- Use xxVIA instead of VIA.
- etphy(4):
  - Rename ET1011 to ET1011C and add ET1011 support.
  - Use mii_phy_flowstatus() to reflect flow status from negotiated
    result.
- Use static.
- KNF.

(martin)

2020-04-14 17:39:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1528):

sys/dev/ic/spdmemvar.h: revision 1.15
sys/dev/ic/spdmemvar.h: revision 1.16
sys/dev/ic/spdmem.c: revision 1.31
sys/dev/ic/spdmem.c: revision 1.32
sys/dev/ic/spdmem.c: revision 1.33
sys/dev/ic/spdmem.c: revision 1.34
sys/dev/ic/spdmem.c: revision 1.35

Fix spelling of symeti^Hric

  Print DDR3's row and column correctly.

KNF. No functional change.

- Define some new parameters of DDR3 SPD ROM.
- Use fine timebase parameters for time calculation on DDR3. This change
  makes PC3-XXXX value more correctly on newer DDR3.

Calculate DDR3's tRAS correctly.

  Fix unused area size found by pgoyette@.

(martin)

2020-04-14 17:30:43 UTC netbsd-9 commitmail json YAML

2020-04-14 17:26:22 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #834):

sys/netinet6/nd6_rtr.c: revision 1.148

Fix default route selection

The primary issue was that in revision 1.79 a check was added in the
nd6_defrouter_select() search loop to ignore the entry if RA processing
is enabled on its interface.  In practice this results in all entries
being ignored.

This fix reverses the condition, so that an entry is ignored when RA
processing is NOT enabled on its interface.  Further, the entry is
only ignored for being selected as the default router.  The currently
installed router must be identified regardless of the (current) status
of its interface, so that we can delete the route before installing a
new one.

I also added error logging when adding or deleting a route fails. This
should help the administrator (or kernel developer) in noticing possible
problems.

Finally, if deleting a route fails, the corresponding default route
entry no longer has its "installed" flag cleared, so that deletion will
be retried.  At a minimum, this will cause repeated messages about the
failed deletion as opposed to only getting repeated messages about the
installation of a new default route failing.

Fixes PR kern/55091 and also PR bin/54997 as far as the behaviour
observed with ndp(8).

(martin)

2020-04-14 17:15:02 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #833):

usr.sbin/cpuctl/arch/i386.c: revision 1.109
sys/arch/x86/include/specialreg.h: revision 1.159
usr.sbin/cpuctl/arch/i386.c: revision 1.110
sys/arch/x86/include/specialreg.h: revision 1.160
sys/arch/x86/include/specialreg.h: revision 1.161
sys/arch/x86/x86/tsc.c: revision 1.40
sys/arch/x86/x86/procfs_machdep.c: revision 1.35
sys/arch/x86/x86/procfs_machdep.c: revision 1.36

  Add Fast Short Rep Mov(fsrm).

Add AVX512_VP2INTERSECT, SERIALIZE and TSXLDTRK(TSX suspend load addr tracking)

  CPUID Fn00000001 %edx bit 8 is printed as "TSC", so rename CPUID Fn8000_0007
%edx bit 8 from "TSC" to "ITSC" (Invariant TSC) to avoid confusion.

  Rename CPUID_APM_TSC to CPUID_APM_ITSC. No functional change.

  Remove ci_max_ext_cpuid because it's the same as ci_cpuid_extlevel.

  Print CPUID 0x80000007 %edx on both Intel and AMD.

(martin)

2020-04-14 17:02:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #832):

sys/dev/ic/spdmemvar.h: revision 1.15
sys/dev/ic/spdmemvar.h: revision 1.16
sys/dev/ic/spdmem.c: revision 1.32
sys/dev/ic/spdmem.c: revision 1.33
sys/dev/ic/spdmem.c: revision 1.34
sys/dev/ic/spdmem.c: revision 1.35

  Print DDR3's row and column correctly.

KNF. No functional change.

- Define some new parameters of DDR3 SPD ROM.
- Use fine timebase parameters for time calculation on DDR3. This change
  makes PC3-XXXX value more correctly on newer DDR3.

Calculate DDR3's tRAS correctly.

  Fix unused area size found by pgoyette@.

(martin)

2020-04-14 16:53:57 UTC bouyer-xenpvh commitmail json YAML

Always patch spllower with cx8_spllower; it works fine for Xen now
Include x86/x86/patch.c is !xenpv
While there, defopt XENPV

(bouyer)

2020-04-14 16:52:36 UTC bouyer-xenpvh commitmail json YAML

Remove spllower alias, xen_spllower is gone

(bouyer)

2020-04-14 16:51:13 UTC bouyer-xenpvh commitmail json YAML

Force _atomic_cas_cx8 only for XENPV; x86_patch works fine for (PV)HVM

(bouyer)

2020-04-14 16:44:10 UTC netbsd-9 commitmail json YAML

2020-04-14 16:43:12 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #831):

sys/dev/mii/rdcphy.c: revision 1.6
sys/dev/mii/rdcphy.c: revision 1.8
sys/dev/mii/miidevs: revision 1.162
sys/dev/mii/miidevs: revision 1.163
sys/dev/mii/miidevs: revision 1.164
sys/dev/mii/miidevs: revision 1.165
sys/dev/mii/miidevs: revision 1.167
sys/dev/mii/brgphy.c: revision 1.87

  Change the OUI macro name of RDC to xxRDC. 0x00d02d is non-bitreverse value
of official 0x000bb4. From Andrius V.
RDC -> xxRDC. No functional change.

Add BCM54213PE

Match BCM54213PE

  Use xxVIA instead of VIA.
0x004063 is VIA's official OUI but VT6103 use 0x0002c6.
0x0002c6 is non-bitreversed value of 0x004063. Reported by Andrius V.

- Add Quake Technologies and Aeluros' OUI
- Add Teranetics TN1010 10GBase-T PHY
  Add two new RDC PHYs from Andrius V.
  Add two new RDC PHYs from Andrius V.

(martin)

2020-04-14 15:50:28 UTC netbsd-8 commitmail json YAML

2020-04-14 15:36:02 UTC MAIN commitmail json YAML

Only include opt_xxx.h headers when _KERNEL_OPT is defined.

(kre)

2020-04-14 15:16:07 UTC MAIN commitmail json YAML

fix KASSERT() in xbd_map_align()

(jdolecek)

2020-04-14 14:06:24 UTC MAIN commitmail json YAML

rearrange slightly to do proper b_resid accounting, to prepare for partial
transfers

(jdolecek)

2020-04-14 13:58:12 UTC MAIN commitmail json YAML

Add dmesg functionality.

(christos)

2020-04-14 13:36:51 UTC MAIN commitmail json YAML

2020-04-14 13:35:24 UTC MAIN commitmail json YAML

add 'driver' for DS2430A EEPROMs which simply dumps the chip's contents and
status register

(macallan)

2020-04-14 13:32:56 UTC MAIN commitmail json YAML

2020-04-14 13:32:26 UTC MAIN commitmail json YAML

add family 0x14 for DS2430A EEPROMs

(macallan)

2020-04-14 13:10:43 UTC MAIN commitmail json YAML

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 succeed
eventually; also return EAGAIN rather than ENOMEM, so the I/O will be
retried by dk_start() when previous I/O finishes

fix yet another leak on the xengnt_grant_access() fail path in
xbd_diskstart() - this time the unalign buffer

(jdolecek)

2020-04-14 13:02:40 UTC MAIN commitmail json YAML

add forgotten mutex_exit() in detach, which caused panic in uvm_unmap1()
due to held spin lock

(jdolecek)