Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp891397ybv; Wed, 19 Feb 2020 11:22:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyemVHORiqRux7JaFGFn799dPQyCxDGEX2ETQAmhkD5DhVO9J2U6U2uRQRap5AI9b4mwFat X-Received: by 2002:a9d:7508:: with SMTP id r8mr20598628otk.116.1582140143220; Wed, 19 Feb 2020 11:22:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582140143; cv=none; d=google.com; s=arc-20160816; b=h9HZM1v+ozFTJchusZKskkQbBXXx4eNsQs/6QZPZil9+shrylLmX/B+yjNTGn5p/6z hGnH/dmtQ9jqvGPgvifpkSYb75zrFGlT7UoG1hBYyB6DnZZC868VsLCqANmX3k+JbXJU EczVPMQA+DIFA6jdxPyMtOZ4vZcynt9aDwF6MYDl1b5mGYTVHzwmW1Wt17tiz2fxpk16 Azu6CgNY2swZJGDwp+e65i6TpKUJ0yS0qcgBHnb7RWParS46s2/usN9ES0we1SPoyA/b t/V8JqCIWub4/kSU4MLXK2kgdwPHhlsbbOLFWc5kIUpLy31IWLYfP00xZC2Qr8Uettfh BUDg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=fNyeUEKMDXco+f5Gr/DTD6fZuo/Z/fNiUWmps4qVNiM=; b=S0UbBgOPX/UFo5WUatdb2oRZVxxJgPQfeLVAz0/URLIyxrKnlRxMRxpBpddFjiDDHs jgcRsE1mJHajHTRK4Oq98xX0osLyLeTPRLCYaA2kjKSSC65U6PUuuq109tqaFZYYjyEb W9o47qc7/q56F8FcpdnYbxgXZ4ssNx3eQs5AmeNYerJgPPIBUhUlcyLN+Q5h4pilzCuF yLYC5QFMBGFEDBHr+pziHc2XvHZ7fj0zwxbL94n5CcYF4CKs03aypltaWuIT6mTTrhAD 75d+1Xs2cPfzZQ0LN6159aE1Vr0tYKku6TEaBG/sVYwl4HC342EVnYRTTMZfKJdHX1eE HDNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=F4dKmYn3; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l21si360073otd.1.2020.02.19.11.22.10; Wed, 19 Feb 2020 11:22:23 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=F4dKmYn3; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726703AbgBSTWC (ORCPT + 99 others); Wed, 19 Feb 2020 14:22:02 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:33003 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726651AbgBSTWC (ORCPT ); Wed, 19 Feb 2020 14:22:02 -0500 Received: by mail-pj1-f67.google.com with SMTP id m7so375008pjs.0 for ; Wed, 19 Feb 2020 11:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fNyeUEKMDXco+f5Gr/DTD6fZuo/Z/fNiUWmps4qVNiM=; b=F4dKmYn37998FSEwAVJIJ13HtzqZYxYanNuNVDOrckCAcCzDalwmtvEv8eaCwU4JWc OaD/TGnYeN3c5kqTQIoYIteZH4/lOpo0EFTRLfLVEiPjDsuQr3NaCwpNW7gpcNPipdxD yspz+StYfhcin6GNXfngrYioGCvryRYNr+w5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=fNyeUEKMDXco+f5Gr/DTD6fZuo/Z/fNiUWmps4qVNiM=; b=GkcWknaEAKmamWVHWcbcNCuxzB48z5qLnbJOGz06b4e+Ebm2zDtx+3BWKq0JF2Ca8o llqm7BjYV2HGED2hE/aaBFpycGpoSIqusf6F2RGpbb78xHCt9hyWvOLuDstwxb207tKB qKog4MfUR702FJAvtiD995adxLYO3oiQvi0XFq/LjjyEPe3+2YEOjIMwxMXBp8LEt0Kh MoEL6MVKWwmrWinpaEST8w0TtlWhRfmfpUkI+9tY+H16Ras3Awhu7BsRN/gPvtvVraOO uQa8p81WpU3xDfi7UKzuQystll2hTgGmhyP2bryIjLX1geiak69lskuYSjn+U1ZuQa3M pVVg== X-Gm-Message-State: APjAAAVA0kmuB7w0+UH2O7/x5iGVeCqhRVks+xzY+1oH5TOej6n6pwXg 6e8Hd4J/VcpnHHskFqtzX+GWTg== X-Received: by 2002:a17:902:b909:: with SMTP id bf9mr26106967plb.96.1582140121379; Wed, 19 Feb 2020 11:22:01 -0800 (PST) Received: from [10.67.49.41] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z19sm390351pfn.49.2020.02.19.11.21.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Feb 2020 11:22:00 -0800 (PST) Subject: Re: [PATCH v2 3/4] PCI: brcmstb: Wait for Raspberry Pi's firmware when present To: Nicolas Saenz Julienne , linux-kernel@vger.kernel.org, Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Lorenzo Pieralisi , Andrew Murray Cc: linux-usb@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, tim.gover@raspberrypi.org, linux-pci@vger.kernel.org, wahrenst@gmx.net, Bjorn Helgaas References: <20200219123933.2792-1-nsaenzjulienne@suse.de> <20200219123933.2792-4-nsaenzjulienne@suse.de> From: Florian Fainelli Autocrypt: addr=florian.fainelli@broadcom.com; prefer-encrypt=mutual; keydata= xsBNBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAHNKEZsb3JpYW4gRmFpbmVsbGkgPGZhaW5lbGxpQGJyb2FkY29tLmNvbT7CwTsEEAECAM4X CgABv0jL/n0t8VEFmtDa8j7qERo7AN0gFAAAAAAAFgABa2V5LXVzYWdlLW1hc2tAcGdwLmNv bY4wFIAAAAAAIAAHcHJlZmVycmVkLWVtYWlsLWVuY29kaW5nQHBncC5jb21wZ3BtaW1lCAsJ CAcDAgEKAhkBBReAAAAAGRhsZGFwOi8va2V5cy5icm9hZGNvbS5jb20FGwMAAAADFgIBBR4B AAAABBUICQoWIQTV2SqX55Fc3tfkfGiBMbXEKbxmoAUCW23mnwUJERPMXwAhCRCBMbXEKbxm oBYhBNXZKpfnkVze1+R8aIExtcQpvGag720H/ApVwDjx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DByhWHx2Ud2R7SudmT9XK1e0x7W7a5z11Q6vrzuED5nQvkh ASkJEIExtcQpvGagwF0gBBkBCAAGBQJTwBvBAAoJEJNgBqiYLw9VDRUIAJaTef6hsUAESnlG DpC+ymL2RZdzAJx9lXjU4hhaFcyhznuyyMJqd3mehmLxsqDRvHDiqyD71w2Bnc838MVZw0pw BPdnb/h9Ocmp0lL/9hwSGWvy4az5lYVyoA9u14UIzh0YNGu6jr0isd/LJAbHXqwJwWWs3y8P TrpEp68V6lv+aXt5gR03lJEAvIR1Awp4JJ/eZ5y12gQISp0X8xal9YhhDWER92YLYrO2b6Hc 2S31lAupzfCw8lmZsP1PRz1GmF/KmDD9J9N/b8IehhWQqrBQjMjn2K2XkvN75HnAMHKFYfHZ R3ZHtK52ZP1crV7THtbtrnPXVDq+vO4QPmdC+SG6BwgAl3kRh7oozpjpG8jpO8en5CBtTl3G +OpKJK9qbQyzdCsuJ0K1qe1wZPZbP/Y+VtmqSgnExBzjStt9drjFBK8liPQZalp2sMlS9S7c sSy6cMLF1auZubAZEqpmtpXagbtgR12YOo57Reb83F5KhtwwiWdoTpXRTx/nM0cHtjjrImON hP8OzVMmjem/B68NY++/qt0F5XTsP2zjd+tRLrFh3W4XEcLt1lhYmNmbJR/l6+vVbWAKDAtc bQ8SL2feqbPWV6VDyVKhya/EEq0xtf84qEB+4/+IjCdOzDD3kDZJo+JBkDnU3LBXw4WCw3Qh OXY+VnhOn2EcREN7qdAKw0j9Sw== Message-ID: <10a53db8-960e-eea7-1e8d-790de9a79e71@broadcom.com> Date: Wed, 19 Feb 2020 11:21:51 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200219123933.2792-4-nsaenzjulienne@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/19/20 4:39 AM, Nicolas Saenz Julienne wrote: > xHCI's PCI fixup, run at the end of pcie-brcmstb's probe, depends on > RPi4's VideoCore firmware interface to be up and running. It's possible > for both initializations to race, so make sure it's available prior > starting. > > Signed-off-by: Nicolas Saenz Julienne Reviewed-by: Florian Fainelli It does not look like there is something making sure that CONFIG_RASPBERRYPI_FIRMWARE is being selected or depended on, should we have a "default XHCI_PCI" added to drivers/firmware/Kconfig? -- Florian