Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp415856imu; Tue, 27 Nov 2018 14:33:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/WH0wh2isBT6PaqTnAD4s1Agj8Rd97j2N7R+EipRwdG19nKaGZd0R052sSBpX3Qgenr8xkN X-Received: by 2002:a63:1d1d:: with SMTP id d29mr29708139pgd.49.1543358033470; Tue, 27 Nov 2018 14:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543358033; cv=none; d=google.com; s=arc-20160816; b=OgBqyVq6DNHAYAXKIqdfOXi4pviJXwY2+l2AXboTLexFOAW4HVnCNCnsifrAdh44jl IBK0X2IAHs0Y0XbXT3Zw5eLAhzkwtjrYTpk4+u92wRTjP4V2/4DJvqg4DcA6FjGXdVHd SaD6WIo3KgFX6HKNlwpzoI7vfF0k9bx5IcFbhDQqNUOWU4A10h4gbkjBStsq2pW8zZux FDkuOQH9cgmx8dYwVVwDg4Rnsg5iwTrpDBDhSbDnNmo76KI4Abt2fJ30FprdDqETlZG1 tB0BLAIcXhfj3YBvxSE+462VPy/lbY3beC5wpo9j9lhkqNQ6Upwfa3vf1QNRsgNELtr/ okQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=T8YIVohDTGnjzCjr0TnLA0gjgwRHJbEAfxDTkBketEU=; b=UwFor9B3RrjhpgT6qgya+OuVynFLmtLALHUQ1b1j826vRlvCOGrGnDBYuKU3MCqm86 CuBLpdDmGF9x9aXHCMP9DrwSPI0qkQqR1pTNyQIPVODNC7AyLtZr/WhqygIu/jcyBoQl 04twcBl7Bnq5k4e2Uc3vk+GBil+Wl3Vswrep4ri5tPjRygdglrmNKhpTjji1FvhxVXbJ Y4AO5T0jj3c/3kwS9JpAN0ubnq5eMma9LHg5CGYM9jKKNlAF3ZvLxVBJqF3QR/ayLG5s tgUMd9NqEr8EmL78Cli9pDT2JODUg8uwdRG1HnGVRYv7frUsalYg+9Tvx5rtHORUCMQb nxrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si5567234pfq.56.2018.11.27.14.33.36; Tue, 27 Nov 2018 14:33:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726902AbeK1JcV (ORCPT + 99 others); Wed, 28 Nov 2018 04:32:21 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:48351 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbeK1JcV (ORCPT ); Wed, 28 Nov 2018 04:32:21 -0500 Received: from 79.184.252.167.ipv4.supernova.orange.pl (79.184.252.167) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.157) id 16363634018e03a9; Tue, 27 Nov 2018 23:32:56 +0100 From: "Rafael J. Wysocki" To: Bjorn Helgaas Cc: LKML , Linux PCI , Patrick Talbert , Linux ACPI Subject: Re: [Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc Date: Tue, 27 Nov 2018 23:32:52 +0100 Message-ID: <2589393.XVIVmOtOXj@aspire.rjw.lan> In-Reply-To: <20181127202514.GB112381@google.com> References: <2960808.4YCFhzuD0k@aspire.rjw.lan> <1675729.7aZxPkvRd8@aspire.rjw.lan> <20181127202514.GB112381@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, November 27, 2018 9:25:14 PM CET Bjorn Helgaas wrote: > On Mon, Nov 26, 2018 at 11:37:20PM +0100, Rafael J. Wysocki wrote: > > On Monday, November 26, 2018 7:03:58 PM CET Rafael J. Wysocki wrote: > > > Hi Bjorn, > > > > > > The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. > > > > > > Here's what lspci -v says about it (in a bad kernel): > > > > > > 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader > > > (rev 01) > > > Subsystem: Acer Incorporated [ALI] Device 0704 > > > Flags: bus master, fast devsel, latency 0, IRQ 35 > > > Memory at d9001000 (32-bit, non-prefetchable) [size=4K] > > > Capabilities: [40] Power Management version 3 > > > Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ > > > Capabilities: [70] Express Endpoint, MSI 00 > > > Capabilities: [100] Advanced Error Reporting > > > Capabilities: [140] Device Serial Number 00-00-00-01-00-4c-e0-00 > > > Kernel driver in use: rtsx_pci > > > Kernel modules: rtsx_pci > > Thanks a lot for bisecting this! > > With a good kernel (v4.19 or v4.20-rc with 17c91487364f reverted), > would you mind collecting "lspci -vv" output, the dmesg log with > "pci=earlydump", and the FADT dump? I'll do that tomorrow. > I'm interested in the initial state of the device at handoff from > BIOS, and what Linux changes even when aspm_disabled is set. OK > If we can't figure out a way to fix both this issue and the one fixed > by 17c91487364f, I guess the fallback will be to revert 17c91487364f > since it's better to allow a system that was previously broken to > remain broken than it is to break a system that previously worked. Well, depending on how many systems are affected by the issues fixed by 17c91487364f IMO. Arguably, if the FADT says "NO_ASPM", then the platform should not need the OS to initialize ASPM to work. I guess a manual workaround (like an extra kernel command line option or similar) should suffice in this particular case. > But obviously I hope we can figure out a solution that fixes both > cases. Of course.