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?