Commit c3ff2a5193fa ("powerpc/32: add stack protector support")
caused kernel panic on PowerPC if an external module is used with
CONFIG_STACKPROTECTOR because the 'prepare' target was not executed
for the external module build.
Commit e07db28eea38 ("kbuild: fix single target build for external
module") turned it into a build error because the 'prepare' target is
now executed but the 'prepare0' target is missing for the external
module build.
External module on arm/arm64 with CONFIG_STACKPROTECTOR_PER_TASK is
also broken in the same way.
Move 'PHONY += prepare0' to the common place. Make is fine with missing
rule for phony targets.
I minimize the change so it can be easily backported to 4.20.x
To fix v4.20 for external modules of PowerPC, please backport
e07db28eea38 ("kbuild: fix single target build for external module"),
and then this commit.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=201891
Fixes: e07db28eea38 ("kbuild: fix single target build for external module")
Fixes: c3ff2a5193fa ("powerpc/32: add stack protector support")
Fixes: 189af4657186 ("ARM: smp: add support for per-task stack canaries")
Fixes: 0a1213fa7432 ("arm64: enable per-task stack canaries")
Cc: linux-stable <stable(a)vger.kernel.org> # v4.20
Reported-by: Samuel Holland <samuel(a)sholland.org>
Reported-by: Alexey Kardashevskiy <aik(a)ozlabs.ru>
Signed-off-by: Masahiro Yamada <yamada.masahiro(a)socionext.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 499b968..789b332 100644
--- a/Makefile
+++ b/Makefile
@@ -955,6 +955,7 @@ ifdef CONFIG_STACK_VALIDATION
endif
endif
+PHONY += prepare0
ifeq ($(KBUILD_EXTMOD),)
core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/
@@ -1061,8 +1062,7 @@ scripts: scripts_basic scripts_dtc
# archprepare is used in arch Makefiles and when processed asm symlink,
# version.h and scripts_basic is processed / created.
-# Listed in dependency order
-PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
+PHONY += prepare archprepare prepare1 prepare2 prepare3
# prepare3 is used to check if we are building in a separate output directory,
# and if so do:
--
2.7.4
I'm announcing the release of the 4.20.3 kernel.
All users of the 4.20 kernel series must upgrade.
The updated 4.20.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.20.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm/mach-davinci/board-da830-evm.c | 4
arch/arm/mach-davinci/board-da850-evm.c | 4
arch/arm/mach-davinci/board-dm355-evm.c | 4
arch/arm/mach-davinci/board-dm644x-evm.c | 4
arch/arm/mach-davinci/board-omapl138-hawk.c | 4
arch/powerpc/kernel/signal_32.c | 18 ++-
arch/powerpc/kernel/signal_64.c | 20 ++-
arch/x86/kernel/cpu/bugs.c | 2
drivers/acpi/arm64/iort.c | 3
drivers/acpi/pmic/intel_pmic_xpower.c | 41 +++++--
drivers/acpi/power.c | 22 +++
drivers/block/rbd.c | 9 -
drivers/cpufreq/scmi-cpufreq.c | 8 -
drivers/cpufreq/scpi-cpufreq.c | 4
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 37 ++++--
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4
drivers/gpu/drm/drm_fb_helper.c | 126 ++++++++++++----------
drivers/gpu/drm/i915/i915_gem_gtt.c | 15 ++
drivers/i2c/i2c-dev.c | 6 +
drivers/mtd/nand/raw/qcom_nandc.c | 20 +--
drivers/opp/core.c | 63 ++++++++++-
drivers/pci/controller/dwc/pcie-designware-host.c | 37 ++++--
drivers/staging/rtl8188eu/core/rtw_security.c | 6 -
drivers/usb/class/cdc-acm.c | 7 +
drivers/usb/core/generic.c | 9 +
drivers/usb/core/quirks.c | 3
drivers/usb/storage/scsiglue.c | 8 +
drivers/usb/storage/unusual_devs.h | 12 ++
drivers/vfio/vfio_iommu_type1.c | 2
fs/btrfs/ctree.c | 16 +-
fs/btrfs/qgroup.c | 14 +-
fs/btrfs/volumes.c | 39 ++++--
fs/btrfs/xattr.c | 8 +
fs/cifs/file.c | 8 -
fs/cifs/misc.c | 34 +++--
fs/cifs/smb2file.c | 4
fs/cifs/smb2pdu.c | 8 +
fs/cifs/transport.c | 63 +++++++----
fs/ext4/fsync.c | 16 ++
fs/ext4/inline.c | 6 -
fs/ext4/inode.c | 5
fs/ext4/super.c | 2
include/linux/compiler-gcc.h | 2
include/linux/module.h | 2
include/linux/pm_opp.h | 5
include/linux/sunrpc/svc.h | 5
include/trace/events/sunrpc.h | 6 -
kernel/fork.c | 1
mm/memory.c | 23 ++++
mm/slab.c | 6 -
mm/usercopy.c | 9 -
mm/util.c | 2
net/sunrpc/svc.c | 11 +
net/sunrpc/svc_xprt.c | 5
net/sunrpc/svcsock.c | 2
scripts/mod/modpost.c | 2
sound/pci/hda/patch_realtek.c | 18 ++-
59 files changed, 577 insertions(+), 250 deletions(-)
Alex Deucher (1):
drm/amdgpu: Add new VegaM pci id
Alex Williamson (1):
vfio/type1: Fix unmap overflow off-by-one
Bartosz Golaszewski (5):
ARM: davinci: dm355-evm: fix label names in GPIO lookup entries
ARM: davinci: da850-evm: fix label names in GPIO lookup entries
ARM: davinci: omapl138-hawk: fix label names in GPIO lookup entries
ARM: davinci: dm644x-evm: fix label names in GPIO lookup entries
ARM: davinci: da830-evm: fix label names in GPIO lookup entries
Breno Leitao (1):
powerpc/tm: Unset MSR[TS] if not recheckpointing
Chris Wilson (1):
drm/i915: Unwind failure on pinning the gen7 ppgtt
Christian Lamparter (1):
mtd: rawnand: qcom: fix memory corruption that causes panic
Christoph Lameter (1):
slab: alien caches must not be initialized if the allocation of the alien cache failed
Daniele Palmas (1):
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
Filipe Manana (4):
Btrfs: fix deadlock when using free space tree due to block group creation
Btrfs: fix access to available allocation bits when starting balance
Btrfs: fix deadlock when enabling quotas due to concurrent snapshot creation
Btrfs: use nofs context when initializing security xattrs to avoid deadlock
Greg Kroah-Hartman (1):
Linux 4.20.3
Hans de Goede (2):
ACPI: power: Skip duplicate power resource references in _PRx
ACPI / PMIC: xpower: Fix TS-pin current-source handling
Icenowy Zheng (2):
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
USB: storage: add quirk for SMI SM3350
Ilya Dryomov (1):
rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
Ivan Mironov (1):
drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
Jack Stocker (1):
USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
Jan Stancek (1):
mm: page_mapped: don't assume compound page is huge or THP
Jean-Philippe Brucker (1):
ACPI/IORT: Fix rc_dma_get_range()
Jerry (Fangzhi) Zuo (1):
drm/amd/display: Fix MST dp_blank REG_WAIT timeout
Joe Perches (1):
cifs: check kzalloc return
Kailang Yang (3):
ALSA: hda/realtek - Support Dell headset mode for New AIO platform
ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
Larry Finger (2):
staging: rtl8188eu: Fix module loading from tasklet for CCMP encryption
staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
Lyude Paul (2):
drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
drm/amdgpu: Don't fail resume process if resuming atomic state fails
Marc Zyngier (3):
PCI: dwc: Use interrupt masking instead of disabling
PCI: dwc: Take lock when ACKing an interrupt
PCI: dwc: Move interrupt acking into the proper callback
Michal Hocko (1):
mm, memcg: fix reclaim deadlock with writeback
Pavel Shilovsky (4):
CIFS: Fix adjustment of credits for MTU requests
CIFS: Do not set credits to 1 if the server didn't grant anything
CIFS: Do not hide EINTR after sending network packets
CIFS: Fix credit computation for compounded requests
Qian Cai (1):
mm/usercopy.c: no check page span for stack objects
Quentin Perret (1):
cpufreq: scmi: Fix frequency invariance in slow path
Ross Lagerwall (1):
cifs: Fix potential OOB access of lock element array
Saranya Gopal (1):
usbcore: Select only first configuration for non-UAC3 compliant devices
Shakeel Butt (1):
fork, memcg: fix cached_stacks case
Theodore Ts'o (6):
ext4: make sure enough credits are reserved for dioread_nolock writes
ext4: fix a potential fiemap/page fault deadlock w/ inline_data
ext4: avoid kernel warning when writing the superblock to a dead device
ext4: use ext4_write_inode() when fsyncing w/o a journal
ext4: track writeback errors using the generic tracking infrastructure
ext4: fix special inode number checks in __ext4_iget()
Vasily Averin (1):
sunrpc: use-after-free in svc_process_common()
Viresh Kumar (1):
cpufreq: scpi/scmi: Fix freeing of dynamic OPPs
WANG Chao (1):
x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
Yi Zeng (1):
i2c: dev: prevent adapter retries and timeout being set as minus value
I'm announcing the release of the 4.19.16 kernel.
All users of the 4.19 kernel series must upgrade.
The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/arm64/kernel/sys_compat.c | 9 -
arch/arm64/kernel/syscall.c | 9 -
arch/x86/kernel/cpu/bugs.c | 2
drivers/acpi/arm64/iort.c | 3
drivers/acpi/pmic/intel_pmic_xpower.c | 41 ++++-
drivers/acpi/power.c | 22 +++
drivers/block/rbd.c | 9 -
drivers/cpufreq/scmi-cpufreq.c | 4
drivers/gpu/drm/Kconfig | 20 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 37 +++--
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4
drivers/gpu/drm/drm_fb_helper.c | 151 ++++++++++++++--------
drivers/gpu/drm/i915/i915_gem_gtt.c | 15 +-
drivers/i2c/i2c-dev.c | 6
drivers/mtd/nand/raw/qcom_nandc.c | 20 +-
drivers/pci/controller/dwc/pcie-designware-host.c | 37 +++--
drivers/staging/rtl8188eu/core/rtw_security.c | 6
drivers/usb/class/cdc-acm.c | 7 +
drivers/usb/core/quirks.c | 3
drivers/usb/storage/scsiglue.c | 8 -
drivers/usb/storage/unusual_devs.h | 12 +
drivers/vfio/vfio_iommu_type1.c | 2
fs/btrfs/ctree.c | 16 +-
fs/btrfs/qgroup.c | 14 +-
fs/btrfs/volumes.c | 39 +++--
fs/btrfs/xattr.c | 8 +
fs/cifs/file.c | 8 -
fs/cifs/smb2file.c | 4
fs/cifs/smb2pdu.c | 8 -
fs/cifs/transport.c | 63 ++++++---
fs/ext4/fsync.c | 16 +-
fs/ext4/inline.c | 6
fs/ext4/inode.c | 5
fs/ext4/super.c | 2
include/linux/compiler-gcc.h | 2
include/linux/module.h | 2
include/linux/sunrpc/svc.h | 5
include/trace/events/sunrpc.h | 6
mm/memory.c | 23 +++
mm/slab.c | 6
mm/usercopy.c | 9 -
mm/util.c | 2
net/sunrpc/svc.c | 11 +
net/sunrpc/svc_xprt.c | 5
net/sunrpc/svcsock.c | 2
scripts/mod/modpost.c | 2
sound/pci/hda/patch_realtek.c | 18 ++
virt/kvm/arm/arm.c | 23 +--
50 files changed, 508 insertions(+), 227 deletions(-)
Alex Deucher (1):
drm/amdgpu: Add new VegaM pci id
Alex Williamson (1):
vfio/type1: Fix unmap overflow off-by-one
Chris Wilson (1):
drm/i915: Unwind failure on pinning the gen7 ppgtt
Christian Lamparter (1):
mtd: rawnand: qcom: fix memory corruption that causes panic
Christoffer Dall (1):
KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
Christoph Lameter (1):
slab: alien caches must not be initialized if the allocation of the alien cache failed
Daniele Palmas (1):
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
Filipe Manana (4):
Btrfs: fix deadlock when using free space tree due to block group creation
Btrfs: fix access to available allocation bits when starting balance
Btrfs: fix deadlock when enabling quotas due to concurrent snapshot creation
Btrfs: use nofs context when initializing security xattrs to avoid deadlock
Greg Kroah-Hartman (1):
Linux 4.19.16
Hans de Goede (2):
ACPI: power: Skip duplicate power resource references in _PRx
ACPI / PMIC: xpower: Fix TS-pin current-source handling
Icenowy Zheng (2):
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
USB: storage: add quirk for SMI SM3350
Ilya Dryomov (1):
rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
Ivan Mironov (1):
drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
Jack Stocker (1):
USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
Jan Stancek (1):
mm: page_mapped: don't assume compound page is huge or THP
Jean-Philippe Brucker (1):
ACPI/IORT: Fix rc_dma_get_range()
Jerry (Fangzhi) Zuo (1):
drm/amd/display: Fix MST dp_blank REG_WAIT timeout
Kailang Yang (3):
ALSA: hda/realtek - Support Dell headset mode for New AIO platform
ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
Larry Finger (2):
staging: rtl8188eu: Fix module loading from tasklet for CCMP encryption
staging: rtl8188eu: Fix module loading from tasklet for WEP encryption
Lyude Paul (2):
drm/amdgpu: Don't ignore rc from drm_dp_mst_topology_mgr_resume()
drm/amdgpu: Don't fail resume process if resuming atomic state fails
Marc Zyngier (3):
PCI: dwc: Use interrupt masking instead of disabling
PCI: dwc: Take lock when ACKing an interrupt
PCI: dwc: Move interrupt acking into the proper callback
Michal Hocko (1):
mm, memcg: fix reclaim deadlock with writeback
Neil Armstrong (1):
drm/fb_helper: Allow leaking fbdev smem_start
Pavel Shilovsky (4):
CIFS: Fix adjustment of credits for MTU requests
CIFS: Do not set credits to 1 if the server didn't grant anything
CIFS: Do not hide EINTR after sending network packets
CIFS: Fix credit computation for compounded requests
Qian Cai (1):
mm/usercopy.c: no check page span for stack objects
Quentin Perret (1):
cpufreq: scmi: Fix frequency invariance in slow path
Ross Lagerwall (1):
cifs: Fix potential OOB access of lock element array
Theodore Ts'o (6):
ext4: make sure enough credits are reserved for dioread_nolock writes
ext4: fix a potential fiemap/page fault deadlock w/ inline_data
ext4: avoid kernel warning when writing the superblock to a dead device
ext4: use ext4_write_inode() when fsyncing w/o a journal
ext4: track writeback errors using the generic tracking infrastructure
ext4: fix special inode number checks in __ext4_iget()
Vasily Averin (1):
sunrpc: use-after-free in svc_process_common()
WANG Chao (1):
x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
Will Deacon (1):
arm64: compat: Don't pull syscall number from regs in arm_compat_syscall
Yi Zeng (1):
i2c: dev: prevent adapter retries and timeout being set as minus value
I'm announcing the release of the 4.14.94 kernel.
All users of the 4.14 kernel series must upgrade.
The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/x86/include/asm/kvm_host.h | 13 +++
arch/x86/kernel/cpu/bugs.c | 2
arch/x86/kvm/x86.c | 34 +++------
drivers/acpi/pmic/intel_pmic_xpower.c | 41 ++++++++---
drivers/acpi/power.c | 22 +++++
drivers/block/rbd.c | 9 +-
drivers/gpu/drm/drm_fb_helper.c | 126 +++++++++++++++++++---------------
drivers/i2c/i2c-dev.c | 6 +
drivers/usb/class/cdc-acm.c | 7 +
drivers/usb/core/quirks.c | 3
drivers/usb/storage/scsiglue.c | 8 +-
drivers/usb/storage/unusual_devs.h | 12 +++
fs/cifs/file.c | 8 +-
fs/cifs/smb2file.c | 4 -
fs/cifs/smb2pdu.c | 8 +-
fs/cifs/transport.c | 2
fs/ext4/fsync.c | 16 +++-
fs/ext4/inline.c | 6 -
fs/ext4/inode.c | 3
fs/ext4/super.c | 2
include/linux/compiler-gcc.h | 2
include/linux/kvm_host.h | 2
include/linux/module.h | 2
include/linux/sunrpc/svc.h | 5 +
mm/memory.c | 23 ++++++
mm/slab.c | 6 +
mm/util.c | 2
net/sunrpc/svc.c | 11 +-
net/sunrpc/svc_xprt.c | 5 -
net/sunrpc/svcsock.c | 2
scripts/mod/modpost.c | 2
sound/pci/hda/patch_realtek.c | 18 ++++
virt/kvm/arm/arm.c | 23 ++----
34 files changed, 299 insertions(+), 138 deletions(-)
Christoffer Dall (1):
KVM: arm/arm64: Fix VMID alloc race by reverting to lock-less
Christoph Lameter (1):
slab: alien caches must not be initialized if the allocation of the alien cache failed
Daniele Palmas (1):
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
Greg Kroah-Hartman (1):
Linux 4.14.94
Hans de Goede (2):
ACPI: power: Skip duplicate power resource references in _PRx
ACPI / PMIC: xpower: Fix TS-pin current-source handling
Icenowy Zheng (2):
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
USB: storage: add quirk for SMI SM3350
Ilya Dryomov (1):
rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
Ivan Mironov (1):
drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2
Jack Stocker (1):
USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
Jan Stancek (1):
mm: page_mapped: don't assume compound page is huge or THP
Kailang Yang (3):
ALSA: hda/realtek - Support Dell headset mode for New AIO platform
ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
Michal Hocko (1):
mm, memcg: fix reclaim deadlock with writeback
Pavel Shilovsky (2):
CIFS: Fix adjustment of credits for MTU requests
CIFS: Do not hide EINTR after sending network packets
Rik van Riel (1):
x86,kvm: move qemu/guest FPU switching out to vcpu_run
Ross Lagerwall (1):
cifs: Fix potential OOB access of lock element array
Theodore Ts'o (5):
ext4: make sure enough credits are reserved for dioread_nolock writes
ext4: fix a potential fiemap/page fault deadlock w/ inline_data
ext4: avoid kernel warning when writing the superblock to a dead device
ext4: use ext4_write_inode() when fsyncing w/o a journal
ext4: track writeback errors using the generic tracking infrastructure
Vasily Averin (1):
sunrpc: use-after-free in svc_process_common()
WANG Chao (1):
x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE
Yi Zeng (1):
i2c: dev: prevent adapter retries and timeout being set as minus value
I'm announcing the release of the 4.9.151 kernel.
All users of the 4.9 kernel series must upgrade.
The updated 4.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
drivers/acpi/power.c | 22 ++++++++++++++++++++++
drivers/block/rbd.c | 9 ++++-----
drivers/i2c/i2c-dev.c | 6 ++++++
drivers/usb/class/cdc-acm.c | 7 +++++++
drivers/usb/core/quirks.c | 3 ++-
drivers/usb/storage/scsiglue.c | 8 ++++++--
drivers/usb/storage/unusual_devs.h | 12 ++++++++++++
fs/cifs/file.c | 8 ++++----
fs/cifs/smb2file.c | 4 ++--
fs/cifs/transport.c | 2 +-
fs/ext4/inline.c | 6 +++---
fs/ext4/inode.c | 3 ++-
fs/ext4/super.c | 2 +-
include/linux/sunrpc/svc.h | 5 ++++-
mm/slab.c | 6 ++++--
mm/util.c | 2 +-
net/sunrpc/svc.c | 9 ++++++---
net/sunrpc/svc_xprt.c | 5 +++--
net/sunrpc/svcsock.c | 2 +-
sound/pci/hda/patch_realtek.c | 16 +++++++++++++++-
21 files changed, 107 insertions(+), 32 deletions(-)
Christoph Lameter (1):
slab: alien caches must not be initialized if the allocation of the alien cache failed
Daniele Palmas (1):
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
Greg Kroah-Hartman (1):
Linux 4.9.151
Hans de Goede (1):
ACPI: power: Skip duplicate power resource references in _PRx
Icenowy Zheng (2):
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
USB: storage: add quirk for SMI SM3350
Ilya Dryomov (1):
rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set
Jack Stocker (1):
USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
Jan Stancek (1):
mm: page_mapped: don't assume compound page is huge or THP
Kailang Yang (1):
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
Pavel Shilovsky (1):
CIFS: Do not hide EINTR after sending network packets
Ross Lagerwall (1):
cifs: Fix potential OOB access of lock element array
Theodore Ts'o (3):
ext4: make sure enough credits are reserved for dioread_nolock writes
ext4: fix a potential fiemap/page fault deadlock w/ inline_data
ext4: avoid kernel warning when writing the superblock to a dead device
Vasily Averin (1):
sunrpc: use-after-free in svc_process_common()
Yi Zeng (1):
i2c: dev: prevent adapter retries and timeout being set as minus value
I'm announcing the release of the 4.4.171 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
crypto/cts.c | 8
drivers/acpi/power.c | 22 +
drivers/i2c/i2c-dev.c | 6
drivers/pci/host/pcie-altera.c | 201 ++++++++---
drivers/usb/class/cdc-acm.c | 7
drivers/usb/core/quirks.c | 3
drivers/usb/storage/scsiglue.c | 8
drivers/usb/storage/unusual_devs.h | 12
fs/btrfs/Makefile | 2
fs/btrfs/ctree.c | 14
fs/btrfs/ctree.h | 141 ++++----
fs/btrfs/dev-replace.c | 2
fs/btrfs/disk-io.c | 80 ----
fs/btrfs/extent-tree.c | 112 ++++++
fs/btrfs/extent_io.c | 43 +-
fs/btrfs/extent_io.h | 19 -
fs/btrfs/extent_map.c | 2
fs/btrfs/extent_map.h | 10
fs/btrfs/scrub.c | 2
fs/btrfs/struct-funcs.c | 9
fs/btrfs/tree-checker.c | 649 +++++++++++++++++++++++++++++++++++++
fs/btrfs/tree-checker.h | 38 ++
fs/btrfs/volumes.c | 139 +++++++
fs/btrfs/volumes.h | 2
fs/cifs/file.c | 8
fs/cifs/smb2file.c | 4
fs/cifs/transport.c | 2
fs/ext4/inline.c | 6
include/linux/sunrpc/svc.h | 5
mm/slab.c | 6
net/sunrpc/svc.c | 10
net/sunrpc/svc_xprt.c | 5
net/sunrpc/svcsock.c | 2
sound/pci/hda/patch_realtek.c | 16
35 files changed, 1323 insertions(+), 274 deletions(-)
Arnd Bergmann (1):
btrfs: tree-checker: use %zu format string for size_t
Bjorn Helgaas (1):
PCI: altera: Reorder read/write functions
Christoph Lameter (1):
slab: alien caches must not be initialized if the allocation of the alien cache failed
Daniele Palmas (1):
usb: cdc-acm: send ZLP for Telit 3G Intel based modems
David Sterba (1):
btrfs: tree-check: reduce stack consumption in check_dir_item
Eric Biggers (1):
crypto: cts - fix crash on short inputs
Filipe Manana (1):
Btrfs: fix emptiness check for dirtied extent buffers at check_leaf()
Greg Kroah-Hartman (1):
Linux 4.4.171
Gu Jinxiang (1):
btrfs: validate type when reading a chunk
Hans de Goede (1):
ACPI: power: Skip duplicate power resource references in _PRx
Icenowy Zheng (2):
USB: storage: don't insert sane sense for SPC3+ when bad sense specified
USB: storage: add quirk for SMI SM3350
Jack Stocker (1):
USB: Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB
Jeff Mahoney (2):
btrfs: cleanup, stop casting for extent_map->lookup everywhere
btrfs: struct-funcs, constify readers
Josef Bacik (1):
Btrfs: fix em leak in find_first_block_group
Kailang Yang (1):
ALSA: hda/realtek - Disable headset Mic VREF for headset mode of ALC225
Ley Foon Tan (6):
PCI: altera: Fix altera_pcie_link_is_up()
PCI: altera: Check link status before retrain link
PCI: altera: Poll for link up status after retraining the link
PCI: altera: Poll for link training status after retraining the link
PCI: altera: Rework config accessors for use without a struct pci_bus
PCI: altera: Move retrain from fixup to altera_pcie_host_init()
Liu Bo (9):
Btrfs: add validadtion checks for chunk loading
Btrfs: check inconsistence between chunk and block group
Btrfs: detect corruption when non-root leaf has zero item
Btrfs: check btree node's nritems
Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty
Btrfs: memset to avoid stale content in btree node block
Btrfs: improve check_node to avoid reading corrupted nodes
Btrfs: kill BUG_ON in run_delayed_tree_ref
Btrfs: memset to avoid stale content in btree leaf
Pavel Shilovsky (1):
CIFS: Do not hide EINTR after sending network packets
Qu Wenruo (14):
btrfs: Enhance chunk validation check
btrfs: Refactor check_leaf function for later expansion
btrfs: Check if item pointer overlaps with the item itself
btrfs: Add sanity check for EXTENT_DATA when reading out leaf
btrfs: Add checker for EXTENT_CSUM
btrfs: Move leaf and node validation checker to tree-checker.c
btrfs: tree-checker: Enhance btrfs_check_node output
btrfs: tree-checker: Fix false panic for sanity test
btrfs: tree-checker: Add checker for dir item
btrfs: tree-checker: Verify block_group_item
btrfs: tree-checker: Detect invalid and empty essential trees
btrfs: Check that each block group has corresponding chunk at mount time
btrfs: Verify that every chunk has corresponding block group at mount time
btrfs: tree-checker: Check level for leaves and nodes
Ross Lagerwall (1):
cifs: Fix potential OOB access of lock element array
Shaokun Zhang (1):
btrfs: tree-checker: Fix misleading group system information
Theodore Ts'o (1):
ext4: fix a potential fiemap/page fault deadlock w/ inline_data
Vasily Averin (1):
sunrpc: use-after-free in svc_process_common()
Yi Zeng (1):
i2c: dev: prevent adapter retries and timeout being set as minus value
From: Phuong Nguyen <phuong.nguyen.xw(a)renesas.com>
This commit fixes the issue that USB-DMAC hangs silently after system
resumes on R-Car Gen3 hence renesas_usbhs will not work correctly
when using USB-DMAC for bulk transfer e.g. ethernet or serial
gadgets.
The issue can be reproduced by these steps:
1. modprobe g_serial
2. Suspend and resume system.
3. connect a usb cable to host side
4. Transfer data from Host to Target
5. cat /dev/ttyGS0 (Target side)
6. echo "test" > /dev/ttyACM0 (Host side)
The 'cat' will not result anything. However, system still can work
normally.
Currently, USB-DMAC driver does not have system sleep callbacks hence
this driver relies on the PM core to force runtime suspend/resume to
suspend and reinitialize USB-DMAC during system resume. After
the commit 17218e0092f8 ("PM / genpd: Stop/start devices without
pm_runtime_force_suspend/resume()"), PM core will not force
runtime suspend/resume anymore so this issue happens.
To solve this, make system suspend resume explicit by using
pm_runtime_force_{suspend,resume}() as the system sleep callbacks.
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()is used to make sure USB-DMAC suspended
after and initialized before renesas_usbhs."
Signed-off-by: Phuong Nguyen <phuong.nguyen.xw(a)renesas.com>
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx(a)renesas.com>
Cc: <stable(a)vger.kernel.org> # v4.16+
[shimoda: revise the commit log and add Cc tag]
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh(a)renesas.com>
---
drivers/dma/sh/usb-dmac.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c
index 7f7184c..59403f6 100644
--- a/drivers/dma/sh/usb-dmac.c
+++ b/drivers/dma/sh/usb-dmac.c
@@ -694,6 +694,8 @@ static int usb_dmac_runtime_resume(struct device *dev)
#endif /* CONFIG_PM */
static const struct dev_pm_ops usb_dmac_pm = {
+ SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+ pm_runtime_force_resume)
SET_RUNTIME_PM_OPS(usb_dmac_runtime_suspend, usb_dmac_runtime_resume,
NULL)
};
--
1.9.1
On 2019.01.16 13:35:56 +0000, Sasha Levin wrote:
> Hi,
>
> [This is an automated email]
>
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: 659643f7d814 drm/i915/gvt/kvmgt: add vfio/mdev support to KVMGT.
>
> The bot has tested the following trees: v4.20.2, v4.19.15, v4.14.93.
>
> v4.20.2: Build OK!
> v4.19.15: Build OK!
> v4.14.93: Build failed! Errors:
> drivers/gpu/drm/i915/gvt/kvmgt.c:836:7: error: implicit declaration of function ???intel_vgpu_in_aperture???; did you mean ???intel_vgpu_create???? [-Werror=implicit-function-declaration]
>
>
> How should we proceed with this patch?
>
I'll prepare a backport version once this one hits linux master.
Thanks.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
The dev field needs to be set when serio_register_port() is called,
because the open callback may use it (in the error handling path).
Cc: stable(a)vger.kernel.org # v4.18+
Fixes: commit af518342effd ("Input: olpc_apsp - check FIFO status on open(), not probe()")
Signed-off-by: Lubomir Rintel <lkundrak(a)v3.sk>
---
drivers/input/serio/olpc_apsp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c
index 0aece9777087..554f4b8228d2 100644
--- a/drivers/input/serio/olpc_apsp.c
+++ b/drivers/input/serio/olpc_apsp.c
@@ -198,6 +198,8 @@ static int olpc_apsp_probe(struct platform_device *pdev)
if (!priv)
return -ENOMEM;
+ priv->dev = &pdev->dev;
+
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
priv->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(priv->base)) {
@@ -261,7 +263,6 @@ static int olpc_apsp_probe(struct platform_device *pdev)
goto err_irq;
}
- priv->dev = &pdev->dev;
device_init_wakeup(priv->dev, 1);
platform_set_drvdata(pdev, priv);
--
2.20.1