Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1903994imm; Wed, 16 May 2018 05:00:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr8hMCUeXIn5eA66v6xR6hlMmx7z7vWFGMk5GXMR8MhQDe2ovyIwhhiuN7YsILtdvx17yhm X-Received: by 2002:a63:31d8:: with SMTP id x207-v6mr488141pgx.411.1526472019620; Wed, 16 May 2018 05:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526472019; cv=none; d=google.com; s=arc-20160816; b=DUIu/XKe6WKS/eRAGLd2Cud9Is2J88ySxEh9mAt0ZHt8W59VnCYdPxjyQm/5yZyrU+ 6b8glvB//QztC45iimOnJdmeD0VC5S+1GH/deSOWEaIRjuga8aK5F5yvm7m0t+zSeQuo /hlbua5bc2nBJAF1nuXSsUPC4TDd277c8zDlJKEFb9+PvMkmJgskPZdGydZzF/GQPULn jPzmrE9HLINXsK+QFVCd1zZv+kCU3I8l6t0qg++Lvl9E3QB1yclumO76rtrURt2GtevF Jz3YuXk8P8lIzReq+U9A3yWb9pnIyx0v8Uji6IxZjlz8wskh/1IuyugflsXaPlyQyPlj 0ZBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8HM6dvdN2vqNeOyn5F/7Tb4YIq1E64BLSMtYoChIaGg=; b=QV2Y9rBtotoB1YJMGuX+wqhwoGrfRSghk6Do5HklJEhyGvqcPO13JuK8QFThpJoBwZ PpD5lxVnLfm9xYhu9umNv/TggpLT76AvhuMasSgXZ0PW1avSeW+Z/AArlAf0ITuiOffJ vF44eEmIbP+jB89ZUlKb7KaSGwvLHkuXCeWN71Ptqtudz8C8h0qacSePC0+mELA87Y8a Yk3rJKDbdqrq5b1i698G8Fi74WpL16CUY6Z+c0fX4LDM7vmzX2NH6T1m8/HsyTENl3Yp p26+XhXCa8BPhOqn0rr2JRft8kI3nsuv3PIp+BxN9h5+VIlL50KBGaC+yixHJ/oGXAOG OX2Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g28-v6si2605391plj.529.2018.05.16.05.00.05; Wed, 16 May 2018 05:00:19 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbeEPL6U (ORCPT + 99 others); Wed, 16 May 2018 07:58:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:15577 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752272AbeEPL6S (ORCPT ); Wed, 16 May 2018 07:58:18 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 04:58:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,404,1520924400"; d="scan'208";a="55708588" Received: from kuha.fi.intel.com ([10.237.72.189]) by fmsmga001.fm.intel.com with SMTP; 16 May 2018 04:58:15 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 16 May 2018 14:58:14 +0300 Date: Wed, 16 May 2018 14:58:14 +0300 From: Heikki Krogerus To: Greg KH , Paul Menzel Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Mario Limonciello Subject: Re: `ucsi_acpi: probe of USBC000:00 failed with error -12` on Dell XPS 13 9370 Message-ID: <20180516115814.GB11469@kuha.fi.intel.com> References: <9365397f-7206-728e-ee76-146629bfd186@molgen.mpg.de> <20180515160047.GB26720@kroah.com> <69da4aa4-3d4b-0ffc-81ce-500713cd3743@molgen.mpg.de> <20180516080226.GC3536@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180516080226.GC3536@kroah.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, May 16, 2018 at 10:02:26AM +0200, Greg KH wrote: > On Tue, May 15, 2018 at 06:47:37PM +0200, Paul Menzel wrote: > > Dear Greg, > > > > > > As always, thank you for the prompt response. > > > > > > On 05/15/18 18:00, Greg KH wrote: > > > On Tue, May 15, 2018 at 04:34:03PM +0200, Paul Menzel wrote: > > > > > > Linux 4.17-rc5 shows the error below on the Dell XPS 13 9370 with Debian > > > > Sid/unstable. > > > > > > > > ``` > > > > [???] > > > > [ 0.440240] usb: port power management may be unreliable > > > > [ 0.441358] usbcore: registered new interface driver usb-storage > > > > [ 0.441367] usbcore: registered new interface driver usbserial_generic > > > > [ 0.441369] usbserial: USB Serial support registered for generic > > > > [ 0.441383] ioremap error for 0x3f799000-0x3f79a000, requested 0x2, got > > > > 0x0 > > > > [ 0.441518] ucsi_acpi: probe of USBC000:00 failed with error -12 > > > > [???] > > > > ``` > > > > > > > > 1. Are the ioremap and ucsi_acpi error related or is a separate report > > > > needed? > > > > > > The ioremap error is what causes ucsi_acpi to fail the probe call (-12 > > > is "out of memory".) > > > > > > > 2. Do you know the reason for the ucsi_acpi error? > > > > > > the call to ioremap failed. > > > > > > Does this device really have a working typec connector? > > > > Just to avoid misunderstandings, no device was connected to the laptop > > during my test. > > > > But, from other boots, the Dell docking station TB16 kind of works with it, > > so I???d say the USB Type-C connector is working. > > Ok, good, this might just be the acpi tables not set up properly for > this type of connection. Odd that the tables show it should work, > Heikki should know more about this. The firmware probable has not implemented UCSI on this board. I think Dell always supplies the ACPI device node for UCSI in their acpi tables. The _STA method in that device node is then used to inform the OS if the interface exists or not. The return value for _STA comes probable from BIOS, so this is most likely a BIOS problem. Please note that UCSI will only supply status information to the operating system, so the USB Type-C ports will function normally even without it. The ports are handled in firmware on these platforms. Paul, do you have the latest BIOS? > > > Does normal USB devices work with it? > > > > Sorry for being ignorant, but could you please tell me what normal USB > > devices are? > > If you plug a USB typeC device into this port, does it work? A docking > station is a little bit "different" in that it usually uses the PCIe > connection, not the USB connectors. Or at least that's how my Dell > docking station works last time I tried it[1] > > thanks, > > greg k-h > > [1] When the power supply for the docking station is bigger than the > laptop's power supply, you begin to wonder what is in that thing and > stop using it after a while... Br, -- heikki