FreeBSD/src 33e095esys/dev/acpica acpi_spmc.c

acpi_spmc: Improve device description

"Low Power S0 Idle" doesn't mean that much. "System Power Management
Controller" is what "SPMC" stands for in the first place.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-2sys/dev/acpica/acpi_spmc.c
+2-21 files

FreeBSD/src 3d85a2asys/dev/sound/pcm channel.h

sound: Remove unimplemented chn_reinit() definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 2e1cf242292a33a71839c512d222115d36f8fd40)
DeltaFile
+0-1sys/dev/sound/pcm/channel.h
+0-11 files

FreeBSD/src d89987bsys/dev/sound/pcm ac97.c

sound: Address some XXX comments regarding AC'97 IDs

These seem harmless to address. Not sure why the original author did not
just assign the appropriate names if he knew they were wrong.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56044

(cherry picked from commit edad981e1e8673b6dd14656fe75b9f239fb777ce)
DeltaFile
+2-12sys/dev/sound/pcm/ac97.c
+2-121 files

FreeBSD/src 332c782sys/dev/sound/pcm feeder_rate.c

sound: Retire Z_PARANOID

It is always defined.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56042

(cherry picked from commit 6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7)
DeltaFile
+0-6sys/dev/sound/pcm/feeder_rate.c
+0-61 files

FreeBSD/src 02c9c1asys/dev/sound/pcm feeder_rate.c

sound: Remove most Z_RATE_* aliases

They introduce an extra level of abstraction for no reason at all.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56041

(cherry picked from commit 0ee95151931688e3d321ea7fb13e037b211a40ba)
DeltaFile
+13-24sys/dev/sound/pcm/feeder_rate.c
+13-241 files

FreeBSD/src 9990340sys/dev/sound/pcm ac97.c

sound: Remove dead code in pcm/ac97.c

ac97_uninitmixer() does not exist also.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56045

(cherry picked from commit d048cec5fb41cf9529dd0b637a51c7ee72b59b3b)
DeltaFile
+0-4sys/dev/sound/pcm/ac97.c
+0-41 files

FreeBSD/src dfcbb9csys/tools/sound emu10k1-mkalsa.sh

sound: Retire unused emu10k1-mkalsa.sh

It is a legacy script which is no longer used. Its utility is also
unknown.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56043

(cherry picked from commit 71c46c8c901be2a6e0708c912f0d766d49e5b335)
DeltaFile
+0-20sys/tools/sound/emu10k1-mkalsa.sh
+0-201 files

FreeBSD/src 4b7b7a7sys/conf NOTES files

snd_dummy: Add to sys/conf/files and sys/conf/NOTES

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56040

(cherry picked from commit 72e85a4d977eff23fcd2b12a3513f0e8fd2ac332)
(cherry picked from commit 82a066b8593a14e0bbf8e1fcdc75fd9ecf0d9e62)
DeltaFile
+2-0sys/conf/NOTES
+1-0sys/conf/files
+3-02 files

FreeBSD/src 901d6fdsys/dev/sound/pcm dsp.c channel.h

sound: Retire CHN_GETMUTE() and use chn_getmute_matrix()

chn_getmute_matrix() does what CHN_GETMUTE() does, but with a few
additional checks.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55993

(cherry picked from commit d171d5b8b5acb145efb41a57a2a8f3cded59a484)
DeltaFile
+3-2sys/dev/sound/pcm/dsp.c
+0-2sys/dev/sound/pcm/channel.h
+3-42 files

FreeBSD/src 6681676sys/dev/sound/pcm channel.c matrix.h

sound: Retire CHN_SETVOLUME() and use chn_setvolume_matrix()

CHN_SETVOLUME() is just a wrapped around chn_setvolume_matrix() anyway,
so use it directly.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55992

(cherry picked from commit 127aa056fea0714116952efb7664956e0f2b69cd)
DeltaFile
+2-2sys/dev/sound/pcm/channel.c
+1-2sys/dev/sound/pcm/matrix.h
+0-2sys/dev/sound/pcm/channel.h
+3-63 files

FreeBSD/src 9b322a2sys/dev/sound sndstat.c, sys/dev/sound/pcm dsp.c mixer.c

sound: Retire CHN_GETVOLUME() and use chn_getvolume_matrix()

CHN_GETVOLUME() is just a wrapped around chn_getvolume_matrix() anyway,
so use it directly.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55991

(cherry picked from commit f190fad18c385c184cb3600b7e24a362858a1911)
DeltaFile
+4-4sys/dev/sound/pcm/dsp.c
+2-2sys/dev/sound/pcm/mixer.c
+2-2sys/dev/sound/sndstat.c
+0-1sys/dev/sound/pcm/channel.h
+8-94 files

FreeBSD/src 7c483aasys/dev/sound/pcm channel.c

sound: Do not create root feeder in chn_init()

