public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev, Song Liu <songliubraving@fb.com>,
	Chao Peng <chao.p.peng@linux.intel.com>,
	Luwei Kang <luwei.kang@intel.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.19 115/196] perf/x86/intel/pt: Export pt_cap_get()
Date: Thu, 15 Aug 2024 15:23:52 +0200	[thread overview]
Message-ID: <20240815131856.478494786@linuxfoundation.org> (raw)
In-Reply-To: <20240815131852.063866671@linuxfoundation.org>

4.19-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Chao Peng <chao.p.peng@linux.intel.com>

[ Upstream commit f6d079ce867d679e4dffef5b3112c7634215fd88 ]

pt_cap_get() is required by the upcoming PT support in KVM guests.

Export it and move the capabilites enum to a global header.

As a global functions, "pt_*" is already used for ptrace and
other things, so it makes sense to use "intel_pt_*" as a prefix.

Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Chao Peng <chao.p.peng@linux.intel.com>
Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Stable-dep-of: ad97196379d0 ("perf/x86/intel/pt: Fix a topa_entry base address calculation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/x86/events/intel/pt.c      | 49 +++++++++++++++++----------------
 arch/x86/events/intel/pt.h      | 21 --------------
 arch/x86/include/asm/intel_pt.h | 23 ++++++++++++++++
 3 files changed, 49 insertions(+), 44 deletions(-)

diff --git a/arch/x86/events/intel/pt.c b/arch/x86/events/intel/pt.c
index 49b3ea1c1ea19..62ef4b68f04c6 100644
--- a/arch/x86/events/intel/pt.c
+++ b/arch/x86/events/intel/pt.c
@@ -75,7 +75,7 @@ static struct pt_cap_desc {
 	PT_CAP(psb_periods,		1, CPUID_EBX, 0xffff0000),
 };
 
-static u32 pt_cap_get(enum pt_capabilities cap)
+u32 intel_pt_validate_hw_cap(enum pt_capabilities cap)
 {
 	struct pt_cap_desc *cd = &pt_caps[cap];
 	u32 c = pt_pmu.caps[cd->leaf * PT_CPUID_REGS_NUM + cd->reg];
@@ -83,6 +83,7 @@ static u32 pt_cap_get(enum pt_capabilities cap)
 
 	return (c & cd->mask) >> shift;
 }
+EXPORT_SYMBOL_GPL(intel_pt_validate_hw_cap);
 
 static ssize_t pt_cap_show(struct device *cdev,
 			   struct device_attribute *attr,
@@ -92,7 +93,7 @@ static ssize_t pt_cap_show(struct device *cdev,
 		container_of(attr, struct dev_ext_attribute, attr);
 	enum pt_capabilities cap = (long)ea->var;
 
-	return snprintf(buf, PAGE_SIZE, "%x\n", pt_cap_get(cap));
+	return snprintf(buf, PAGE_SIZE, "%x\n", intel_pt_validate_hw_cap(cap));
 }
 
 static struct attribute_group pt_cap_group = {
@@ -310,16 +311,16 @@ static bool pt_event_valid(struct perf_event *event)
 		return false;
 
 	if (config & RTIT_CTL_CYC_PSB) {
-		if (!pt_cap_get(PT_CAP_psb_cyc))
+		if (!intel_pt_validate_hw_cap(PT_CAP_psb_cyc))
 			return false;
 
-		allowed = pt_cap_get(PT_CAP_psb_periods);
+		allowed = intel_pt_validate_hw_cap(PT_CAP_psb_periods);
 		requested = (config & RTIT_CTL_PSB_FREQ) >>
 			RTIT_CTL_PSB_FREQ_OFFSET;
 		if (requested && (!(allowed & BIT(requested))))
 			return false;
 
-		allowed = pt_cap_get(PT_CAP_cycle_thresholds);
+		allowed = intel_pt_validate_hw_cap(PT_CAP_cycle_thresholds);
 		requested = (config & RTIT_CTL_CYC_THRESH) >>
 			RTIT_CTL_CYC_THRESH_OFFSET;
 		if (requested && (!(allowed & BIT(requested))))
@@ -334,10 +335,10 @@ static bool pt_event_valid(struct perf_event *event)
 		 * Spec says that setting mtc period bits while mtc bit in
 		 * CPUID is 0 will #GP, so better safe than sorry.
 		 */
-		if (!pt_cap_get(PT_CAP_mtc))
+		if (!intel_pt_validate_hw_cap(PT_CAP_mtc))
 			return false;
 
-		allowed = pt_cap_get(PT_CAP_mtc_periods);
+		allowed = intel_pt_validate_hw_cap(PT_CAP_mtc_periods);
 		if (!allowed)
 			return false;
 
@@ -349,11 +350,11 @@ static bool pt_event_valid(struct perf_event *event)
 	}
 
 	if (config & RTIT_CTL_PWR_EVT_EN &&
-	    !pt_cap_get(PT_CAP_power_event_trace))
+	    !intel_pt_validate_hw_cap(PT_CAP_power_event_trace))
 		return false;
 
 	if (config & RTIT_CTL_PTW) {
-		if (!pt_cap_get(PT_CAP_ptwrite))
+		if (!intel_pt_validate_hw_cap(PT_CAP_ptwrite))
 			return false;
 
 		/* FUPonPTW without PTW doesn't make sense */
@@ -598,7 +599,7 @@ static struct topa *topa_alloc(int cpu, gfp_t gfp)
 	 * In case of singe-entry ToPA, always put the self-referencing END
 	 * link as the 2nd entry in the table
 	 */
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries)) {
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries)) {
 		TOPA_ENTRY(topa, 1)->base = topa->phys >> TOPA_SHIFT;
 		TOPA_ENTRY(topa, 1)->end = 1;
 	}
