Skip to content

Commit ac45987

Browse files
committed
Rebuild rocky9_5 with kernel-5.14.0-503.16.1.el9_5
Rebuild_History BUILDABLE Rebuilding Kernel from rpm changelog with Fuzz Limit: 87.50% Number of commits in upstream range v5.14~1..master: 244733 Number of commits in rpm: 23 Number of commits matched with upstream: 12 (52.17%) Number of commits in upstream but not in rpm: 244721 Number of commits NOT found in upstream: 11 (47.83%) Rebuilding Kernel on Branch rocky9_5_rebuild_kernel-5.14.0-503.16.1.el9_5 for kernel-5.14.0-503.16.1.el9_5 Clean Cherry Picks: 11 (91.67%) Empty Cherry Picks: 1 (8.33%) _______________________________ Full Details Located here: ciq/ciq_backports/kernel-5.14.0-503.16.1.el9_5/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 f7c3601 commit ac45987

File tree

18 files changed

+538
-85
lines changed

18 files changed

+538
-85
lines changed
File renamed without changes.

Documentation/networking/device_drivers/ethernet/amazon/ena.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ per-queue stats) from the device.
230230

231231
In addition the driver logs the stats to syslog upon device reset.
232232

233+
On supported instance types, the statistics will also include the
234+
ENA Express data (fields prefixed with `ena_srd`). For a complete
235+
documentation of ENA Express data refer to
236+
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-express.html#ena-express-monitor
237+
233238
MTU
234239
===
235240

Makefile.rhelver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RHEL_MINOR = 5
1212
#
1313
# Use this spot to avoid future merge conflicts.
1414
# Do not trim this comment.
15-
RHEL_RELEASE = 503.15.1
15+
RHEL_RELEASE = 503.16.1
1616

1717
#
1818
# ZSTREAM
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Rebuild_History BUILDABLE
2+
Rebuilding Kernel from rpm changelog with Fuzz Limit: 87.50%
3+
Number of commits in upstream range v5.14~1..master: 244733
4+
Number of commits in rpm: 23
5+
Number of commits matched with upstream: 12 (52.17%)
6+
Number of commits in upstream but not in rpm: 244721
7+
Number of commits NOT found in upstream: 11 (47.83%)
8+
9+
Rebuilding Kernel on Branch rocky9_5_rebuild_kernel-5.14.0-503.16.1.el9_5 for kernel-5.14.0-503.16.1.el9_5
10+
Clean Cherry Picks: 11 (91.67%)
11+
Empty Cherry Picks: 1 (8.33%)
12+
_______________________________
13+
14+
__EMPTY COMMITS__________________________
15+
76a0e79bc84f466999fa501fce5bf7a07641b8a7 selinux,smack: don't bypass permissions check in inode_setsecctx hook
16+
17+
__CHANGES NOT IN UPSTREAM________________
18+
Porting to Rocky Linux 9, debranding and Rocky branding'
19+
Ensure aarch64 kernel is not compressed'
20+
gitlab-ci: use zstream builder container image
21+
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
22+
net: avoid potential underflow in qdisc_pkt_len_init() with UFO
23+
net: ena: Extend customer metrics reporting support
24+
net: ena: Add ENA Express metrics support
25+
xsk: fix batch alloc API on non-coherent systems
26+
mptcp: fallback when MPTCP opts are dropped after 1st data
27+
cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
28+
cpufreq/amd-pstate: Add the missing cpufreq_cpu_put()

drivers/cpufreq/amd-pstate.c

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,12 +559,15 @@ static void amd_pstate_update(struct amd_cpudata *cpudata, u32 min_perf,
559559
}
560560

561561
if (value == prev)
562-
return;
562+
goto cpufreq_policy_put;
563563

564564
WRITE_ONCE(cpudata->cppc_req_cached, value);
565565

566566
amd_pstate_update_perf(cpudata, min_perf, des_perf,
567567
max_perf, fast_switch);
568+
569+
cpufreq_policy_put:
570+
cpufreq_cpu_put(policy);
568571
}
569572

