Skip to content

Commit 99f39d2

Browse files
committed
Rebuild rocky8_10-rt with kernel-rt-4.18.0-553.22.1.rt7.363.el8_10
Rebuild_History BUILDABLE Rebuilding Kernel from rpm changelog with Fuzz Limit: 87.50% Number of commits in upstream range v4.18~1..kernel-mainline: 540031 Number of commits in rpm: 290 Number of commits matched with upstream: 275 (94.83%) Number of commits in upstream but not in rpm: 539756 Number of commits NOT found in upstream: 15 (5.17%) Rebuilding Kernel on Branch rocky8_10-rt_rebuild_kernel-rt-4.18.0-553.22.1.rt7.363.el8_10 for kernel-rt-4.18.0-553.22.1.rt7.363.el8_10 Clean Cherry Picks: 199 (72.36%) Empty Cherry Picks: 76 (27.64%) _______________________________ Full Details Located here: ciq/ciq_backports/kernel-rt-4.18.0-553.22.1.rt7.363.el8_10/rebuild.details.txt Includes: * git commit header above * Empty Commits with upstream SHA * RPM ChangeLog Entries that could not be matched Individual Empty Commit failures contained in the same containing directory. The git message for empty commits will have the path for the failed commit. File names are the first 8 characters of the upstream SHA
1 parent 6042ceb commit 99f39d2

File tree

157 files changed

+1923
-911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1923
-911
lines changed

Documentation/admin-guide/device-mapper/dm-crypt.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,17 @@ iv_large_sectors
155155
The <iv_offset> must be multiple of <sector_size> (in 512 bytes units)
156156
if this flag is specified.
157157

158+
159+
Module parameters::
160+
max_read_size
161+
max_write_size
162+
Maximum size of read or write requests. When a request larger than this size
163+
is received, dm-crypt will split the request. The splitting improves
164+
concurrency (the split requests could be encrypted in parallel by multiple
165+
cores), but it also causes overhead. The user should tune these parameters to
166+
fit the actual workload.
167+
168+
158169
Example scripts
159170
===============
160171
LUKS (Linux Unified Key Setup) is now the preferred way to set up disk

Documentation/media/kapi/cec-core.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ your driver:
105105
int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable);
106106
int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable);
107107
int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
108+
void (*adap_configured)(struct cec_adapter *adap, bool configured);
108109
int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,
109110
u32 signal_free_time, struct cec_msg *msg);
110111
void (*adap_status)(struct cec_adapter *adap, struct seq_file *file);
@@ -113,7 +114,7 @@ your driver:
113114
/* Error injection callbacks */
114115
...
115116
116-
/* High-level callbacks */
117+
/* High-level callback */
117118
...
118119
};
119120
@@ -175,7 +176,17 @@ can receive directed messages to that address.
175176
Note that adap_log_addr must return 0 if logical_addr is CEC_LOG_ADDR_INVALID.
176177

177178

178-
To transmit a new message:
179+
Called when the adapter is fully configured or unconfigured::
180+
181+
void (*adap_configured)(struct cec_adapter *adap, bool configured);
182+
183+
If configured == true, then the adapter is fully configured, i.e. all logical
184+
addresses have been successfully claimed. If configured == false, then the
185+
adapter is unconfigured. If the driver has to take specific actions after
186+
(un)configuration, then that can be done through this optional callback.
187+
188+
189+
To transmit a new message::
179190

180191
.. c:function::
181192
int (*adap_transmit)(struct cec_adapter *adap, u8 attempts,

Makefile.rhelver

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RHEL_MINOR = 10
1212
#
1313
# Use this spot to avoid future merge conflicts.
1414
# Do not trim this comment.
15-
RHEL_RELEASE = 553.16.1
15+
RHEL_RELEASE = 553.22.1
1616

1717
#
1818
# ZSTREAM
@@ -67,4 +67,4 @@ ifneq ("$(ZSTREAM)", "yes")
6767
endif
6868

6969
# Realtime build number
70-
RTBUILD:=.357
70+
RTBUILD:=.363

arch/arm64/kvm/vgic/vgic-init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static void kvm_vgic_dist_destroy(struct kvm *kvm)
352352

353353
if (dist->vgic_model == KVM_DEV_TYPE_ARM_VGIC_V3) {
354354
list_for_each_entry_safe(rdreg, next, &dist->rd_regions, list)
355-
vgic_v3_free_redist_region(rdreg);
355+
vgic_v3_free_redist_region(kvm, rdreg);
356356
INIT_LIST_HEAD(&dist->rd_regions);
357357
} else {
358358
dist->vgic_cpu_base = VGIC_ADDR_UNDEF;

arch/arm64/kvm/vgic/vgic-mmio-v3.c

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,17 @@ static int vgic_v3_alloc_redist_region(struct kvm *kvm, uint32_t index,
833833
return ret;
834834
}
835835

836-
void vgic_v3_free_redist_region(struct vgic_redist_region *rdreg)
836+
void vgic_v3_free_redist_region(struct kvm *kvm, struct vgic_redist_region *rdreg)
837837
{
838+
struct kvm_vcpu *vcpu;
839+
unsigned long c;
840+
841+
/* Garbage collect the region */
842+
kvm_for_each_vcpu(c, vcpu, kvm) {
843+
if (vcpu->arch.vgic_cpu.rdreg == rdreg)
844+
vcpu->arch.vgic_cpu.rdreg = NULL;
845+
}
846+
838847
list_del(&rdreg->list);
839848
kfree(rdreg);
840849
}
@@ -856,7 +865,7 @@ int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count)
856865
struct vgic_redist_region *rdreg;
857866

858867
rdreg = vgic_v3_rdist_region_from_index(kvm, index);
859-
vgic_v3_free_redist_region(rdreg);
868+
vgic_v3_free_redist_region(kvm, rdreg);
860869
return ret;
861870
}
862871