@@ -638,7 +639,7 @@ static void topa_insert_table(struct pt_buffer *buf, struct topa *topa)
 	topa->offset = last->offset + last->size;
 	buf->last = topa;
 
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries))
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries))
 		return;
 
 	BUG_ON(last->last != TENTS_PER_PAGE - 1);
@@ -654,7 +655,7 @@ static void topa_insert_table(struct pt_buffer *buf, struct topa *topa)
 static bool topa_table_full(struct topa *topa)
 {
 	/* single-entry ToPA is a special case */
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries))
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries))
 		return !!topa->last;
 
 	return topa->last == TENTS_PER_PAGE - 1;
@@ -690,7 +691,8 @@ static int topa_insert_pages(struct pt_buffer *buf, gfp_t gfp)
 
 	TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT;
 	TOPA_ENTRY(topa, -1)->size = order;
-	if (!buf->snapshot && !pt_cap_get(PT_CAP_topa_multiple_entries)) {
+	if (!buf->snapshot &&
+	    !intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries)) {
 		TOPA_ENTRY(topa, -1)->intr = 1;
 		TOPA_ENTRY(topa, -1)->stop = 1;
 	}
@@ -725,7 +727,7 @@ static void pt_topa_dump(struct pt_buffer *buf)
 				 topa->table[i].intr ? 'I' : ' ',
 				 topa->table[i].stop ? 'S' : ' ',
 				 *(u64 *)&topa->table[i]);
-			if ((pt_cap_get(PT_CAP_topa_multiple_entries) &&
+			if ((intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries) &&
 			     topa->table[i].stop) ||
 			    topa->table[i].end)
 				break;
@@ -828,7 +830,7 @@ static void pt_handle_status(struct pt *pt)
 		 * means we are already losing data; need to let the decoder
 		 * know.
 		 */
-		if (!pt_cap_get(PT_CAP_topa_multiple_entries) ||
+		if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries) ||
 		    buf->output_off == sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) {
 			perf_aux_output_flag(&pt->handle,
 			                     PERF_AUX_FLAG_TRUNCATED);
@@ -840,7 +842,8 @@ static void pt_handle_status(struct pt *pt)
 	 * Also on single-entry ToPA implementations, interrupt will come
 	 * before the output reaches its output region's boundary.
 	 */
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries) && !buf->snapshot &&
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries) &&
+	    !buf->snapshot &&
 	    pt_buffer_region_size(buf) - buf->output_off <= TOPA_PMI_MARGIN) {
 		void *head = pt_buffer_region(buf);
 
@@ -931,7 +934,7 @@ static int pt_buffer_reset_markers(struct pt_buffer *buf,
 
 
 	/* single entry ToPA is handled by marking all regions STOP=1 INT=1 */
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries))
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries))
 		return 0;
 
 	/* clear STOP and INT from current entry */
