All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Miaohe Lin <linmiaohe@huawei.com>,
	Mike Kravetz <mike.kravetz@oracle.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	Wanpeng Li <liwp.linux@gmail.com>,
	Mina Almasry <almasrymina@google.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	kernel test robot <lkp@intel.com>
Subject: [PATCH 5.10 071/221] hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings
Date: Mon, 29 Mar 2021 09:56:42 +0200	[thread overview]
Message-ID: <20210329075631.557645189@linuxfoundation.org> (raw)
In-Reply-To: <20210329075629.172032742@linuxfoundation.org>

From: Miaohe Lin <linmiaohe@huawei.com>

commit d85aecf2844ff02a0e5f077252b2461d4f10c9f0 upstream.

The current implementation of hugetlb_cgroup for shared mappings could
have different behavior.  Consider the following two scenarios:

 1.Assume initial css reference count of hugetlb_cgroup is 1:
  1.1 Call hugetlb_reserve_pages with from = 1, to = 2. So css reference
      count is 2 associated with 1 file_region.
  1.2 Call hugetlb_reserve_pages with from = 2, to = 3. So css reference
      count is 3 associated with 2 file_region.
  1.3 coalesce_file_region will coalesce these two file_regions into
      one. So css reference count is 3 associated with 1 file_region
      now.

 2.Assume initial css reference count of hugetlb_cgroup is 1 again:
  2.1 Call hugetlb_reserve_pages with from = 1, to = 3. So css reference
      count is 2 associated with 1 file_region.

Therefore, we might have one file_region while holding one or more css
reference counts. This inconsistency could lead to imbalanced css_get()
and css_put() pair. If we do css_put one by one (i.g. hole punch case),
scenario 2 would put one more css reference. If we do css_put all
together (i.g. truncate case), scenario 1 will leak one css reference.

The imbalanced css_get() and css_put() pair would result in a non-zero
reference when we try to destroy the hugetlb cgroup. The hugetlb cgroup
directory is removed __but__ associated resource is not freed. This
might result in OOM or can not create a new hugetlb cgroup in a busy
workload ultimately.

In order to fix this, we have to make sure that one file_region must
hold exactly one css reference. So in coalesce_file_region case, we
should release one css reference before coalescence. Also only put css
reference when the entire file_region is removed.

The last thing to note is that the caller of region_add() will only hold
one reference to h_cg->css for the whole contiguous reservation region.
But this area might be scattered when there are already some
file_regions reside in it. As a result, many file_regions may share only
one h_cg->css reference. In order to ensure that one file_region must
hold exactly one css reference, we should do css_get() for each
file_region and release the reference held by caller when they are done.

[linmiaohe@huawei.com: fix imbalanced css_get and css_put pair for shared mappings]
  Link: https://lkml.kernel.org/r/20210316023002.53921-1-linmiaohe@huawei.com

Link: https://lkml.kernel.org/r/20210301120540.37076-1-linmiaohe@huawei.com
Fixes: 075a61d07a8e ("hugetlb_cgroup: add accounting for shared mappings")
Reported-by: kernel test robot <lkp@intel.com> (auto build test ERROR)
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Wanpeng Li <liwp.linux@gmail.com>
Cc: Mina Almasry <almasrymina@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/linux/hugetlb_cgroup.h |   15 +++++++++++++--
 mm/hugetlb.c                   |   41 +++++++++++++++++++++++++++++++++++++----
 mm/hugetlb_cgroup.c            |   10 ++++++++--
 3 files changed, 58 insertions(+), 8 deletions(-)

--- a/include/linux/hugetlb_cgroup.h
+++ b/include/linux/hugetlb_cgroup.h
@@ -113,6 +113,11 @@ static inline bool hugetlb_cgroup_disabl
 	return !cgroup_subsys_enabled(hugetlb_cgrp_subsys);
 }
 
