public inbox for linux-kernel@vger.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, Chris Chiu <chris.chiu@canonical.com>,
	Gordon Lack <gordon.lack@dsl.pipex.com>,
	Ricky Wu <ricky_wu@realtek.com>
Subject: [PATCH 5.12 068/173] misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG
Date: Mon, 14 Jun 2021 12:26:40 +0200	[thread overview]
Message-ID: <20210614102700.424381507@linuxfoundation.org> (raw)
In-Reply-To: <20210614102658.137943264@linuxfoundation.org>

From: Ricky Wu <ricky_wu@realtek.com>

commit 3df4fce739e2b263120f528c5e0fe6b2f8937b5b upstream.

aspm (Active State Power Management)
rtsx_comm_set_aspm: this function is for driver to make sure
not enter power saving when processing of init and card_detcct
ASPM_MODE_CFG: 8411 5209 5227 5229 5249 5250
Change back to use original way to control aspm
ASPM_MODE_REG: 5227A 524A 5250A 5260 5261 5228
Keep the new way to control aspm

Fixes: 121e9c6b5c4c ("misc: rtsx: modify and fix init_hw function")
Reported-by: Chris Chiu <chris.chiu@canonical.com>
Tested-by: Gordon Lack <gordon.lack@dsl.pipex.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20210607101634.4948-1-ricky_wu@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/misc/cardreader/rtl8411.c  |    1 
 drivers/misc/cardreader/rts5209.c  |    1 
 drivers/misc/cardreader/rts5227.c  |    2 +
 drivers/misc/cardreader/rts5228.c  |    1 
 drivers/misc/cardreader/rts5229.c  |    1 
 drivers/misc/cardreader/rts5249.c  |    3 ++
 drivers/misc/cardreader/rts5260.c  |    1 
 drivers/misc/cardreader/rts5261.c  |    1 
 drivers/misc/cardreader/rtsx_pcr.c |   44 ++++++++++++++++++++++++++-----------
 include/linux/rtsx_pci.h           |    2 +
 10 files changed, 44 insertions(+), 13 deletions(-)

--- a/drivers/misc/cardreader/rtl8411.c
+++ b/drivers/misc/cardreader/rtl8411.c
@@ -468,6 +468,7 @@ static void rtl8411_init_common_params(s
 	pcr->sd30_drive_sel_1v8 = DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = DRIVER_TYPE_D;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_CFG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(23, 7, 14);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(4, 3, 10);
 	pcr->ic_version = rtl8411_get_ic_version(pcr);
--- a/drivers/misc/cardreader/rts5209.c
+++ b/drivers/misc/cardreader/rts5209.c
@@ -255,6 +255,7 @@ void rts5209_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = DRIVER_TYPE_D;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_CFG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 16);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
 
--- a/drivers/misc/cardreader/rts5227.c
+++ b/drivers/misc/cardreader/rts5227.c
@@ -358,6 +358,7 @@ void rts5227_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_CFG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 15);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(30, 7, 7);
 
@@ -483,6 +484,7 @@ void rts522a_init_params(struct rtsx_pcr
 
 	rts5227_init_params(pcr);
 	pcr->ops = &rts522a_pcr_ops;
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 20, 11);
 	pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3;
 
--- a/drivers/misc/cardreader/rts5228.c
+++ b/drivers/misc/cardreader/rts5228.c
@@ -718,6 +718,7 @@ void rts5228_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(28, 27, 11);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
 
--- a/drivers/misc/cardreader/rts5229.c
+++ b/drivers/misc/cardreader/rts5229.c
@@ -246,6 +246,7 @@ void rts5229_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = DRIVER_TYPE_D;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_CFG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 15);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(30, 6, 6);
 
--- a/drivers/misc/cardreader/rts5249.c
+++ b/drivers/misc/cardreader/rts5249.c
@@ -566,6 +566,7 @@ void rts5249_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_CFG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(1, 29, 16);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
 