570573
static int amd_pstate_verify(struct cpufreq_policy_data *policy)
@@ -661,7 +664,12 @@ static void amd_pstate_adjust_perf(unsigned int cpu,
661664
unsigned long max_perf, min_perf, des_perf,
662665
cap_perf, lowest_nonlinear_perf;
663666
struct cpufreq_policy *policy = cpufreq_cpu_get(cpu);
664-
struct amd_cpudata *cpudata = policy->driver_data;
667+
struct amd_cpudata *cpudata;
668+
669+
if (!policy)
670+
return;
671+
672+
cpudata = policy->driver_data;
665673

666674
if (policy->min != cpudata->min_limit_freq || policy->max != cpudata->max_limit_freq)
667675
amd_pstate_update_min_max_limit(policy);
@@ -813,11 +821,16 @@ static void amd_pstate_init_prefcore(struct amd_cpudata *cpudata)
813821
static void amd_pstate_update_limits(unsigned int cpu)
814822
{
815823
struct cpufreq_policy *policy = cpufreq_cpu_get(cpu);
816-
struct amd_cpudata *cpudata = policy->driver_data;
824+
struct amd_cpudata *cpudata;
817825
u32 prev_high = 0, cur_high = 0;
818826
int ret;
819827
bool highest_perf_changed = false;
820828

829+
if (!policy)
830+
return;
831+
832+
cpudata = policy->driver_data;
833+
821834
mutex_lock(&amd_pstate_driver_lock);
822835
if ((!amd_pstate_prefcore) || (!cpudata->hw_prefcore))
823836
goto free_cpufreq_put;

drivers/net/ethernet/amazon/ena/ena_admin_defs.h

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@
77

88
#define ENA_ADMIN_RSS_KEY_PARTS 10
99

10+
#define ENA_ADMIN_CUSTOMER_METRICS_SUPPORT_MASK 0x3F
11+
#define ENA_ADMIN_CUSTOMER_METRICS_MIN_SUPPORT_MASK 0x1F
12+
13+
/* customer metrics - in correlation with
14+
* ENA_ADMIN_CUSTOMER_METRICS_SUPPORT_MASK
15+
*/
16+
enum ena_admin_customer_metrics_id {
17+
ENA_ADMIN_BW_IN_ALLOWANCE_EXCEEDED = 0,
18+
ENA_ADMIN_BW_OUT_ALLOWANCE_EXCEEDED = 1,
19+
ENA_ADMIN_PPS_ALLOWANCE_EXCEEDED = 2,
20+
ENA_ADMIN_CONNTRACK_ALLOWANCE_EXCEEDED = 3,
21+
ENA_ADMIN_LINKLOCAL_ALLOWANCE_EXCEEDED = 4,
22+
ENA_ADMIN_CONNTRACK_ALLOWANCE_AVAILABLE = 5,
23+
};
24+
1025
enum ena_admin_aq_opcode {
1126
ENA_ADMIN_CREATE_SQ = 1,
1227
ENA_ADMIN_DESTROY_SQ = 2,
@@ -51,6 +66,9 @@ enum ena_admin_aq_feature_id {
5166
/* device capabilities */
5267
enum ena_admin_aq_caps_id {
5368
ENA_ADMIN_ENI_STATS = 0,
69+
/* ENA SRD customer metrics */
70+
ENA_ADMIN_ENA_SRD_INFO = 1,
71+
ENA_ADMIN_CUSTOMER_METRICS = 2,
5472
};
5573

5674
enum ena_admin_placement_policy_type {
@@ -99,13 +117,26 @@ enum ena_admin_get_stats_type {
99117
ENA_ADMIN_GET_STATS_TYPE_EXTENDED = 1,
100118
/* extra HW stats for specific network interface */
101119
ENA_ADMIN_GET_STATS_TYPE_ENI = 2,
120+
/* extra HW stats for ENA SRD */
121+
ENA_ADMIN_GET_STATS_TYPE_ENA_SRD = 3,
122+
ENA_ADMIN_GET_STATS_TYPE_CUSTOMER_METRICS = 4,
102123
};
103124

104125
enum ena_admin_get_stats_scope {
105126
ENA_ADMIN_SPECIFIC_QUEUE = 0,
106127
ENA_ADMIN_ETH_TRAFFIC = 1,
107128
};
108129

130+
/* ENA SRD configuration for ENI */
131+
enum ena_admin_ena_srd_flags {
132+
/* Feature enabled */
133+
ENA_ADMIN_ENA_SRD_ENABLED = BIT(0),
134+
/* UDP support enabled */
135+
ENA_ADMIN_ENA_SRD_UDP_ENABLED = BIT(1),
136+
/* Bypass Rx UDP ordering */
137+
ENA_ADMIN_ENA_SRD_UDP_ORDERING_BYPASS_ENABLED = BIT(2),
138+
};
139+
109140
struct ena_admin_aq_common_desc {
110141
/* 11:0 : command_id
111142
* 15:12 : reserved12
@@ -363,6 +394,9 @@ struct ena_admin_aq_get_stats_cmd {
363394
* stats of other device
364395
*/
365396
u16 device_id;
397+
398+
/* a bitmap representing the requested metric values */
399+
u64 requested_metrics;
366400
};
367401

368402
/* Basic Statistics Command. */
@@ -419,6 +453,40 @@ struct ena_admin_eni_stats {
419453
u64 linklocal_allowance_exceeded;
420454
};
421455

456+
struct ena_admin_ena_srd_stats {
457+
/* Number of packets transmitted over ENA SRD */
458+
u64 ena_srd_tx_pkts;
459+
460+
/* Number of packets transmitted or could have been
461+
* transmitted over ENA SRD
462+
*/
463+
u64 ena_srd_eligible_tx_pkts;
464+
465+
/* Number of packets received over ENA SRD */
466+
u64 ena_srd_rx_pkts;
467+
468+
/* Percentage of the ENA SRD resources that is in use */
469+
u64 ena_srd_resource_utilization;
470+
};
471+
472+
/* ENA SRD Statistics Command */
473+
struct ena_admin_ena_srd_info {
474+
/* ENA SRD configuration bitmap. See ena_admin_ena_srd_flags for
475+
* details
476+
*/
477+
u64 flags;
478+
479+
struct ena_admin_ena_srd_stats ena_srd_stats;
480+
};
481+
482+
/* Customer Metrics Command. */
483+
struct ena_admin_customer_metrics {
484+
/* A bitmap representing the reported customer metrics according to
485+
* the order they are reported
486+
*/
487+
u64 reported_metrics;
488+
};
489+
422490
struct ena_admin_acq_get_stats_resp {
423491
struct ena_admin_acq_common_desc acq_common_desc;
424492

@@ -428,6 +496,10 @@ struct ena_admin_acq_get_stats_resp {
428496
struct ena_admin_basic_stats basic_stats;
429497

430498
struct ena_admin_eni_stats eni_stats;
499+
500+
struct ena_admin_ena_srd_info ena_srd_info;
501+
502+
struct ena_admin_customer_metrics customer_metrics;
431503
} u;
432504
};
433505

0 commit comments

Comments
 (0)