Update linux-azure and linux-azure-edge kernels with 4.13 patches

Bug #1731994 reported by David Coronel
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
Fix Committed
Undecided
Marcelo Cerri
Xenial
Fix Released
Undecided
Marcelo Cerri

Bug Description

This is a request to update the linux-azure and linux-azure-edge kernels with the attached tarball of patches for 4.13:

$ tar tzf 4.13.tgz
4.13/
4.13/x86-hyper-v-fast-hypercall-implementation.patch
4.13/netvsc-delay-setup-of-VF-device.patch
4.13/netvsc-add-rtnl-annotations-in-rndis.patch
4.13/x86-hyper-v-make-hv_do_hypercall-inline.patch
4.13/netvsc-keep-track-of-some-non-fatal-overload-conditi.patch
4.13/netvsc-no-need-to-allocate-send-receive-on-numa-node.patch
4.13/Adding-file-to-support-building-user-level-daemon.patch
4.13/netvsc-fix-netvsc_set_channels.patch
4.13/hv-kvp-Use-MAX_ADAPTER_ID_SIZE-for-translati.patch
4.13/netvsc-fix-ptr_ret.cocci-warnings.patch
4.13/hv_netvsc-Fix-the-channel-limit-in-netvsc_set_rxfh.patch
4.13/netvsc-use-ERR_PTR-to-avoid-dereference-issues.patch
4.13/hv_netvsc-Simplify-the-limit-check-in-netvsc_set_cha.patch
4.13/hv-balloon-Correctly-update-onlined-page-cou.patch
4.13/vmbus-expose-per-channel-interrupts-and-events-count.patch
4.13/netvsc-remove-bonding-setup-script.patch
4.13/hv_netvsc-Simplify-num_chn-checking-in-rndis_filter_.patch
4.13/hv_netvsc-Fix-rndis_filter_close-error-during-netvsc.patch
4.13/hv_sock-avoid-double-FINs-if-shutdown-is-called.patch
4.13/netvsc-Remove-redundant-use-of-ipv6_hdr.patch
4.13/netvsc-add-some-rtnl_dereference-annotations.patch
4.13/netvsc-don-t-print-pointer-value-in-error-message.patch
4.13/hv_sock-fix-a-race-in-hvs_stream_dequeue.patch
4.13/netvsc-check-error-return-when-restoring-channels-an.patch
4.13/0041-netvsc-prefetch-the-first-incoming-ring-element.patch
4.13/hv_netvsc-Add-ethtool-handler-to-set-and-get-UDP-has.patch
4.13/hv_sock-implements-Hyper-V-transport-for-Virtual-Soc.patch
4.13/vmbus-suppress-uevents-for-hv_sock-devices.patch
4.13/vsock-fix-vsock_dequeue-enqueue_accept-race.patch
4.13/x86-hyper-v-support-extended-CPU-ranges-for-TLB-flus.patch
4.13/netvsc-propagate-MAC-address-change-to-VF-slave.patch
4.13/hv_netvsc-correct-module-removal-problems-from-subch.patch
4.13/hyper-v-use-fast-hypercall-for-HVCALL_SIGNAL_EVENT.patch
4.13/x86-hyper-v-include-hyperv-only-when-CONFIG_HYPERV-i.patch
4.13/hyperv-netvsc-Neaten-netvsc_send_pkt-by-using-a-temp.patch
4.13/netvsc-prefetch-the-first-incoming-ring-element.patch
4.13/netvsc-fix-rtnl-deadlock-on-unregister-of-vf.patch
4.13/netvsc-don-t-signal-host-twice-if-empty.patch
4.13/vmbus-simplify-packet-iterator.patch
4.13/netvsc-fix-return-value-for-set_channels.patch
4.13/netvsc-fix-warnings-reported-by-lockdep.patch
4.13/x86-hyper-v-stash-the-max-number-of-virtual-logical-.patch
4.13/netvsc-force-link-update-after-MTU-change.patch
4.13/hv_netvsc-Clean-up-an-unused-parameter-in-rndis_filt.patch
4.13/Tools-hv-update-buffer-handling-in-hv_fcopy_daemon.patch
4.13/x86-hyper-v-implement-rep-hypercalls.patch
4.13/netvsc-whitespace-cleanup.patch
4.13/hv_netvsc-avoid-unnecessary-wakeups-on-subchannel-cr.patch
4.13/hyper-v-globalize-vp_index.patch
4.13/netvsc-allow-controlling-send-recv-buffer-size.patch
4.13/vmbus-vmbus_open-reset-onchannel_callback-on-error.patch
4.13/netvsc-defer-initializing-sub-channels.patch
4.13/netvsc-fix-use-after-free-in-transparent-VF-send.patch
4.13/hv_netvsc-Clean-up-unused-parameter-from-netvsc_get_rss_hash_opts.patch
4.13/netvsc-need-rcu_derefence-when-accessing-internal-de.patch
4.13/VMCI-only-try-to-load-on-VMware-hypervisor.patch
4.13/netvsc-make-sure-and-unregister-datapath.patch
4.13/netvsc-remove-bogus-rtnl_unlock.patch
4.13/hv-balloon-Show-the-max-dynamic-memory-assig.patch
4.13/vmbus-remove-unused-vmbus_sendpacket_multipagebuffer.patch
4.13/netvsc-remove-no-longer-used-max_num_rss-queues.patch
4.13/vmbus-add-per-channel-sysfs-info.patch
4.13/netvsc-align-buffer-sizing-with-net-next.patch
4.13/vmbus-make-vmbus_set_event-local.patch
4.13/vmbus-simplify-hv_ringbuffer_read.patch
4.13/vmbus-remove-goto-error_clean_msglist-in-vmbus_open.patch
4.13/netvsc-transparent-VF-management.patch
4.13/netvsc-remove-unnecessary-cast-of-void-pointer.patch
4.13/netvsc-allow-driver-to-be-removed-even-if-VF-is-pres.patch
4.13/netvsc-fix-error-unwind-on-device-setup-failure.patch
4.13/Tools-hv-vss-Skip-freezing-filesystems-backed-by-loo.patch
4.13/hv-balloon-Initialize-last_post_time-on-star.patch
4.13/pci-hyperv-Use-only-16-bit-integer-for-PCI-domain.patch
4.13/hv_netvsc-Clean-up-unsed-parameter-from-netvsc_get_hash.patch
4.13/series
4.13/vmbus-don-t-acquire-the-mutex-in-vmbus_hvsock_device.patch
4.13/netvsc-signal-host-if-receive-ring-is-emptied.patch
4.13/Tools-hv-fix-snprintf-warning-in-kvp_daemon.patch
4.13/vmbus-fix-performance-regression.patch
4.13/netvsc-change-order-of-steps-in-setting-queues.patch
4.13/vmbus-remove-unused-vmbus_sendpacket_ctl.patch
4.13/netvsc-change-logic-for-change-mtu-and-set_queues.patch
4.13/netvsc-remove-unnecessary-check-for-NULL-hdr.patch
4.13/netvsc-optimize-receive-completions.patch
4.13/x86-hyper-v-use-hypercall-for-remote-TLB-flush.patch
4.13/netvsc-include-rtnetlink.h.patch
4.13/vmbus-add-prefetch-to-ring-buffer-iterator.patch
4.13/netvsc-save-pointer-to-parent-netvsc_device-in-chann.patch
4.13/tracing-hyper-v-trace-hyperv_mmu_flush_tlb_others.patch
4.13/netvsc-remove-unnecessary-indirection-of-page_buffer.patch
4.13/hv_sock-add-the-support-of-auto-loading.patch
4.13/netvsc-cleanup-datapath-switch.patch
4.13/netvsc-add-documentation.patch

