~bladernr/ubuntu/+source/linux/+git/focal:1869947-revert-lpfc-patch

Last commit made on 2020-03-31
Get this branch:
git clone -b 1869947-revert-lpfc-patch https://git.launchpad.net/~bladernr/ubuntu/+source/linux/+git/focal
Only Jeff Lane  can upload to this branch. If you are Jeff Lane  please log in for upload directions.

Branch merges

Branch information

Name:
1869947-revert-lpfc-patch
Repository:
lp:~bladernr/ubuntu/+source/linux/+git/focal

Recent commits

6632ae6... by Jeff Lane 

Revert "nvme_fc: add module to ops template to allow module references"

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

This reverts commit a7441301b20dc8a7772972a092968bb353b7a642.

[upstream commit: 863fbae929c7a5b64e96b8a3ffb34a29eefb9f8f]

This patch was introduced to prevent the unloading of lpfc driver when
doing NVMe BFS booting. Broadcom has identified that this patch
introduces a bug that prevents unloading of lpfc driver in the non-BFS
case as well.

Signed-off-by: Jeff Lane <email address hidden>

db01f6b... by Seth Forshee

UBUNTU: Ubuntu-5.4-5.4.0-14.17

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

a9421d6... by Seth Forshee

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1862255
Properties: no-test-build
Signed-off-by: Seth Forshee <email address hidden>

47f602d... by Seth Forshee

UBUNTU: update dkms package versions

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

414e13c... by Seth Forshee

UBUNTU: [Packaging] update helper scripts

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

25d6a39... by Seth Forshee

UBUNTU: Start new release

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

2d0575c... by Anju T Sudhakar <email address hidden>

powerpc/powernv: Avoid re-registration of imc debugfs directory

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

export_imc_mode_and_cmd() function which creates the debugfs interface
for imc-mode and imc-command, is invoked when each nest pmu units is
registered.

When the first nest pmu unit is registered, export_imc_mode_and_cmd()
creates 'imc' directory under `/debug/powerpc/`. In the subsequent
invocations debugfs_create_dir() function returns, since the directory
already exists.

The recent commit <c33d442328f55> (debugfs: make error message a bit
more verbose), throws a warning if we try to invoke
`debugfs_create_dir()` with an already existing directory name.

Address this warning by making the debugfs directory registration in
the opal_imc_counters_probe() function, i.e invoke
export_imc_mode_and_cmd() function from the probe function.

Signed-off-by: Anju T Sudhakar <email address hidden>
Tested-by: Nageswara R Sastry <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 48e626ac85b43cc589dd1b3b8004f7f85f03544d)
Signed-off-by: Frank Heimes <email address hidden>
Acked-by: Colin Ian King <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

c620739... by Boris Ostrovsky

UBUNTU: SAUCE: x86/KVM: Clean up host's steal time structure

CVE-2019-3016

Now that we are mapping kvm_steal_time from the guest directly we
don't need keep a copy of it in kvm_vcpu_arch.st. The same is true
for the stime field.

This is part of CVE-2019-3016.

Signed-off-by: Boris Ostrovsky <email address hidden>
Reviewed-by: Joao Martins <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

015fe89... by Boris Ostrovsky

UBUNTU: SAUCE: x86/KVM: Make sure KVM_VCPU_FLUSH_TLB flag is not missed

CVE-2019-3016

There is a potential race in record_steal_time() between setting
host-local vcpu->arch.st.steal.preempted to zero (i.e. clearing
KVM_VCPU_PREEMPTED) and propagating this value to the guest with
kvm_write_guest_cached(). Between those two events the guest may
still see KVM_VCPU_PREEMPTED in its copy of kvm_steal_time, set
KVM_VCPU_FLUSH_TLB and assume that hypervisor will do the right
thing. Which it won't.

Instad of copying, we should map kvm_steal_time and that will
guarantee atomicity of accesses to @preempted.

This is part of CVE-2019-3016.

Signed-off-by: Boris Ostrovsky <email address hidden>
Reviewed-by: Joao Martins <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>

7cf07ad... by Boris Ostrovsky

UBUNTU: SAUCE: x86/kvm: Cache gfn to pfn translation

CVE-2019-3016

__kvm_map_gfn()'s call to gfn_to_pfn_memslot() is
* relatively expensive
* in certain cases (such as when done from atomic context) cannot be called

Stashing gfn-to-pfn mapping should help with both cases.

This is part of CVE-2019-3016.

Signed-off-by: Boris Ostrovsky <email address hidden>
Reviewed-by: Joao Martins <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Signed-off-by: Seth Forshee <email address hidden>