The feeder chain gets destroyed when feeder_chain() is called, which is
after the chn_reset() call in chn_init() further down for primary chans,
or vchan_create() for vchans. This makes the root feeder creation in
chn_init() essentially a no-op. Remove it altogether and let
feeder_chain() after chn_reset() take care of creating the feeder
properly. It creates the root one as well.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55941

(cherry picked from commit b9f9fc473eb56273978df4d4c889acba2862b21c)
DeltaFile
+0-12sys/dev/sound/pcm/channel.c
+0-121 files

FreeBSD/src db18e52sys/dev/sound/pcm feeder_volume.c feeder_rate.c

sound: Remove endianness checks for format table declarations

This a legacy thing that is not needed anymore. We can support all of
them just fine.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55939

(cherry picked from commit 6755f558c1d7d22cac5b123082fdb2ac080c228d)
DeltaFile
+0-8sys/dev/sound/pcm/feeder_volume.c
+0-8sys/dev/sound/pcm/feeder_rate.c
+0-162 files

FreeBSD/src cf4199esys/dev/sound/pcm feeder_rate.c

sound: Retire unused Z_MULTIFORMAT

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 12633057f5914a533df81030b553d6bd47681d87)
DeltaFile
+0-2sys/dev/sound/pcm/feeder_rate.c
+0-21 files

FreeBSD/src a0d3a7dsys/dev/sound/midi midi.c

sound: Match midi_write() return values with midi_read()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55920

(cherry picked from commit a49e925489fba23878b3004b2bff7549dc2f2bcb)
DeltaFile
+1-1sys/dev/sound/midi/midi.c
+1-11 files

FreeBSD/src a7c0ee9sys/dev/sound/pcm channel.h

sound: Always use chn_getvolume_matrix()

There is no reason not to use it. We do it already with CHN_SETVOLUME().
chn_getvolume_matrix() is the same as the non-INVARIANTS
CHN_GETVOLUME(), just without the additional KASSERT
chn_getvolume_matrix() provides.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55990

(cherry picked from commit 0b7f9597024a0061b1e6c544d78bc2ed9392bd89)
DeltaFile
+0-4sys/dev/sound/pcm/channel.h
+0-41 files

FreeBSD/src d6b36b8sys/dev/sound/pcm matrix.h

sound: Retire SND_MULTICHANNEL

SND_MULTICHANNEL is always defined, so SND_CHN_MAX will also always be
8. Apart from the fact that there is no other place in the code that
touches SND_MULTICHANNEL, there is also no good reason nowadays to set
SND_CHN_MAX to 2.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55934

(cherry picked from commit 712bd9b2750a71ad7f8b6bebc5177c47d33a6364)
DeltaFile
+0-7sys/dev/sound/pcm/matrix.h
+0-71 files

FreeBSD/src ea41828sys/conf NOTES options, sys/dev/sound/pcm matrix.h

sound: Retire SND_OLDSTEREO

This is a legacy option and does not serve a good purpose anymore.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55933

(cherry picked from commit bf0e5d987ecd2cbec2200e100bad6d6e724e9315)
DeltaFile
+0-4sys/conf/NOTES
+0-3sys/dev/sound/pcm/matrix.h
+0-1sys/conf/options
+0-83 files

FreeBSD/src e6da660sys/conf NOTES options, sys/dev/sound/pcm feeder_mixer.c feeder_chain.c

sound: Retire SND_DEBUG

Not useful anymore.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55932

(cherry picked from commit 5d311c75324a205f3cd8a8a404a25ebdadb18b54)
DeltaFile
+0-16sys/dev/sound/pcm/feeder_mixer.c
+0-5sys/conf/NOTES
+1-1sys/dev/sound/pcm/feeder_chain.c
+0-1sys/conf/options
+1-234 files

FreeBSD/src 5c358d5sys/dev/sound/usb uaudio.c

snd_uaudio: Retire UAUDIO_MAX_CHAN()

It's a no-op.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55924

(cherry picked from commit a2fd964a95829c0225031fb317202d4acc2d6ce9)
DeltaFile
+2-4sys/dev/sound/usb/uaudio.c
+2-41 files

FreeBSD/src 5289aa5sys/conf NOTES, sys/dev/sound/pcm feeder.h feeder_chain.c

sound: Retire SND_FEEDER_MULTIFORMAT and SND_FEEDER_FULL_MULTIFORMAT

There is no reason to have these legacy controls anymore, all these
formats can be handled just fine nowadays.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55937

(cherry picked from commit 9318336f2af134b26adcb217f78f70bfdcf5f222)
DeltaFile
+0-18sys/dev/sound/pcm/feeder.h
+1-11sys/dev/sound/pcm/feeder_chain.c
+4-8sys/dev/sound/pcm/feeder_rate.c
+4-8sys/dev/sound/pcm/feeder_volume.c
+0-8sys/conf/NOTES
+0-3sys/dev/sound/pcm/feeder_mixer.c
+9-561 files not shown
+9-587 files

