~mhcerri/ubuntu/+source/linux/+git/azure:cvm-preview4-fixes

Last commit made on 2021-03-04
Get this branch:
git clone -b cvm-preview4-fixes https://git.launchpad.net/~mhcerri/ubuntu/+source/linux/+git/azure
Only Marcelo Cerri can upload to this branch. If you are Marcelo Cerri please log in for upload directions.

Branch merges

Branch information

Name:
cvm-preview4-fixes
Repository:
lp:~mhcerri/ubuntu/+source/linux/+git/azure

Recent commits

4aa4a48... by Marcelo Cerri

UBUNTU: SAUCE: x86/Hyper-V: Fix potential use of ninitialized pointer at create_gpadl_header()

Fix Ubuntu commit cb36bd5e1b71 ("UBUNTU: SAUCE: x86/Hyper-V: Add new
hvcall guest address host visibility support") cherry picked from:

https://github.com/lantianyu/linux/commit/deb6dc9bdbff7a6b16910ebe9aff266de9690cb2

The problem might happen when `msgbody = kzalloc(msgsize, GFP_KERNEL);`
fails.

This is a potential issue found using static analysis by Coverity.

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

6464d0e... by Marcelo Cerri

UBUNTU: SAUCE: HV/Netvsc: Fix potential leak in netvsc_probe()

Fix Ubuntu commit 9afe6bc3da2a ("UBUNTU: SAUCE: HV/Netvsc: Add SNP
support for netvsc driver") cherry picked from:

https://github.com/lantianyu/linux/commit/0026626dbc42bfcbe26d993bec104383f9d60e35

This is a potential issue found using static analysis by Coverity.

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

35947af... by Marcelo Cerri

UBUNTU: SAUCE: HV/Bounce buffer: Fix potential leak in hv_bounce_page_list_alloc()

Fix Ubuntu commit c939605e5fb5 ("UBUNTU: SAUCE: x86/Hyper-V: Copy data
from/to bounce buffer during IO operation") cherry picked from:

https://github.com/lantianyu/linux/commit/5f948e69f2be44891af03d60b918a3bc0845f954

This is a potential issue found using static analysis by Coverity.

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

7bd26d2... by Marcelo Cerri

UBUNTU: Ubuntu-azure-5.4.0-1040.42+cvmpreview.4

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

97d1654... by Marcelo Cerri

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

6c4ac30... by Marcelo Cerri

UBUNTU: [Config] azure: CONFIG_HYPERV_TESTING=y

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

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

47e143f... by Tianyu Lan <email address hidden>

UBUNTU: SAUCE: HV/IVM: Add support for new AMD GHCB spec

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

Hyper-V changes GHCB protocol to be compatible with new AMD spec

Signed-off-by: Tianyu Lan <email address hidden>
(cherry picked from commit https://github.com/lantianyu/linux/commit/4dc820b56e8bc689f56d4b800cbcf7532195d3ab)
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

1328be1... by Tianyu Lan <email address hidden>

UBUNTU: SAUCE: Netvsc: Fix race condition with skb

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

The bounce buffer pkt point is in the hv_netvsc_packet struct.
The hv_netvsc_packet struct is stored in skb. So the reference of
bounce buffer pkt point should be ahead of calling napi_consume_skb().
Fix it.

(cherry picked from commit https://github.com/lantianyu/linux/commit/6704c8cc1c4897b996fccb317ce34ab57f4f1954)
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

54b0a97... by Tianyu Lan <email address hidden>

UBUNTU: SAUCE: HV/Netvsc: Fix dropping package during high network throughput

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

When bounce buffer is not enough, current code will drop network
package. This patch is to increase bounce buffer size and reserve
bounce buffer for subchannels to avoid such case as possible. Replace
return error ENOSPC with EAGAIN in vmbus_sendpacket_pagebuffer_bounce()
and this helps to resend package later when bounce buffer is not enough.

Signed-off-by: Tianyu Lan <email address hidden>
(cherry picked from commit https://github.com/lantianyu/linux/commit/821d80739594d13a877eca719784bc8d9e8f21e6)
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

a949b27... by Andrea Parri

UBUNTU: SAUCE: hv_netvsc: Load and store the proper (NBL_HASH_INFO) per-packet info

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

Fix the typo.

Signed-off-by: Andrea Parri (Microsoft) <email address hidden>
Fixes: 0ba35fe91ce34f ("hv_netvsc: Copy packets sent by Hyper-V out of the receive buffer")
Signed-off-by: Jakub Kicinski <email address hidden>
(cherry picked from commit 8dff9808e9734fb5b4eddd0a5b1472fade215490
 from git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git)
Signed-off-by: Marcelo Henrique Cerri <email address hidden>