From patchwork Thu Oct 6 22:03:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 13000772 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0487BC433FE for ; Thu, 6 Oct 2022 22:05:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pDMtW4MCw1WN69qB1wSotBqnOawySsZf0qathxPXIbM=; b=JTLoWgv8QvL9tp 0eXMvwj7CaQefRm4pN2/MiIgpwoO6/I+lbxHVz5vZ0jrhbHVz7tYy4ko50m5zjmnFTx0RSEkpnsF4 bR4HrORWsa1AzJSD8cMZTxtv4uJKg4QW+9QFhf1YFiuDsKAttBfi+Gi81hxsIC5s2g70J4Blf4HC7 FyP3H/dOkLGgkS8Vh/cZOqr06pzto7Yk9VsYjkUA+MI9MePVvSi+Io+ApjicggZ3AurjOYEt2sp6i 0ji9cus9iRet1/AFuljWF4fdRDwPLTu02m5gbPff0bg3jEf40YQRhNRXDvHvu/hl2mUDvZhKTjyoK E8Gvyyk6KS4OdQMeIf8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogYxs-005WM1-3p; Thu, 06 Oct 2022 22:03:36 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogYxo-005WIi-UE; Thu, 06 Oct 2022 22:03:34 +0000 Received: by mail-ed1-x530.google.com with SMTP id a13so4748886edj.0; Thu, 06 Oct 2022 15:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NEU5L7Lgeequ7kmAnpC/Drq1f+6FpFdrDYIlUxJuPZ4=; b=NDfRAiQ6Ju1pQVxBzwiDNz8YyPRMrX9T3ldpLClFG1heSXl8pYz35a3hQjOXC5KN9J KIiBsnaDhBtgrDgGze5oDJnJSWrp1IdNEpCXgUx2XCWSKUsbQzk6jAH0JzdNFUXsDFza /y/vVo08T7rgO5WexrlspvKeodTNdEBsw5maHQ3tJxEj5vN+0hOLwEtHIUay+I2caxKr T/zIG871sTwGrd64+6HUIjSBt9hlNXnAiK9aSkTJR0mF0frmY5w2hFrATkX3fykn0dJ/ uUzkqgez6IJ9QfFY+OEcPbNsi0KpElXH6+2P9+Do46ecFdBKJjI6PFt5d+rBMIv4jxkX Pe9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NEU5L7Lgeequ7kmAnpC/Drq1f+6FpFdrDYIlUxJuPZ4=; b=XO2NoReYEb/F6iu8W1NEUG0rY4SUqDPzJ7XPEj4QKt9YIkF7/xlF/TqpdAbUUfqsNM MrkuQDcZaI54okkZWCJ+Aas6FXyu6UhQdrkZwZj1ZAmLj3xJdD1DV5DfX/p/4t0cGVMI I7MbugvFkeFPUzeouN0IKPeAwKpwik1z9noREK13AMecCc48wpYsdMUm4gbwUZxtq/o8 FGT2wtTkBZJ+yYV933UEwAzUKAEeF46J0HCPPk6TOEy/ms3xdjLuo9mW4ES5JqfQaH3E umv44gj+AcqW3R3dC8ehi0dvW72l7KEODvx+npot6Bmerq1ba/H7cbQLCj+qnDhe9fxb K0MQ== X-Gm-Message-State: ACrzQf1JP2cfBEh7PHLNA32GE1c1TUWIoICr5oEpYffMApB0aa5Hf89c WAQ68S/xF9bAkzbZP/lEqxI= X-Google-Smtp-Source: AMsMyM5ybTN/a8943Uk5lZg1yU510DysceUCRQBzghW1i48KLqk0czK/Qaaufz9xHvhBbm4Y/dXFuQ== X-Received: by 2002:a05:6402:ca5:b0:459:3fb0:c157 with SMTP id cn5-20020a0564020ca500b004593fb0c157mr1729428edb.389.1665093808278; Thu, 06 Oct 2022 15:03:28 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.144.250]) by smtp.gmail.com with ESMTPSA id f14-20020a17090631ce00b0078246b1360fsm241484ejf.131.2022.10.06.15.03.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 15:03:26 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), Rob Herring Subject: [PATCH v1 0/5] PCI: brcmstb: Add Multi-MSI and some improvements Date: Thu, 6 Oct 2022 18:03:16 -0400 Message-Id: <20221006220322.33000-1-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221006_150332_989829_9EE96537 X-CRM114-Status: UNSURE ( 4.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org One commit brings Multi-MSI functionality to the Broadcom STB PCIe. The other four commits are unrelated minor improvements. Jim Quinlan (5): PCI: brcmstb: Enable Multi-MSI PCI: brcmstb: Wait for 100ms following PERST# deassert PCI: brcmstb: Replace status loops with read_poll_timeout_atomic() PCI: brcmstb: Functions needlessly specified as "inline" PCI: brcmstb: Set RCB_{MPS,64B}_MODE bits drivers/pci/controller/pcie-brcmstb.c | 85 +++++++++++++++------------ 1 file changed, 48 insertions(+), 37 deletions(-) base-commit: 833477fce7a14d43ae4c07f8ddc32fa5119471a2