From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796218419; b=IQxYFw2286GVQnPdJHHc3o8ZAK4ZsHppJj6ZbeOMI+GkonBwC/lI0ueEFZ7xTfWkFZjZ i+GYLJTlAW3tuhpYSrUbMb5dwI78KVwlHYTTRpCYSdoaie9psRWHFEsjMkOK0r7aWgCeV 1zc4xa65FhUKfZzilbDgEIikMYIvkpPXMu1St0b9ti8QtwTQg9/Oz1AVVwp3kwaL4TB0P JCbz1rWudln9la/yHDgclqSX+RHxFKFC6DGdpgTNgo/OrVQxLNhFixggBEM5+YUCVvD7q 4DeK3BZmNY70AJlL8km6n1Of5LZQ4vp69wo28cIaoPGzQsB7SQfAYDnZ46w7HFEB1Jg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796218419; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=5DlvbGppuQkRlIr4Y599axauzNAYfqltUsFcElD9+so=; b=OVlhQpfiHl7FuPsn1JvikF0Yl69eLFDhk0NuLsAhls3v0YmKGKeZvwDsv+YZFGSX9Zvw Vgiy+gYSvFKHYucFiGkEKIOEe3AIDSWLJWPqfEUpoWdYiHLX0/8e3t2TSPev7U98uo2MP zc6DLPfOvOVVJXPVduwIep6rtnmfWMdZrEYU0vADTm8wh9fW+mwd/k64Gj8OQwCiNJ8Rp ESEIj6+caHxanGVAf8tPRevgekSfGkM2pj0wj9eqgXya9fKWVuVZMn0EwkvZTwKMAO74u A5Vu35NKLE6CDgkFNGS+An+ajh+0+4Es52LXRqY2HwO7wcwFWUzEDmHHWZKMJioSKdA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ostDQ7iu; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dF9m9gjy; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C454606A31A for ; Wed, 2 Dec 2026 13:33:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5C454606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=ostDQ7iu; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dF9m9gjy Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2BjJRY672435 for ; Wed, 2 Dec 2026 13:33:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=qcppdkim1; bh=5DlvbGppuQkRlIr4Y599axauzNAYfqltUsF cElD9+so=; b=ostDQ7iuc31rt8jELYpYhdsUpkZxY5e8We8H4zBUU3D0WKO88OS fjX8Upbb3Q//+Y8+LyQcP6dczZyaDtepCBnMIS1yEJD76gf6jxhjiY2a6e3WOR4w V4h5q5ltz5hf8ig24NPfp6U0xzt3sL/CgeI2Mo92EHLgNRaay+d3M4kd4I2SkrQK 0nFuYFhWknZiNluY3BbSbSC5kts8skGzbvmlwn9errWMoqZ62PDJRDyKdtLWUBWj 6BZCp+YcZVCq0FCQPYrQf0agw90EkoWAJc5v85nr55UzYT+CfhKY2ot1vABYcUHR cq2uaZRMcG+XZVXSBhw6Dz4zOZdw41JaRBg== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja4jm3rsd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 13:33:37 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-934963b2bc0so2274326485a.3 for ; Wed, 02 Dec 2026 05:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796218416; x=1796823216; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=5DlvbGppuQkRlIr4Y599axauzNAYfqltUsFcElD9+so=; b=dF9m9gjynb7UdTu/XYtCLLqc/wzAiU5leGoMYvx2KLVgoiFdEFL/zozuTlU6P9DZQe 0bE1uviDjmYSCjIDLUwB4BaL6SjbcbnHv1Q4O7azL+zZ/L0Mjnrl5o39vNJfLjQpJfO2 +zDWiWa4jqtIqtkMxC5aEtsJKUKOuGjBalX7DOHVMjGaXjLHd629hmViVinKeCRY1XF9 +vTMIIbnQeFgjTCdMhHXgtfWg/7ZSxyrDeIUo08a3p/BteYQxKdPtQ1b6SAdctslmRho nFN9Mmf+/GVKLyR/N+Tp8lVWJAmtFjoS5s2QaSrnVyUTB4YuGewOWGm9orX2OSLHbGAI AalQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796218416; x=1796823216; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=5DlvbGppuQkRlIr4Y599axauzNAYfqltUsFcElD9+so=; b=082QCZZdbWLarm+/GDvQM68XHtGsWZj1b0mSQizZXJYCPgiFCVtTcdS0P2FeMpsZwJ OkEoFR4lW8XXgj0XzhMx4dXKua3vUPvmO240kdyTkUHcpVZe6GhJR/xRGw7xRf8Of8UH /fuCJ/f/VW5ZzYwyJP8jDqZDWUsmGaloL2kwih2VS0mr3v9k9SP6kabmH+aOJOxH+rZu dyc4BbfHR5eWws4uLbqd/AeK6jnkYxPidAhhCxHUfhuNu8eueB4OkUa12uhi6LXHyDjb 590rChaz0gr3/2nnGedXuYnQqfcqvTkRLnGDwVZzNHISdgO1MxAOI56E3pY6yXn/ml4P 6+dA== X-Forwarded-Encrypted: i=1; AL+hErESTQm7Yf12DIzTLzWHaGHDRyPpZg0/eKm4bNyVlc55CdPyY6LiZdGT2z7cCvFmPePOw5ylNbHAyKTfXRE=@vger.kernel.org X-Gm-Message-State: APuU4Z8SUztON2b3+LLTy9kYnaIBW+EpCpdlJcN2JT15kD784U76QDCK lC6KwjWGgbU16SzIesAF//ZtX/xnNC6V2KfVOY9j5hx5D1OqXIoYtITzYLUIMD8KXCIk4LdeQaJ Z95qbrae7Z92pcivy/ePic8MVTumwP0hqwGqMcNAtPjTpcET1+2g1FyXc6RkhuSF6U0b4kamQxj A= X-Gm-Gg: AZFdTZcoRHJ3XvNkPAiuAe1xyma+w6vEPsJF3IJ6uBy+7/v3iQl22hHMbjPXTrTuuij QCM1Q4a9yZ+iQZ24X6bsTsLRq00wmNClfnreb7MTFPAM3psmzihQ9FM5WaXfcexw+YU86pey7xq YvxRqhl/FaODaedG2JmuK+d2Qf6clkOSNQLJYpZSJw4PKLydWJTIKxHSfgTVhgZipPYvDMewKjf gOPdeGnsDhihCtd5o49F3ZYDX79/ZuuHecXaUb/NStbTIgwOyUaDcIbnEJSobrZXu/Kh2H23ZhD Gjkgq5tO+uHFaVqTzrxglu6jstYsZCqrb3QysPGhvcPZFzhKFeaunvdN/b3FwacBv0vBlHxzQc8 OvSFpUW/FsCZRPqGIScOXW3nIF4PXbcxRSeaYRloW1hTiSa0V0mLIunnKLKZoqvGiv0m4DljTSU BPCU5Q0IsNPJLgSma/Z5hcMHFS1kmJuG8= X-Received: by 2002:a05:620a:730d:20b0:94a:96e:82c with SMTP id af79cd13be357-94a096e0bc1mr3256763185a.6.1796218416463; Wed, 02 Dec 2026 05:33:36 -0800 (PST) X-Received: by 2002:a05:620a:730d:20b0:94a:96e:82c with SMTP id af79cd13be357-94a096e0bc1mr3256759785a.6.1796218415899; Wed, 02 Dec 2026 05:33:35 -0800 (PST) Received: from uffe-tuxpro14.. (h-178-174-189-39.A498.priv.bahnhof.se. [178.174.189.39]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6ba854bed08sm14517001a12.30.2026.12.02.05.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 05:33:33 -0800 (PST) From: Ulf Hansson To: Linus , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ulf Hansson Subject: [GIT PULL] MMC/MEMSTICK fixes for v7.4-rc6 Date: Wed, 2 Dec 2026 14:33:31 +0100 Message-ID: <20261202133332.143246-1-ulf.hansson@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA1MyBTYWx0ZWRfX55WMaKnynzUZ DXloCvQWa9yU2WC/vMiR0+O9qbI5w2ctmvZE3vpM3ZlxY73NEyyLmwTA7MsQsodeHIR06V8vjLZ cFSI9nlHCixO1tRItnkhxOrySKqpuF4= X-Proofpoint-ORIG-GUID: SQW5TM5Xx7t7qE_EzzxpxjCaIbUSlAUa X-Proofpoint-GUID: SQW5TM5Xx7t7qE_EzzxpxjCaIbUSlAUa X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA1MyBTYWx0ZWRfXzaVrZKohPS/6 2llYhsIjB93w9MywCDJGSqTxhbNP8VQsQ/5ujSZmGsJoJLmCLjsHch+EsgZD0ggFzXA/LvVtAuN e72dDJ35sTKuRxML77CTiUWGnfshwJJFG0stCDUMhRhQf7NKXiX9hgxvXiKbRAeZwjARcJIHrn3 sA95ZzMFGrlqpl/P5xF5H666FiKFbXYstkFacW+UZ8Wn0HAMIHbZfS6NPnINDcCFXrtBuzNWCd1 cUWJHiARILUGsbDxS8N8/b/cjerhtdBc+1RtwtryVx6XOubMoFneipwoittNGVw/TYKkuRDTX5J cckG4/IRacLo7iv+2F/7ETeEA8bwxzybSeISgYxdr2h6jo6WpHfx6/R5gV3Z06n4e1THpOgQfta T/PbihS39uQBVauEYQvr07bKLnQJhTKBn1jK6oeQsX2oAem7iGEGCqLaBj/hNJGaeDkFGBke/vj AjwxQ/cU9hQX0fJpXqQ== X-Authority-Analysis: v=2.4 cv=KYBHIgYD c=1 sm=1 tr=0 ts=6b101e31 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=h7aNHqOhPKB91FvYUefsSA==:17 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=VwQbUJbxAAAA:8 a=xeHmFgyXb40my9BPrb0A:9 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020053 Hi Linus, Here's a pull-request with some MMC/MEMSTICK fixes intended for v7.4-rc6. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 6b8b1e8827837bf4cf1f87219038fddae9e81b0b: mmc: jz4740: Remove the host before resetting the controller (2026-11-05 18:56:25 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v7.4-rc1-2 for you to fetch changes up to 428260df6b8740cfbcbd83c6279109c996366d08: mmc: bcm2835: restore scatterlist after DMA setup failure (2026-11-30 17:01:45 +0100) ---------------------------------------------------------------- MMC core: - Saturate erase timeout instead of overflowing - Use GFP_NOIO for SD cache flush buffers - Fix probing of SDIO functions on ACPI systems - Mark the end of a truncated scatterlist - Clear MQRQ_XFER_SINGLE_BLOCK for new requests - Add ISSI IS22TF128G eMMC to fixed secure erase time quirk MMC host: - bcm2835: Restore scatterlist after DMA setup failure - dw_mmc: Fix support for clk-phase in DT - dw_mmc: Fix races at remove - mmci: Fix support for tuning for stm32 - mmci: Do not count a data CRC error as a complete transfer - mmci: Reset and restore SDMMC state on system resume for stm32 - rtsx_usb_sdmmc: Allow legacy SD init after CMD8 timeout - sdhci-pci-gli: GL9767: Wait for UHS-II wakeup before LPM - sunxi: Report manual stop errors correctly - sh_mmcif: Fixes for DMA and sg_miter handling MEMSTICK: - Remove the host ID after device_del() - ms_block: Fix memory leaks and double free - mspro_block: Wait for running dispatches - mspro_block: Don't hand a finished request back to the host - rtsx_usb_ms/r592: Fix races at remove ---------------------------------------------------------------- Arnd Bergmann (1): mmc: sh_mmcif: rework sg_miter handling Artem Novak (1): mmc: bcm2835: restore scatterlist after DMA setup failure BeaCox (1): mmc: dw_mmc: drain bh_work on host removal Brandt, Oliver - Lenze (1): mmc: dw_mmc: Read clk-phase DT settings earlier Changyul Lee (1): memstick: core: Remove the host ID after device_del() Christophe Kerello (3): mmc: mmci: stm32: reset and restore SDMMC state on system resume mmc: mmci: stm32: release the delay block before enabling it mmc: mmci: stm32: use the delay block above 100 MHz on stm32mp25 SoC Guangshuo Li (1): memstick: ms_block: Fix potential block buffer leak Hans de Goede (1): mmc: sdio: Set acpi_device.power.flags.ignore_parent flag on sdio_func companion Ho Jie Feng (3): memstick: mspro_block: don't hand a finished request back to the host memstick: mspro_block: wait for running dispatches in mspro_block_stop() memstick: ms_block: don't erase the old block of an unmapped LBA Jernej Skrabec (1): mmc: sunxi: Report manual stop errors correctly Jonathan Schmid (1): mmc: core: clear MQRQ_XFER_SINGLE_BLOCK for new requests Kees Cook (1): mmc: mmc_test: Set "cnt" to the allocated size explicitly Mateusz Nowicki (1): mmc: mmci: do not count a data CRC error as a complete transfer Matthew Schwartz (1): mmc: sdhci-pci-gli: GL9767: Wait for UHS-II wakeup before LPM Michael Haener (2): mmc: add ISSI IS22TF128G to fixed secure erase time quirk mmc: core: saturate erase timeout instead of overflowing Myeonghun Pak (2): memstick: r592: shut down the detect timer on removal memstick: rtsx_usb_ms: disable poll_card work on removal Samarth Narang (1): mmc: sh_mmcif: unmap DMA buffers only after the transfer has stopped Sean Rhodes (1): mmc: rtsx_usb_sdmmc: allow legacy SD init after CMD8 timeout Thomas Fourier (1): memstick: ms_block: fix double free in msb_ftl_initialize() error path Xiaolei Wang (1): mmc: core: use GFP_NOIO for SD cache flush buffers Zhu Ling (1): mmc: core: Mark the end of a truncated scatterlist drivers/memstick/core/memstick.c | 2 +- drivers/memstick/core/ms_block.c | 13 +++--- drivers/memstick/core/mspro_block.c | 9 ++-- drivers/memstick/host/r592.c | 2 +- drivers/memstick/host/rtsx_usb_ms.c | 2 +- drivers/mmc/core/block.c | 1 + drivers/mmc/core/card.h | 1 + drivers/mmc/core/core.c | 19 ++++++-- drivers/mmc/core/mmc_test.c | 1 + drivers/mmc/core/queue.c | 2 + drivers/mmc/core/quirks.h | 9 ++++ drivers/mmc/core/sd.c | 4 +- drivers/mmc/core/sdio_bus.c | 24 +++++++++- drivers/mmc/host/bcm2835.c | 13 +++++- drivers/mmc/host/dw_mmc.c | 9 +++- drivers/mmc/host/mmci.c | 63 ++++++++++++++++++++++++- drivers/mmc/host/mmci.h | 4 ++ drivers/mmc/host/mmci_stm32_sdmmc.c | 28 +++++++++--- drivers/mmc/host/rtsx_usb_sdmmc.c | 8 ++-- drivers/mmc/host/sdhci-pci-gli.c | 29 +++++++++++- drivers/mmc/host/sh_mmcif.c | 91 +++++++++++++++++-------------------- drivers/mmc/host/sunxi-mmc.c | 6 ++- 22 files changed, 252 insertions(+), 88 deletions(-)