Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp806588ybk; Wed, 13 May 2020 13:40:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvEjs6BMRMzjDKLvEvcOOYlouzNTbI5q4JLR9NajCLBoK5NmxG6AY6Yk1c5WkXmxrHYPtp X-Received: by 2002:a17:906:e098:: with SMTP id gh24mr861694ejb.44.1589402448420; Wed, 13 May 2020 13:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589402448; cv=none; d=google.com; s=arc-20160816; b=vbHUD9mW2FFWfFlxBEvAE0PId7hTZ3P9xC0Tj3eZBH1RkiMrw/vYATJVuO94lkCmmn bvBS6QT4Y4QFLMoBCnqWxZkJ2szb5cvPMJncaVhZZZP0lhxQqYZxDrHBPs4rb/NyjzgL Ry/KBJ/AZtR2JJHjdieCLZtDuYiezX0WfRwZpo5nnuw+Ir6Xdm9eh8eOJzkn3dmfHEb+ PPPuIYqnNQ6gE9fLdx+4Hf4MmNudFb4SRtYvdFzg76j1cHNvSQGHOioGhg1XiODbyPws JMXIItDtHPuM0diRFhYk5mgaOWV14MLTxwqHGhUXGOsR5f7A5kLlugLCM9CtFueH/Qra rkdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=beKjtEH+RnSxHWQ0/+m7ynIwG9YXbDoOrsqm24oNLMM=; b=LNmF6ViaBykUk1iE7iuF2INYVoPG0DBAh8XzzsNG5dgz57GwRaLfhl6ghjgFg95etK 8Z2eMUqiTYWSGH2HOBfrd5nIs/GxpwwABPANpH6iTdCufb+K5K7X8KdkyckiDi137js1 Bn0ge2shqBOo+r4O54iye1+hru64q+NgpKkjLB7M2pF2BXMtN+bCSCUGQnsygjJx5phO 5FlX5Z9iMUIweG396ceOY24h0Gp/13Ojn0t5j6/kTEU0ggn8jewrYr+W9LabporHpau1 Ofu8dwB2MqV9EEUU/5sbz9sqdgOKbxSHgfuNYIXONX0U5IrWWLelZ+uJc6XU7twwepWU vbrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cjGFtJRE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si361820edt.220.2020.05.13.13.40.25; Wed, 13 May 2020 13:40:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cjGFtJRE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731728AbgEMM0S (ORCPT + 99 others); Wed, 13 May 2020 08:26:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:35094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbgEMM0R (ORCPT ); Wed, 13 May 2020 08:26:17 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 845F623126; Wed, 13 May 2020 12:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589372776; bh=2nPOeFMik9ZQ6xUKx8jufYdpBAmDTPfySWDo5YjI/wo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cjGFtJREmNTq4FgZ+a7ie6IwGzteTC/KDPnz6U8iBRnMyIZgw8KSg+tkkQY2K/XN5 SbFGEpjin9G6axFoke7d3ZIox+x7r8pKNnv4obxEEdO+/ok8me1Pgjq5D8AxYPwfYF Mjbp5BdabWGT9x5mF/k7xzDCFd3CIHIs2V1YXgCY= Date: Wed, 13 May 2020 14:26:13 +0200 From: Greg Kroah-Hartman To: Al Cooper Cc: linux-kernel@vger.kernel.org, Alan Stern , Andy Shevchenko , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Yoshihiro Shimoda , Andy Shevchenko Subject: Re: [PATCH v10 1/5] usb: xhci: Change the XHCI link order in the Makefile Message-ID: <20200513122613.GA1023594@kroah.com> References: <20200512150019.25903-1-alcooperx@gmail.com> <20200512150019.25903-2-alcooperx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200512150019.25903-2-alcooperx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 12, 2020 at 11:00:15AM -0400, Al Cooper wrote: > Some BRCMSTB USB chips have an XHCI, EHCI and OHCI controller > on the same port where XHCI handles 3.0 devices, EHCI handles 2.0 > devices and OHCI handles <2.0 devices. Currently the Makefile > has XHCI linking at the bottom which will result in the XHIC driver > initalizing after the EHCI and OHCI drivers and any installed 3.0 > device will be seen as a 2.0 device. Moving the XHCI linking > above the EHCI and OHCI linking fixes the issue. What happens if all of these are modules and they are loaded in a different order? This makefile change will not help with that, you need to have logic in the code in order to properly coordinate this type of mess, sorry. thanks, greg k-h