Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4908671rwi; Sat, 22 Oct 2022 19:20:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6OmxLW2dA5utKjJ7/0RCdXVJtzW43qI2sFlZ7TurCMwd8xMyMkD+cEMlEqHUlDKopCspdx X-Received: by 2002:a05:6402:847:b0:45c:c716:4b76 with SMTP id b7-20020a056402084700b0045cc7164b76mr24829223edz.113.1666491642409; Sat, 22 Oct 2022 19:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666491642; cv=none; d=google.com; s=arc-20160816; b=u44mVp+cDycBgEva/BNzyKqzKJYxN30KPwsuvrq/sjmanbjjwL/UYLJgyC3Jkw9atm GWKJ7byzBrEdZHBKvaXmh4Oa43bIiDM8IghHq6BPYPETdwRWzQJmelZdsEAM2Gd+BLh+ bXjTUCt/cuOtk+9SBTeC99QvbTTkl9Uepo8gSLUo49rw9qE57dhF9hhsRGtPW0Ik+0ku xDWTzScSALonRnUvq2p+KAUmDCB1MTiVn04Fa22Z+tdRnAbRe6ER466fKsGIWzebAd3j t1Fs6XkeLATNiZBVeQGCHpr3iUMJj8Pzt7nPTnig8lbC79vNP9mULXJlsJnK/+hctye8 Ro6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=4buRFRGWnnlKIHql0Q3qqpGLkPRxc7dJGxBLjsZx+7k=; b=XNbLdy6KQAAIS7SwdorqBTCzYEHOgycrmRrcak7F700IX2jHDNQOlTAwDIpOb9uTyN DYOo3BLZ6tdygqli8lsN8zunlxMyVedUJrQzZ8SGXqlGAtH7rnZNXkKr7knu3SC43zla BLKNvk3iOq+/J5UI1nliqM1NTp31XfUMQPdbkP+HoPkwxoawL0XIsBpIETD0oHkmM2gg xwyyRW4GsaU7cy0IIl6VIDMuskqjnKV2er7jTEzDAU8zqb2747eVvuKg84BV7du0VLA4 hQE6Ckt+MJdaTtKySbJmJTlnwuZpqZfyiU6SQ1JtPJvkff7ANxMIYMcFq8JhsZA2QTI9 K2eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sladewatkins.net header.s=googled header.b=gHDPNqOQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sladewatkins.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a170906794f00b0078333d9f17bsi26275847ejo.819.2022.10.22.19.20.01; Sat, 22 Oct 2022 19:20:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sladewatkins.net header.s=googled header.b=gHDPNqOQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sladewatkins.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbiJWCJC (ORCPT + 99 others); Sat, 22 Oct 2022 22:09:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbiJWCI7 (ORCPT ); Sat, 22 Oct 2022 22:08:59 -0400 Received: from 011.lax.mailroute.net (011.lax.mailroute.net [199.89.1.14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8D8267D for ; Sat, 22 Oct 2022 19:08:57 -0700 (PDT) Received: from localhost (011.lax.mailroute.net [127.0.0.1]) by 011.lax.mailroute.net (Postfix) with ESMTP id 4Mw1pd2Gndz2lHwG for ; Sun, 23 Oct 2022 02:08:57 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from 011.lax.mailroute.net ([199.89.1.14]) by localhost (011.lax [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id j4cmWMEv-iEi for ; Sun, 23 Oct 2022 02:08:55 +0000 (UTC) Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by 011.lax.mailroute.net (Postfix) with ESMTPS id 4Mw1pb5XxQz2lHRT for ; Sun, 23 Oct 2022 02:08:55 +0000 (UTC) Received: by mail-pg1-f199.google.com with SMTP id f186-20020a636ac3000000b0044adaa7d347so2929086pgc.14 for ; Sat, 22 Oct 2022 19:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sladewatkins.net; s=googled; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4buRFRGWnnlKIHql0Q3qqpGLkPRxc7dJGxBLjsZx+7k=; b=gHDPNqOQBs68kFLX07Qc8yCj+HUCAxaB2KUMqDN7ASOV8uQ9lPx4i8APW46VkpBG6y jrMT3BGjO3M7bIbA7Igyry5dJaTXwM3w2e+054BMLvtnc2r47Hb1JrV5LIvnilCchuch Ld8U/3+GXwNZjDXn9lq7aB7uSXMrRdXw9zLrfXl3+6w1wsIrql82s2wD6TjqXuAtLck4 dgEF1OtrWhs1aLBo2PJsaIp1/oiBRQoKF1eEM1G9Oqx3nsHsBkZ09Ps0Xms435XnSMo4 bIrmfgJYwSUefDKoByjxBJRC2XeCs7vyVjujK0BbtzTqgVLX8Eynzh7gcQ98nRg0xTDC jCnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4buRFRGWnnlKIHql0Q3qqpGLkPRxc7dJGxBLjsZx+7k=; b=QvUqg8hTLVpgWhx99tOeP9ozGMAoM11WEzgBC8hk3oFNjSCVFALrEkRxFioMHhad69 fIt9SzyIMUJpGCHRBcLm58u9XIndipFZQq7Rnk8sBBedj+nwucUJlsogt+dsC4ucQ7Jj Q6eUJM/h75aqerDRduQwPpcPCAJkXKvJwFwf2rXOest4luK+WOLysVc/HCN51VNbl9ki hWnr5pAvVI8TWcrJUq/eKg1WNGgfIzNFaFz8D+Yl196CjYllmsISgXffJqnUgMo8wmaW N2ypjqZ5GL/LL2DGFnjuUbPWnae0p0neitrn6SZ9dXAddhrI9LmHVgvFMML6VVkR3Aia X57w== X-Gm-Message-State: ACrzQf16QpADS4MDystYe4uFz0BVG9aAqXUbiPq0EG0a4lLo0mFsjCrL 8WkNE03hcugtiw73owjNhgx7oPmal/bdnSp2y8ZPfbfaqNvz+JJtvIaHncunl5hxuDgVLo9ZlSL jzPGFMnczzM/nVsuzctbiTbZK5iBJtIHFeWl3exIE3t/X3c/Uy++xA9o= X-Received: by 2002:a17:90b:4b0c:b0:20d:233f:5dea with SMTP id lx12-20020a17090b4b0c00b0020d233f5deamr30474216pjb.241.1666490934613; Sat, 22 Oct 2022 19:08:54 -0700 (PDT) X-Received: by 2002:a17:90b:4b0c:b0:20d:233f:5dea with SMTP id lx12-20020a17090b4b0c00b0020d233f5deamr30474187pjb.241.1666490934285; Sat, 22 Oct 2022 19:08:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Slade Watkins Date: Sat, 22 Oct 2022 22:08:43 -0400 Message-ID: Subject: Re: mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake To: Andrea Baldoni Cc: Patrick Thompson , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mmc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 22, 2022 at 8:36 PM Andrea Baldoni wrote: > > Hello. > I am not subscribed to the list so please CC to my address. > > I recently bought a new ASUS Laptop E210KA-GJ059WS with > > 00:1a.0 SD Host controller: Intel Corporation Device 4dc4 (rev 01) (prog-if 01) > Subsystem: ASUSTeK Computer Inc. Device 1842 > Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 7 > Memory at 6001129000 (64-bit, non-prefetchable) [size=4K] > Capabilities: [80] Power Management version 3 > Capabilities: [90] Vendor Specific Information: Len=14 > Kernel driver in use: sdhci-pci > > I tried to install Linux (vanilla kernel 5.19.4) and found that the internal > 128GB eMMC SSD was unuseable, unable to make a filesystem on it, dmesg shown > > mmc0: running CQE recovery > and > mmc0: cqhci: timeout for tag 0 > followed by register dump > > (unfortunately I don't have the exact log now). > > I found the patch to drivers/mmc/host/sdhci-pci-core.c posted by > Patrick Thompson date Thu, 13 Oct 2022 17:00:17 -0400, and applied it, > but the only way to make the eMMC work was to disable > CQE in its entirety by commenting This one I assume?[1] > > slot->host->mmc->caps2 |= MMC_CAP2_CQE; > and > slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD; > > If someone would like me to do any targeted test to be able to solve the > issue better, I will be happy to do it. > > At the moment I am also searching how to get the touchpad to work, I would > appreciate any hint and/or a contact with someone who has experience on > this. > > I think the relevant device should be this one, but it doesn't show in > /proc/bus/input/devices. > > P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00 > E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:6c/ASUE1409:00 > E: ID_VENDOR_FROM_DATABASE=Asuscom Network Inc > E: MODALIAS=acpi:ASUE1409:PNP0C50: > E: SUBSYSTEM=acpi > E: USEC_INITIALIZED=10378637 > > Thank you. > > Best regards, > Andrea Baldoni Also looping in +acpi and mmc lists, +Patrick Thompson here. [1] https://lore.kernel.org/linux-mmc/20221013210017.3751025-1-ptf@google.com/ Best, -srw