~ubuntu-kernel/ubuntu/+source/linux/+git/mantic:master-next--2024.04.29-1

Last commit made on 2024-05-02
Get this branch:
git clone -b master-next--2024.04.29-1 https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/mantic
Members of Ubuntu Kernel Repositories can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master-next--2024.04.29-1
Repository:
lp:~ubuntu-kernel/ubuntu/+source/linux/+git/mantic

Recent commits

75c9d9c... by Stefan Bader

Revert "minmax: add umin(a, b) and umax(a, b)"

BugLink: https://bugs.launchpad.net/bugs/2060446

This reverts commit 8d582aac6cd6dfdf58f2905178537a2298518c8c. Patchset
breaks compilation on armhf.

Signed-off-by: Stefan Bader <email address hidden>

16bcaf8... by Stefan Bader

Revert "minmax: allow min()/max()/clamp() if the arguments have the same signedness."

BugLink: https://bugs.launchpad.net/bugs/2060446

This reverts commit 54750fcb53b3db755f5e59d0d481ea6ab223e8f0. Patchset
breaks compilation on armhf.

Signed-off-by: Stefan Bader <email address hidden>

1500a98... by Stefan Bader

Revert "minmax: allow comparisons of 'int' against 'unsigned char/short'"

BugLink: https://bugs.launchpad.net/bugs/2060446

This reverts commit 0410eb4def1f9e062edb4bff063ae38a78db530b. Patchset
breaks compilation on armhf.

Signed-off-by: Stefan Bader <email address hidden>

869294d... by Stefan Bader

Revert "minmax: relax check to allow comparison between unsigned arguments and signed constants"

BugLink: https://bugs.launchpad.net/bugs/2060446

This reverts commit 21e0901150a6fab42e33fdebbd21b3379d39bd95. Patchset
breaks compilation on armhf.

Signed-off-by: Stefan Bader <email address hidden>

27077a3... by Magali Lemes do Sacramento

UBUNTU: [Packaging] Remove fips-checks script

BugLink: https://bugs.launchpad.net/bugs/2055083

This script is now part of `cranky` and there is no need for it to live
in debian/ anymore, so remove it.

Signed-off-by: Magali Lemes <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

442d451... by Hui Wang

ALSA: hda/realtek: fix the hp playback volume issue for LG machines

BugLink: https://bugs.launchpad.net/bugs/2058573

Recently we tested the headphone playback on 2 LG machines, if we set
the volume to the max value or near to the max value, the sound is too
loud, it could even bring harm to listeners.

A workaround is to decrease the max volume to a reasonable value for
the headphone's amplifier, then the users couldn't set the volume
bigger than that value from the userspace.

Signed-off-by: Hui Wang <email address hidden>
Message-ID: <email address hidden>
Signed-off-by: Takashi Iwai <email address hidden>

(backported from commit 1e5dc3989a20ccd703d5fe1a269d2bcedf29142c linux-next)
Signed-off-by: Hui Wang <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Roxana Nicolescu <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

239b2a1... by Manuel Diewald

UBUNTU: Upstream stable to v6.1.77, v6.6.16

BugLink: https://bugs.launchpad.net/bugs/2059284

Signed-off-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

400c2f6... by Brett Creeley <email address hidden>

pds_core: Prevent health thread from running during reset/remove

BugLink: https://bugs.launchpad.net/bugs/2059284

[ Upstream commit d9407ff11809c6812bb84fe7be9c1367d758e5c8 ]

The PCIe reset handlers can run at the same time as the
health thread. This can cause the health thread to
stomp on the PCIe reset. Fix this by preventing the
health thread from running while a PCIe reset is happening.

As part of this use timer_shutdown_sync() during reset and
remove to make sure the timer doesn't ever get rearmed.

Fixes: ffa55858330f ("pds_core: implement pci reset handlers")
Signed-off-by: Brett Creeley <email address hidden>
Reviewed-by: Shannon Nelson <email address hidden>
Reviewed-by: Przemek Kitszel <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Jakub Kicinski <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

87fffaa... by Johan Hovold <email address hidden>

ASoC: codecs: wcd938x: fix headphones volume controls

BugLink: https://bugs.launchpad.net/bugs/2059284

commit 4d0e8bdfa4a57099dc7230952a460903f2e2f8de upstream.

The lowest headphones volume setting does not mute so the leave the TLV
mute flag unset.

This is specifically needed to let the sound server use the lowest gain
setting.

Fixes: c03226ba15fe ("ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR")
Cc: <email address hidden> # 6.5
Cc: Srinivas Kandagatla <email address hidden>
Signed-off-by: Johan Hovold <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

b7e1fdc... by Johan Hovold <email address hidden>

ASoC: qcom: sc8280xp: limit speaker volumes

BugLink: https://bugs.launchpad.net/bugs/2059284

commit c481016bb4f8a9c059c39ac06e7b65e233a61f6a upstream.

The UCM configuration for the Lenovo ThinkPad X13s has up until now
been setting the speaker PA volume to the minimum -3 dB when enabling
the speakers, but this does not prevent the user from increasing the
volume further.

Limit the digital gain and PA volumes to a combined -3 dB in the machine
driver to reduce the risk of speaker damage until we have active speaker
protection in place (or higher safe levels have been established).

Note that the PA volume limit cannot be set lower than 0 dB or
PulseAudio gets confused when the first 16 levels all map to -3 dB.

Also note that this will probably need to be generalised using
machine-specific limits, but a common limit should do for now.

Cc: <email address hidden> # 6.5
Signed-off-by: Johan Hovold <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Mark Brown <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Manuel Diewald <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>