From 72d46c4f7bd1846303483aad0de45ee779200c80 Mon Sep 17 00:00:00 2001 From: Andrew Halaney Date: Tue, 13 Jul 2021 12:04:07 -0500 Subject: [PATCH] kernel-rt-5.13.0-1.rt3.2 * Tue Jul 13 2021 Andrew Halaney [5.13.0-1.rt3.2] - b5dcc29e819c rebase - config: disable KASAN for kernel-rt-debug kernels (Luis Claudio R. Goncalves) [1977862] - Revert "eventfd: track eventfd_signal() recursion depth" (Juri Lelli) - Revert "aio: prevent potential eventfd recursion on poll" (Juri Lelli) - redhat: Add realtime-setup dependecy for kernel-rt metapackage (Juri Lelli) - spec: Generate separate kernel-rt-kvm packages (Juri Lelli) - Add RT config options (Juri Lelli) - specfile: Add with_realtime (Juri Lelli) - RTize build scripts (Juri Lelli) - Add localversion for -RT release (Thomas Gleixner) - sysfs: Add /sys/kernel/realtime entry (Clark Williams) - genirq: Disable irqpoll on -rt (Ingo Molnar) - tpm_tis: fix stall after iowrite*()s (Haris Okanovic) - drivers/block/zram: Replace bit spinlocks with rtmutex for -rt (Mike Galbraith) - powerpc: Avoid recursive header includes (Sebastian Andrzej Siewior) - powerpc/stackprotector: work around stack-guard init from atomic (Sebastian Andrzej Siewior) - powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT (Bogdan Purcareata) - powerpc/pseries/iommu: Use a locallock instead local_irq_save() (Sebastian Andrzej Siewior) - powerpc: traps: Use PREEMPT_RT (Sebastian Andrzej Siewior) - ARM64: Allow to enable RT (Sebastian Andrzej Siewior) - ARM: Allow to enable RT (Sebastian Andrzej Siewior) - x86: Enable RT also on 32bit (Sebastian Andrzej Siewior) - arm64: fpsimd: Delay freeing memory in fpsimd_flush_thread() (Sebastian Andrzej Siewior) - KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable() (Josh Cartwright) - genirq: update irq_set_irqchip_state documentation (Josh Cartwright) - ARM: enable irq in translation/section permission fault handlers (Yadi.hu) - tty/serial/pl011: Make the locking work on RT (Thomas Gleixner) - tty/serial/omap: Make the locking RT aware (Thomas Gleixner) - leds: trigger: disable CPU trigger on -RT (Sebastian Andrzej Siewior) - jump-label: disable if stop_machine() is used (Thomas Gleixner) - arch/arm64: Add lazy preempt support (Anders Roxell) - arm: Add support for lazy preemption (Thomas Gleixner) - x86: Support for lazy preemption (Thomas Gleixner) - x86/entry: Use should_resched() in idtentry_exit_cond_resched() (Sebastian Andrzej Siewior) - sched: Add support for lazy preemption (Thomas Gleixner) - mm/scatterlist: Do not disable irqs on RT (Thomas Gleixner) - x86: Allow to enable RT (Sebastian Andrzej Siewior) - cpuset: Convert callback_lock to raw_spinlock_t (Mike Galbraith) - drm/i915/gt: Only disable interrupts for the timeline lock on !force-threaded (Sebastian Andrzej Siewior) - drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE (Sebastian Andrzej Siewior) - drm/i915: disable tracing on -RT (Sebastian Andrzej Siewior) - drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates (Mike Galbraith) - drm,radeon,i915: Use preempt_disable/enable_rt() where recommended (Mike Galbraith) - lockdep: disable self-test (Sebastian Andrzej Siewior) - lockdep: selftest: fix warnings due to missing PREEMPT_RT conditionals (Josh Cartwright) - lockdep: selftest: Only do hardirq context test for raw spinlock (Yong Zhang) - lockdep: Make it RT aware (Thomas Gleixner) - net: Remove preemption disabling in netif_rx() (Priyanka Jain) - random: Make it work on rt (Thomas Gleixner) - x86: stackprotector: Avoid random pool on rt (Thomas Gleixner) - panic: skip get_random_bytes for RT_FULL in init_oops_id (Thomas Gleixner) - crypto: cryptd - add a lock instead preempt_disable/local_bh_disable (Sebastian Andrzej Siewior) - crypto: limit more FPU-enabled sections (Sebastian Andrzej Siewior) - irqwork: push most work into softirq context (Sebastian Andrzej Siewior) - net: dev: always take qdisc's busylock in __dev_xmit_skb() (Sebastian Andrzej Siewior) - net: Dequeue in dev_cpu_dead() without the lock (Sebastian Andrzej Siewior) - net: Use skbufhead with raw lock (Thomas Gleixner) - debugobjects: Make RT aware (Thomas Gleixner) - fs: namespace: Use cpu_chill() in trylock loops (Thomas Gleixner) - rt: Introduce cpu_chill() (Thomas Gleixner) - sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light() (Mike Galbraith) - scsi/fcoe: Make RT aware. (Thomas Gleixner) - md: raid5: Make raid5_percpu handling RT aware (Thomas Gleixner) - block/mq: do not invoke preempt_disable() (Sebastian Andrzej Siewior) - mm/vmalloc: Another preempt disable region which sucks (Thomas Gleixner) - rcutorture: Avoid problematic critical section nesting on RT (Scott Wood) - locking: Make spinlock_t and rwlock_t a RCU section on RT (Sebastian Andrzej Siewior) - rcu: Delay RCU-selftests (Sebastian Andrzej Siewior) - ptrace: fix ptrace_unfreeze_traced() race with rt-lock (Oleg Nesterov) - ptrace: fix ptrace vs tasklist_lock race (Sebastian Andrzej Siewior) - pid.h: include atomic.h (Grygorii Strashko) - net/core: use local_bh_disable() in netif_rx_ni() (Sebastian Andrzej Siewior) - softirq: Disable softirq stacks for RT (Thomas Gleixner) - softirq: Check preemption after reenabling interrupts (Thomas Gleixner) - sched: Disable TTWU_QUEUE on RT (Thomas Gleixner) - sched: Do not account rcu_preempt_depth on RT in might_sleep() (Thomas Gleixner) - kernel/sched: move stack + kprobe clean up to __put_task_struct() (Sebastian Andrzej Siewior) - sched: Move mmdrop to RCU on RT (Thomas Gleixner) - sched: Limit the number of task migrations per batch (Thomas Gleixner) - wait.h: include atomic.h (Sebastian Andrzej Siewior) - x86: kvm Require const tsc for RT (Thomas Gleixner) - mm/zsmalloc: copy with get_cpu_var() and locking (Mike Galbraith) - mm/memcontrol: Replace local_irq_disable with local locks (Sebastian Andrzej Siewior) - mm/memcontrol: Don't call schedule_work_on in preemption disabled context (Yang Shi) - mm: memcontrol: Provide a local_lock for per-CPU memcg_stock (Sebastian Andrzej Siewior) - mm: slub: Don't enable partial CPU caches on PREEMPT_RT by default (Sebastian Andrzej Siewior) - mm: page_alloc: Use a local_lock instead of explicit local_irq_save(). (Ingo Molnar) - mm: page_alloc: Use migrate_disable() in drain_local_pages_wq() (Sebastian Andrzej Siewior) - mm: slub: Don't resize the location tracking cache on PREEMPT_RT (Sebastian Andrzej Siewior) - mm: slub: Move flush_cpu_slab() invocations __free_slab() invocations out of IRQ context (Sebastian Andrzej Siewior) - mm: slub: Move discard_slab() invocations out of IRQ-off sections (Sebastian Andrzej Siewior) - mm: slub: Enable irqs for __GFP_WAIT (Thomas Gleixner) - mm: slub: Make object_map_lock a raw_spinlock_t (Sebastian Andrzej Siewior) - mm: sl[au]b: Change list_lock to raw_spinlock_t (Thomas Gleixner) - locking: don't check for __LINUX_SPINLOCK_TYPES_H on -RT archs (Sebastian Andrzej Siewior) - trace: Add migrate-disabled counter to tracing output (Thomas Gleixner) - kernel/sched: add {put|get}_cpu_light() (Sebastian Andrzej Siewior) - signal/x86: Delay calling signals in atomic (Oleg Nesterov) - rt: Add local irq locks (Thomas Gleixner) - efi: Allow efi=runtime (Sebastian Andrzej Siewior) - efi: Disable runtime services on RT (Sebastian Andrzej Siewior) - net/core: disable NET_RX_BUSY_POLL on RT (Sebastian Andrzej Siewior) - sched: Disable CONFIG_RT_GROUP_SCHED on RT (Thomas Gleixner) - mm: Allow only SLUB on RT (Ingo Molnar) - kconfig: Disable config options which are not RT compatible (Thomas Gleixner) - net: Properly annotate the try-lock for the seqlock (Sebastian Andrzej Siewior) - net/Qdisc: use a seqlock instead seqcount (Sebastian Andrzej Siewior) - fs/dcache: disable preemption on i_dir_seq's write side (Sebastian Andrzej Siewior) - fs/dcache: use swait_queue instead of waitqueue (Sebastian Andrzej Siewior) - u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates (Sebastian Andrzej Siewior) - mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state() (Sebastian Andrzej Siewior) - mm/vmstat: Protect per cpu variables with preempt disable on RT (Ingo Molnar) - preempt: Provide preempt_*_(no)rt variants (Thomas Gleixner) - signal: Revert ptrace preempt magic (Thomas Gleixner) - locking/rtmutex: Use custom scheduling function for spin-schedule() (Sebastian Andrzej Siewior) - locking/rtmutex: add ww_mutex addon for mutex-rt (Sebastian Andrzej Siewior) - locking/rtmutex: wire up RT's locking (Thomas Gleixner) - locking/rtmutex: add rwlock implementation based on rtmutex (Thomas Gleixner) - locking/rtmutex: add rwsem implementation based on rtmutex (Thomas Gleixner) - locking/rtmutex: add mutex implementation based on rtmutex (Thomas Gleixner) - locking/rtmutex: Allow rt_mutex_trylock() on PREEMPT_RT (Sebastian Andrzej Siewior) - locking/rtmutex: add sleeping lock implementation (Thomas Gleixner) - sched: Add saved_state for tasks blocked on sleeping locks (Thomas Gleixner) - locking/rtmutex: export lockdep-less version of rt_mutex's lock, trylock and unlock (Thomas Gleixner) - locking/rtmutex: Provide rt_mutex_slowlock_locked() (Thomas Gleixner) - locking: split out the rbtree definition (Sebastian Andrzej Siewior) - lockdep: Reduce header files in debug_locks.h (Sebastian Andrzej Siewior) - locking/rtmutex: Avoid include hell (Thomas Gleixner) - locking/spinlock: Split the lock types header (Thomas Gleixner) - futex: Fix bug on when a requeued RT task times out (Steven Rostedt) - locking/rtmutex: Handle the various new futex race conditions (Thomas Gleixner) - tasklets: Switch tasklet_disable() to the sleep wait variant (Thomas Gleixner) - tasklets: Use spin wait in tasklet_disable() temporarily (Thomas Gleixner) - smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq(). (Sebastian Andrzej Siewior) - tcp: Remove superfluous BH-disable around listening_hash (Sebastian Andrzej Siewior) - net: Move lockdep where it belongs (Thomas Gleixner) - shmem: Use raw_spinlock_t for ->stat_lock (Sebastian Andrzej Siewior) - mm: workingset: replace IRQ-off check with a lockdep assert. (Sebastian Andrzej Siewior) - cgroup: use irqsave in cgroup_rstat_flush_locked() (Sebastian Andrzej Siewior) - printk: add pr_flush() (John Ogness) - printk: add console handover (John Ogness) - printk: remove deferred printing (John Ogness) - printk: move console printing to kthreads (John Ogness) - printk: introduce kernel sync mode (John Ogness) - printk: use seqcount_latch for console_seq (John Ogness) - printk: combine boot_delay_msec() into printk_delay() (John Ogness) - printk: relocate printk_delay() and vprintk_default() (John Ogness) - serial: 8250: implement write_atomic (John Ogness) - kdb: only use atomic consoles for output mirroring (John Ogness) - console: add write_atomic interface (John Ogness) - printk: convert @syslog_lock to spin_lock (John Ogness) - printk: remove safe buffers (John Ogness) - printk: track/limit recursion (John Ogness) - notifier: Make atomic_notifiers use raw_spinlock (Valentin Schneider) - genirq: Move prio assignment into the newly created thread (Thomas Gleixner) - kthread: Move prio/affinite change into the newly created thread (Sebastian Andrzej Siewior) - timers: Move clearing of base::timer_running under base::lock (Thomas Gleixner) - highmem: Don't disable preemption on RT in kmap_atomic() (Sebastian Andrzej Siewior) Resolves: rhbz#1891873, rhbz#1977862 --- Makefile.rhelver | 2 +- kernel-rt-x86_64-debug-rhel.config | 8 ++++---- kernel.spec | 13 +++++++------ sources | 6 +++--- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Makefile.rhelver b/Makefile.rhelver index 5bb0e7a..f4c7c43 100644 --- a/Makefile.rhelver +++ b/Makefile.rhelver @@ -44,4 +44,4 @@ ifneq ("$(ZSTREAM)", "yes") endif endif -RTBUILD:=.1 +RTBUILD:=.2 diff --git a/kernel-rt-x86_64-debug-rhel.config b/kernel-rt-x86_64-debug-rhel.config index 522492a..956a63a 100644 --- a/kernel-rt-x86_64-debug-rhel.config +++ b/kernel-rt-x86_64-debug-rhel.config @@ -2772,12 +2772,12 @@ CONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_BASE_RELATIVE=y CONFIG_KALLSYMS=y CONFIG_KARMA_PARTITION=y -CONFIG_KASAN_GENERIC=y -CONFIG_KASAN_INLINE=y +# CONFIG_KASAN_GENERIC is not set +# CONFIG_KASAN_INLINE is not set +# CONFIG_KASAN is not set # CONFIG_KASAN_MODULE_TEST is not set # CONFIG_KASAN_OUTLINE is not set -CONFIG_KASAN_VMALLOC=y -CONFIG_KASAN=y +# CONFIG_KASAN_VMALLOC is not set # CONFIG_KCOV is not set # CONFIG_KCSAN is not set CONFIG_KDB_CONTINUE_CATASTROPHIC=0 diff --git a/kernel.spec b/kernel.spec index 062c201..43d566d 100755 --- a/kernel.spec +++ b/kernel.spec @@ -117,13 +117,13 @@ Summary: The Linux kernel %define kversion 5.13 %define rpmversion 5.13.0 -%define pkgrelease 1.rt3.1 +%define pkgrelease 1.rt3.2 # This is needed to do merge window version magic %define patchlevel 13 # allow pkg_release to have configurable %%{?dist} tag -%define specrelease 1.rt3.1%{?buildid}%{?dist} +%define specrelease 1.rt3.2%{?buildid}%{?dist} %define pkg_release %{specrelease} @@ -670,7 +670,7 @@ BuildRequires: clang # exact git commit you can run # # xzcat -qq ${TARBALL} | git get-tar-commit-id -Source0: linux-5.13.0-1.rt3.1.tar.xz +Source0: linux-5.13.0-1.rt3.2.tar.xz Source1: Makefile.rhelver @@ -1384,8 +1384,8 @@ ApplyOptionalPatch() fi } -%setup -q -n kernel-5.13.0-1.rt3.1 -c -mv linux-5.13.0-1.rt3.1 linux-%{KVERREL} +%setup -q -n kernel-5.13.0-1.rt3.2 -c +mv linux-5.13.0-1.rt3.2 linux-%{KVERREL} cd linux-%{KVERREL} cp -a %{SOURCE1} . @@ -3013,8 +3013,9 @@ fi # # %changelog -* Thu Jul 08 2021 Juri Lelli [5.13.0-1.rt3.1] +* Tue Jul 13 2021 Andrew Halaney [5.13.0-1.rt3.2] - b5dcc29e819c rebase +- config: disable KASAN for kernel-rt-debug kernels (Luis Claudio R. Goncalves) [1977862] - Revert "eventfd: track eventfd_signal() recursion depth" (Juri Lelli) - Revert "aio: prevent potential eventfd recursion on poll" (Juri Lelli) - redhat: Add realtime-setup dependecy for kernel-rt metapackage (Juri Lelli) [1937013] diff --git a/sources b/sources index 3c1be12..b0f767f 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (linux-5.13.0-1.rt3.1.tar.xz) = c4bec769a3d8464b14d5b870ce73267cf42aa8a7db94e3ffea6ba1f6aff4dc34be74d60414a657850646f039860b77c976b0a15cab74e835bf950b8c35964dd4 -SHA512 (kernel-abi-whitelists-5.13.0-1.tar.bz2) = e9655d6a817d28cfaca6a60db5616570a49740b4771dc54a264513afb55ef8cf3141277eae8ab2c01841d32f7329445b970089925ef4007db6785e20c08140b9 -SHA512 (kernel-kabi-dw-5.13.0-1.tar.bz2) = f84faa0530dafbbb41d61aca1fee3798aa17b653fa32bfe416ca1eebfd1db80d83d4c7a14ad3dd216016fc3b965461aead97bf6e613c7c7d2276fddfcb2a1178 +SHA512 (linux-5.13.0-1.rt3.2.tar.xz) = e72edf40806928c44721c768bcc7ac2b45f0e5045771209ddfd00893f8f29ce57b1870dcf17085bc6bb2d836be8ada9f599b8aeaa73ecc1c64b7a57f8dea62d8 +SHA512 (kernel-abi-whitelists-5.13.0-1.tar.bz2) = ceba454e1f590c1e4ef4115a75463ae3ac2c2aa7ec85fa14a2669d666c421483a38225ee19d7d72b4ac7032375741408b23543e43588538c80161ec0cf57051c +SHA512 (kernel-kabi-dw-5.13.0-1.tar.bz2) = 884da395db74aea496a24099338703335c4914c91cee2e6861216ce9d9a2e2a4456a3ec8a20d7595e20ea11c7ba8a279768b36b7e942636b38b50554a7826515