From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8239AC433F5 for ; Mon, 17 Jan 2022 15:39:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E43BE834B1; Mon, 17 Jan 2022 16:39:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="LdSOQTEJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 96F7582C6D; Mon, 17 Jan 2022 16:39:26 +0100 (CET) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A4F6B82C6D for ; Mon, 17 Jan 2022 16:39:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4DFD0B8107E; Mon, 17 Jan 2022 15:39:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 023E1C36AE3; Mon, 17 Jan 2022 15:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642433962; bh=MDGMfEW6lAEUH7dCvNYyc9t5uhYPBV4t/d7X68KqyA4=; h=From:To:Cc:Subject:Date:From; b=LdSOQTEJdfeZDR4WZpYzKM1kPHvSl/9t52fT10nsA1Znol3fIHD8Wu5B1ZrwQDX9B jCbAuDO9iogcK3l98ZlWXSpqWuNDHlRK/tp9gRMcLHkjTU/bXYYEQIbcjnNcbkloP7 /N1VUp0KZb2mniPdbd/5L8G3ltyoWj46QW3yUNFZmvh841ykS8f4XRJWlinYUbu0J/ GCnq28wBkreaYOh8cgcjwuko0vdBpLKnu4Nt3p3uoVeCf6BFyCKf5hYvnugoBlkpPF FRse5/9y00mNSoxMGRc24u8XKQzFGSd1eztRZ4vg97Cgv6Us9ECM1EayWZSXBMVtwF SwzO4m7muWdAw== Received: by pali.im (Postfix) id 28CFC871; Mon, 17 Jan 2022 16:39:19 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Bin Meng , Simon Glass , Stefan Roese , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: u-boot@lists.denx.de Subject: [PATCH 0/4] pci: Extend 'pci' and 'pci regions' commands Date: Mon, 17 Jan 2022 16:38:36 +0100 Message-Id: <20220117153840.31173-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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 Allow to call 'pci regions' with non-zero bus number and allow to call 'pci' and 'pci regions' commands with bus number '*' which process all buses. This would be also new default action if no bus is specified. Pali Rohár (4): pci: Fix setting controller's last_busno pci: Extend 'pci regions' command with bus number pci: Add checks for valid cmdline arguments pci: Extend 'pci' command with bus option '*' cmd/pci.c | 56 +++++++++++++++++++++++++++++++--------- drivers/pci/pci-uclass.c | 2 ++ 2 files changed, 46 insertions(+), 12 deletions(-) -- 2.20.1