@@ -1082,7 +1085,7 @@ static int pt_buffer_init_topa(struct pt_buffer *buf, unsigned long nr_pages,
 	pt_buffer_setup_topa_index(buf);
 
 	/* link last table to the first one, unless we're double buffering */
-	if (pt_cap_get(PT_CAP_topa_multiple_entries)) {
+	if (intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries)) {
 		TOPA_ENTRY(buf->last, -1)->base = buf->first->phys >> TOPA_SHIFT;
 		TOPA_ENTRY(buf->last, -1)->end = 1;
 	}
@@ -1154,7 +1157,7 @@ static int pt_addr_filters_init(struct perf_event *event)
 	struct pt_filters *filters;
 	int node = event->cpu == -1 ? -1 : cpu_to_node(event->cpu);
 
-	if (!pt_cap_get(PT_CAP_num_address_ranges))
+	if (!intel_pt_validate_hw_cap(PT_CAP_num_address_ranges))
 		return 0;
 
 	filters = kzalloc_node(sizeof(struct pt_filters), GFP_KERNEL, node);
@@ -1203,7 +1206,7 @@ static int pt_event_addr_filters_validate(struct list_head *filters)
 				return -EINVAL;
 		}
 
-		if (++range > pt_cap_get(PT_CAP_num_address_ranges))
+		if (++range > intel_pt_validate_hw_cap(PT_CAP_num_address_ranges))
 			return -EOPNOTSUPP;
 	}
 
@@ -1509,12 +1512,12 @@ static __init int pt_init(void)
 	if (ret)
 		return ret;
 
-	if (!pt_cap_get(PT_CAP_topa_output)) {
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_output)) {
 		pr_warn("ToPA output is not supported on this CPU\n");
 		return -ENODEV;
 	}
 
-	if (!pt_cap_get(PT_CAP_topa_multiple_entries))
+	if (!intel_pt_validate_hw_cap(PT_CAP_topa_multiple_entries))
 		pt_pmu.pmu.capabilities =
 			PERF_PMU_CAP_AUX_NO_SG | PERF_PMU_CAP_AUX_SW_DOUBLEBUF;
 
@@ -1532,7 +1535,7 @@ static __init int pt_init(void)
 	pt_pmu.pmu.addr_filters_sync     = pt_event_addr_filters_sync;
 	pt_pmu.pmu.addr_filters_validate = pt_event_addr_filters_validate;
 	pt_pmu.pmu.nr_addr_filters       =
-		pt_cap_get(PT_CAP_num_address_ranges);
+		intel_pt_validate_hw_cap(PT_CAP_num_address_ranges);
 
 	ret = perf_pmu_register(&pt_pmu.pmu, "intel_pt", -1);
 
diff --git a/arch/x86/events/intel/pt.h b/arch/x86/events/intel/pt.h
index df6ecf702a3cd..ad4ac27f04688 100644
--- a/arch/x86/events/intel/pt.h
+++ b/arch/x86/events/intel/pt.h
@@ -82,30 +82,9 @@ struct topa_entry {
 	u64	rsvd4	: 12;
 };
 
-#define PT_CPUID_LEAVES		2
-#define PT_CPUID_REGS_NUM	4 /* number of regsters (eax, ebx, ecx, edx) */
-
 /* TSC to Core Crystal Clock Ratio */
 #define CPUID_TSC_LEAF		0x15
 
-enum pt_capabilities {
-	PT_CAP_max_subleaf = 0,
-	PT_CAP_cr3_filtering,
-	PT_CAP_psb_cyc,
-	PT_CAP_ip_filtering,
-	PT_CAP_mtc,
-	PT_CAP_ptwrite,
-	PT_CAP_power_event_trace,
-	PT_CAP_topa_output,
-	PT_CAP_topa_multiple_entries,
-	PT_CAP_single_range_output,
-	PT_CAP_payloads_lip,
-	PT_CAP_num_address_ranges,
-	PT_CAP_mtc_periods,
-	PT_CAP_cycle_thresholds,
-	PT_CAP_psb_periods,
-};
-
 struct pt_pmu {
 	struct pmu		pmu;
 	u32			caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES];
