Update to 4.0.8

svn path=/dists/sid/linux/; revision=22819
This commit is contained in:
Ben Hutchings 2015-07-11 02:47:13 +00:00
parent 2f5882461a
commit 918b37b2bd
3 changed files with 63 additions and 55 deletions

63
debian/changelog vendored
View File

@ -1,3 +1,66 @@
linux (4.0.8-1) UNRELEASED; urgency=medium
* New upstream stable update:
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.8
- netfilter: nft_rbtree: fix locking
- [armhf] clk-imx6q: refine sata's parent
- KVM: nSVM: Check for NRIPS support before updating control field
- [sparc*] Use GFP_ATOMIC in ldc_alloc_exp_dring() as it can be called in
softirq context
- bridge: fix multicast router rlist endless loop
- net: igb: fix the start time for periodic output signals
- net: don't wait for order-3 page allocation
- sctp: fix ASCONF list handling (CVE-2015-3212)
- bridge: fix br_stp_set_bridge_priority race conditions
- packet: read num_members once in packet_rcv_fanout()
- packet: avoid out of bounds read in round robin fanout
- neigh: do not modify unlinked entries
- tcp: Do not call tcp_fastopen_reset_cipher from interrupt context
- ip: report the original address of ICMP messages
- net/mlx4_en: Release TX QP when destroying TX ring
- net/mlx4_en: Wake TX queues only when there's enough room
- net/mlx4_en: Fix wrong csum complete report when rxvlan offload is
disabled
- mlx4: Disable HA for SRIOV PF RoCE devices
- net: phy: fix phy link up when limiting speed via device tree
- bnx2x: fix lockdep splat
- sctp: Fix race between OOTB responce and route removal
- [armhf] net: mvneta: introduce compatible string "marvell, armada-xp-neta"
- [armhf] mvebu: update Ethernet compatible string for Armada XP
- [armhf] net: mvneta: disable IP checksum with jumbo frames for Armada 370
- usb: gadget: f_fs: fix check in read operation
- usb: gadget: f_fs: add extra check before unregister_gadget_item
- crypto: talitos - avoid memleak in talitos_alg_alloc()
- Revert "crypto: talitos - convert to use be16_add_cpu()"
- [armhf/armmp-lpae] iommu/arm-smmu: Fix broken ATOS check
- [x86] iommu/amd: Handle large pages correctly in free_pagetable
- mmc: sdhci: fix low memory corruption
- [x86] intel_pstate: set BYT MSR with wrmsrl_on_cpu()
- selinux: fix setting of security labels on NFS
- [armhf] KVM: force execution of HCPTR access on VM exit
- [armhf] kvm: psci: fix handling of unimplemented functions
- [armhf] tegra20: Store CPU "resettable" status in IRAM
- [powerpc*] tick/idle: Do not register idle states with
CPUIDLE_FLAG_TIMER_STOP set in periodic mode
- [powerpc*] perf: Fix book3s kernel to userspace backtraces
- [x86] PCI: Use host bridge _CRS info on systems with >32 bit addressing
- [x86] PCI: Use host bridge _CRS info on Foxconn K8M890-8237A
- [s390x] KVM: fix external call injection without sigp interpretation
- [s390x] kdump: fix REGSET_VX_LOW vector register ELF notes
- [s390x] KVM: virtio-ccw: don't overwrite config space values
- [x86] KVM: properly restore LVT0
- [x86] KVM: make vapics_in_nmi_mode atomic
- fs: Fix S_NOSEC handling
- fs/ufs: revert "ufs: fix deadlocks introduced by sb mutex merge"
- fs/ufs: restore s_lock mutex
- vfs: Remove incorrect debugging WARN in prepend_path
- vfs: Ignore unlocked mounts in fs_fully_visible
- ufs: Fix warning from unlock_new_inode()
- ufs: Fix possible deadlock when looking up directories
- fs/ufs: restore s_lock mutex_init()
-- Ben Hutchings <ben@decadent.org.uk> Fri, 10 Jul 2015 22:29:15 +0100
linux (4.0.7-1) unstable; urgency=medium
* New upstream stable update:

View File

@ -1,54 +0,0 @@
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Fri, 17 Apr 2015 15:04:48 -0400
Subject: config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected
Origin: https://git.kernel.org/linus/a6dfa128ce5c414ab46b1d690f7a1b8decb8526d
Bug-Debian: https://bugs.debian.org/786551
A huge amount of NIC drivers use the DMA API, however if
compiled under 32-bit an very important part of the DMA API can
be ommitted leading to the drivers not working at all
(especially if used with 'swiotlb=force iommu=soft').
As Prashant Sreedharan explains it: "the driver [tg3] uses
DEFINE_DMA_UNMAP_ADDR(), dma_unmap_addr_set() to keep a copy of
the dma "mapping" and dma_unmap_addr() to get the "mapping"
value. On most of the platforms this is a no-op, but ... with
"iommu=soft and swiotlb=force" this house keeping is required,
... otherwise we pass 0 while calling pci_unmap_/pci_dma_sync_
instead of the DMA address."
As such enable this even when using 32-bit kernels.
Reported-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Prashant Sreedharan <prashant@broadcom.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michael Chan <mchan@broadcom.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: boris.ostrovsky@oracle.com
Cc: cascardo@linux.vnet.ibm.com
Cc: david.vrabel@citrix.com
Cc: sanjeevb@broadcom.com
Cc: siva.kallam@broadcom.com
Cc: vyasevich@gmail.com
Cc: xen-devel@lists.xensource.com
Link: http://lkml.kernel.org/r/20150417190448.GA9462@l.oracle.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -177,7 +177,7 @@ config SBUS
config NEED_DMA_MAP_STATE
def_bool y
- depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG
+ depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG || SWIOTLB
config NEED_SG_DMA_LENGTH
def_bool y

View File

@ -41,7 +41,6 @@ debian/qxl-disable-modeset-by-default.patch
bugfix/mips/disable-advansys.patch
bugfix/arm64/arm64-add-missing-dts-entry-for-X-Gene-platform.patch
bugfix/arm64/arm64-removed-using-of-the-mask-attribute-in-the-dts.patch
bugfix/x86/config-enable-need_dma_map_state-by-default-when-swi.patch
# Arch features
features/mips/MIPS-increase-MAX-PHYSMEM-BITS-on-Loongson-3-only.patch