~vicamo/+git/ubuntu-kernel:bug-1945576/igc-remove-checkings/hirsute

Last commit made on 2021-09-30
Get this branch:
git clone -b bug-1945576/igc-remove-checkings/hirsute https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1945576/igc-remove-checkings/hirsute
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

3060438... by You-Sheng Yang

Bug 1945576: Intel I225-IT device probe failure

d7f9584... by Sasha Neftin

igc: Remove phy->type checking

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

i225 devices have only one phy->type: copper. There is no point checking
phy->type during the igc_has_link method from the watchdog that
invoked every 2 seconds.
This patch comes to clean up these pointless checkings.

Signed-off-by: Sasha Neftin <email address hidden>
Tested-by: Dvora Fuxbrumer <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>
(cherry picked from commit 47bca7de6a4fb8dcb564c7ca14d885c91ed19e03)
Signed-off-by: You-Sheng Yang <email address hidden>

783efb0... by Sasha Neftin

igc: Remove _I_PHY_ID checking

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

i225 devices have only one PHY vendor. There is no point checking
_I_PHY_ID during the link establishment and auto-negotiation process.
This patch comes to clean up these pointless checkings.

Signed-off-by: Sasha Neftin <email address hidden>
Tested-by: Dvora Fuxbrumer <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>
(cherry picked from commit 7c496de538eebd8212dc2a3c9a468386b264d0d4)
Signed-off-by: You-Sheng Yang <email address hidden>

7d77830... by Stefan Bader

UBUNTU: Ubuntu-5.11.0-38.42

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

646f930... by Stefan Bader

UBUNTU: debian/dkms-versions -- update from kernel-versions (main/2021.09.27)

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Stefan Bader <email address hidden>

33e3a79... by Stefan Bader

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1944863
Properties: no-test-build
Signed-off-by: Stefan Bader <email address hidden>

30189ec... by Kai-Heng Feng

drm/i915/dp: Use max params for panels < eDP 1.4

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

Users reported that after commit 2bbd6dba84d4 ("drm/i915: Try to use
fast+narrow link on eDP again and fall back to the old max strategy on
failure"), the screen starts to have wobbly effect.

Commit a5c936add6a2 ("drm/i915/dp: Use slow and wide link training for
everything") doesn't help either, that means the affected eDP 1.2 panels
only work with max params.

So use max params for panels < eDP 1.4 as Windows does to solve the
issue.

v3:
 - Do the eDP rev check in intel_edp_init_dpcd()

v2:
 - Check eDP 1.4 instead of DPCD 1.1 to apply max params

Cc: <email address hidden>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3714
Fixes: 2bbd6dba84d4 ("drm/i915: Try to use fast+narrow link on eDP again and fall back to the old max strategy on failure")
Fixes: a5c936add6a2 ("drm/i915/dp: Use slow and wide link training for everything")
Suggested-by: Ville Syrjälä <email address hidden>
Signed-off-by: Kai-Heng Feng <email address hidden>
Signed-off-by: Ville Syrjälä <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>
(cherry picked from commit d7f213c131adf0bec8b731553eb82990cdac265d)
Signed-off-by: Jani Nikula <email address hidden>
(cherry picked from commit c8dead5751b81dfa6b10449b740ed1062ff670c5)
Signed-off-by: Kai-Heng Feng <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Kelsey Skunberg <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

9a9def7... by Kamal Mostafa

UBUNTU: upstream stable to v5.10.62, v5.13.14

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

Ignore: yes
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

a060e3f... by Eric Biggers <email address hidden>

ubifs: report correct st_size for encrypted symlinks

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

commit 064c734986011390b4d111f1a99372b7f26c3850 upstream.

The stat() family of syscalls report the wrong size for encrypted
symlinks, which has caused breakage in several userspace programs.

Fix this by calling fscrypt_symlink_getattr() after ubifs_getattr() for
encrypted symlinks. This function computes the correct size by reading
and decrypting the symlink target (if it's not already cached).

For more details, see the commit which added fscrypt_symlink_getattr().

Fixes: ca7f85be8d6c ("ubifs: Add support for encrypted symlinks")
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Eric Biggers <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

caf2f5d... by Eric Biggers <email address hidden>

f2fs: report correct st_size for encrypted symlinks

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

commit 461b43a8f92e68e96c4424b31e15f2b35f1bbfa9 upstream.

The stat() family of syscalls report the wrong size for encrypted
symlinks, which has caused breakage in several userspace programs.

Fix this by calling fscrypt_symlink_getattr() after f2fs_getattr() for
encrypted symlinks. This function computes the correct size by reading
and decrypting the symlink target (if it's not already cached).

For more details, see the commit which added fscrypt_symlink_getattr().

Fixes: cbaf042a3cc6 ("f2fs crypto: add symlink encryption")
Cc: <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Eric Biggers <email address hidden>
Signed-off-by: Greg Kroah-Hartman <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>