diff --git a/arch/x86/include/asm/intel_pt.h b/arch/x86/include/asm/intel_pt.h
index b523f51c5400d..fa4b4fd2dbedd 100644
--- a/arch/x86/include/asm/intel_pt.h
+++ b/arch/x86/include/asm/intel_pt.h
@@ -2,10 +2,33 @@
 #ifndef _ASM_X86_INTEL_PT_H
 #define _ASM_X86_INTEL_PT_H
 
+#define PT_CPUID_LEAVES		2
+#define PT_CPUID_REGS_NUM	4 /* number of regsters (eax, ebx, ecx, edx) */
+
+enum pt_capabilities {
+	PT_CAP_max_subleaf = 0,
+	PT_CAP_cr3_filtering,
+	PT_CAP_psb_cyc,
+	PT_CAP_ip_filtering,
+	PT_CAP_mtc,
+	PT_CAP_ptwrite,
+	PT_CAP_power_event_trace,
+	PT_CAP_topa_output,
+	PT_CAP_topa_multiple_entries,
+	PT_CAP_single_range_output,
+	PT_CAP_payloads_lip,
+	PT_CAP_num_address_ranges,
+	PT_CAP_mtc_periods,
+	PT_CAP_cycle_thresholds,
+	PT_CAP_psb_periods,
+};
+
 #if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL)
 void cpu_emergency_stop_pt(void);
+extern u32 intel_pt_validate_hw_cap(enum pt_capabilities cap);
 #else
 static inline void cpu_emergency_stop_pt(void) {}
+static inline u32 intel_pt_validate_hw_cap(enum pt_capabilities cap) { return 0; }
 #endif
 
 #endif /* _ASM_X86_INTEL_PT_H */
-- 
2.43.0




  parent reply	other threads:[~2024-08-15 13:35 UTC|newest]