+static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg)
+{
+	css_put(&h_cg->css);
+}
+
 extern int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,
 					struct hugetlb_cgroup **ptr);
 extern int hugetlb_cgroup_charge_cgroup_rsvd(int idx, unsigned long nr_pages,
@@ -138,7 +143,8 @@ extern void hugetlb_cgroup_uncharge_coun
 
 extern void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
 						struct file_region *rg,
-						unsigned long nr_pages);
+						unsigned long nr_pages,
+						bool region_del);
 
 extern void hugetlb_cgroup_file_init(void) __init;
 extern void hugetlb_cgroup_migrate(struct page *oldhpage,
@@ -147,7 +153,8 @@ extern void hugetlb_cgroup_migrate(struc
 #else
 static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
 						       struct file_region *rg,
-						       unsigned long nr_pages)
+						       unsigned long nr_pages,
+						       bool region_del)
 {
 }
 
@@ -185,6 +192,10 @@ static inline bool hugetlb_cgroup_disabl
 	return true;
 }
 
+static inline void hugetlb_cgroup_put_rsvd_cgroup(struct hugetlb_cgroup *h_cg)
+{
+}
+
 static inline int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,
 					       struct hugetlb_cgroup **ptr)
 {
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -285,6 +285,17 @@ static void record_hugetlb_cgroup_unchar
 		nrg->reservation_counter =
 			&h_cg->rsvd_hugepage[hstate_index(h)];
 		nrg->css = &h_cg->css;
+		/*
+		 * The caller will hold exactly one h_cg->css reference for the
+		 * whole contiguous reservation region. But this area might be
+		 * scattered when there are already some file_regions reside in
+		 * it. As a result, many file_regions may share only one css
+		 * reference. In order to ensure that one file_region must hold
+		 * exactly one h_cg->css reference, we should do css_get for
+		 * each file_region and leave the reference held by caller
+		 * untouched.
+		 */
+		css_get(&h_cg->css);
 		if (!resv->pages_per_hpage)
 			resv->pages_per_hpage = pages_per_huge_page(h);
 		/* pages_per_hpage should be the same for all entries in
@@ -298,6 +309,14 @@ static void record_hugetlb_cgroup_unchar
 #endif
 }
 
+static void put_uncharge_info(struct file_region *rg)
+{
+#ifdef CONFIG_CGROUP_HUGETLB
+	if (rg->css)
+		css_put(rg->css);
+#endif
+}
+
 static bool has_same_uncharge_info(struct file_region *rg,
 				   struct file_region *org)
 {
@@ -321,6 +340,7 @@ static void coalesce_file_region(struct
 		prg->to = rg->to;
 
 		list_del(&rg->link);
+		put_uncharge_info(rg);
 		kfree(rg);
 
 		rg = prg;
@@ -332,6 +352,7 @@ static void coalesce_file_region(struct
 		nrg->from = rg->from;
 
 		list_del(&rg->link);
+		put_uncharge_info(rg);
 		kfree(rg);
 	}
 }
@@ -664,7 +685,7 @@ retry:
 
 			del += t - f;
 			hugetlb_cgroup_uncharge_file_region(
-				resv, rg, t - f);
+				resv, rg, t - f, false);
 
 			/* New entry for end of split region */
 			nrg->from = t;
@@ -685,7 +706,7 @@ retry:
 		if (f <= rg->from && t >= rg->to) { /* Remove entire region */
 			del += rg->to - rg->from;
 			hugetlb_cgroup_uncharge_file_region(resv, rg,
-							    rg->to - rg->from);
+							    rg->to - rg->from, true);
 			list_del(&rg->link);
 			kfree(rg);
 			continue;
@@ -693,13 +714,13 @@ retry:
 
 		if (f <= rg->from) {	/* Trim beginning of region */
 			hugetlb_cgroup_uncharge_file_region(resv, rg,
-							    t - rg->from);
+							    t - rg->from, false);
 
 			del += t - rg->from;
 			rg->from = t;
 		} else {		/* Trim end of region */
 			hugetlb_cgroup_uncharge_file_region(resv, rg,
-							    rg->to - f);
+							    rg->to - f, false);
 
 			del += rg->to - f;
 			rg->to = f;
