Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1702038rdh; Tue, 26 Sep 2023 00:18:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbtuyqmoR57mHwAx3r6eT++uCzZQyEJGaNgfkSdcUK3HDSbvDb6tpbCLN8f+zYlUtdQkzp X-Received: by 2002:a25:664a:0:b0:d7f:7ce1:994f with SMTP id z10-20020a25664a000000b00d7f7ce1994fmr8479019ybm.10.1695712703717; Tue, 26 Sep 2023 00:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695712703; cv=none; d=google.com; s=arc-20160816; b=aX8yjoNVBLqj6kfWzGajsUumlFGJ2NoXQWTQZmGDhABerGfkzV/uGlUGP6iwUohBk1 s43Rdqh1xM/XWCuNAsRua1ER4qiC2kL0pwksU/hOrfGHzFrqv7+ARx9aSTEdZPzGN9G0 pERW2f3v54Hs1bkUdgb9D1BKTlrzfaRbiM7vnaf4UOxj0AT9UxfL4PQGCKIzz3sABoxb VL7AWQqqqpXLgHsyftopwYTmfrA1uS4Ie4uRkJp+Jc6YGDDf6mHtuA+grUP16vcXHJTI EKvL049/7aOaZhGmdIYU6AQfcUlEO51Xvk37K8FaM5lxd7n6MUMDfeHTAN1cbhJGAj2U pgyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=o5q2ndhOC0LnkzohBUFE/mPa+QhBNAt3EgDKKxXgIdc=; fh=HOcy6NjXa7cE6QH+Q+P2WYZpJZAldFwtdFX1mdQZA1o=; b=Lic0enya+wTefvuGE4d3A8g4/xRJyqdxQbtQ6jTZq8cp9FMiZgnvouabjBhMbKUIWp qvoTZDuDLXOIeKaISdJbNx4nPorldhTKZAWkv1zsHNkRgIg4iqAVM9cPCwoS1Zf/aeEF vkXvM+EbyNVRVR/dpiQY6OL1PIta84iK3Q7giekTgpvp+6ZhaVpjJAcfNY8O6BiTU1Zn 8gj3zO83h/xJ1Yxz5xe7DOp3xJrd5gcEwPQB9u7ye2g80BKrGUN4B0gsZ+QnqvCd69ag XxyJOhiBgtQeBw3c9VGzNUyYkHGizcG6CnxMwprPjdORVRtdCO8jL88KoCQzZO3W6sMp rAIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j2-20020a63e742000000b00565df122f43si11565208pgk.202.2023.09.26.00.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 00:18:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CF15E8038F88; Tue, 26 Sep 2023 00:14:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231224AbjIZHO3 (ORCPT + 99 others); Tue, 26 Sep 2023 03:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjIZHO1 (ORCPT ); Tue, 26 Sep 2023 03:14:27 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 97FC6DE; Tue, 26 Sep 2023 00:14:17 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0427D80A3; Tue, 26 Sep 2023 07:14:17 +0000 (UTC) Date: Tue, 26 Sep 2023 10:14:15 +0300 From: Tony Lindgren To: Pavel Machek Cc: kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com, mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz, phone-devel@vger.kernel.org, maemo-leste@lists.dyne.org Subject: Re: droid4 -- weird behaviour when attempting to use usb host Message-ID: <20230926071415.GW5285@atomide.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 26 Sep 2023 00:14:29 -0700 (PDT) * Pavel Machek [230925 14:36]: > Hi! > > I'm having some fun with usb host. Good news is it works with > externally powered hub... after a while. I get some error messages > about inability to go host mode, but with enough patience it > eventually does enter host mode and I see my keyboard/mouse. > > And usually in that process, one of my cpu cores disappear. top no > longer shows 2 cores, and I was wondering for a while if d4 is > single-core system. It is not, my two cores are back after reboot. > > That's with 6.1.9 kernel from leste. Ideas how to debug this would be > welcome. (Do you use usb host?) You are using a "proper" non-standard usb micro-b cable that grounds the id pin, right? If not, try with one of those as it allows the hardware to do what it's supposed to do. And presumably you don't have a hacked usb hub that feeds back the vbus to your phone, right? If you have, that should not be used as the pmic can feed vbus. Regards, Tony