I'm announcing the release of the 5.10.49 kernel.
All users of the 5.10 kernel series must upgrade.
The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
arch/hexagon/Makefile | 6 +-
arch/hexagon/include/asm/futex.h | 4 -
arch/hexagon/include/asm/timex.h | 3 -
arch/hexagon/kernel/hexagon_ksyms.c | 8 +--
arch/hexagon/kernel/ptrace.c | 4 -
arch/hexagon/lib/Makefile | 3 -
arch/hexagon/lib/divsi3.S | 67 +++++++++++++++++++++++++++++++
arch/hexagon/lib/memcpy_likely_aligned.S | 56 +++++++++++++++++++++++++
arch/hexagon/lib/modsi3.S | 46 +++++++++++++++++++++
arch/hexagon/lib/udivsi3.S | 38 +++++++++++++++++
arch/hexagon/lib/umodsi3.S | 36 ++++++++++++++++
arch/powerpc/kvm/book3s_hv.c | 4 +
drivers/media/usb/uvc/uvc_driver.c | 32 ++++++++++++++
drivers/xen/events/events_base.c | 23 ++++++++--
15 files changed, 314 insertions(+), 18 deletions(-)
Fabiano Rosas (1):
KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
Greg Kroah-Hartman (1):
Linux 5.10.49
Juergen Gross (1):
xen/events: reset active flag for lateeoi events later
Laurent Pinchart (1):
media: uvcvideo: Support devices that report an OT as an entity source
Sid Manning (3):
Hexagon: fix build errors
Hexagon: add target builtins to kernel
Hexagon: change jumps to must-extend in futex_atomic_*
I'm announcing the release of the 4.14.239 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:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
drivers/gpu/drm/nouveau/nouveau_bo.c | 4
drivers/scsi/sr.c | 2
drivers/xen/events/events_base.c | 23 ++++-
include/linux/hugetlb.h | 16 ---
include/linux/kfifo.h | 3
include/linux/mmdebug.h | 21 +++-
include/linux/pagemap.h | 13 +-
include/linux/rmap.h | 3
kernel/futex.c | 2
kernel/kthread.c | 77 +++++++++++-----
mm/huge_memory.c | 26 +----
mm/hugetlb.c | 5 -
mm/internal.h | 53 ++++++++---
mm/page_vma_mapped.c | 160 +++++++++++++++++++++--------------
mm/rmap.c | 48 ++++++----
16 files changed, 280 insertions(+), 178 deletions(-)
Alex Shi (1):
mm: add VM_WARN_ON_ONCE_PAGE() macro
Christian König (1):
drm/nouveau: fix dma_address check for CPU/GPU sync
Greg Kroah-Hartman (1):
Linux 4.14.239
Hugh Dickins (13):
mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
mm/thp: fix vma_address() if virtual address below file offset
mm: page_vma_mapped_walk(): use page for pvmw->page
mm: page_vma_mapped_walk(): settle PageHuge on entry
mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
mm: page_vma_mapped_walk(): crossing page table boundary
mm: page_vma_mapped_walk(): add a level of indentation
mm: page_vma_mapped_walk(): use goto instead of while (1)
mm: page_vma_mapped_walk(): get vma_address_end() earlier
mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
mm, futex: fix shared futex pgoff on shmem huge page
Jue Wang (1):
mm/thp: fix page_address_in_vma() on file THP tails
Juergen Gross (1):
xen/events: reset active flag for lateeoi events later
ManYi Li (1):
scsi: sr: Return appropriate error code when disk is ejected
Miaohe Lin (2):
mm/rmap: remove unneeded semicolon in page_not_mapped()
mm/rmap: use page_not_mapped in try_to_unmap()
Michal Hocko (1):
include/linux/mmdebug.h: make VM_WARN* non-rvals
Petr Mladek (2):
kthread_worker: split code for canceling the delayed work timer
kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
Sean Young (1):
kfifo: DECLARE_KIFO_PTR(fifo, u64) does not work on arm 32 bit
Yang Shi (1):
mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
I'm announcing the release of the 4.9.275 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:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2
drivers/gpu/drm/nouveau/nouveau_bo.c | 4 -
drivers/scsi/sr.c | 2
drivers/xen/events/events_base.c | 23 ++++++++--
include/linux/hugetlb.h | 15 ------
include/linux/mmdebug.h | 21 +++++++--
include/linux/pagemap.h | 13 +++--
kernel/futex.c | 2
kernel/kthread.c | 77 +++++++++++++++++++++++------------
mm/huge_memory.c | 29 ++++---------
mm/hugetlb.c | 5 --
11 files changed, 111 insertions(+), 82 deletions(-)
Alex Shi (1):
mm: add VM_WARN_ON_ONCE_PAGE() macro
Christian König (1):
drm/nouveau: fix dma_address check for CPU/GPU sync
Greg Kroah-Hartman (1):
Linux 4.9.275
Hugh Dickins (1):
mm, futex: fix shared futex pgoff on shmem huge page
Juergen Gross (1):
xen/events: reset active flag for lateeoi events later
ManYi Li (1):
scsi: sr: Return appropriate error code when disk is ejected
Michal Hocko (1):
include/linux/mmdebug.h: make VM_WARN* non-rvals
Petr Mladek (2):
kthread_worker: split code for canceling the delayed work timer
kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
Yang Shi (1):
mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
I'm announcing the release of the 4.4.275 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:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
arch/arm/probes/kprobes/core.c | 6 ++++++
drivers/gpu/drm/nouveau/nouveau_bo.c | 4 ++--
drivers/scsi/sr.c | 2 ++
drivers/xen/events/events_base.c | 23 +++++++++++++++++++----
5 files changed, 30 insertions(+), 7 deletions(-)
Christian König (1):
drm/nouveau: fix dma_address check for CPU/GPU sync
Greg Kroah-Hartman (1):
Linux 4.4.275
Juergen Gross (1):
xen/events: reset active flag for lateeoi events later
ManYi Li (1):
scsi: sr: Return appropriate error code when disk is ejected
Masami Hiramatsu (1):
arm: kprobes: Allow to handle reentered kprobe on single-stepping
This is the start of the stable review cycle for the 5.4.131 release.
There are 4 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sun, 11 Jul 2021 13:14:09 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.131-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 5.4.131-rc1
Juergen Gross <jgross(a)suse.com>
xen/events: reset active flag for lateeoi events later
Alper Gun <alpergun(a)google.com>
KVM: SVM: Call SEV Guest Decommission if ASID binding fails
Heiko Carstens <hca(a)linux.ibm.com>
s390/stack: fix possible register corruption with stack switch helper
David Rientjes <rientjes(a)google.com>
KVM: SVM: Periodically schedule when unregistering regions on destroy
-------------
Diffstat:
Makefile | 4 ++--
arch/s390/include/asm/stacktrace.h | 18 +++++++++++-------
arch/x86/kvm/svm.c | 33 ++++++++++++++++++++++-----------
drivers/xen/events/events_base.c | 23 +++++++++++++++++++----
4 files changed, 54 insertions(+), 24 deletions(-)
This reverts commit 9e31c1fe45d555a948ff66f1f0e3fe1f83ca63f7. Ever
since that commit, we've been having issues where a hang in one client
can propagate to another. In particular, a hang in an app can propagate
to the X server which causes the whole desktop to lock up.
Error propagation along fences sound like a good idea, but as your bug
shows, surprising consequences, since propagating errors across security
boundaries is not a good thing.
What we do have is track the hangs on the ctx, and report information to
userspace using RESET_STATS. That's how arb_robustness works. Also, if my
understanding is still correct, the EIO from execbuf is when your context
is banned (because not recoverable or too many hangs). And in all these
cases it's up to userspace to figure out what is all impacted and should
be reported to the application, that's not on the kernel to guess and
automatically propagate.
What's more, we're also building more features on top of ctx error
reporting with RESET_STATS ioctl: Encrypted buffers use the same, and the
userspace fence wait also relies on that mechanism. So it is the path
going forward for reporting gpu hangs and resets to userspace.
So all together that's why I think we should just bury this idea again as
not quite the direction we want to go to, hence why I think the revert is
the right option here.
For backporters: Please note that you _must_ have a backport of
https://lore.kernel.org/dri-devel/20210602164149.391653-2-jason@jlekstrand.…
for otherwise backporting just this patch opens up a security bug.
v2: Augment commit message. Also restore Jason's sob that I
accidentally lost.
v3: Add a note for backporters
Signed-off-by: Jason Ekstrand <jason(a)jlekstrand.net>
Reported-by: Marcin Slusarz <marcin.slusarz(a)intel.com>
Cc: <stable(a)vger.kernel.org> # v5.6+
Cc: Jason Ekstrand <jason.ekstrand(a)intel.com>
Cc: Marcin Slusarz <marcin.slusarz(a)intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/3080
Fixes: 9e31c1fe45d5 ("drm/i915: Propagate errors on awaiting already signaled fences")
Acked-by: Daniel Vetter <daniel.vetter(a)ffwll.ch>
Reviewed-by: Jon Bloomfield <jon.bloomfield(a)intel.com>
---
drivers/gpu/drm/i915/i915_request.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_request.c b/drivers/gpu/drm/i915/i915_request.c
index 86b4c9f2613d5..09ebea9a0090a 100644
--- a/drivers/gpu/drm/i915/i915_request.c
+++ b/drivers/gpu/drm/i915/i915_request.c
@@ -1399,10 +1399,8 @@ i915_request_await_execution(struct i915_request *rq,
do {
fence = *child++;
- if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
- i915_sw_fence_set_error_once(&rq->submit, fence->error);
+ if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
continue;
- }
if (fence->context == rq->fence.context)
continue;
@@ -1499,10 +1497,8 @@ i915_request_await_dma_fence(struct i915_request *rq, struct dma_fence *fence)
do {
fence = *child++;
- if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) {
- i915_sw_fence_set_error_once(&rq->submit, fence->error);
+ if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags))
continue;
- }
/*
* Requests on the same timeline are explicitly ordered, along
--
2.31.1