@@ -5189,6 +5210,10 @@ int hugetlb_reserve_pages(struct inode *
 			 */
 			long rsv_adjust;
 
+			/*
+			 * hugetlb_cgroup_uncharge_cgroup_rsvd() will put the
+			 * reference to h_cg->css. See comment below for detail.
+			 */
 			hugetlb_cgroup_uncharge_cgroup_rsvd(
 				hstate_index(h),
 				(chg - add) * pages_per_huge_page(h), h_cg);
@@ -5196,6 +5221,14 @@ int hugetlb_reserve_pages(struct inode *
 			rsv_adjust = hugepage_subpool_put_pages(spool,
 								chg - add);
 			hugetlb_acct_memory(h, -rsv_adjust);
+		} else if (h_cg) {
+			/*
+			 * The file_regions will hold their own reference to
+			 * h_cg->css. So we should release the reference held
+			 * via hugetlb_cgroup_charge_cgroup_rsvd() when we are
+			 * done.
+			 */
+			hugetlb_cgroup_put_rsvd_cgroup(h_cg);
 		}
 	}
 	return 0;
--- a/mm/hugetlb_cgroup.c
+++ b/mm/hugetlb_cgroup.c
@@ -391,7 +391,8 @@ void hugetlb_cgroup_uncharge_counter(str
 
 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
 					 struct file_region *rg,
-					 unsigned long nr_pages)
+					 unsigned long nr_pages,
+					 bool region_del)
 {
 	if (hugetlb_cgroup_disabled() || !resv || !rg || !nr_pages)
 		return;
@@ -400,7 +401,12 @@ void hugetlb_cgroup_uncharge_file_region
 	    !resv->reservation_counter) {
 		page_counter_uncharge(rg->reservation_counter,
 				      nr_pages * resv->pages_per_hpage);
-		css_put(rg->css);
+		/*
+		 * Only do css_put(rg->css) when we delete the entire region
+		 * because one file_region must hold exactly one css reference.
+		 */
+		if (region_del)
+			css_put(rg->css);
 	}
 }
 



  parent reply	other threads:[~2021-03-29  8:34 UTC|newest]

