Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE7CBC433EF for ; Fri, 15 Oct 2021 11:53:13 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4207A60524 for ; Fri, 15 Oct 2021 11:53:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4207A60524 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5FC0B83839; Fri, 15 Oct 2021 13:53:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="OoHly26x"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6AB348382E; Fri, 15 Oct 2021 13:52:21 +0200 (CEST) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3AC6A83852 for ; Fri, 15 Oct 2021 13:52:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72f.google.com with SMTP id j12so2060249qkk.5 for ; Fri, 15 Oct 2021 04:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8MvvVckX+5J9EEd20aSpiFrmTFQOq7hVfzoTDUvu8zE=; b=OoHly26xTbNN7l7JLLMQHNXpT843P9jSVY1145f9Ygx0H8TsWKARKON+EjkOiraNHn 93Si+PEoBkErHtFMuLVLDH0id1uRvkmOuDUMd1arOoLRldNpe22X6dUIUCCPTshMyCUD 5LKNXXKruWMbk5zV5kvTJgsQtPvxbtdliICXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8MvvVckX+5J9EEd20aSpiFrmTFQOq7hVfzoTDUvu8zE=; b=La019li94ePdUY4mFpTOSVV23kSmMQgTcnnatyhonq9Y9UpRj3vK4X6xhyAzwa9zTv cRkX6I/YvKWW5xDFRZafWtubrzYWt6NtZf+87stYPvY8h8tG3oxl+9aR0xLHOl5xzCy3 YW86Z8+ys/mbCp36L8oHE/hrClIXgaCsKWG0KfWR70r+9RkuFElFLI9L9WXhZmEUzU9X vV78f+oe9nF1JEvrjS6lyYs3viXPArpEgCsTUJXh0Leoe7TtsEjwgnyHkbxy9Zz0GgBg cgty4ekqzYnhzViYenGbiSPd1yrrTE6wx8mdcHFDHSHAtz22FmfvBiQqiPIKkE78e5c7 pCVg== X-Gm-Message-State: AOAM531TZ4SL1ubo4BxuhQnRo2YfeNw8HLiHPiZXyvWza4IkVDgr+G7H Ea67e/Xr/B/AbQlHURoTWUWRWg== X-Google-Smtp-Source: ABdhPJyUB/9px6kPka0jF7YFP1PRiaTMk6FT7Rx5TnHXbh9x6sVim9jAAaH3CvKwVZinfVw/46YIbg== X-Received: by 2002:a37:b601:: with SMTP id g1mr9195126qkf.265.1634298729108; Fri, 15 Oct 2021 04:52:09 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-cbda-f8b0-5c25-4d47-ecdb.res6.spectrum.com. [2603:6081:7b01:cbda:f8b0:5c25:4d47:ecdb]) by smtp.gmail.com with ESMTPSA id d6sm2520197qkj.11.2021.10.15.04.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 04:52:08 -0700 (PDT) Date: Fri, 15 Oct 2021 07:52:06 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , Vladimir Oltean , Bin Meng , Stefan Roese , u-boot@lists.denx.de Subject: Re: [PATCH 2/5] pci: Skip configuring invalid P2P bridge devices Message-ID: <20211015115206.GQ7964@bill-the-cat> References: <20211007125101.21811-1-pali@kernel.org> <20211007125101.21811-2-pali@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+FC5T5qEpq5Mw46p" Content-Disposition: inline In-Reply-To: <20211007125101.21811-2-pali@kernel.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --+FC5T5qEpq5Mw46p Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2021 at 02:50:58PM +0200, Pali Roh=E1r wrote: > Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with > Bridge header type (0x01). So add check before touching PCI config space = to > prevent misconfiguring some non-standard device. >=20 > Signed-off-by: Pali Roh=E1r > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! --=20 Tom --+FC5T5qEpq5Mw46p Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmFpa2YACgkQFHw5/5Y0 tyyR/gv/erQqe3mPsBBg9rBaJbM6cvZl05XKjyydn+N101vbWeEVUpthQmcBTMJX jYF04JFENmimnXqLwwuWnCF/dOh75WXfisodjmfm+7J7wKb9JCRR3oV030+CGbiA 5oWoukJ2NgMmf1vLnd++kM5EJN6Dt1cOMmMuNSwf2B3VdKQiHS0lttPLTk83xqms i1MxYrsBgbg4NbWUZm9XxHTw8ydF7Tjb3Ty0wvTYkGyZ1WK6R4T6IpS/SyT1PgWD i4zZuzPaeuc8wgMA4s9YjWazpdYZAf40ib5s59EPFlividsmMdNCf+IqATs27XF9 5KOonycDjddN9A0c/IRBHknE+7z2hFN3r1JOv6R90NytrlGUCg0ZIYvSk4UaDlVH SXIEdRWDLobUWGnAJkgMe27avBJ2NZirZjWBcvsxJo8jwKucOMwzvlF2sYFN3/O6 47pq+4grMVZgoIJtsBfNaVHRp0CRpGzmmt3Dq0/uBgO8WRr5hmFdUTIYN6hQTeVj IyuP5j9e =2StK -----END PGP SIGNATURE----- --+FC5T5qEpq5Mw46p--