Revision history for this message
David Coronel (davecore) wrote :
Revision history for this message
Steve Beattie (sbeattie) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Steve,

Thanks for asking. This actually isn't a duplicate of 1730444. These are patches that Microsoft have requested in addition to the rebase to 4.13. Some of these patches have either landed in 4.14 or have been submitted upstream but not yet accepted. We're still getting clarification from Microsoft on current status for the ones which have not yet been accepted. Thanks.

Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu):
status: New → In Progress
assignee: nobody → Marcelo Cerri (mhcerri)
Marcelo Cerri (mhcerri)
information type: Private Security → Public
Revision history for this message
Marcelo Cerri (mhcerri) wrote :

Hi, Josh.

Both the following patch:

4.13/hv_netvsc-Add-ethtool-handler-to-set-and-get-UDP-has.patch

and its corresponding upstream commit:

4823eb2f3af4 hv_netvsc: Add ethtool handler to set and get UDP hash levels

include UDP ports by default in the vRSS hashing, which causes a considerable amount of loss in the UDP tests I've run with iperf3.

`ethtool -N eth0 rx-flow-hash udp4 sd` works as designed and forces the UDP ports to be excluded from the calculation, dropping the datagram loss to zero.

Is that the intended behavior? Or should we force it to exclude UDP ports by default?

