From: Wengang Wang <wen.gang.wang(a)oracle.com>
Subject: fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
ocfs2_dentry_attach_lock() can be executed in parallel threads against the
same dentry. Make that race safe. The race is like this:
thread A thread B
(A1) enter ocfs2_dentry_attach_lock,
seeing dentry->d_fsdata is NULL,
and no alias found by
ocfs2_find_local_alias, so kmalloc
a new ocfs2_dentry_lock structure
to local variable "dl", dl1
.....
(B1) enter ocfs2_dentry_attach_lock,
seeing dentry->d_fsdata is NULL,
and no alias found by
ocfs2_find_local_alias so kmalloc
a new ocfs2_dentry_lock structure
to local variable "dl", dl2.
......
(A2) set dentry->d_fsdata with dl1,
call ocfs2_dentry_lock() and increase
dl1->dl_lockres.l_ro_holders to 1 on
success.
......
(B2) set dentry->d_fsdata with dl2
call ocfs2_dentry_lock() and increase
dl2->dl_lockres.l_ro_holders to 1 on
success.
......
(A3) call ocfs2_dentry_unlock()
and decrease
dl2->dl_lockres.l_ro_holders to 0
on success.
....
(B3) call ocfs2_dentry_unlock(),
decreasing
dl2->dl_lockres.l_ro_holders, but
see it's zero now, panic
Link: http://lkml.kernel.org/r/20190529174636.22364-1-wen.gang.wang@oracle.com
Signed-off-by: Wengang Wang <wen.gang.wang(a)oracle.com>
Reported-by: Daniel Sobe <daniel.sobe(a)nxp.com>
Tested-by: Daniel Sobe <daniel.sobe(a)nxp.com>
Reviewed-by: Changwei Ge <gechangwei(a)live.cn>
Reviewed-by: Joseph Qi <joseph.qi(a)linux.alibaba.com>
Cc: Mark Fasheh <mark(a)fasheh.com>
Cc: Joel Becker <jlbec(a)evilplan.org>
Cc: Junxiao Bi <junxiao.bi(a)oracle.com>
Cc: Gang He <ghe(a)suse.com>
Cc: Jun Piao <piaojun(a)huawei.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
fs/ocfs2/dcache.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- a/fs/ocfs2/dcache.c~fs-ocfs2-fix-race-in-ocfs2_dentry_attach_lock
+++ a/fs/ocfs2/dcache.c
@@ -296,6 +296,18 @@ int ocfs2_dentry_attach_lock(struct dent
out_attach:
spin_lock(&dentry_attach_lock);
+ if (unlikely(dentry->d_fsdata && !alias)) {
+ /* d_fsdata is set by a racing thread which is doing
+ * the same thing as this thread is doing. Leave the racing
+ * thread going ahead and we return here.
+ */
+ spin_unlock(&dentry_attach_lock);
+ iput(dl->dl_inode);
+ ocfs2_lock_res_free(&dl->dl_lockres);
+ kfree(dl);
+ return 0;
+ }
+
dentry->d_fsdata = dl;
dl->dl_count++;
spin_unlock(&dentry_attach_lock);
_
Depending on the number of devices, blkcg stats can go over the
default seqfile buf size. seqfile normally retries with a larger
buffer but since the ->pd_stat() addition, blkcg_print_stat() doesn't
tell seqfile that overflow has happened and the output gets printed
truncated. Fix it by calling seq_commit() w/ -1 on possible
overflows.
Signed-off-by: Tejun Heo <tj(a)kernel.org>
Fixes: 903d23f0a354 ("blk-cgroup: allow controllers to output their own stats")
Cc: stable(a)vger.kernel.org # v4.19+
Cc: Josef Bacik <jbacik(a)fb.com>
---
block/blk-cgroup.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c
index 1f7127b03490..e4715b35d42c 100644
--- a/block/blk-cgroup.c
+++ b/block/blk-cgroup.c
@@ -1006,8 +1006,12 @@ static int blkcg_print_stat(struct seq_file *sf, void *v)
}
next:
if (has_stats) {
- off += scnprintf(buf+off, size-off, "\n");
- seq_commit(sf, off);
+ if (off < size - 1) {
+ off += scnprintf(buf+off, size-off, "\n");
+ seq_commit(sf, off);
+ } else {
+ seq_commit(sf, -1);
+ }
}
}
--
2.17.1
If use_delay was non-zero when the latency target of a cgroup was set
to zero, it will stay stuck until io.latency is enabled on the cgroup
again. This keeps readahead disabled for the cgroup impacting
performance negatively.
Signed-off-by: Tejun Heo <tj(a)kernel.org>
Cc: Josef Bacik <jbacik(a)fb.com>
Fixes: d70675121546 ("block: introduce blk-iolatency io controller")
Cc: stable(a)vger.kernel.org # v4.19+
---
block/blk-iolatency.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c
index d22e61bced86..17896bb3aaf2 100644
--- a/block/blk-iolatency.c
+++ b/block/blk-iolatency.c
@@ -778,8 +778,10 @@ static int iolatency_set_min_lat_nsec(struct blkcg_gq *blkg, u64 val)
if (!oldval && val)
return 1;
- if (oldval && !val)
+ if (oldval && !val) {
+ blkcg_clear_delay(blkg);
return -1;
+ }
return 0;
}
--
2.17.1
Hello,
We ran automated tests on a patchset that was proposed for merging into this
kernel tree. The patches were applied to:
Kernel repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 2df16141a2c4 - Linux 5.1.9
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Merge testing
-------------
We cloned this repository and checked out the following commit:
Repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 2df16141a2c4 - Linux 5.1.9
We then merged the patchset with `git am`:
revert-drm-allow-render-capable-master-with-drm_auth.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
media-rockchip-vpu-fix-re-order-probe-error-remove-p.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
media-rockchip-vpu-add-missing-dont_use_autosuspend-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
rapidio-fix-a-null-pointer-dereference-when-create_w.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
fs-fat-file.c-issue-flush-after-the-writeback-of-fat.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
sysctl-return-einval-if-val-violates-minmax.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ipc-prevent-lockup-on-alloc_msg-and-free_msg.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-msm-correct-attempted-null-pointer-dereference-i.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-pl111-initialize-clock-spinlock-early.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-mprotect.c-fix-compilation-warning-because-of-unu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-prevent-tracing-ipi_cpu_backtrace.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-hmm-select-mmu-notifier-when-selecting-hmm.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
hugetlbfs-on-restore-reserve-error-path-retain-subpo.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-memory_hotplug-release-memory-resource-after-arch.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mem-hotplug-fix-node-spanned-pages-when-we-have-a-no.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma.c-fix-crash-on-cma-allocation-if-bitmap-alloc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
initramfs-free-initrd-memory-if-opening-initrd.image.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-compaction.c-fix-an-undefined-behaviour.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-memory_hotplug.c-fix-the-wrong-usage-of-n_high_me.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma.c-fix-the-bitmap-status-to-show-failed-alloca.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-page_mkclean-vs-madv_dontneed-race.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma_debug.c-fix-the-break-condition-in-cma_maxchu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-slab.c-fix-an-infinite-loop-in-leaks_show.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
kernel-sys.c-prctl-fix-false-positive-in-validate_pr.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
thermal-rcar_gen3_thermal-disable-interrupt-in-.remo.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drivers-thermal-tsens-don-t-print-error-message-on-e.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-tps65912-spi-add-missing-of-table-registration.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-intel-lpss-set-the-device-in-reset-state-when-in.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-disp-dp-respect-sink-limits-when-selecti.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-twl6040-fix-device-init-errors-for-accctl-regist.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
perf-x86-intel-allow-pebs-multi-entry-in-watermark-m.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-kms-gf119-gp10x-push-headsetcontroloutpu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-fix-duplication-of-nv50_head_atom-struct.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-bridge-adv7511-fix-low-refresh-rate-selection.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
objtool-don-t-use-ignore-flag-for-fake-jumps.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-kms-gv100-fix-spurious-window-immediate-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
bpf-fix-undefined-behavior-in-narrow-load-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
edac-mpc85xx-prevent-building-as-a-module.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-meson-use-the-spin-lock-only-to-protect-register.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mailbox-stm32-ipcc-check-invalid-irq.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ntp-allow-tai-utc-offset-to-be-set-to-zero.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-do_recover_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-f2fs_inplace_write_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-error-path-of-recovery.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-f2fs_remove_inode_page.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-sanity-check-on-free-nid.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-clear-dirty-inode-in-error-path-of-f2fs_.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-dec_valid_block_count.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-use-inline-space-only-if-inline_xattr-is.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-dec_valid_node_count.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-sanity-check-on-valid-block-count-of-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-deadloop-in-foreground-gc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-retrieve-inline-xattr-space.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-checksum-even-if-inode-page-is-uptoda.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
media-atmel-atmel-isc-fix-asd-memory-allocation.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
percpu-remove-spurious-lock-dependency-between-percp.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
configfs-fix-possible-use-after-free-in-configfs_reg.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
uml-fix-a-boot-splat-wrt-use-of-cpu_all_mask.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-dwc-free-msi-in-dw_pcie_host_init-error-path.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-dwc-free-msi-irq-page-in-dw_pcie_free_msi.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
fbcon-don-t-reset-logo_shown-when-logo-is-currently-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-do-not-generate-duplicate-fsnotify-events-for-fa.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mmc-mmci-prevent-polling-for-busy-detection-in-irq-c.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-fix-missing-error-check-for-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_conntrack_h323-restore-boundary-check-c.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mips-make-sure-dt-memory-regions-are-valid.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_tables-fix-base-chain-stat-rcu_derefere.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
watchdog-imx2_wdt-fix-set_timeout-for-big-timeout-va.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
watchdog-fix-compile-time-error-of-pretimeout-govern.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
blk-mq-move-cancel-of-requeue_work-into-blk_mq_relea.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-vt-d-set-intel_iommu_gfx_mapped-correctly.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
vfio-pci-nvlink2-fix-potential-vma-leak.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
misc-pci_endpoint_test-fix-test_reg_bar-to-be-update.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-designware-ep-use-aligned-atu-window-for-raising.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvme-pci-unquiesce-admin-queue-on-shutdown.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvme-pci-shutdown-on-timeout-during-deletion.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-check-ttl-value-in-flow-offl.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-fix-netdev-refcnt-leak.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
alsa-hda-register-irq-handler-after-the-chip-initial.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
powerpc-pseries-track-lmb-nid-instead-of-using-devic.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm64-defconfig-update-ufshcd-for-hi3660-soc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-vt-d-don-t-request-page-request-irq-under-dmar.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvmem-core-fix-read-buffer-in-place.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvmem-sunxi_sid-support-sid-on-a83t-and-h5.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
fuse-retrieve-cap-requested-size-to-negotiated-max_w.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nfsd-allow-fh_want_write-to-be-called-twice.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nfsd-avoid-uninitialized-variable-warning.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
vfio-fix-warning-do-not-call-blocking-ops-when-task_.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-arm-smmu-v3-don-t-disable-smmu-in-kdump-kernel.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
switchtec-fix-unintended-mask-of-mrpc-event.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
net-thunderbolt-unregister-thunderboltip-protocol-ha.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
x86-pci-fix-pci-irq-routing-table-memory-leak.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-tegra-pmc-remove-reset-sysfs-entries-on-error.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
i40e-queues-are-reserved-despite-invalid-argument-er.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
power-supply-cpcap-battery-fix-signed-counter-sample.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
platform-chrome-cros_ec_proto-check-for-null-transfe.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-keystone-invoke-phy_reset-api-before-enabling-ph.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-keystone-prevent-arm32-specific-code-to-be-compi.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-mediatek-pwrap-zero-initialize-rdata-in-pwrap_in.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
clk-rockchip-turn-on-aclk_dmac1-for-suspend-on-rk328.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
usb-ohci-da8xx-disable-the-regulator-if-the-overcurr.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-vt-d-flush-iotlb-for-untrusted-device-in-time.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-rockchip-set-the-proper-pwm-for-rk3288.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm64-dts-imx8mq-mark-iomuxc_gpr-as-i.mx6q-compatibl.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx51-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx50-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx53-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sx-specify-imx6sx_clk_ipg-as-ahb-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sll-specify-imx6sll_clk_ipg-as-ipg-clock.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx7d-specify-imx7d_clk_ipg-as-ipg-clock-to-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6ul-specify-imx6ul_clk_ipg-as-ipg-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sx-specify-imx6sx_clk_ipg-as-ipg-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6qdl-specify-imx6qdl_clk_ipg-as-ipg-clock.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rpadlpar-fix-leaked-device_node-references-in-ad.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-amd-display-disable-link-before-changing-link-se.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-amd-display-use-plane-color_space-for-dpp-if-spe.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-omap2-pm33xx-core-do-not-turn-off-cefuse-as-ppa-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pinctrl-pinctrl-intel-move-gpio-suspend-resume-to-no.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
platform-x86-intel_pmc_ipc-adding-error-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
power-supply-max14656-fix-potential-use-before-alloc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-potential-recursive-call-when-enabling-data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
net-hns3-return-0-and-print-warning-when-hit-duplica.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-dwc-remove-default-msi-initialization-for-platfo.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rcar-fix-a-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rcar-fix-64bit-msi-message-address-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
scsi-qla2xxx-reset-the-fcf_async_-sent-active-flags.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
input-goodix-add-gt5663-ctp-support.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
video-hgafb-fix-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
video-imsttfb-fix-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
block-bfq-increase-idling-for-weight-raised-queues.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-xilinx-check-for-__get_free_pages-failure.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm64-dts-qcom-qcs404-fix-regulator-supply-names.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
gpio-gpio-omap-add-check-for-off-wake-capable-gpios.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
gpio-gpio-omap-limit-errata-1.101-handling-to-wkup-d.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ice-add-missing-case-in-print_link_msg-for-printing-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
media-v4l2-ctrl-v4l2_ctrl_request_setup-returns-with.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
batman-adv-adjust-name-for-batadv_dat_send_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ice-enable-lan_en-for-the-right-recipes.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ice-do-not-set-lb_en-for-prune-switch-rules.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
dmaengine-idma64-use-actual-device-for-dma-transfers.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-tiehrpwm-update-shadow-register-for-disabling-pw.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
media-v4l2-fwnode-defaults-may-not-override-endpoint.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-fix-deadlock-warning-when-removing-pwm-device.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-exynos-fix-undefined-instruction-during-exynos54.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
usb-typec-fusb302-check-vconn-is-off-when-we-start-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-renesas-identify-r-car-m3-w-es1.3.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-shmobile-porter-enable-r-car-gen2-regulator-quir.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
gpio-vf610-do-not-share-irq_chip.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
percpu-do-not-search-past-bitmap-when-allocating-an-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
revert-bluetooth-align-minimum-encryption-key-size-for-le-and-br-edr-connections.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
revert-drm-nouveau-add-kconfig-option-to-turn-off-nouveau-legacy-contexts.-v3.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-check-the-capability-before-cred-overridden.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-support-stacked-seek_hole-seek_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
alsa-seq-cover-unsubscribe_port-in-list_mutex.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
io_uring-fix-failure-to-verify-sq_aff-cpu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/aarch64/kernel-stable_queue_5.1-aa…
kernel build: https://artifacts.cki-project.org/builds/aarch64/kernel-stable_queue_5.1-aa…
ppc64le:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/ppc64le/kernel-stable_queue_5.1-pp…
kernel build: https://artifacts.cki-project.org/builds/ppc64le/kernel-stable_queue_5.1-pp…
s390x:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/s390x/kernel-stable_queue_5.1-s390…
kernel build: https://artifacts.cki-project.org/builds/s390x/kernel-stable_queue_5.1-s390…
x86_64:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/x86_64/kernel-stable_queue_5.1-x86…
kernel build: https://artifacts.cki-project.org/builds/x86_64/kernel-stable_queue_5.1-x86…
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test [0]
✅ xfstests: xfs [1]
✅ selinux-policy: serge-testsuite [2]
Host 2:
✅ Boot test [0]
✅ LTP lite [3]
✅ Loopdev Sanity [4]
✅ AMTU (Abstract Machine Test Utility) [5]
✅ Ethernet drivers sanity [6]
✅ audit: audit testsuite test [7]
✅ httpd: mod_ssl smoke sanity [8]
✅ iotop: sanity [9]
✅ tuned: tune-processes-through-perf [10]
✅ Usex - version 1.9-29 [11]
✅ lvm thinp sanity [12]
🚧 ✅ Networking socket: fuzz [13]
🚧 ✅ storage: SCSI VPD [14]
🚧 ✅ storage: software RAID testing [15]
🚧 ✅ Libhugetlbfs - version 2.2.1 [16]
ppc64le:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
s390x:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
x86_64:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
Test source:
💚 Pull requests are welcome for new tests or improvements to existing tests!
[0]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[1]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/filesystems…
[2]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/packages/se…
[3]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[4]: https://github.com/CKI-project/tests-beaker/archive/master.zip#filesystems/…
[5]: https://github.com/CKI-project/tests-beaker/archive/master.zip#misc/amtu
[6]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[7]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/aud…
[8]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/htt…
[9]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/iot…
[10]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/tun…
[11]: https://github.com/CKI-project/tests-beaker/archive/master.zip#standards/us…
[12]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/lvm/…
[13]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[14]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/scsi…
[15]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/swra…
[16]: https://github.com/CKI-project/tests-beaker/archive/master.zip#vm/hugepage/…
Waived tests (marked with 🚧)
-----------------------------
This test run included waived tests. Such tests are executed but their results
are not taken into account. Tests are waived when their results are not
reliable enough, e.g. when they're just introduced or are being fixed.
[ Adding Greg to CC ]
On 6/12/19 6:04 AM, Jan Kara wrote:
> On Tue 11-06-19 15:34:48, Srivatsa S. Bhat wrote:
>> On 6/2/19 12:04 AM, Srivatsa S. Bhat wrote:
>>> On 5/30/19 3:45 AM, Paolo Valente wrote:
>>>>
>> [...]
>>>> At any rate, since you pointed out that you are interested in
>>>> out-of-the-box performance, let me complete the context: in case
>>>> low_latency is left set, one gets, in return for this 12% loss,
>>>> a) at least 1000% higher responsiveness, e.g., 1000% lower start-up
>>>> times of applications under load [1];
>>>> b) 500-1000% higher throughput in multi-client server workloads, as I
>>>> already pointed out [2].
>>>>
>>>
>>> I'm very happy that you could solve the problem without having to
>>> compromise on any of the performance characteristics/features of BFQ!
>>>
>>>
>>>> I'm going to prepare complete patches. In addition, if ok for you,
>>>> I'll report these results on the bug you created. Then I guess we can
>>>> close it.
>>>>
>>>
>>> Sounds great!
>>>
>>
>> Hi Paolo,
>>
>> Hope you are doing great!
>>
>> I was wondering if you got a chance to post these patches to LKML for
>> review and inclusion... (No hurry, of course!)
>>
>> Also, since your fixes address the performance issues in BFQ, do you
>> have any thoughts on whether they can be adapted to CFQ as well, to
>> benefit the older stable kernels that still support CFQ?
>
> Since CFQ doesn't exist in current upstream kernel anymore, I seriously
> doubt you'll be able to get any performance improvements for it in the
> stable kernels...
>
I suspected as much, but that seems unfortunate though. The latest LTS
kernel is based on 4.19, which still supports CFQ. It would have been
great to have a process to address significant issues on older
kernels too.
Greg, do you have any thoughts on this? The context is that both CFQ
and BFQ I/O schedulers have issues that cause I/O throughput to suffer
upto 10x - 30x on certain workloads and system configurations, as
reported in [1].
In this thread, Paolo posted patches to fix BFQ performance on
mainline. However CFQ suffers from the same performance collapse, but
CFQ was removed from the kernel in v5.0. So obviously the usual stable
backporting path won't work here for several reasons:
1. There won't be a mainline commit to backport from, as CFQ no
longer exists in mainline.
2. This is not a security/stability fix, and is likely to involve
invasive changes.
I was wondering if there was a way to address the performance issues
in CFQ in the older stable kernels (including the latest LTS 4.19),
despite the above constraints, since the performance drop is much too
significant. I guess not, but thought I'd ask :-)
[1]. https://lore.kernel.org/lkml/8d72fcf7-bbb4-2965-1a06-e9fc177a8938@csail.mit…
Regards,
Srivatsa
VMware Photon OS
Hello,
We ran automated tests on a patchset that was proposed for merging into this
kernel tree. The patches were applied to:
Kernel repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 768292d05361 - Linux 4.19.50
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Merge testing
-------------
We cloned this repository and checked out the following commit:
Repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Commit: 768292d05361 - Linux 4.19.50
We then merged the patchset with `git am`:
rapidio-fix-a-null-pointer-dereference-when-create_w.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
fs-fat-file.c-issue-flush-after-the-writeback-of-fat.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
sysctl-return-einval-if-val-violates-minmax.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ipc-prevent-lockup-on-alloc_msg-and-free_msg.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-pl111-initialize-clock-spinlock-early.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-prevent-tracing-ipi_cpu_backtrace.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-hmm-select-mmu-notifier-when-selecting-hmm.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
hugetlbfs-on-restore-reserve-error-path-retain-subpo.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mem-hotplug-fix-node-spanned-pages-when-we-have-a-no.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma.c-fix-crash-on-cma-allocation-if-bitmap-alloc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
initramfs-free-initrd-memory-if-opening-initrd.image.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma.c-fix-the-bitmap-status-to-show-failed-alloca.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-page_mkclean-vs-madv_dontneed-race.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-cma_debug.c-fix-the-break-condition-in-cma_maxchu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mm-slab.c-fix-an-infinite-loop-in-leaks_show.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
kernel-sys.c-prctl-fix-false-positive-in-validate_pr.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
thermal-rcar_gen3_thermal-disable-interrupt-in-.remo.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drivers-thermal-tsens-don-t-print-error-message-on-e.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-tps65912-spi-add-missing-of-table-registration.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-intel-lpss-set-the-device-in-reset-state-when-in.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-disp-dp-respect-sink-limits-when-selecti.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mfd-twl6040-fix-device-init-errors-for-accctl-regist.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
perf-x86-intel-allow-pebs-multi-entry-in-watermark-m.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-kms-gf119-gp10x-push-headsetcontroloutpu.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-bridge-adv7511-fix-low-refresh-rate-selection.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
objtool-don-t-use-ignore-flag-for-fake-jumps.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-nouveau-kms-gv100-fix-spurious-window-immediate-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
bpf-fix-undefined-behavior-in-narrow-load-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
edac-mpc85xx-prevent-building-as-a-module.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-meson-use-the-spin-lock-only-to-protect-register.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mailbox-stm32-ipcc-check-invalid-irq.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ntp-allow-tai-utc-offset-to-be-set-to-zero.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-do_recover_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-f2fs_inplace_write_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-f2fs_remove_inode_page.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-sanity-check-on-free-nid.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-clear-dirty-inode-in-error-path-of-f2fs_.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-avoid-panic-in-dec_valid_block_count.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-use-inline-space-only-if-inline_xattr-is.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-sanity-check-on-valid-block-count-of-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
f2fs-fix-to-do-checksum-even-if-inode-page-is-uptoda.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
percpu-remove-spurious-lock-dependency-between-percp.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
configfs-fix-possible-use-after-free-in-configfs_reg.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
uml-fix-a-boot-splat-wrt-use-of-cpu_all_mask.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-dwc-free-msi-in-dw_pcie_host_init-error-path.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-dwc-free-msi-irq-page-in-dw_pcie_free_msi.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-do-not-generate-duplicate-fsnotify-events-for-fa.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mmc-mmci-prevent-polling-for-busy-detection-in-irq-c.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-fix-missing-error-check-for-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_conntrack_h323-restore-boundary-check-c.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
mips-make-sure-dt-memory-regions-are-valid.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_tables-fix-base-chain-stat-rcu_derefere.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
watchdog-imx2_wdt-fix-set_timeout-for-big-timeout-va.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
watchdog-fix-compile-time-error-of-pretimeout-govern.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
blk-mq-move-cancel-of-requeue_work-into-blk_mq_relea.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-vt-d-set-intel_iommu_gfx_mapped-correctly.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
misc-pci_endpoint_test-fix-test_reg_bar-to-be-update.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-designware-ep-use-aligned-atu-window-for-raising.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvme-pci-unquiesce-admin-queue-on-shutdown.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvme-pci-shutdown-on-timeout-during-deletion.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-check-ttl-value-in-flow-offl.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
netfilter-nf_flow_table-fix-netdev-refcnt-leak.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
alsa-hda-register-irq-handler-after-the-chip-initial.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvmem-core-fix-read-buffer-in-place.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nvmem-sunxi_sid-support-sid-on-a83t-and-h5.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
fuse-retrieve-cap-requested-size-to-negotiated-max_w.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nfsd-allow-fh_want_write-to-be-called-twice.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
nfsd-avoid-uninitialized-variable-warning.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
vfio-fix-warning-do-not-call-blocking-ops-when-task_.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
iommu-arm-smmu-v3-don-t-disable-smmu-in-kdump-kernel.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
switchtec-fix-unintended-mask-of-mrpc-event.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
net-thunderbolt-unregister-thunderboltip-protocol-ha.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
x86-pci-fix-pci-irq-routing-table-memory-leak.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
i40e-queues-are-reserved-despite-invalid-argument-er.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
platform-chrome-cros_ec_proto-check-for-null-transfe.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-keystone-prevent-arm32-specific-code-to-be-compi.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-mediatek-pwrap-zero-initialize-rdata-in-pwrap_in.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
clk-rockchip-turn-on-aclk_dmac1-for-suspend-on-rk328.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-rockchip-set-the-proper-pwm-for-rk3288.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx51-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx50-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx53-specify-imx5_clk_ipg-as-ahb-clock-to-s.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sx-specify-imx6sx_clk_ipg-as-ahb-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sll-specify-imx6sll_clk_ipg-as-ipg-clock.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx7d-specify-imx7d_clk_ipg-as-ipg-clock-to-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6ul-specify-imx6ul_clk_ipg-as-ipg-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6sx-specify-imx6sx_clk_ipg-as-ipg-clock-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-imx6qdl-specify-imx6qdl_clk_ipg-as-ipg-clock.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rpadlpar-fix-leaked-device_node-references-in-ad.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-amd-display-use-plane-color_space-for-dpp-if-spe.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-omap2-pm33xx-core-do-not-turn-off-cefuse-as-ppa-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
platform-x86-intel_pmc_ipc-adding-error-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
power-supply-max14656-fix-potential-use-before-alloc.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
net-hns3-return-0-and-print-warning-when-hit-duplica.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rcar-fix-a-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-rcar-fix-64bit-msi-message-address-handling.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
scsi-qla2xxx-reset-the-fcf_async_-sent-active-flags.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
video-hgafb-fix-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
video-imsttfb-fix-potential-null-pointer-dereference.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
block-bfq-increase-idling-for-weight-raised-queues.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pci-xilinx-check-for-__get_free_pages-failure.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
gpio-gpio-omap-add-check-for-off-wake-capable-gpios.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ice-add-missing-case-in-print_link_msg-for-printing-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
dmaengine-idma64-use-actual-device-for-dma-transfers.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-tiehrpwm-update-shadow-register-for-disabling-pw.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-dts-exynos-always-enable-necessary-apio_1v8-and-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
pwm-fix-deadlock-warning-when-removing-pwm-device.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
arm-exynos-fix-undefined-instruction-during-exynos54.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
usb-typec-fusb302-check-vconn-is-off-when-we-start-t.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
soc-renesas-identify-r-car-m3-w-es1.3.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
gpio-vf610-do-not-share-irq_chip.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
percpu-do-not-search-past-bitmap-when-allocating-an-.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
revert-bluetooth-align-minimum-encryption-key-size-for-le-and-br-edr-connections.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
revert-drm-nouveau-add-kconfig-option-to-turn-off-nouveau-legacy-contexts.-v3.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-check-the-capability-before-cred-overridden.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
ovl-support-stacked-seek_hole-seek_data.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
drm-vc4-fix-fb-references-in-async-update.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
alsa-seq-cover-unsubscribe_port-in-list_mutex.patch?id=b36b0b9b3b389910273cfd665dc33954b0144fed
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/aarch64/kernel-stable_queue_4.19-a…
kernel build: https://artifacts.cki-project.org/builds/aarch64/kernel-stable_queue_4.19-a…
ppc64le:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/ppc64le/kernel-stable_queue_4.19-p…
kernel build: https://artifacts.cki-project.org/builds/ppc64le/kernel-stable_queue_4.19-p…
s390x:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/s390x/kernel-stable_queue_4.19-s39…
kernel build: https://artifacts.cki-project.org/builds/s390x/kernel-stable_queue_4.19-s39…
x86_64:
build options: -j20 INSTALL_MOD_STRIP=1 targz-pkg
configuration: https://artifacts.cki-project.org/builds/x86_64/kernel-stable_queue_4.19-x8…
kernel build: https://artifacts.cki-project.org/builds/x86_64/kernel-stable_queue_4.19-x8…
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test [0]
✅ LTP lite [1]
✅ Loopdev Sanity [2]
✅ AMTU (Abstract Machine Test Utility) [3]
✅ Ethernet drivers sanity [4]
✅ audit: audit testsuite test [5]
✅ httpd: mod_ssl smoke sanity [6]
✅ iotop: sanity [7]
✅ tuned: tune-processes-through-perf [8]
✅ Usex - version 1.9-29 [9]
✅ lvm thinp sanity [10]
🚧 ✅ Networking socket: fuzz [11]
🚧 ✅ storage: SCSI VPD [12]
🚧 ✅ storage: software RAID testing [13]
🚧 ✅ Libhugetlbfs - version 2.2.1 [14]
Host 2:
✅ Boot test [0]
✅ xfstests: xfs [15]
✅ selinux-policy: serge-testsuite [16]
ppc64le:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
s390x:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
x86_64:
⚡ Internal infrastructure issues prevented one or more tests from running
on this architecture. This is not the fault of the kernel that was tested.
Test source:
💚 Pull requests are welcome for new tests or improvements to existing tests!
[0]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[1]: https://github.com/CKI-project/tests-beaker/archive/master.zip#distribution…
[2]: https://github.com/CKI-project/tests-beaker/archive/master.zip#filesystems/…
[3]: https://github.com/CKI-project/tests-beaker/archive/master.zip#misc/amtu
[4]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[5]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/aud…
[6]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/htt…
[7]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/iot…
[8]: https://github.com/CKI-project/tests-beaker/archive/master.zip#packages/tun…
[9]: https://github.com/CKI-project/tests-beaker/archive/master.zip#standards/us…
[10]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/lvm/…
[11]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/networking/…
[12]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/scsi…
[13]: https://github.com/CKI-project/tests-beaker/archive/master.zip#storage/swra…
[14]: https://github.com/CKI-project/tests-beaker/archive/master.zip#vm/hugepage/…
[15]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/filesystems…
[16]: https://github.com/CKI-project/tests-beaker/archive/master.zip#/packages/se…
Waived tests (marked with 🚧)
-----------------------------
This test run included waived tests. Such tests are executed but their results
are not taken into account. Tests are waived when their results are not
reliable enough, e.g. when they're just introduced or are being fixed.