From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 697B022A1E1 for ; Tue, 24 Mar 2026 00:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774312074; cv=none; b=aqolTGmtqs9xKnLX2ehtGQiSgsf4hO7U3XH+8KALP2QtX/XzZhNSL3Aws92VbCCnwAX4g/dtf/6EMPAUooQ2LdpYupnY3okh9lh8OFlwW87v0bhJmzN3aF2aNk0C5eVzM8yDukWcCfras1RRP849hLovZcW41+04YIzFtSJJuiQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774312074; c=relaxed/simple; bh=nKLIDMyH74vv66nA2TVWfE70YKJT3stMgvQSqz6KfsQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ijgyA3CJs5vYxaGnz/dpe+LX6pDKU9zhgA8DZ5TT/Qyg9yGojuvk1ITHm6Q+3zTR9o43oDMAWYCm0bs0qFYNsEewP7VS5t1bGtJkPfuQv925Ac3TTqiXVOMV1hVpl4YKbut6xQToZUeJi5Z06fzEuYAqJamKqlsWashW1z5aKfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sADEr++Y; arc=none smtp.client-ip=209.85.128.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sADEr++Y" Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-79a40fb9890so32600607b3.1 for ; Mon, 23 Mar 2026 17:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774312072; x=1774916872; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KiL5BJoz6A3LeyTxNl1/0LnOcUHTWakkTU0Scrvg97g=; b=sADEr++YO7xSno6w7WocMbHYy4TZuGCcBF4jP4Xey9B8uUdRtNlXE30hgDnJgx3w3c uqAu3LmZKaVPdr4ugzt9CD1mbYovpZdfZUdXRASPLE432N553Syl0dfI3ptxhg2opYnF MyWZDYR4gpHrN6IMVOg7QW6eeiwHcM996oXtdvwHVIteJNTKRoRwIrwglpJXEOhi/L5S 9X4fLXS/DQFqNSsfQ4ZXlb828eMw3Zh2Jv14BqBgsGadox0T79P+FNOYomJt6GHAyr5M l68R0gn9ZS38P7mjPLDSDQV0LDF9tFyK8WF/yzNKvWh4UBi+G1s5h8DwFhZILAZjrwaN XmXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774312072; x=1774916872; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=KiL5BJoz6A3LeyTxNl1/0LnOcUHTWakkTU0Scrvg97g=; b=alyxS3MaD/RrrZLCxDxndYljm9rrLci7YuUJJx7PZ+aBKSC6RegiZk/BE6BdaPaa4u UBb/x/wW8H3SRrbCxbCPKcvKtr4jXnB5ThnZeowR0cJBDQ+o9E2TssRnsE5cZHDVesPB vE/4BnJp/MmovmFK5T8WDC/XTT7/FBdWaGqH1JM3PCIMXPt3dmxeaSYpWNeDqbi4Tt6t GeTPk7xARXFVNYdws3V3DnQJFVEDZPbJpD9hQeP52xNOSYKiXBlRAFh4lK/I3jzylp4U 6Vi5YPZT8LkFixOFxU1A5yCIlL1s299Ql10dRHEz2ZXpGjectt2KDQ2n4XSmr3bZ71pb j96Q== X-Forwarded-Encrypted: i=1; AJvYcCXiJu/0/5XJx33ZijK3vsrSSfjCXBYeLMmePUsY9sGcnCmXOQ1NaX7bQhfyKUpRYrC0Iv8M7MIxg++5S3g=@vger.kernel.org X-Gm-Message-State: AOJu0Yx8yXDTIllPKm4FQjX50q5r5zOuzNGAE+DVPALsPZ+SdZGQLXpg Eo+Ut13t4depoD2sISJFoFBSXSoNGvZ1sX2AlIMR6SGQqApXCy5zuZpK9+AI+HpO X-Gm-Gg: ATEYQzwIZtrz4dR4wFYscDaOQfpx+cLQTPabtsXtYSPRIcjc7lIfqhIsGBuoeEPcHVQ 3RF3JnMEoUUzZt6kIIIKbFtBlBeA3dRHxaXtt5blKcA34ACn66sIq0v4y0jvSu0AW5HZrbe4OeH W/z5sMWWtTdL2nRTcHtxpdxmvfuVI1RNaJgaSCPGeoyNaGnfl1mTJ6ii7dxX1EkEGOKEG96lKZG sEndpr3Pth6rs96xU6GnG98QmNukqvCKEwIFsPqrEJT7TNRZwmNb0eeYywr1jZ6ZRtSybzx0jSl 16RJMdNtyVFxbC0X6ma35Lnt6XAa3u5ktp6c11SncS+RFBwLYxFe9hD7nGh3Pn7YkZuVnMhtGAq yXirAk8KeAz/Sjwjss4+0pkzu63/VJOJR5IWnWxlows08pqkttTcTLyP26X1QF/3LUlTdhZLwV8 S+WmgCqJmZ5a5bYYtBud6+2XfVPLUkEJV4P/vWdU7isfpAf3BLfg== X-Received: by 2002:a05:690c:f08:b0:79a:8f2f:c86 with SMTP id 00721157ae682-79a90c12e78mr142294837b3.49.1774312072467; Mon, 23 Mar 2026 17:27:52 -0700 (PDT) Received: from Starblazer007.localdomain ([12.206.154.114]) by smtp.gmail.com with ESMTPSA id 00721157ae682-79a903f4190sm65233507b3.15.2026.03.23.17.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 17:27:51 -0700 (PDT) From: Nelson Johnson To: hansg@kernel.org Cc: andriy.shevchenko@intel.com, adrian.hunter@intel.com, ulf.hansson@linaro.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Subject: Re: [PATCH 0/3] mmc: Lenovo N22 Braswell SD slot fixes Date: Mon, 23 Mar 2026 19:27:48 -0500 Message-ID: <20260324002748.21107-1-nzjfr547@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <1bc36cd4-0a8c-4ce2-9852-43ff1cb17a08@kernel.org> References: <1bc36cd4-0a8c-4ce2-9852-43ff1cb17a08@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Sat, Mar 21, 2026 at 05:14:44PM +0100, Hans de Goede wrote: > Have you looked for a BIOS update from Lenovo? Also have you tried > to do "load setup defaults" or something similar in the BIOS? > > So the first thing to do would be to test your original patches > without the patch to disable the INT33BB probing in the sdhci-acpi > code. > > And yes trying to override _STA for 80860F14:01 is an interesting > experiment. > > But first do the bios-update (if available) + load-setup-defaults + > save thingie please. Results of all three tests follow. BIOS update check: The N22 is running BIOS version 0YCN26WW dated 2019-03-11. This is the latest version available from Lenovo for this model — no newer version exists. fwupd confirms no System Firmware updates are available. Load Setup Defaults was performed and all visible BIOS settings were reset. ACPI device status was unchanged after reset: 80860F14:00 status: 15 80860F14:01 status: 0 INT33BB:00 status: 15 Stale NVRAM does not appear to be the cause. This BIOS was present during all previous testing reported in this thread. Patches 1 and 2 without Patch 3: Tested on a kernel built from the vanilla 6.19.6 base with only Patches 1 and 2 applied. The SD slot works correctly without Patch 3. sdhci-pci binds 0000:00:12.0, BusMaster is enabled, and the 128GB SDXC card is detected at UHS-I SDR104. INT33BB:00 still fails to initialize as a non-removable card but does not prevent sdhci-pci from owning the controller. Patch 3 is not necessary on this machine. [ 3.055743] mmc0: SDHCI controller on ACPI [INT33BB:00] using ADMA [ 3.063153] sdhci-pci 0000:00:12.0: SDHCI controller found [8086:2296] (rev 21) [ 3.063881] mmc1: SDHCI controller on PCI [0000:00:12.0] using ADMA [ 3.248057] mmc0: Failed to initialize a non-removable card [ 4.007369] mmc1: new UHS-I speed SDR104 SDXC card at address aaaa [ 4.179918] mmcblk1: mmc1:aaaa SD128 119 GiB Control: BusMaster+ Kernel driver in use: sdhci-pci override _STA for 80860F14:01 experiment: Tested on a vanilla 6.19.6 kernel with a PRESENT_ENTRY_HID entry added to the override_status_ids table in drivers/acpi/x86/utils.c: PRESENT_ENTRY_HID("80860F14", "3", INTEL_ATOM_AIRMONT, { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), DMI_MATCH(DMI_BOARD_NAME, "N22"), }), The override did not change 80860F14:01 status. It remained at 0 after boot. sdhci-pci did not bind, BusMaster stayed off, and the SD card was not detected. The broken behavior was identical to vanilla. The override as implemented here did not take effect. Given that Patches 1 and 2 alone restore full functionality, is a two-patch v2 series the right next step, or is there something further you would like to investigate first?