arch/arm64/kvm/vgic/vgic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg)
305305

306306
struct vgic_redist_region *vgic_v3_rdist_region_from_index(struct kvm *kvm,
307307
u32 index);
308-
void vgic_v3_free_redist_region(struct vgic_redist_region *rdreg);
308+
void vgic_v3_free_redist_region(struct kvm *kvm, struct vgic_redist_region *rdreg);
309309

310310
bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size);
311311

arch/x86/entry/entry_64_compat.S

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ SYM_FUNC_START(entry_SYSENTER_compat)
108108
xorl %r15d, %r15d /* nospec r15 */
109109
cld
110110

111-
IBRS_ENTER
112-
UNTRAIN_RET
113-
CLEAR_BRANCH_HISTORY
114-
115111
/*
116112
* SYSENTER doesn't filter flags, so we need to clear NT and AC
117113
* ourselves. To save a few cycles, we can check whether
@@ -135,6 +131,16 @@ SYM_FUNC_START(entry_SYSENTER_compat)
135131
jnz .Lsysenter_fix_flags
136132
.Lsysenter_flags_fixed:
137133

134+
/*
135+
* CPU bugs mitigations mechanisms can call other functions. They
136+
* should be invoked after making sure TF is cleared because
137+
* single-step is ignored only for instructions inside the
138+
* entry_SYSENTER_compat function.
139+
*/
140+
IBRS_ENTER
141+
UNTRAIN_RET
142+
CLEAR_BRANCH_HISTORY
143+
138144
/*
139145
* User mode is traced as though IRQs are on, and SYSENTER
140146
* turned them off.

arch/x86/kernel/cpu/common.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ void __init setup_cpu_local_masks(void)
104104
static const bool cpu_in_retbleed_whitelist(struct cpuinfo_x86 *c)
105105
{
106106
static const bool retbleed_whitelist[] = {
107+
[INTEL_FAM6_CORE_YONAH] = true,
108+
[INTEL_FAM6_CORE2_MEROM] = true,
109+
[INTEL_FAM6_CORE2_MEROM_L] = true,
110+
[INTEL_FAM6_CORE2_PENRYN] = true,
111+
[INTEL_FAM6_CORE2_DUNNINGTON] = true,
112+
[INTEL_FAM6_NEHALEM] = true,
113+
[INTEL_FAM6_NEHALEM_G] = true,
114+
[INTEL_FAM6_NEHALEM_EP] = true,
115+
[INTEL_FAM6_NEHALEM_EX] = true,
107116
[INTEL_FAM6_WESTMERE] = true,
108117
[INTEL_FAM6_WESTMERE_EP] = true,
109118
[INTEL_FAM6_WESTMERE_EX] = true,

block/bfq-iosched.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,9 +2329,8 @@ static void bfq_remove_request(struct request_queue *q,
23292329

23302330
}
23312331

2332-
static bool bfq_bio_merge(struct blk_mq_hw_ctx *hctx, struct bio *bio)
2332+
static bool bfq_bio_merge(struct request_queue *q, struct bio *bio)
23332333
{
2334-
struct request_queue *q = hctx->queue;
23352334
struct bfq_data *bfqd = q->elevator->elevator_data;
23362335
struct request *free = NULL;
23372336
/*
@@ -7292,7 +7291,7 @@ static struct elevator_type iosched_bfq_mq = {
72927291
.next_request = elv_rb_latter_request,
72937292
.former_request = elv_rb_former_request,
72947293
.allow_merge = bfq_allow_bio_merge,
7295-
.bio_merge = bfq_bio_merge,
7294+
.bio_merge2 = bfq_bio_merge,
72967295
.request_merge = bfq_request_merge,
72977296
.requests_merged = bfq_requests_merged,
72987297
.request_merged = bfq_request_merged,

block/bio.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,11 +1912,11 @@ void update_io_ticks(struct hd_struct *part, unsigned long now, bool end)
19121912
unsigned long stamp;
19131913
again:
19141914
stamp = READ_ONCE(part->stamp);
1915-
if (unlikely(time_after(now, stamp))) {
1916-
if (likely(cmpxchg(&part->stamp, stamp, now) == stamp)) {
1917-
__part_stat_add(part, io_ticks, end ? now - stamp : 1);
1918-
}
1919-
}
1915+
if (unlikely(time_after(now, stamp)) &&
1916+
likely(cmpxchg(&part->stamp, stamp, now) == stamp) &&
1917+
(end || part_in_flight(part)))
1918+
__part_stat_add(part, io_ticks, now - stamp);
1919+
19201920
if (part->partno) {
19211921
part = &part_to_disk(part)->part0;
19221922
goto again;
@@ -2002,7 +2002,7 @@ void bio_endio(struct bio *bio)
20022002
if (!bio_integrity_endio(bio))
20032003
return;
20042004

2005-
if (bio->bi_disk)
2005+
if (bio->bi_disk && bio_flagged(bio, BIO_TRACKED))
20062006
rq_qos_done_bio(bio->bi_disk->queue, bio);
20072007

20082008
if (bio->bi_disk && bio_flagged(bio, BIO_TRACE_COMPLETION)) {

0 commit comments

Comments
 (0)