| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are
still not MPSAFE (or already are but aren’t properly marked). Use it in
preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and
SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Reviewed by: hselasky, kib
Approved by: kib (mentor)
Differential Revision: https://reviews.freebsd.org/D23632
Notes:
svn path=/head/; revision=357972
|
|
|
|
|
|
|
|
|
| |
Remove all sparc64 specific files
Remove all sparc64 ifdefs
Removee indireeect sparc64 ifdefs
Notes:
svn path=/head/; revision=357455
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These should not be any functional change. While the change in
emul10kx-pcm.c looks like a real bug fix (as opposed to inconsistent
whitespace), the extra statements were not harmful.
Reviewed by: kib
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23363
Notes:
svn path=/head/; revision=357146
|
|
|
|
|
|
|
|
|
|
|
|
| |
As we do for many other laptops, put the headphone jack and speakers in
the same association by default so that the generic sound device
automatically switches between them.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=355570
|
|
|
|
|
|
|
| |
Sponsored by: Intel
Notes:
svn path=/head/; revision=355429
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=354143
|
|
|
|
|
|
|
|
| |
PR: 241299
Submitted by: Neel Chauhan
Notes:
svn path=/head/; revision=353682
|
|
|
|
|
|
|
|
|
|
| |
Add missing header change ommitted in r352775
MFC after: 2 weeks
X-MFC-with: 352775
Notes:
svn path=/head/; revision=352776
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add PCI ids for Intel Cannon Lake PCH
Tested on: HP Spectre x360 13-p0043dx
PR: 240574
Submitted by: Neel Chauhan <neel@neelc.org>
Reviewed by: imp, mizhka, ray
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21789
Notes:
svn path=/head/; revision=352775
|
|
|
|
|
|
|
|
|
|
|
| |
This significantly improves the audio playback response time.
Discussed with: mav@
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=351847
|
|
|
|
|
|
|
|
|
|
|
|
| |
The returned error number may be EINTR or ERESTART depending on
whether or not the signal is supposed to interrupt the system call.
Reported and tested by: pho
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=351624
|
|
|
|
| |
Notes:
svn path=/head/; revision=351325
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the mutex needs to be dropped when copying out the midistat
sbuf, leading to a race which allows one to read kernel memory beyond
the end of the sbuf buffer.
Reported and tested by: pho
Security: CVE-2019-5612
Notes:
svn path=/head/; revision=351262
|
|
|
|
|
|
|
| |
It was an experiment and not meant to be committed. :-(
Notes:
svn path=/head/; revision=351233
|
|
|
|
|
|
|
|
|
| |
Note this commit was inspired by r350433.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=351231
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR: 219350 [1], [2]
Submitted by: Masachika ISHIZUKA (ish_at_amail.plala.or.jp) [1]
Neel Chauhan (neel_at_neelc.org) [2]
uri Momotyuk (yurkis_at_gmail.com) [3]
Reported by: miwi
Reviewed by: mav
Obtained from: https://github.com/trueos/trueos/pull/279 [3]
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D19017
Notes:
svn path=/head/; revision=350433
|
|
|
|
|
|
|
|
|
|
|
|
| |
with various laptops using hdaa(4) sound devices. We don't seem to know
the "correct" configurations for these devices and the defaults are far
superiour, e.g. they work if you don't nuke the default configs.
PR: 200526
Differential Revision: https://reviews.freebsd.org/D17772
Notes:
svn path=/head/; revision=350078
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows replacing "sys/eventfilter.h" includes with "sys/_eventfilter.h"
in other header files (e.g., sys/{bus,conf,cpu}.h) and reduces header
pollution substantially.
EVENTHANDLER_DECLARE and EVENTHANDLER_LIST_DECLAREs were moved out of .c
files into appropriate headers (e.g., sys/proc.h, powernv/opal.h).
As a side effect of reduced header pollution, many .c files and headers no
longer contain needed definitions. The remainder of the patch addresses
adding appropriate includes to fix those files.
LOCK_DEBUG and LOCK_FILE_LINE_ARG are moved to sys/_lock.h, as required by
sys/mutex.h since r326106 (but silently protected by header pollution prior
to this change).
No functional change (intended). Of course, any out of tree modules that
relied on header pollution for sys/eventhandler.h, sys/lock.h, or
sys/mutex.h inclusion need to be fixed. __FreeBSD_version has been bumped.
Notes:
svn path=/head/; revision=347984
|
|
|
|
|
|
|
|
| |
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=345332
|
|
|
|
|
|
|
|
| |
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=343584
|
|
|
|
|
|
|
|
|
| |
Tested on HP AF006UR.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=343327
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extend the vendor class USB audio quirk to cover devices without
the USB audio control descriptor.
PR: 234794
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=342961
|
|
|
|
|
|
|
|
|
|
|
| |
Read first one entry, then try to read the full rate descriptor table.
PR: 234380
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=342456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The object size is set in the dsp_mmap_single() which provides the
range limit by vm_fault().
Reported by: C Turt <ecturt@gmail.com>
Reviewed by: alc, markj
admbug: 781
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=341400
|
|
|
|
|
|
|
|
|
|
| |
isochronous bandwidth.
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=340248
|
|
|
|
|
|
|
| |
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Notes:
svn path=/head/; revision=340071
|
|
|
|
|
|
|
|
|
| |
Found by: Peter Holm <peter@holm.cc>
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=339583
|
|
|
|
|
|
|
|
|
|
|
| |
than is available, else a panic might happen.
Found by: Peter Holm <peter@holm.cc>
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=339582
|
|
|
|
|
|
|
|
|
| |
Found by: Peter Holm <peter@holm.cc>
MFC after: 3 days
Sponsored by: Mellanox Technologies
Notes:
svn path=/head/; revision=339581
|
|
|
|
|
|
|
|
|
|
|
|
| |
communication lines got crossed.
Apologies to avatar@ for the confusion.
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=338424
|
|
|
|
|
|
|
|
| |
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=338423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
play the MIDI files through /dev/sequencer device with tools like
playmidi. The audio output will go through the external MIDI device
such like wavetable synthesis card.
Reviewed by: matk (a long time ago), kib
Approved by: re (kib)
Tested with: Terratec SiXPack 5.1+ + Yamaha DB50XG
MFC after: 4 weeks
Notes:
svn path=/head/; revision=338422
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=338200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
across the AC-link.
Without this patch, some CS4614 cards will need users to reload the driver manually or
the hardware won't be initialised properly. Something like:
# kldload snd_csa
# kldunload snd_csa
# kldload snd_csa
Tested with: Terratec SiXPack 5.1+
Notes:
svn path=/head/; revision=338038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure both sides of the DMA buffer memory accesses for the CORB and RIRB
(control buffers) in snd_hda (device and CPU) can see coherent memory. This
is needed on weakly ordered architectures including PowerPC and ARM. Patch
originally by mmel, with small changes.
This does not cover the data path of snd_hda. We don't have sync operations
for in-progress DMA buffers, to sync ranges of a map.
Reviewed By: mmel
Differential Revision: https://reviews.freebsd.org/D16517
Notes:
svn path=/head/; revision=337043
|
|
|
|
|
|
|
|
|
| |
The buffer descriptor list entries should be in little endian format. Byte swap
them on BE. This is the last piece of the puzzle for snd_hda(4) to work on
PowerPC.
Notes:
svn path=/head/; revision=336983
|
|
|
|
|
|
|
|
|
| |
The CORB and RIRB buffers exist in DMA memory, but the device reads them as
little-endian only. Read and write as LE into the DMA memory block, to work on
BE platforms.
Notes:
svn path=/head/; revision=336931
|
|
|
|
|
|
|
|
| |
It's easy to confuse the error code as naked it looks decimal (EINVAL is
reported as error 16, instead of error 22, so first reading looks like EBUSY).
Notes:
svn path=/head/; revision=336912
|
|
|
|
|
|
|
|
| |
If hdac_attach fails prior to allocating sc->streams, cleanup in the
hdac_attach_fail label will dereference a NULL pointer, panicking.
Notes:
svn path=/head/; revision=336911
|
|
|
|
| |
Notes:
svn path=/head/; revision=336757
|
|
|
|
|
|
|
|
| |
PR: 229969
MFC after: 1 week
Notes:
svn path=/head/; revision=336632
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add quirk for Dell XPS9560 audio gleaned and massages from linux
https://github.com/freebsd/freebsd/pull/137
Submitted by: K Staring
MFC after: 3 days
Relnotes: yes
Notes:
svn path=/head/; revision=332890
|
|
|
|
|
|
|
| |
ACPI ISA PBP tables not tagged, there's bigger issues with them.
Notes:
svn path=/head/; revision=328524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Uses of mallocarray(9).
The use of mallocarray(9) has rocketed the required swap to build FreeBSD.
This is likely caused by the allocation size attributes which put extra pressure
on the compiler.
Given that most of these checks are superfluous we have to choose better
where to use mallocarray(9). We still have more uses of mallocarray(9) but
hopefully this is enough to bring swap usage to a reasonable level.
Reported by: wosch
PR: 225197
Notes:
svn path=/head/; revision=328218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Focus on code where we are doing multiplications within malloc(9). None of
these is likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.
This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.
Notes:
svn path=/head/; revision=327949
|
|
|
|
|
|
|
|
|
|
|
| |
- duplicate words
- typos
- references to old versions of FreeBSD
Reviewed by: imp, benno
Notes:
svn path=/head/; revision=327231
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Notes:
svn path=/head/; revision=326255
|
|
|
|
|
|
|
|
|
|
|
|
| |
This logic is still imperfect, since it allows at most 15 bidirectional
streams out of 30 allowed by specification, but at least now those should
work better. On the other side I don't remember I ever saw controller
supporting the bidirectional streams, so this is likely a nop change.
MFC after: 1 month
Notes:
svn path=/head/; revision=326186
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=324661
|
|
|
|
|
|
|
|
|
| |
This is shorter and unifies naming with later chipsets.
MFC after: 1 week
Notes:
svn path=/head/; revision=322309
|