4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit 5081efd112560d3febb328e627176235b250d59d upstream.
If the hypervisor sets 2MB batching is on, while batching is cleared,
the balloon code breaks. In this case the legacy mecha
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Johan Hovold
commit 5c8b84f410b3819d14cb1ebf32e4b3714b5a6e0b upstream.
Do not set the system power-off callback and omap power-off rtc pointer
until we're done setting up our device to avoid le
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit 09755690c6b7c1eabdc4651eb3b276f8feb1e447 upstream.
When balloon batching is not supported by the hypervisor, the guest
frame number (GFN) must fit in 32-bit. However, due to a
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Chirantan Ekbote
commit d28c756caee6e414d9ba367d0b92da24145af2a8 upstream.
The zero-copy optimization when reading or writing large chunks of data
is quite useful. However, the 9p messages cre
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit ce664331b2487a5d244a51cbdd8cb54f866fbe5d upstream.
When vmballoon_vmci_init() sets a doorbell using VMCI_DOORBELL_SET, for
some reason it does not consider the status and look
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit c3cc1b0fc27508da53fe955a3b23d03964410682 upstream.
Currently, when all modules, including VMCI and VMware balloon are built
into the kernel, the initialization of the balloon
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Hari Bathini
commit 1bd6a1c4b80a28d975287630644e6b47d0f977a5 upstream.
Crash memory ranges is an array of memory ranges of the crashing kernel
to be exported as a dump via /proc/vmcore file. Th
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Lars-Peter Clausen
commit 9a5094ca29ea9b1da301b31fd377c0c0c4c23034 upstream.
A sysfs write callback function needs to either return the number of
consumed characters or an error.
The ad952x_st
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Daniel Mack
commit 7444a8092906ed44c09459780c56ba57043e39b1 upstream.
Prior to commit 573185cc7e64 ("mmc: core: Invoke sdio func driver's PM
callbacks from the sdio bus"), the MMC core used to
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Gustavo A. R. Silva
commit 3512a18cbd8d09e22a790540cb9624c3c49827ba upstream.
There is a potential execution path in which function
platform_get_resource() returns NULL. If this happens,
we wil
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit 016f8ffc48cb01d1e7701649c728c5d2e737d295 upstream.
While debugging another bug, I was looking at all the synchronize*()
functions being used in kernel/trace, and
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Krzysztof Kozlowski
commit d8ffee2f551a627ffb7b216e2da322cb9a037f77 upstream.
Registers of DSPI should not be accessed before enabling its clock. On
Toradex Colibri VF50 on Iris carrier board
This is the start of the stable review cycle for the 4.9.126 release.
There are 63 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 Sep 9 21:09:58 UTC 2018.
Anything receiv
From: Jay Kamat
Fix a couple issues with cg_read_strcmp(), to improve correctness of
cgroup tests
- Fix cg_read_strcmp() always returning 0 for empty "needle" strings.
Previously, this function read to a size = 1 buffer when comparing
against empty strings, which would lead to cg_read_strcmp() co
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Matthew Auld
commit c11c7bfd213495784b22ef82a69b6489f8d0092f upstream.
Operating on a zero sized GEM userptr object will lead to explosions.
Fixes: 5cc9ed4b9a7a ("drm/i915: Introduce mapping o
From: Jay Kamat
Add tests for memory.oom.group for the following cases:
- Killing all processes in a leaf cgroup, but leaving the
parent untouched
- Killing all processes in a parent and leaf cgroup
- Keeping processes marked by OOM_SCORE_ADJ_MIN alive when considered
for being killed by the
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jon Hunter
commit 6e1811900b6fe6f2b4665dba6bd6ed32c6b98575 upstream.
On all versions of Tegra30 Cardhu, the reset signal to the NXP PCA9546
I2C mux is connected to the Tegra GPIO BB0. Currently
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Peter Zijlstra
commit a6f572084fbee8b30f91465f4a085d7a90901c57 upstream.
Will noted that only checking mm_users is incorrect; we should also
check mm_count in order to cover CPUs that have a la
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Yannik Sembritzki
commit 817aef260037f33ee0f44c17fe341323d3aebd6d upstream.
Replace the use of a magic number that indicates that verify_*_signature()
should use the secondary keyring with a sy
Here is the third version of the patchset.
Changes since the last patchset:
- Updated commit message of first patch to clarify fixes
- Add ack from Roman
There should be no code changes since the last patchset.
Let me know if any improvements can be made, and thanks for your time!
-Jay
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jacob Pan
commit 0f725561e168485eff7277d683405c05b192f537 upstream.
When SRIOV VF device IOTLB is invalidated, we need to provide
the PF source ID such that IOMMU hardware can gauge the depth
o
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jacob Pan
commit 1c48db44924298ad0cb5a6386b88017539be8822 upstream.
PFSID should be used in the invalidation descriptor for flushing
device IOTLBs on SRIOV VFs.
Signed-off-by: Jacob Pan
Cc: s
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Al Viro
commit 9ba3eb5103cf56f0daaf07de4507df76e7813ed7 upstream.
Signed-off-by: Al Viro
Signed-off-by: Greg Kroah-Hartman
---
arch/alpha/kernel/osf_sys.c | 23 +--
1
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jann Horn
commit 42a0cc3478584d4d63f68f2f5af021ddbea771fa upstream.
Holding uts_sem as a writer while accessing userspace memory allows a
namespace admin to stall all processes that attempt to
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit eef19816ada3abd56d9f20c88794cc2fea83ebb2 upstream.
Allocate the buffer after we return early.
Otherwise memory is being leaked.
Cc:
Fixes: 1e51764a3c2a ("UBIFS: add
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Rafael David Tinoco
commit 6afebb70ee7a4bde106dc1a875e7ac7997248f84 upstream.
Fixes https://bugs.linaro.org/show_bug.cgi?id=3903
LTP Functional tests have caused a bad paging request when trig
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jann Horn
commit 5820f140edef111a9ea2ef414ab2428b8cb805b1 upstream.
The old code would hold the userns_state_mutex indefinitely if
memdup_user_nul stalled due to e.g. a userfault region. Preven
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Vignesh R
commit 38dabd91ff0bde33352ca3cc65ef515599b77a05 upstream.
pwm-tiehrpwm driver disables PWM output by putting it in low output
state via active AQCSFRC register in ehrpwm_pwm_disable()
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Christian Brauner
commit 82c9a927bc5df6e06b72d206d24a9d10cced4eb5 upstream.
When running in a container with a user namespace, if you call getxattr
with name = "system.posix_acl_access" and siz
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Mikulas Patocka
commit bb24153a3f13dd0dbc1f8055ad97fe346d598f66 upstream.
The default delay 5 jiffies is too much when the kernel is compiled with
HZ=100 - it results in jumpy cursor in Xwindow
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Mikulas Patocka
commit 8c5b044299951acd91e830a688dd920477ea1eda upstream.
I have a USB display adapter using the udlfb driver and I use it on an ARM
board that doesn't have any graphics card. W
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Ondrej Mosnacek
commit 0522236d4f9c5ab2e79889cb020d1acbe5da416e upstream.
This patch fixes sleep-in-atomic bugs in AES-CBC and AES-XTS VMX
implementations. The problem is that the blkcipher_* f
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit 95a22d2084d72ea067d8323cc85677dba5d97cae upstream.
Check whether the size is within bounds before using it.
If the size is not correct, abort and dump the bad data nod
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit d1c392c9e2a301f38998a353f467f76414e38725 upstream.
I hit the following splat in my tests:
[ cut here ]
IRQs not enabled as expected
WARNI
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit 08acbdd6fd736b90f8d725da5a0de4de2dd6de62 upstream.
This reverts commit 353748a359f1821ee934afc579cf04572406b420.
It bypassed the linux-mtd review process and fixes the
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Vishal Verma
commit 286e87718103acdf85f4ed323a37e4839a8a7c05 upstream.
Commit efda1b5d87cb ("acpi, nfit, libnvdimm: fix / harden ars_status output
length handling")
Introduced additional harde
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit 59965593205fa4044850d35ee3557cf0b7edcd14 upstream.
In ubifs_jnl_update() we sync parent and child inodes to the flash,
in case of xattrs, the parent inode (AKA host in
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Adrian Hunter
commit 99cbbe56eb8bede625f410ab62ba34673ffa7d21 upstream.
When the number of queues grows beyond 32, the array of queues is
resized but not all members were being copied. Fix by a
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Tomas Bortoli
commit 10aa14527f458e9867cf3d2cc6b8cb0f6704448b upstream.
Added checks to prevent GPFs from raising.
Link: http://lkml.kernel.org/r/20180727110558.5479-1-tomasbort...@gmail.com
S
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Shan Hai
commit 3943b040f11ed0cc6d4585fd286a623ca8634547 upstream.
The writeback thread would exit with a lock held when the cache device
is detached via sysfs interface, fix it by releasing th
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Jeremy Cline
commit 7b6924d94a60c6b8c1279ca003e8744e6cd9e8b1 upstream.
'type' is user-controlled, so sanitize it after the bounds check to
avoid using it in speculative execution. This covers t
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Paolo Bonzini
commit 0027ff2a75f9dcf0537ac0a65c5840b0e21a4950 upstream.
Two bug fixes:
1) missing entries in the l1d_param array; this can cause a host crash
if an access attempts to reach the
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: zhangyi (F)
commit 3df6f61fff49632492490fb6e42646b803a9958a upstream.
Commit ea0212f40c6 (power: auto select CONFIG_SRCU) made the code in
drivers/base/power/wakeup.c use SRCU instead of RCU, b
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Max Filippov
commit be75de25251f7cf3e399ca1f584716a95510d24a upstream.
When building kernel for xtensa cores with big cache lines (e.g. 128
bytes or more) __loop_cache_all and __loop_cache_page
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Max Filippov
commit fec3259c9f747c039f90e99570540114c8d81a14 upstream.
Cache invalidation macros use cache line size to iterate over
invalidated cache lines, assuming that all cache ways are in
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Dan Carpenter
commit 0914bb965e38a055e9245637aed117efbe976e91 upstream.
"dev->nr_children" is the number of children which were parsed
successfully in bl_parse_stripe(). It could be all of the
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Tomas Bortoli
commit 7913690dcc5e18e235769fd87c34143072f5dbea upstream.
The p9_client_version() does not initialize the version pointer. If the
call to p9pdu_readf() returns an error and versio
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit 757d9140072054528b13bbe291583d9823cde195 upstream.
Masami Hiramatsu reported:
Current trace-enable attribute in sysfs returns an error
if user writes the sam
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: jiangyiwen
commit 23cba9cbde0bba05d772b335fe5f66aa82b9ad19 upstream.
Because the value of limit is VIRTQUEUE_NUM, if index is equal to
limit, it will cause sg array out of bounds, so correct th
4.9-stable review patch. If anyone has any objections, please let me know.
--
From: Bill Baker
commit 0f90be132cbf1537d87a6a8b9e80867adac892f6 upstream.
After a live data migration event at the NFS server, the client may send
I/O requests to the wrong server, causing a live ha
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Tomas Bortoli
commit 430ac66eb4c5b5c4eb846b78ebf65747510b30f1 upstream.
The patch adds the flush in p9_mux_poll_stop() as it the function used by
p9_conn_destroy(), in turn called by p9_fd_clos
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit 5081efd112560d3febb328e627176235b250d59d upstream.
If the hypervisor sets 2MB batching is on, while batching is cleared,
the balloon code breaks. In this case the legacy mecha
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Lars-Peter Clausen
commit 9a5094ca29ea9b1da301b31fd377c0c0c4c23034 upstream.
A sysfs write callback function needs to either return the number of
consumed characters or an error.
The ad952x_st
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Alexander Aring
commit ac74f87c789af40936a80131c4759f3e72579c3a upstream.
This patch fixes patch add handling to take care tail and headroom for
single 6lowpan frames. We need to be sure we hav
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit f143641bfef9a4a60c57af30de26c63057e7e695 upstream.
Currently, when one echo's in 1 into tracing_on, the current tracer's
"start()" function is executed, even if t
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Alexander Aring
commit f9c52831133050c6b82aa8b6831c92da2bbf2a0b upstream.
This patch is necessary if case of AF_PACKET or other socket interface
which I am aware of it and didn't allocated the
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit c3cc1b0fc27508da53fe955a3b23d03964410682 upstream.
Currently, when all modules, including VMCI and VMware balloon are built
into the kernel, the initialization of the balloon
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jiri Slaby
Mostly recycling the commit log from adaba23ccd7d which fixed
populate_pmd, but did not fix populate_pud. The same problem exists
there.
Stable trees reverted the following patch:
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit ce664331b2487a5d244a51cbdd8cb54f866fbe5d upstream.
When vmballoon_vmci_init() sets a doorbell using VMCI_DOORBELL_SET, for
some reason it does not consider the status and look
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Nadav Amit
commit 09755690c6b7c1eabdc4651eb3b276f8feb1e447 upstream.
When balloon batching is not supported by the hypervisor, the guest
frame number (GFN) must fit in 32-bit. However, due to a
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Mike Snitzer
commit fd2fa95416188a767a63979296fa3e169a9ef5ec upstream.
policy_hint_size starts as 0 during __write_initial_superblock(). It
isn't until the policy is loaded that policy_hint_si
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Snild Dolkow
commit 3e536e222f2930534c252c1cc7ae799c725c5ff9 upstream.
There is a window for racing when printing directly to task->comm,
allowing other threads to see a non-terminated string.
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit 757d9140072054528b13bbe291583d9823cde195 upstream.
Masami Hiramatsu reported:
Current trace-enable attribute in sysfs returns an error
if user writes the sam
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Lars-Peter Clausen
commit 5a4e33c1c53ae7d4425f7d94e60e4458a37b349e upstream.
Fix the displayed phase for the ad9523 driver. Currently the most
significant decimal place is dropped and all other
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit 016f8ffc48cb01d1e7701649c728c5d2e737d295 upstream.
While debugging another bug, I was looking at all the synchronize*()
functions being used in kernel/trace, and
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Tomas Bortoli
commit 10aa14527f458e9867cf3d2cc6b8cb0f6704448b upstream.
Added checks to prevent GPFs from raising.
Link: http://lkml.kernel.org/r/20180727110558.5479-1-tomasbort...@gmail.com
S
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: zhangyi (F)
commit 3df6f61fff49632492490fb6e42646b803a9958a upstream.
Commit ea0212f40c6 (power: auto select CONFIG_SRCU) made the code in
drivers/base/power/wakeup.c use SRCU instead of RCU, b
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Chirantan Ekbote
commit d28c756caee6e414d9ba367d0b92da24145af2a8 upstream.
The zero-copy optimization when reading or writing large chunks of data
is quite useful. However, the 9p messages cre
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Peter Zijlstra
commit a6f572084fbee8b30f91465f4a085d7a90901c57 upstream.
Will noted that only checking mm_users is incorrect; we should also
check mm_count in order to cover CPUs that have a la
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jon Hunter
commit 6e1811900b6fe6f2b4665dba6bd6ed32c6b98575 upstream.
On all versions of Tegra30 Cardhu, the reset signal to the NXP PCA9546
I2C mux is connected to the Tegra GPIO BB0. Currently
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Dan Carpenter
commit 0914bb965e38a055e9245637aed117efbe976e91 upstream.
"dev->nr_children" is the number of children which were parsed
successfully in bl_parse_stripe(). It could be all of the
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jacob Pan
commit 0f725561e168485eff7277d683405c05b192f537 upstream.
When SRIOV VF device IOTLB is invalidated, we need to provide
the PF source ID such that IOMMU hardware can gauge the depth
o
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Bartosz Golaszewski
commit 563a53f3906a6b43692498e5b3ae891fac93a4af upstream.
On non-OF systems spi->controlled_data may be NULL. This causes a NULL
pointer derefence on dm365-evm.
Signed-off-
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Al Viro
commit 9ba3eb5103cf56f0daaf07de4507df76e7813ed7 upstream.
Signed-off-by: Al Viro
Signed-off-by: Greg Kroah-Hartman
---
arch/alpha/kernel/osf_sys.c | 23 +--
1
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jann Horn
commit 42a0cc3478584d4d63f68f2f5af021ddbea771fa upstream.
Holding uts_sem as a writer while accessing userspace memory allows a
namespace admin to stall all processes that attempt to
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jacob Pan
commit 1c48db44924298ad0cb5a6386b88017539be8822 upstream.
PFSID should be used in the invalidation descriptor for flushing
device IOTLBs on SRIOV VFs.
Signed-off-by: Jacob Pan
Cc: s
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jann Horn
commit 5820f140edef111a9ea2ef414ab2428b8cb805b1 upstream.
The old code would hold the userns_state_mutex indefinitely if
memdup_user_nul stalled due to e.g. a userfault region. Preven
Factor out the logic to place a SE into a CFS runqueue into its own
function.
This consolidates various sprinkled updates of se->cfs_rq, se->parent,
and se->depth at the cost of updating se->depth unnecessarily on
same-group movements between CPUs.
Signed-off-by: Jan H. Schönherr
---
kernel/sch
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Ben Hutchings
Commit 136f55f66019 ("net: lan78xx: fix rx handling before first
packet is send") was not correctly backported to 4.4. The call to
tasklet_schedule() belongs in lan78xx_link_reset
Just like init_tg_cfs_entry() does something useful without a scheduling
entity, let it do something useful without a CFS runqueue.
This prepares for the addition of new types of SEs.
Signed-off-by: Jan H. Schönherr
---
kernel/sched/fair.c | 28 +++-
1 file changed, 15 i
While it is possible to simply overwrite the sched_domain_topology,
it was not possible to retrieve the sched_domain_topology to modify
it instead. Add a function to enable that use case.
Note, that this does not help with the already existing potential
memory leak, when one dynamically allocated
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Hari Bathini
commit 1bd6a1c4b80a28d975287630644e6b47d0f977a5 upstream.
Crash memory ranges is an array of memory ranges of the crashing kernel
to be exported as a dump via /proc/vmcore file. Th
Get rid of the global variable sched_domains_curr_level, which is used
to pass state into a sd_numa_mask(), which is used as a callback for
sched_domain_topology_level->mask().
Extend the ->mask() callback instead, so that it takes the topology level
as an extra argument. Provide a backward compat
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit 08acbdd6fd736b90f8d725da5a0de4de2dd6de62 upstream.
This reverts commit 353748a359f1821ee934afc579cf04572406b420.
It bypassed the linux-mtd review process and fixes the
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Mahesh Salgaonkar
commit cd813e1cd7122f2c261dce5b54d1e0c97f80e1a5 upstream.
During Machine Check interrupt on pseries platform, register r3 points
RTAS extended event log passed by hypervisor.
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: piaojun
commit 3111784bee81591ea2815011688d28b65df03627 upstream.
In my testing, v9fs_fid_xattr_set will return successfully even if the
backend ext4 filesystem has no space to store xattr key-
This is the start of the stable review cycle for the 4.4.155 release.
There are 47 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 Sep 9 21:08:44 UTC 2018.
Anything receiv
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Richard Weinberger
commit 95a22d2084d72ea067d8323cc85677dba5d97cae upstream.
Check whether the size is within bounds before using it.
If the size is not correct, abort and dump the bad data nod
There is fair amount of overlap between enqueue_task_fair() and
unthrottle_cfs_rq(), as well as between dequeue_task_fair() and
throttle_cfs_rq(). This is the first step toward having both of
them use the same basic function.
Signed-off-by: Jan H. Schönherr
---
kernel/sched/fair.c | 82
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Dave Airlie
commit 8ef4227615e158faa4ee85a1d6466782f7e22f2f upstream.
A recent change to the mm code in:
87744ab3832b mm: fix cache mode tracking in vm_insert_mixed()
started enforcing checkin
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Jeremy Cline
commit 7b6924d94a60c6b8c1279ca003e8744e6cd9e8b1 upstream.
'type' is user-controlled, so sanitize it after the bounds check to
avoid using it in speculative execution. This covers t
Make the task delta handled by enqueue_entity_fair() and dequeue_task_fair()
variable as required by unthrottle_cfs_rq() and throttle_cfs_rq().
Signed-off-by: Jan H. Schönherr
---
kernel/sched/fair.c | 18 ++
kernel/sched/sched.h | 6 --
2 files changed, 14 insertions(+), 1
Add entity variants of put_prev_task_fair() and set_curr_task_fair()
that will be later used by coscheduling.
Signed-off-by: Jan H. Schönherr
---
kernel/sched/fair.c | 34 +-
kernel/sched/sched.h | 2 ++
2 files changed, 23 insertions(+), 13 deletions(-)
diff -
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Mikulas Patocka
commit bb24153a3f13dd0dbc1f8055ad97fe346d598f66 upstream.
The default delay 5 jiffies is too much when the kernel is compiled with
HZ=100 - it results in jumpy cursor in Xwindow
3.18-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit f143641bfef9a4a60c57af30de26c63057e7e695 upstream.
Currently, when one echo's in 1 into tracing_on, the current tracer's
"start()" function is executed, even if
Locks within the runqueue hierarchy are always taken from bottom to top
to avoid deadlocks. Let the lock validator know about this by declaring
different runqueue levels as distinct lock classes.
Signed-off-by: Jan H. Schönherr
---
kernel/sched/sched.h | 29 ++---
1 file
3.18-stable review patch. If anyone has any objections, please let me know.
--
From: Steven Rostedt (VMware)
commit 757d9140072054528b13bbe291583d9823cde195 upstream.
Masami Hiramatsu reported:
Current trace-enable attribute in sysfs returns an error
if user writes the sa
The ability to coschedule is coupled closely to the scheduling domain
topology: all CPUs within a scheduling domain will context switch
simultaneously. In other words, each scheduling domain also defines
a synchronization domain.
That means, that we should have a wider selection of scheduling doma
4.4-stable review patch. If anyone has any objections, please let me know.
--
From: Vignesh R
commit 38dabd91ff0bde33352ca3cc65ef515599b77a05 upstream.
pwm-tiehrpwm driver disables PWM output by putting it in low output
state via active AQCSFRC register in ehrpwm_pwm_disable()
Coscheduling relies on the leader to drive preemption of the
group when the time slice is exhausted. This is also the case,
when the leader is idle but the group as a whole is not.
Because of that, we currently cannot disable the idle tick.
Keep the tick enabled in code. This relieves the user fro
701 - 800 of 962 matches
Mail list logo