@@ -729,6 +730,7 @@ static const struct pcr_ops rts524a_pcr_
 void rts524a_init_params(struct rtsx_pcr *pcr)
 {
 	rts5249_init_params(pcr);
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 29, 11);
 	pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF;
 	pcr->option.ltr_l1off_snooze_sspwrgate =
@@ -845,6 +847,7 @@ static const struct pcr_ops rts525a_pcr_
 void rts525a_init_params(struct rtsx_pcr *pcr)
 {
 	rts5249_init_params(pcr);
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(25, 29, 11);
 	pcr->option.ltr_l1off_sspwrgate = LTR_L1OFF_SSPWRGATE_5250_DEF;
 	pcr->option.ltr_l1off_snooze_sspwrgate =
--- a/drivers/misc/cardreader/rts5260.c
+++ b/drivers/misc/cardreader/rts5260.c
@@ -628,6 +628,7 @@ void rts5260_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = CFG_DRIVER_TYPE_B;
 	pcr->sd30_drive_sel_3v3 = CFG_DRIVER_TYPE_B;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 29, 11);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
 
--- a/drivers/misc/cardreader/rts5261.c
+++ b/drivers/misc/cardreader/rts5261.c
@@ -783,6 +783,7 @@ void rts5261_init_params(struct rtsx_pcr
 	pcr->sd30_drive_sel_1v8 = 0x00;
 	pcr->sd30_drive_sel_3v3 = 0x00;
 	pcr->aspm_en = ASPM_L1_EN;
+	pcr->aspm_mode = ASPM_MODE_REG;
 	pcr->tx_initial_phase = SET_CLOCK_PHASE(27, 27, 11);
 	pcr->rx_initial_phase = SET_CLOCK_PHASE(24, 6, 5);
 
--- a/drivers/misc/cardreader/rtsx_pcr.c
+++ b/drivers/misc/cardreader/rtsx_pcr.c
@@ -85,12 +85,18 @@ static void rtsx_comm_set_aspm(struct rt
 	if (pcr->aspm_enabled == enable)
 		return;
 
-	if (pcr->aspm_en & 0x02)
-		rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 |
-			FORCE_ASPM_CTL1, enable ? 0 : FORCE_ASPM_CTL0 | FORCE_ASPM_CTL1);
-	else
-		rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 |
-			FORCE_ASPM_CTL1, FORCE_ASPM_CTL0 | FORCE_ASPM_CTL1);
+	if (pcr->aspm_mode == ASPM_MODE_CFG) {
+		pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL,
+						PCI_EXP_LNKCTL_ASPMC,
+						enable ? pcr->aspm_en : 0);
+	} else if (pcr->aspm_mode == ASPM_MODE_REG) {
+		if (pcr->aspm_en & 0x02)
+			rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 |
+				FORCE_ASPM_CTL1, enable ? 0 : FORCE_ASPM_CTL0 | FORCE_ASPM_CTL1);
+		else
+			rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, FORCE_ASPM_CTL0 |
+				FORCE_ASPM_CTL1, FORCE_ASPM_CTL0 | FORCE_ASPM_CTL1);
+	}
 
 	if (!enable && (pcr->aspm_en & 0x02))
 		mdelay(10);
@@ -1394,7 +1400,8 @@ static int rtsx_pci_init_hw(struct rtsx_
 			return err;
 	}
 