FreeBSD/src e93c021sys/dev/sound/usb uaudio.c

snd_uaudio: Simplify chan->curr_cable calculation in uaudio_bulk_write_callback()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55918

(cherry picked from commit 039477d3e7e72285174d83b973e58cea8de85280)
DeltaFile
+1-3sys/dev/sound/usb/uaudio.c
+1-31 files

FreeBSD/src 1edf301sys/dev/sound/pcm buffer.c

sound: Remove SND_DIAGNOSTIC section in buffer.c

The purpose of this has not been documented, but it seems like it makes
it possible to view the maximum number of bytes that passed to
sndbuf_feed(), as well as the maximum number of cycles taken inside its
main loop. These do not seem particularly useful anymore.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55989

(cherry picked from commit 4324e0fa71f85f274013100d912584a042c9909e)
DeltaFile
+0-26sys/dev/sound/pcm/buffer.c
+0-261 files

FreeBSD/src c1965dfsys/dev/sound/usb uaudio.c

snd_uaudio: Rename uaudio_hid_probe() to uaudio_hid_attach()

This makes more sense.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 0a7749d9436e111c882a16eed1531267943186b4)
DeltaFile
+3-3sys/dev/sound/usb/uaudio.c
+3-31 files

FreeBSD/src 847031esys/dev/sound/usb uaudio.c

snd_uaudio: Rename umidi_probe() to umidi_attach()

This performs an attach, not probe.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55900

(cherry picked from commit e67dbccc70046a6f6d8f34c11fd01972b22920c5)
DeltaFile
+3-3sys/dev/sound/usb/uaudio.c
+3-31 files

FreeBSD/src 6912410sys/dev/amdsmu amdsmu.c amdsmu.h

amdsmu: Cezanne support

Add support for Cezanne chips.  The only real difference vs
Rembrandt/Phoenix is the idlemask register.

Also simplify getting IP block count by having this straight in struct
amdsmu_product and remove Strix Point from the list for now, as that
doesn't support S0ix and our driver can't handle that.

Reviewed by:    mckusick
Approved by:    mckusick
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55594
DeltaFile
+12-22sys/dev/amdsmu/amdsmu.c
+15-4sys/dev/amdsmu/amdsmu.h
+4-1sys/dev/amdsmu/amdsmu_reg.h
+31-273 files

FreeBSD/src 360ff2clib/libc/gen dup3.3, lib/libsys dup.2

dup(2): document the handling of filedescriptor flags

(cherry picked from commit 6cc99baea607255859ee958608e4db6e2ff24793)
DeltaFile
+4-1lib/libsys/dup.2
+2-0lib/libc/gen/dup3.3
+6-12 files

FreeBSD/src 59cb18fshare/man/man4 vmgenc.4 Makefile

vmgenc.4: Add VM Generation ID Counter manual

Document the vmgenc(4) ACPI driver which detects virtual machine
cloning and snapshot restoration via the VM Generation ID
specification. The driver reseeds the kernel entropy pool when
a generation change is detected.

MFC after:              3 days
Reviewed by:            cem (previous), ziaee
Signed-off-by:          Christos Longros <chris.longros at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D56011
DeltaFile
+62-0share/man/man4/vmgenc.4
+1-0share/man/man4/Makefile
+63-02 files

FreeBSD/src cea122asys/fs/nfsserver nfs_nfsdserv.c

nfs_nfsdserv.c: Fix handling of archive flag for mkdir

An NFSv4.1/4.2 client can set/clear the archive, hidden
and system flags when creating non-regular files, such
as directories.

Without this patch, the setting of va_flags causes an
EPERM failure, since they are specified for VOP_MKDIR(),
VOP_MKNOD() and VOP_SYMLINK().

This patch sets va_flags == VNOVAL for the above VOP_xxx()
calls and then sets/clears the flags after creation,
which fixes the problem.

This bug only affects the Windows NFSv4.1/4.2 client.

PR:     293691

(cherry picked from commit 6580d040861dfbf6c630a93cbf41f2a2c7e7b327)
DeltaFile
+13-1sys/fs/nfsserver/nfs_nfsdserv.c
+13-11 files

FreeBSD/src e4505a5lib/msun/powerpc fenv.c fenv.h

msun/powerpc: convert fenv functions to proper linkage

namely
        fegetexceptflag(3)
        fesetexceptflag(3)
        feraiseexcept(3)
        fetestexcept(3)
        fegetround(3)
        fesetround(3)
        fegetenv(3)
        feholdexcept(3)
        fesetenv(3)
        feupdateenv(3)
        feenableexcept(3)
        fedisableexcept(3)
        fegetexcept(3)

PR:     277958
Reviewed by:    dim

    [3 lines not shown]
DeltaFile
+71-12lib/msun/powerpc/fenv.c
+39-12lib/msun/powerpc/fenv.h
+110-242 files