Thread overview: 201+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 13:21 [PATCH 4.19 000/196] 4.19.320-rc1 review Greg Kroah-Hartman
2024-08-15 13:21 ` [PATCH 4.19 001/196] platform/chrome: cros_ec_debugfs: fix wrong EC message version Greg Kroah-Hartman
2024-08-15 13:21 ` [PATCH 4.19 002/196] hfsplus: fix to avoid false alarm of circular locking Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 003/196] x86/of: Return consistent error type from x86_of_pci_irq_enable() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 004/196] x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 005/196] x86/pci/xen: " Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 006/196] x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 007/196] hwmon: (adt7475) Fix default duty on fan is disabled Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 008/196] pwm: stm32: Always do lazy disabling Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 009/196] hwmon: (max6697) Fix underflow when writing limit attributes Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 010/196] hwmon: Introduce SENSOR_DEVICE_ATTR_{RO, RW, WO} and variants Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 011/196] hwmon: (max6697) Auto-convert to use SENSOR_DEVICE_ATTR_{RO, RW, WO} Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 012/196] hwmon: (max6697) Fix swapped temp{1,8} critical alarms Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 013/196] arm64: dts: rockchip: Increase VOP clk rate on RK3328 Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 014/196] m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 015/196] x86/xen: Convert comma to semicolon Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 016/196] m68k: cmpxchg: Fix return value for default case in __arch_xchg() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 017/196] wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 018/196] net/smc: Allow SMC-D 1MB DMB allocations Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 019/196] net/smc: set rmbs SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 020/196] selftests/bpf: Check length of recv in test_sockmap Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 021/196] wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 022/196] wifi: cfg80211: handle 2x996 RU allocation " Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 023/196] net: fec: Refactor: #define magic constants Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 024/196] net: fec: Fix FEC_ECR_EN1588 being cleared on link-down Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 025/196] ipvs: Avoid unnecessary calls to skb_is_gso_sctp Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 026/196] perf: Fix perf_aux_size() for greater-than 32-bit size Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 027/196] perf: Prevent passing zero nr_pages to rb_alloc_aux() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 028/196] bna: adjust name buf size of bna_tcb and bna_ccb structures Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 029/196] selftests: forwarding: devlink_lib: Wait for udev events after reloading Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 030/196] media: imon: Fix race getting ictx->lock Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 031/196] saa7134: Unchecked i2c_transfer function result fixed Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 032/196] media: uvcvideo: Allow entity-defined get_info and get_cur Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 033/196] media: uvcvideo: Override default flags Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 034/196] media: renesas: vsp1: Fix _irqsave and _irq mix Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 035/196] media: renesas: vsp1: Store RPF partition configuration per RPF instance Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 036/196] leds: trigger: Unregister sysfs attributes before calling deactivate() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 037/196] perf report: Fix condition in sort__sym_cmp() Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 038/196] drm/etnaviv: fix DMA direction handling for cached RW buffers Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 039/196] mfd: omap-usb-tll: Use struct_size to allocate tll Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 040/196] ext4: avoid writing unitialized memory to disk in EA inodes Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 041/196] sparc64: Fix incorrect function signature and add prototype for prom_cif_init Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 042/196] PCI: Equalize hotplug memory and io for occupied and empty slots Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 043/196] PCI: Fix resource double counting on remove & rescan Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 044/196] RDMA/mlx4: Fix truncated output warning in mad.c Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 045/196] RDMA/mlx4: Fix truncated output warning in alias_GUID.c Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 046/196] RDMA/rxe: Dont set BTH_ACK_MASK for UC or UD QPs Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 047/196] mtd: make mtd_test.c a separate module Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 048/196] Input: elan_i2c - do not leave interrupt disabled on suspend failure Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 049/196] MIPS: Octeron: remove source file executable bit Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 050/196] powerpc/xmon: Fix disassembly CPU feature checks Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 051/196] macintosh/therm_windtunnel: fix module unload Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 052/196] bnxt_re: Fix imm_data endianness Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 053/196] ice: Rework flex descriptor programming Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 054/196] netfilter: ctnetlink: use helper function to calculate expect ID Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 055/196] pinctrl: core: fix possible memory leak when pinctrl_enable() fails Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 056/196] pinctrl: single: " Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 057/196] pinctrl: ti: ti-iodelay: Drop if block with always false condition Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 058/196] pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 059/196] pinctrl: freescale: mxs: Fix refcount of child Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 060/196] fs/nilfs2: remove some unused macros to tame gcc Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 061/196] nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro Greg Kroah-Hartman
2024-08-15 13:22 ` [PATCH 4.19 062/196] tick/broadcast: Make takeover of broadcast hrtimer reliable Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 063/196] net: netconsole: Disable target before netpoll cleanup Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 064/196] af_packet: Handle outgoing VLAN packets without hardware offloading Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 065/196] ipv6: take care of scope when choosing the src addr Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 066/196] char: tpm: Fix possible memory leak in tpm_bios_measurements_open() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 067/196] media: venus: fix use after free in vdec_close Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 068/196] hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 069/196] drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 070/196] drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 071/196] m68k: amiga: Turn off Warp1260 interrupts during boot Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 072/196] ext4: check dot and dotdot of dx_root before making dir indexed Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 073/196] ext4: make sure the first directory block is not a hole Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 074/196] wifi: mwifiex: Fix interface type change Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 075/196] leds: ss4200: Convert PCIBIOS_* return codes to errnos Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 076/196] tools/memory-model: Fix bug in lock.cat Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 077/196] hwrng: amd - Convert PCIBIOS_* return codes to errnos Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 078/196] PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 079/196] binder: fix hang of unregistered readers Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 080/196] scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 081/196] f2fs: fix to dont dirty inode for readonly filesystem Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 082/196] clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 083/196] ubi: eba: properly rollback inside self_check_eba Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 084/196] decompress_bunzip2: fix rare decompression failure Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 085/196] kobject_uevent: Fix OOB access within zap_modalias_env() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 086/196] rtc: cmos: Fix return value of nvmem callbacks Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 087/196] scsi: qla2xxx: During vport delete send async logout explicitly Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 088/196] scsi: qla2xxx: validate nvme_local_port correctly Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 089/196] perf/x86/intel/pt: Fix topa_entry base length Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 090/196] watchdog/perf: properly initialize the turbo mode timestamp and rearm counter Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 091/196] platform: mips: cpu_hwmon: Disable driver on unsupported hardware Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 092/196] RDMA/iwcm: Fix a use-after-free related to destroying CM IDs Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 093/196] selftests/sigaltstack: Fix ppc64 GCC build Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 094/196] nilfs2: handle inconsistent state in nilfs_btnode_create_block() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 095/196] kdb: Fix bound check compiler warning Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 096/196] kdb: address -Wformat-security warnings Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 097/196] kdb: Use the passed prompt in kdb_position_cursor() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 098/196] jfs: Fix array-index-out-of-bounds in diFree Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 099/196] dma: fix call order in dmam_free_coherent Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 100/196] MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 101/196] net: ip_rt_get_source() - use new style struct initializer instead of memset Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 102/196] ipv4: Fix incorrect source address in Record Route option Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 103/196] net: bonding: correctly annotate RCU in bond_should_notify_peers() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 104/196] tipc: Return non-zero value from tipc_udp_addr2str() on error Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 105/196] mISDN: Fix a use after free in hfcmulti_tx() Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 106/196] mm: avoid overflows in dirty throttling logic Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 107/196] PCI: rockchip: Make ep-gpios DT property optional Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 108/196] PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 109/196] parport: parport_pc: Mark expected switch fall-through Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 110/196] parport: Convert printk(KERN_<LEVEL> to pr_<level>( Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 111/196] parport: Standardize use of printmode Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 112/196] dev/parport: fix the array out-of-bounds risk Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 113/196] driver core: Cast to (void *) with __force for __percpu pointer Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 114/196] devres: Fix memory leakage caused by driver API devm_free_percpu() Greg Kroah-Hartman
2024-08-15 13:23 ` Greg Kroah-Hartman [this message]
2024-08-15 13:23 ` [PATCH 4.19 116/196] perf/x86/intel/pt: Use helpers to obtain ToPA entry size Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 117/196] perf/x86/intel/pt: Use pointer arithmetics instead in ToPA entry calculation Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 118/196] perf/x86/intel/pt: Split ToPA metadata and page layout Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 119/196] perf/x86/intel/pt: Fix a topa_entry base address calculation Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 120/196] remoteproc: imx_rproc: ignore mapping vdev regions Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 121/196] remoteproc: imx_rproc: Fix ignoring " Greg Kroah-Hartman
2024-08-15 13:23 ` [PATCH 4.19 122/196] remoteproc: imx_rproc: Skip over memory region when node value is NULL Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 123/196] drm/vmwgfx: Fix overlay when using Screen Targets Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 124/196] net/iucv: fix use after free in iucv_sock_close() Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 125/196] ipv6: fix ndisc_is_useropt() handling for PIO Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 126/196] protect the fetch of ->fd[fd] in do_dup2() from mispredictions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 127/196] ALSA: usb-audio: Correct surround channels in UAC1 channel map Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 128/196] net: usb: sr9700: fix uninitialized variable use in sr_mdio_read Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 129/196] irqchip/mbigen: Fix mbigen node address layout Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 130/196] x86/mm: Fix pti_clone_pgtable() alignment assumption Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 131/196] net: usb: qmi_wwan: fix memory leak for not ip packets Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 132/196] net: linkwatch: use system_unbound_wq Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 133/196] Bluetooth: l2cap: always unlock channel in l2cap_conless_channel() Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 134/196] net: fec: Stop PPS on driver remove Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 135/196] md/raid5: avoid BUG_ON() while continue reshape after reassembling Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 136/196] clocksource/drivers/sh_cmt: Address race condition for clock events Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 137/196] PCI: Add Edimax Vendor ID to pci_ids.h Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 138/196] udf: prevent integer overflow in udf_bitmap_free_blocks() Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 139/196] wifi: nl80211: dont give key data to userspace Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 140/196] btrfs: fix bitmap leak when loading free space cache on duplicate entry Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 141/196] media: uvcvideo: Ignore empty TS packets Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 142/196] media: uvcvideo: Fix the bandwdith quirk on USB 3.x Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 143/196] jbd2: avoid memleak in jbd2_journal_write_metadata_buffer Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 144/196] s390/sclp: Prevent release of buffer in I/O Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 145/196] SUNRPC: Fix a race to wake a sync task Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 146/196] ext4: fix wrong unit use in ext4_mb_find_by_goal Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 147/196] arm64: Add support for SB barrier and patch in over DSB; ISB sequences Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 148/196] arm64: cpufeature: Force HWCAP to be based on the sysreg visible to user-space Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 149/196] arm64: Add Neoverse-V2 part Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 150/196] arm64: cputype: Add Cortex-X4 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 151/196] arm64: cputype: Add Neoverse-V3 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 152/196] arm64: errata: Add workaround for Arm errata 3194386 and 3312417 Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 153/196] arm64: cputype: Add Cortex-X3 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 154/196] arm64: cputype: Add Cortex-A720 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 155/196] arm64: cputype: Add Cortex-X925 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 156/196] arm64: errata: Unify speculative SSBS errata logic Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 157/196] arm64: errata: Expand speculative SSBS workaround Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 158/196] arm64: cputype: Add Cortex-X1C definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 159/196] arm64: cputype: Add Cortex-A725 definitions Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 160/196] arm64: errata: Expand speculative SSBS workaround (again) Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 161/196] i2c: smbus: Dont filter out duplicate alerts Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 162/196] i2c: smbus: Improve handling of stuck alerts Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 163/196] i2c: smbus: Send alert notifications to all devices if source not found Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 164/196] bpf: kprobe: remove unused declaring of bpf_kprobe_override Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 165/196] spi: lpspi: Replace all "master" with "controller" Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 166/196] spi: lpspi: Add slave mode support Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 167/196] spi: lpspi: Let watermark change with send data length Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 168/196] spi: lpspi: Add i.MX8 boards support for lpspi Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 169/196] spi: lpspi: add the error info of transfer speed setting Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 170/196] spi: fsl-lpspi: remove unneeded array Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 171/196] spi: spi-fsl-lpspi: Fix scldiv calculation Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 172/196] ALSA: line6: Fix racy access to midibuf Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 173/196] usb: vhci-hcd: Do not drop references before new references are gained Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 174/196] USB: serial: debug: do not echo input by default Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 175/196] usb: gadget: core: Check for unset descriptor Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 176/196] scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 177/196] tick/broadcast: Move per CPU pointer access into the atomic section Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 178/196] ntp: Clamp maxerror and esterror to operating range Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 179/196] driver core: Fix uevent_show() vs driver detach race Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 180/196] ntp: Safeguard against time_constant overflow Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 181/196] serial: core: check uartclk for zero to avoid divide by zero Greg Kroah-Hartman
2024-08-15 13:24 ` [PATCH 4.19 182/196] power: supply: axp288_charger: Fix constant_charge_voltage writes Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 183/196] power: supply: axp288_charger: Round constant_charge_voltage writes down Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 184/196] tracing: Fix overflow in get_free_elt() Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 185/196] x86/mtrr: Check if fixed MTRRs exist before saving them Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 186/196] drm/bridge: analogix_dp: properly handle zero sized AUX transactions Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 187/196] drm/mgag200: Set DDC timeout in milliseconds Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 188/196] kbuild: Fix -S -c in x86 stack protector scripts Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 189/196] netfilter: nf_tables: set element extended ACK reporting support Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 190/196] netfilter: nf_tables: use timestamp to check for set element timeout Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 191/196] netfilter: nf_tables: prefer nft_chain_validate Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 192/196] arm64: cpufeature: Fix the visibility of compat hwcaps Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 193/196] media: uvcvideo: Use entity get_cur in uvc_ctrl_set Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 194/196] drm/i915/gem: Fix Virtual Memory mapping boundaries calculation Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 195/196] exec: Fix ToCToU between perm check and set-uid/gid usage Greg Kroah-Hartman
2024-08-15 13:25 ` [PATCH 4.19 196/196] nvme/pci: Add APST quirk for Lenovo N60z laptop Greg Kroah-Hartman
2024-08-15 18:55 ` [PATCH 4.19 000/196] 4.19.320-rc1 review Pavel Machek
2024-08-16  9:06 ` Anders Roxell
2024-08-16 19:40 ` Jon Hunter
2024-08-18 14:00 ` Harshit Mogalapalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240815131856.478494786@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=chao.p.peng@linux.intel.com \
    --cc=luwei.kang@intel.com \
    --cc=patches@lists.linux.dev \
    --cc=pbonzini@redhat.com \
    --cc=sashal@kernel.org \
    --cc=songliubraving@fb.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox