Hi reviewers,
I suggest to backport a commit to Linux kernel-5.10 and 6.6 stable tree.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/dr...
author Lin Gui lin.gui@mediatek.com 2023-12-19 07:05:32 +0800 committer Ulf Hansson ulf.hansson@linaro.org 2024-01-02 17:54:05 +0100 commit e4df56ad0bf3506c5189abb9be83f3bea05a4c4f (patch) tree a5db3a85f44b29dd773c5c65c3340d50b74b6687 /drivers/mmc/core/mmc.c parent b062136d0d6f46d7ad5c88219cbd75f90cb18e81 (diff) download linux-e4df56ad0bf3506c5189abb9be83f3bea05a4c4f.tar.gz
mmc: core: Add wp_grp_size sysfs node The eMMC card can be set into write-protected mode to prevent data from being accidentally modified or deleted. Wp_grp_size (Write Protect Group Size) refers to an attribute of the eMMC card, used to manage write protection and is the CSD register [36:32] of the eMMC device. Wp_grp_size (Write Protect Group Size) indicates how many eMMC blocks are contained in each write protection group on the eMMC card.
To allow userspace easy access of the CSD register bits, let's add sysfs node "wp_grp_size".
Signed-off-by: Lin Gui lin.gui@mediatek.com Signed-off-by: Bo Ye bo.ye@mediatek.com Reviewed-by: AngeloGioacchino Del Regno angelogioacchino.delregno@collabora.com Link: https://lore.kernel.org/r/20231218230532.82427-1-bo.ye@mediatek.com Signed-off-by: Ulf Hansson ulf.hansson@linaro.org
------------------------------------ Best Regards ! Guilin ===================================== MediaTek(ChengDu)Inc. Email: mailto:lin.gui@mediatek.com tel:+86-28-85939000-67009 Fax:+86-28-85929875 ==============================================
On Sat, Mar 16, 2024 at 08:16:30AM +0000, Lin Gui (桂林) wrote:
Hi reviewers,
I suggest to backport a commit to Linux kernel-5.10 and 6.6 stable tree.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/dr...
Why? What bug does this fix?
Dear mailto:sashal@kernel.org,
This patch is not a bug fix. This patch is to add the sysfs node of mmc: write protection related, the detailed description is as follows:
mmc: core: Add wp_grp_size sysfs node The eMMC card can be set into write-protected mode to prevent data from being accidentally modified or deleted. Wp_grp_size (Write Protect Group Size) refers to an attribute of the eMMC card, used to manage write protection and is the CSD register [36:32] of the eMMC device. Wp_grp_size (Write Protect Group Size) indicates how many eMMC blocks are contained in each write protection group on the eMMC card.
To allow userspace easy access of the CSD register bits, let's add sysfs node "wp_grp_size".
------------------------------------ Best Regards ! Guilin
发件人: Sasha Levin sashal@kernel.org 发送时间: 2024年3月16日 17:22 收件人: Lin Gui (桂林) Lin.Gui@mediatek.com 抄送: stable@vger.kernel.org; Yongdong Zhang (张永东) Yongdong.Zhang@mediatek.com; Bo Ye (叶波) Bo.Ye@mediatek.com; Qilin Tan (谭麒麟) Qilin.Tan@mediatek.com 主题: Re: backport a patch for Linux kernel-5.10 and 6.6 stable tree
External email : Please do not click links or open attachments until you have verified the sender or the content.
On Sat, Mar 16, 2024 at 08:16:30AM +0000, Lin Gui (桂林) wrote:
Hi reviewers,
I suggest to backport a commit to Linux kernel-5.10 and 6.6 stable tree.
https://urldefense.com/v3/__https://git.kernel.org/pub/scm/linux/kernel/git/...
Why? What bug does this fix?
On Mon, Mar 18, 2024 at 07:46:15AM +0000, Lin Gui (桂林) wrote:
Dear mailto:sashal@kernel.org,
This patch is not a bug fix. This patch is to add the sysfs node of mmc: write protection related, the detailed description is as follows:
Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for what is allowed for stable kernel releasaes.
thanks,
greg k-h
Hi reviewers,
Please help to backport this patch into kenrel-5.15 , kernel-6.1 , kernel-6.6 stable tree Thank you
https://patchwork.kernel.org/project/linux-mmc/patch/20231225093839.22931-2-...
[v3,1/1] mmc: core: Add HS400 tuning in HS400es initialization Message ID 20231225093839.22931-2-mengqi.zhang@mediatek.com (mailing list archive) State New Headers show Series mmc: core: Add HS400 tuning in HS400es initialization | expand Commit Message Mengqi ZhangDec. 25, 2023, 9:38 a.m. UTC During the initialization to HS400es stage, add hs400 tuning flow as an optional process. For Mediatek IP, HS00es mode requires a specific tuning to ensure the correct HS400 timing setting.
Signed-off-by: Mengqi Zhang mengqi.zhang@mediatek.com --- v1 https://patchwork.kernel.org/project/linux-mediatek/patch/20231201030547.115... v2 https://patchwork.kernel.org/project/linux-mediatek/patch/20231222062236.263... --- drivers/mmc/core/mmc.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
------------------------------------ Best Regards ! Guilin ===================================== MediaTek(ChengDu)Inc. Email: mailto:lin.gui@mediatek.com tel:+86-28-85939000-67009 Fax:+86-28-85929875 ==============================================
On Thu, May 23, 2024 at 02:39:14AM +0000, Lin Gui (桂林) wrote:
Hi reviewers,
Please help to backport this patch into kenrel-5.15 , kernel-6.1 , kernel-6.6 stable tree Thank you
https://patchwork.kernel.org/project/linux-mmc/patch/20231225093839.22931-2-...
[v3,1/1] mmc: core: Add HS400 tuning in HS400es initialization Message ID 20231225093839.22931-2-mengqi.zhang@mediatek.com (mailing list archive) State New Headers show Series mmc: core: Add HS400 tuning in HS400es initialization | expand Commit Message Mengqi ZhangDec. 25, 2023, 9:38 a.m. UTC During the initialization to HS400es stage, add hs400 tuning flow as an optional process. For Mediatek IP, HS00es mode requires a specific tuning to ensure the correct HS400 timing setting.
Signed-off-by: Mengqi Zhang mengqi.zhang@mediatek.com
What is the git id of it in Linus's tree?
thanks,
greg k-h
linux-stable-mirror@lists.linaro.org