Thread overview: 224+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29  7:55 [PATCH 5.10 000/221] 5.10.27-rc1 review Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 001/221] mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 002/221] mm/memcg: set memcg when splitting page Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 003/221] mt76: fix tx skb error handling in mt76_dma_tx_queue_skb Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 004/221] net: stmmac: fix dma physical address of descriptor when display ring Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 005/221] net: fec: ptp: avoid register access when ipg clock is disabled Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 006/221] powerpc/4xx: Fix build errors from mfdcr() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 007/221] atm: eni: dont release is never initialized Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 008/221] atm: lanai: dont run lanai_dev_close if not open Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 009/221] Revert "r8152: adjust the settings about MAC clock speed down for RTL8153" Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 010/221] ALSA: hda: ignore invalid NHLT table Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 011/221] ixgbe: Fix memleak in ixgbe_configure_clsu32 Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 012/221] scsi: ufs: ufs-qcom: Disable interrupt in reset path Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 013/221] blk-cgroup: Fix the recursive blkg rwstat Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 014/221] net: tehuti: fix error return code in bdx_probe() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 015/221] net: intel: iavf: fix error return code of iavf_init_get_resources() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 016/221] sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 017/221] gianfar: fix jumbo packets+napi+rx overrun crash Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 018/221] cifs: ask for more credit on async read/write code paths Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 019/221] gfs2: fix use-after-free in trans_drain Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 020/221] cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 021/221] gpiolib: acpi: Add missing IRQF_ONESHOT Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 022/221] nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 023/221] NFS: Correct size calculation for create reply length Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 024/221] net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 025/221] net: wan: fix error return code of uhdlc_init() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 026/221] net: davicom: Use platform_get_irq_optional() Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 027/221] net: enetc: set MAC RX FIFO to recommended value Greg Kroah-Hartman
2021-03-29  7:55 ` [PATCH 5.10 028/221] atm: uPD98402: fix incorrect allocation Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 029/221] atm: idt77252: fix null-ptr-dereference Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 030/221] cifs: change noisy error message to FYI Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 031/221] irqchip/ingenic: Add support for the JZ4760 Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 032/221] kbuild: add image_name to no-sync-config-targets Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 033/221] kbuild: dummy-tools: fix inverted tests for gcc Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 034/221] umem: fix error return code in mm_pci_probe() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 035/221] sparc64: Fix opcode filtering in handling of no fault loads Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 036/221] habanalabs: Call put_pid() when releasing control device Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 037/221] staging: rtl8192e: fix kconfig dependency on CRYPTO Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 038/221] u64_stats,lockdep: Fix u64_stats_init() vs lockdep Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 039/221] kselftest: arm64: Fix exit code of sve-ptrace Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 040/221] regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 041/221] block: Fix REQ_OP_ZONE_RESET_ALL handling Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 042/221] drm/amd/display: Revert dram_clock_change_latency for DCN2.1 Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 043/221] drm/amdgpu: fb BO should be ttm_bo_type_device Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 044/221] drm/radeon: fix AGP dependency Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 045/221] nvme: simplify error logic in nvme_validate_ns() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 046/221] nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 047/221] nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 048/221] nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 049/221] nvme-core: check ctrl css before setting up zns Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 050/221] nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 051/221] nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 052/221] nfs: we dont support removing system.nfs4_acl Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 053/221] block: Suppress uevent for hidden device when removed Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 054/221] mm/fork: clear PASID for new mm Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 055/221] ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 056/221] ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 057/221] static_call: Pull some static_call declarations to the type headers Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 058/221] static_call: Allow module use without exposing static_call_key Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 059/221] static_call: Fix the module key fixup Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 060/221] static_call: Fix static_call_set_init() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 061/221] KVM: x86: Protect userspace MSR filter with SRCU, and set atomically-ish Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 062/221] btrfs: fix sleep while in non-sleep context during qgroup removal Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 063/221] selinux: dont log MAC_POLICY_LOAD record on failed policy load Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 064/221] selinux: fix variable scope issue in live sidtab conversion Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 065/221] netsec: restore phy power state after controller reset Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 066/221] platform/x86: intel-vbtn: Stop reporting SW_DOCK events Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 067/221] psample: Fix user API breakage Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 068/221] z3fold: prevent reclaim/free race for headless pages Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 069/221] squashfs: fix inode lookup sanity checks Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 070/221] squashfs: fix xattr id and id " Greg Kroah-Hartman
2021-03-29  7:56 ` Greg Kroah-Hartman [this message]
2021-03-29  7:56 ` [PATCH 5.10 072/221] kasan: fix per-page tags for non-page_alloc pages Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 073/221] gcov: fix clang-11+ support Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 074/221] ACPI: video: Add missing callback back for Sony VPCEH3U1E Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 075/221] ACPICA: Always create namespace nodes using acpi_ns_create_node() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 076/221] arm64: stacktrace: dont trace arch_stack_walk() Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 077/221] arm64: dts: ls1046a: mark crypto engine dma coherent Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 078/221] arm64: dts: ls1012a: " Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 079/221] arm64: dts: ls1043a: " Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 080/221] ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 081/221] ARM: dts: at91: sam9x60: fix mux-mask to match products datasheet Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 082/221] ARM: dts: at91-sama5d27_som1: fix phy address to 7 Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 083/221] integrity: double check iint_cache was initialized Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 084/221] drm/etnaviv: Use FOLL_FORCE for userptr Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 085/221] drm/amd/pm: workaround for audio noise issue Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 086/221] drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 087/221] drm/amdgpu: Add additional Sienna Cichlid PCI ID Greg Kroah-Hartman
2021-03-29  7:56 ` [PATCH 5.10 088/221] drm/i915: Fix the GT fence revocation runtime PM logic Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 089/221] dm verity: fix DM_VERITY_OPTS_MAX value Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 090/221] dm ioctl: fix out of bounds array access when no devices Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 091/221] bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 092/221] ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 093/221] soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 094/221] veth: Store queue_mapping independently of XDP prog presence Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 095/221] bpf: Change inode_storages lookup_elem return value from NULL to -EBADF Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 096/221] libbpf: Fix INSTALL flag order Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 097/221] net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 098/221] net/mlx5e: When changing XDP program without reset, take refs for XSK RQs Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 099/221] net/mlx5e: Dont match on Geneve options in case option masks are all zero Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 100/221] ipv6: fix suspecious RCU usage warning Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 101/221] drop_monitor: Perform cleanup upon probe registration failure Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 102/221] macvlan: macvlan_count_rx() needs to be aware of preemption Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 103/221] net: sched: validate stab values Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 104/221] net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 105/221] igc: reinit_locked() should be called with rtnl_lock Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 106/221] igc: Fix Pause Frame Advertising Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 107/221] igc: Fix Supported Pause Frame Link Setting Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 108/221] igc: Fix igc_ptp_rx_pktstamp() Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 109/221] e1000e: add rtnl_lock() to e1000_reset_task Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 110/221] e1000e: Fix error handling in e1000_set_d0_lplu_state_82571 Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 111/221] net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 112/221] net: phy: broadcom: Add power down exit reset state delay Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 113/221] ftgmac100: Restart MAC HW once Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 114/221] clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 115/221] net: ipa: terminate message handler arrays Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 116/221] net: qrtr: fix a kernel-infoleak in qrtr_recvmsg() Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 117/221] flow_dissector: fix byteorder of dissected ICMP ID Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 118/221] selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 119/221] netfilter: ctnetlink: fix dump of the expect mask attribute Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 120/221] net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx" Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 121/221] net: phylink: Fix phylink_err() function name error in phylink_major_config Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 122/221] tipc: better validate user input in tipc_nl_retrieve_key() Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 123/221] tcp: relookup sock for RST+ACK packets handled by obsolete req sock Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 124/221] can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 125/221] can: isotp: TX-path: ensure that CAN frame flags are initialized Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 126/221] can: peak_usb: add forgotten supported devices Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 127/221] can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 128/221] can: kvaser_pciefd: Always disable bus load reporting Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 129/221] can: c_can_pci: c_can_pci_remove(): fix use-after-free Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 130/221] can: c_can: move runtime PM enable/disable to c_can_platform Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 131/221] can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 132/221] can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 133/221] mac80211: fix rate mask reset Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 134/221] mac80211: Allow HE operation to be longer than expected Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 135/221] selftests/net: fix warnings on reuseaddr_ports_exhausted Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 136/221] nfp: flower: fix unsupported pre_tunnel flows Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 137/221] nfp: flower: add ipv6 bit to pre_tunnel control message Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 138/221] nfp: flower: fix pre_tun mask id allocation Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 139/221] ftrace: Fix modify_ftrace_direct Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 140/221] drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 141/221] ionic: linearize tso skb with too many frags Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 142/221] net/sched: cls_flower: fix only mask bit check in the validate_ct_state Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 143/221] netfilter: nftables: report EOPNOTSUPP on unsupported flowtable flags Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 144/221] netfilter: nftables: allow to update " Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 145/221] netfilter: flowtable: Make sure GC works periodically in idle system Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 146/221] libbpf: Fix error path in bpf_object__elf_init() Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 147/221] libbpf: Use SOCK_CLOEXEC when opening the netlink socket Greg Kroah-Hartman
2021-03-29  7:57 ` [PATCH 5.10 148/221] ARM: dts: imx6ull: fix ubi filesystem mount failed Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 149/221] ipv6: weaken the v4mapped source check Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 150/221] octeontx2-af: Formatting debugfs entry rsrc_alloc Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 151/221] octeontx2-af: Modify default KEX profile to extract TX packet fields Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 152/221] octeontx2-af: Remove TOS field from MKEX TX Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 153/221] octeontx2-af: Fix irq free in rvu teardown Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 154/221] octeontx2-pf: Clear RSS enable flag on interace down Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 155/221] octeontx2-af: fix infinite loop in unmapping NPC counter Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 156/221] net: check all name nodes in __dev_alloc_name Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 157/221] net: cdc-phonet: fix data-interface release on probe failure Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 158/221] igb: check timestamp validity Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 159/221] r8152: limit the RX buffer size of RTL8153A for USB 2.0 Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 160/221] net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 161/221] selinux: vsock: Set SID for socket returned by accept() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 162/221] selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 163/221] libbpf: Fix BTF dump of pointer-to-array-of-struct Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 164/221] bpf: Fix umd memory leak in copy_process() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 165/221] can: isotp: tx-path: zero initialize outgoing CAN frames Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 166/221] drm/msm: fix shutdown hook in case GPU components failed to bind Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 167/221] drm/msm: Fix suspend/resume on i.MX5 Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 168/221] arm64: kdump: update ppos when reading elfcorehdr Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 169/221] PM: runtime: Defer suspending suppliers Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 170/221] net/mlx5: Add back multicast stats for uplink representor Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 171/221] net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 172/221] net/mlx5e: Offload tuple rewrite for non-CT flows Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 173/221] net/mlx5e: Fix error path for ethtool set-priv-flag Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 174/221] PM: EM: postpone creating the debugfs dir till fs_initcall Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 175/221] net: bridge: dont notify switchdev for local FDB addresses Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 176/221] octeontx2-af: Fix memory leak of object buf Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 177/221] xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 178/221] RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 179/221] bpf: Dont do bpf_cgroup_storage_set() for kuprobe/tp programs Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 180/221] net: Consolidate common blackhole dst ops Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 181/221] net, bpf: Fix ip6ip6 crash with collect_md populated skbs Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 182/221] igb: avoid premature Rx buffer reuse Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 183/221] net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 184/221] net: axienet: Fix probe error cleanup Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 185/221] net: phy: introduce phydev->port Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 186/221] net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 187/221] net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 188/221] net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 189/221] Revert "netfilter: x_tables: Switch synchronization to RCU" Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 190/221] netfilter: x_tables: Use correct memory barriers Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 191/221] arm64/mm: define arch_get_mappable_range() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 192/221] arm64: mm: correct the inside linear map range during hotplug check Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 193/221] dm table: Fix zoned model check and zone sectors check Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 194/221] mm/mmu_notifiers: ensure range_end() is paired with range_start() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 195/221] Revert "netfilter: x_tables: Update remaining dereference to RCU" Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 196/221] ACPI: scan: Rearrange memory allocation in acpi_device_add() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 197/221] ACPI: scan: Use unique number for instance_no Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 198/221] perf auxtrace: Fix auxtrace queue conflict Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 199/221] perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 200/221] io_uring: fix provide_buffers sign extension Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 201/221] block: recalculate segment count for multi-segment discards correctly Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 202/221] scsi: Revert "qla2xxx: Make sure that aborted commands are freed" Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 203/221] scsi: qedi: Fix error return code of qedi_alloc_global_queues() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 204/221] scsi: mpt3sas: Fix error return code of mpt3sas_base_attach() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 205/221] smb3: fix cached file size problems in duplicate extents (reflink) Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 206/221] cifs: Adjust key sizes and key generation routines for AES256 encryption Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 207/221] locking/mutex: Fix non debug version of mutex_lock_io_nested() Greg Kroah-Hartman
2021-03-29  7:58 ` [PATCH 5.10 208/221] x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc() Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 209/221] mm/memcg: fix 5.10 backport of splitting page memcg Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 210/221] fs/cachefiles: Remove wait_bit_key layout dependency Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 211/221] ch_ktls: fix enum-conversion warning Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 212/221] can: dev: Move device back to init netns on owning netns delete Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 213/221] r8169: fix DMA being used after buffer free if WoL is enabled Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 214/221] net: dsa: b53: VLAN filtering is global to all users Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 215/221] mac80211: fix double free in ibss_leave Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 216/221] ext4: add reclaim checks to xattr code Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 217/221] fs/ext4: fix integer overflow in s_log_groups_per_flex Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 218/221] Revert "xen: fix p2m size in dom0 for disabled memory hotplug case" Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 219/221] Revert "net: bonding: fix error return code of bond_neigh_init()" Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 220/221] nvme: fix the nsid value to print in nvme_validate_or_alloc_ns Greg Kroah-Hartman
2021-03-29  7:59 ` [PATCH 5.10 221/221] can: peak_usb: Revert "can: peak_usb: add forgotten supported devices" Greg Kroah-Hartman
2021-03-29  9:31 ` [PATCH 5.10 000/221] 5.10.27-rc1 review Naresh Kamboju
2021-03-29 11:47 ` Andrei Rabusov

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=20210329075631.557645189@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=almasrymina@google.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=linmiaohe@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liwp.linux@gmail.com \
    --cc=lkp@intel.com \
    --cc=mike.kravetz@oracle.com \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.