Revision history for this message
Marcelo Cerri (mhcerri) wrote :
Revision history for this message
Marcelo Cerri (mhcerri) wrote :

I built test kernel based on the pull request above:

http://kernel.ubuntu.com/~mhcerri/azure/linux-azure-edge-4.13.0-1004.4/

Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu Xenial):
status: New → In Progress
assignee: nobody → Marcelo Cerri (mhcerri)
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu):
status: In Progress → Fix Committed
Changed in linux-azure (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (107.7 KiB)

This bug was fixed in the package linux-azure - 4.13.0-1005.7

---------------
linux-azure (4.13.0-1005.7) xenial; urgency=low

  * linux-azure: 4.13.0-1005.7 -proposed tracker (LP: #1741957)

  * CVE-2017-5754
    - Revert "UBUNTU: [Config] azure: updateconfigs to enable PTI"
    - [Config] azure: Enable PTI with UNWINDER_FRAME_POINTER

  [ Ubuntu: 4.13.0-25.29 ]

  * linux: 4.13.0-25.29 -proposed tracker (LP: #1741955)
  * CVE-2017-5754
    - Revert "UBUNTU: [Config] updateconfigs to enable PTI"
    - [Config] Enable PTI with UNWINDER_FRAME_POINTER

linux-azure (4.13.0-1004.6) xenial; urgency=low

  * linux-azure: 4.13.0-1004.6 -proposed tracker (LP: #1741747)

  [ Ubuntu: 4.13.0-24.28 ]

  * linux: 4.13.0-24.28 -proposed tracker (LP: #1741745)
  * CVE-2017-5754
    - x86/cpu, x86/pti: Do not enable PTI on AMD processors

linux-azure (4.13.0-1003.5) xenial; urgency=low

  * linux-azure: 4.13.0-1003.5 -proposed tracker (LP: #1741557)

  * CVE-2017-5754
    - [Config] azure: updateconfigs to enable PTI

  [ Ubuntu: 4.13.0-23.27 ]

  * linux: 4.13.0-23.27 -proposed tracker (LP: #1741556)
  * CVE-2017-5754
    - x86/mm: Add the 'nopcid' boot option to turn off PCID
    - x86/mm: Enable CR4.PCIDE on supported systems
    - x86/mm: Document how CR4.PCIDE restore works
    - x86/entry/64: Refactor IRQ stacks and make them NMI-safe
    - x86/entry/64: Initialize the top of the IRQ stack before switching stacks
    - x86/entry/64: Add unwind hint annotations
    - xen/x86: Remove SME feature in PV guests
    - x86/xen/64: Rearrange the SYSCALL entries
    - irq: Make the irqentry text section unconditional
    - x86/xen/64: Fix the reported SS and CS in SYSCALL
    - x86/paravirt/xen: Remove xen_patch()
    - x86/traps: Simplify pagefault tracing logic
    - x86/idt: Unify gate_struct handling for 32/64-bit kernels
    - x86/asm: Replace access to desc_struct:a/b fields
    - x86/xen: Get rid of paravirt op adjust_exception_frame
    - x86/paravirt: Remove no longer used paravirt functions
    - x86/entry: Fix idtentry unwind hint
    - x86/mm/64: Initialize CR4.PCIDE early
    - objtool: Add ORC unwind table generation
    - objtool, x86: Add facility for asm code to provide unwind hints
    - x86/unwind: Add the ORC unwinder
    - x86/kconfig: Consolidate unwinders into multiple choice selection
    - objtool: Upgrade libelf-devel warning to error for CONFIG_ORC_UNWINDER
    - x86/ldt/64: Refresh DS and ES when modify_ldt changes an entry
    - x86/mm: Give each mm TLB flush generation a unique ID
    - x86/mm: Track the TLB's tlb_gen and update the flushing algorithm
    - x86/mm: Rework lazy TLB mode and TLB freshness tracking
    - x86/mm: Implement PCID based optimization: try to preserve old TLB entries
      using PCID
    - x86/mm: Factor out CR3-building code
    - x86/mm/64: Stop using CR3.PCID == 0 in ASID-aware code
    - x86/mm: Flush more aggressively in lazy TLB mode
    - Revert "x86/mm: Stop calling leave_mm() in idle code"
    - kprobes/x86: Set up frame pointer in kprobe trampoline
    - x86/tracing: Introduce a static key for exception tracing
    - x86/boot: Add early cmdline parsing for options with arguments
    - mm, x86/mm...

Changed in linux-azure (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.