~vicamo/+git/ubuntu-kernel:bug-1904532/igc-fix-link-speed-advertising/unstable

Last commit made on 2020-12-01
Get this branch:
git clone -b bug-1904532/igc-fix-link-speed-advertising/unstable 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-1904532/igc-fix-link-speed-advertising/unstable
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

f0d039f... by You-Sheng Yang

Bug 1904532: igc: fix link speed advertising

3b0d014... by Corinna Vinschen <email address hidden>

igc: fix link speed advertising

Link speed advertising in igc has two problems:

- When setting the advertisement via ethtool, the link speed is converted
  to the legacy 32 bit representation for the intel PHY code.
  This inadvertently drops ETHTOOL_LINK_MODE_2500baseT_Full_BIT (being
  beyond bit 31). As a result, any call to `ethtool -s ...' drops the
  2500Mbit/s link speed from the PHY settings. Only reloading the driver
  alleviates that problem.

  Fix this by converting the ETHTOOL_LINK_MODE_2500baseT_Full_BIT to the
  Intel PHY ADVERTISE_2500_FULL bit explicitely.

- Rather than checking the actual PHY setting, the .get_link_ksettings
  function always fills link_modes.advertising with all link speeds
  the device is capable of.

  Fix this by checking the PHY autoneg_advertised settings and report
  only the actually advertised speeds up to ethtool.

Signed-off-by: Corinna Vinschen <email address hidden>
(cherry picked from https://<email address hidden>/)
Signed-off-by: You-Sheng Yang <email address hidden>

f6726fa... by Seth Forshee

UBUNTU: [Config] CONFIG_RCU_SCALE_TEST=n

This was enabled when rebasing to 5.10-rc1, but it is not an
option we would normally enable, and no justification was
provided for enabling it. The option also may be related to
ppc64el boot problems (though it is as of yet unclear how that
would be possible), so let's disable it.

Signed-off-by: Seth Forshee <email address hidden>

cd5d5d0... by Andrea Righi

UBUNTU: Ubuntu-5.10-5.10.0-6.7

Signed-off-by: Andrea Righi <email address hidden>

86f606d... by Andrea Righi

UBUNTU: Rebase to v5.10-rc6

Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>

2b01a96... by Andrea Righi

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Andrea Righi <email address hidden>

c8e5c7b... by Andrea Righi

UBUNTU: update dkms package versions

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

2425647... by Thadeu Lima de Souza Cascardo

UBUNTU: [Packaging]: linux-image should suggest linux-modules-extra

When installing linux-image, we don't want the linux-modules-extra to be
installed by default, so it should not be a Recommends. It can, however, be a
Suggests.

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

f87b94c... by Thadeu Lima de Souza Cascardo

UBUNTU: [Packaging]: linux-modules should depend on linux-image

When installing linux-modules package directly, it will not bring a linux-image
package as a dependency. linux-modules-extra, on the other hand, depend on a
linux-image package.

Make the linux-modules package depend on either the linux-image or the
linux-image-unsigned package.

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>

5bf2ee8... by Thadeu Lima de Souza Cascardo

UBUNTU: [Packaging] insertchanges: avoid double newline

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

When some changes have been already added to the changelog, like when using
insert-ubuntu-changes, and there are no other changes, we end up with two
newlines right after the stanza header.

Add a $skip_newline variable that allows us to skip that extra newline when
there are no other changes.

Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Andrea Righi <email address hidden>
Acked-by: Kelsey Skunberg <email address hidden>
Signed-off-by: Andrea Righi <email address hidden>