-	rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, 0x30, 0x30);
+	if (pcr->aspm_mode == ASPM_MODE_REG)
+		rtsx_pci_write_register(pcr, ASPM_FORCE_CTL, 0x30, 0x30);
 
 	/* No CD interrupt if probing driver with card inserted.
 	 * So we need to initialize pcr->card_exist here.
@@ -1410,6 +1417,8 @@ static int rtsx_pci_init_hw(struct rtsx_
 static int rtsx_pci_init_chip(struct rtsx_pcr *pcr)
 {
 	int err;
+	u16 cfg_val;
+	u8 val;
 
 	spin_lock_init(&pcr->lock);
 	mutex_init(&pcr->pcr_mutex);
@@ -1477,6 +1486,21 @@ static int rtsx_pci_init_chip(struct rts
 	if (!pcr->slots)
 		return -ENOMEM;
 
+	if (pcr->aspm_mode == ASPM_MODE_CFG) {
+		pcie_capability_read_word(pcr->pci, PCI_EXP_LNKCTL, &cfg_val);
+		if (cfg_val & PCI_EXP_LNKCTL_ASPM_L1)
+			pcr->aspm_enabled = true;
+		else
+			pcr->aspm_enabled = false;
+
+	} else if (pcr->aspm_mode == ASPM_MODE_REG) {
+		rtsx_pci_read_register(pcr, ASPM_FORCE_CTL, &val);
+		if (val & FORCE_ASPM_CTL0 && val & FORCE_ASPM_CTL1)
+			pcr->aspm_enabled = false;
+		else
+			pcr->aspm_enabled = true;
+	}
+
 	if (pcr->ops->fetch_vendor_settings)
 		pcr->ops->fetch_vendor_settings(pcr);
 
@@ -1506,7 +1530,6 @@ static int rtsx_pci_probe(struct pci_dev
 	struct pcr_handle *handle;
 	u32 base, len;
 	int ret, i, bar = 0;
-	u8 val;
 
 	dev_dbg(&(pcidev->dev),
 		": Realtek PCI-E Card Reader found at %s [%04x:%04x] (rev %x)\n",
@@ -1572,11 +1595,6 @@ static int rtsx_pci_probe(struct pci_dev
 	pcr->host_cmds_addr = pcr->rtsx_resv_buf_addr;
 	pcr->host_sg_tbl_ptr = pcr->rtsx_resv_buf + HOST_CMDS_BUF_LEN;
 	pcr->host_sg_tbl_addr = pcr->rtsx_resv_buf_addr + HOST_CMDS_BUF_LEN;
-	rtsx_pci_read_register(pcr, ASPM_FORCE_CTL, &val);
-	if (val & FORCE_ASPM_CTL0 && val & FORCE_ASPM_CTL1)
-		pcr->aspm_enabled = false;
-	else
-		pcr->aspm_enabled = true;
 	pcr->card_inserted = 0;
 	pcr->card_removed = 0;
 	INIT_DELAYED_WORK(&pcr->carddet_work, rtsx_pci_card_detect);
--- a/include/linux/rtsx_pci.h
+++ b/include/linux/rtsx_pci.h
@@ -1109,6 +1109,7 @@ struct pcr_ops {
 };
 
 enum PDEV_STAT  {PDEV_STAT_IDLE, PDEV_STAT_RUN};
+enum ASPM_MODE  {ASPM_MODE_CFG, ASPM_MODE_REG};
 
 #define ASPM_L1_1_EN			BIT(0)
 #define ASPM_L1_2_EN			BIT(1)
@@ -1234,6 +1235,7 @@ struct rtsx_pcr {
 	u8				card_drive_sel;
 #define ASPM_L1_EN			0x02
 	u8				aspm_en;
+	enum ASPM_MODE			aspm_mode;
 	bool				aspm_enabled;
 
 #define PCR_MS_PMOS			(1 << 0)



  parent reply	other threads:[~2021-06-14 11:30 UTC|newest]

Thread overview: 180+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 10:25 [PATCH 5.12 000/173] 5.12.11-rc1 review Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 001/173] proc: Track /proc/$pid/attr/ opener mm_struct Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 002/173] ASoC: max98088: fix ni clock divider calculation Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 003/173] ASoC: amd: fix for pcm_read() error Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 004/173] spi: Fix spi device unregister flow Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 005/173] spi: spi-zynq-qspi: Fix stack violation bug Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 006/173] bpf: Forbid trampoline attach for functions with variable arguments Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 007/173] ASoC: codecs: lpass-rx-macro: add missing MODULE_DEVICE_TABLE Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 008/173] ASoC: codecs: lpass-tx-macro: " Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 009/173] net/nfc/rawsock.c: fix a permission check bug Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 010/173] usb: cdns3: Fix runtime PM imbalance on error Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 011/173] ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 012/173] ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 013/173] bpf: Add deny list of btf ids check for tracing programs Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 014/173] vfio-ccw: Reset FSM state to IDLE inside FSM Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 015/173] vfio-ccw: Serialize FSM IDLE state with I/O completion Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 016/173] ASoC: sti-sas: add missing MODULE_DEVICE_TABLE Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 017/173] spi: sprd: Add " Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 018/173] usb: chipidea: udc: assign interrupt number to USB gadget structure Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 019/173] isdn: mISDN: netjet: Fix crash in nj_probe: Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 020/173] bonding: init notify_work earlier to avoid uninitialized use Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 021/173] netlink: disable IRQs for netlink_lock_table() Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 022/173] net: mdiobus: get rid of a BUG_ON() Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 023/173] cgroup: disable controllers at parse time Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 024/173] wq: handle VM suspension in stall detection Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 025/173] net/qla3xxx: fix schedule while atomic in ql_sem_spinlock Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 026/173] RDS tcp loopback connection can hang Greg Kroah-Hartman
2021-06-14 10:25 ` [PATCH 5.12 027/173] net:sfc: fix non-freed irq in legacy irq mode Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 028/173] scsi: bnx2fc: Return failure if io_req is already in ABTS processing Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 029/173] scsi: vmw_pvscsi: Set correct residual data length Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 030/173] scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 031/173] scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 032/173] net: macb: ensure the device is available before accessing GEMGXL control registers Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 033/173] net: appletalk: cops: Fix data race in cops_probe1 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 034/173] net: dsa: microchip: enable phy errata workaround on 9567 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 035/173] Makefile: LTO: have linker check -Wframe-larger-than Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 036/173] nvme-fabrics: decode host pathing error for connect Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 037/173] MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 038/173] bpf, selftests: Adjust few selftest result_unpriv outcomes Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 039/173] dm verity: fix require_signatures module_param permissions Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 040/173] bnx2x: Fix missing error code in bnx2x_iov_init_one() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 041/173] nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 042/173] nvmet: fix false keep-alive timeout when a controller is torn down Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 043/173] powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 044/173] powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 " Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 045/173] spi: Dont have controller clean up spi device before driver unbind Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 046/173] spi: Cleanup on failure of initial setup Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 047/173] i2c: mpc: Make use of i2c_recover_bus() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 048/173] i2c: mpc: implement erratum A-004447 workaround Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 049/173] ALSA: seq: Fix race of snd_seq_timer_open() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 050/173] ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 051/173] ALSA: hda/realtek: headphone and mic dont work on an Acer laptop Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 052/173] ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 053/173] ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 054/173] ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 055/173] ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 056/173] spi: bcm2835: Fix out-of-bounds access with more than 4 slaves Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 057/173] Revert "ACPI: sleep: Put the FACS table after using it" Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 058/173] ACPI: Pass the same capabilities to the _OSC regardless of the query flag Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 059/173] drm: Fix use-after-free read in drm_getunique() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 060/173] drm: Lock pointer access in drm_master_release() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 061/173] x86, lto: Pass -stack-alignment only on LLD < 13.0.0 Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 062/173] perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 063/173] KVM: x86: Unload MMU on guest TLB flush if TDP disabled to force MMU sync Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 064/173] KVM: X86: MMU: Use the correct inherited permissions to get shadow page Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 065/173] kvm: avoid speculation-based attacks from out-of-range memslot accesses Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 066/173] staging: rtl8723bs: Fix uninitialized variables Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 067/173] usb: misc: brcmstb-usb-pinmap: check return value after calling platform_get_resource() Greg Kroah-Hartman
2021-06-14 10:26 ` Greg Kroah-Hartman [this message]
2021-06-14 10:26 ` [PATCH 5.12 069/173] bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 070/173] tick/nohz: Only check for RCU deferred wakeup on user/guest entry when needed Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 071/173] bcache: remove bcache device self-defined readahead Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 072/173] bcache: avoid oversized read request in cache missing code path Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 073/173] async_xor: check src_offs is not NULL before updating it Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 074/173] btrfs: do not write supers if we have an fs error Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 075/173] btrfs: zoned: fix zone number to sector/physical calculation Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 076/173] btrfs: return value from btrfs_mark_extent_written() in case of error Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 077/173] btrfs: promote debugging asserts to full-fledged checks in validate_super Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 078/173] coredump: Limit what can interrupt coredumps Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 079/173] cgroup1: dont allow \n in renaming Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 080/173] ftrace: Do not blindly read the ip address in ftrace_bug() Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 081/173] tracing: Correct the length check which causes memory corruption Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 082/173] tools/bootconfig: Fix a build error accroding to undefined fallthrough Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 083/173] mmc: renesas_sdhi: abort tuning when timeout detected Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 084/173] mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+ Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 085/173] USB: f_ncm: ncm_bitrate (speed) is unsigned Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 086/173] usb: f_ncm: only first packet of aggregate needs to start timer Greg Kroah-Hartman
2021-06-14 10:26 ` [PATCH 5.12 087/173] usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 088/173] usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 089/173] usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 090/173] usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 091/173] usb: dwc3: debugfs: Add and remove endpoint dirs dynamically Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 092/173] usb: dwc3: ep0: fix NULL pointer exception Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 093/173] usb: pci-quirks: disable D3cold on xhci suspend for s2idle on AMD Renoir Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 094/173] usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 095/173] usb: typec: wcove: Use LE to CPU conversion when accessing msg->header Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 096/173] usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 097/173] usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 098/173] usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 099/173] usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 100/173] USB: serial: ftdi_sio: add NovaTech OrionMX product ID Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 101/173] USB: serial: omninet: add device id for Zyxel Omni 56K Plus Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 102/173] USB: serial: quatech2: fix control-request directions Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 103/173] USB: serial: cp210x: fix alternate function for CP2102N QFN20 Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 104/173] USB: serial: cp210x: fix CP2102N-A01 modem control Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 105/173] usb: cdnsp: Fix deadlock issue in cdnsp_thread_irq_handler Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 106/173] usb: gadget: eem: fix wrong eem header operation Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 107/173] usb: fix various gadgets null ptr deref on 10gbps cabling Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 108/173] usb: fix various gadget panics " Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 109/173] usb: typec: tcpm: Properly handle Alert and Status Messages Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 110/173] usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 111/173] usb: typec: tcpm: cancel frs " Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 112/173] usb: typec: tcpm: Do not finish VDM AMS for retrying Responses Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 113/173] regulator: core: resolve supply for boot-on/always-on regulators Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 114/173] regulator: max77620: Use device_set_of_node_from_dev() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 115/173] regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837 Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 116/173] regulator: da9121: Return REGULATOR_MODE_INVALID for invalid mode Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 117/173] regulator: fan53880: Fix missing n_voltages setting Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 118/173] regulator: fixed: Ensure enable_counter is correct if reg_domain_disable fails Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 119/173] regulator: scmi: Fix off-by-one for linear regulators .n_voltages setting Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 120/173] regulator: bd71828: Fix .n_voltages settings Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 121/173] regulator: atc260x: Fix n_voltages and min_sel for pickable linear ranges Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 122/173] regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 123/173] phy: usb: Fix misuse of IS_ENABLED Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 124/173] usb: cdns3: Enable TDL_CHK only for OUT ep Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 125/173] usb: dwc3: gadget: Disable gadget IRQ during pullup disable Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 126/173] usb: typec: tcpm: Correct the responses in SVDM Version 2.0 DFP Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 127/173] usb: typec: tcpm: Fix misuses of AMS invocation Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 128/173] usb: typec: mux: Fix copy-paste mistake in typec_mux_match Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 129/173] drm/mcde: Fix off by 10^3 in calculation Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 130/173] drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650 Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 131/173] drm/msm/a6xx: update/fix CP_PROTECT initialization Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 132/173] drm/msm/a6xx: avoid shadow NULL reference in failure path Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 133/173] hwmon: (corsair-psu) fix suspend behavior Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 134/173] hwmon: (tps23861) define regmap max register Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 135/173] hwmon: (tps23861) set current shunt value Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 136/173] hwmon: (tps23861) correct shunt LSB values Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 137/173] RDMA/ipoib: Fix warning caused by destroying non-initial netns Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 138/173] RDMA/mlx5: Use different doorbell memory for different processes Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 139/173] RDMA/mlx4: Do not map the core_clock page to user space unless enabled Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 140/173] RDMA/mlx5: Block FDB rules when not in switchdev mode Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 141/173] RDMA: Verify port when creating flow rule Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 142/173] ARM: cpuidle: Avoid orphan section warning Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 143/173] vmlinux.lds.h: Avoid orphan section with !SMP Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 144/173] tools/bootconfig: Fix error return code in apply_xbc() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 145/173] phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 146/173] ASoC: core: Fix Null-point-dereference in fmt_single_name() Greg Kroah-Hartman
2021-06-14 10:27 ` [PATCH 5.12 147/173] ASoC: meson: gx-card: fix sound-dai dt schema Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 148/173] phy: ti: Fix an error code in wiz_probe() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 149/173] gpio: wcd934x: Fix shift-out-of-bounds error Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 150/173] pinctrl: qcom: Fix duplication in gpio_groups Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 151/173] perf/x86/intel/uncore: Fix a kernel WARNING triggered by maxcpus=1 Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 152/173] perf: Fix data race between pin_count increment/decrement Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 153/173] dt-bindings: connector: Replace BIT macro with generic bit ops Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 154/173] sched/fair: Keep load_avg and load_sum synced Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 155/173] sched/fair: Make sure to update tg contrib for blocked load Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 156/173] ASoC: SOF: reset enabled_cores state at suspend Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 157/173] sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 158/173] platform/surface: aggregator: Fix event disable function Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 159/173] x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 160/173] KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 161/173] IB/mlx5: Fix initializing CQ fragments buffer Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 162/173] NFS: Fix a potential NULL dereference in nfs_get_client() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 163/173] NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 164/173] pinctrl: qcom: Make it possible to select SC8180x TLMM Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 165/173] perf session: Correct buffer copying when peeking events Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 166/173] kvm: fix previous commit for 32-bit builds Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 167/173] NFS: Fix use-after-free in nfs4_init_client() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 168/173] NFSv4: Fix second deadlock in nfs4_evict_inode() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 169/173] NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 170/173] scsi: core: Fix error handling of scsi_host_alloc() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 171/173] scsi: core: Fix failure handling of scsi_add_host_with_dma() Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 172/173] scsi: core: Put .shost_dev in failure path if host state changes to RUNNING Greg Kroah-Hartman
2021-06-14 10:28 ` [PATCH 5.12 173/173] scsi: core: Only put parent device if host state differs from SHOST_CREATED Greg Kroah-Hartman
2021-06-14 16:34 ` [PATCH 5.12 000/173] 5.12.11-rc1 review Fox Chen
2021-06-14 19:26 ` Shuah Khan
2021-06-14 19:47 ` Florian Fainelli
2021-06-14 19:55 ` Justin Forbes
2021-06-15  4:32 ` Naresh Kamboju
2021-06-15 14:21 ` Guenter Roeck

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=20210614102700.424381507@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=chris.chiu@canonical.com \
    --cc=gordon.lack@dsl.pipex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricky_wu@realtek.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