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 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 E2E26C5478C for ; Fri, 1 Mar 2024 19:09:45 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=5Dg5gg2tF6L5DivWZBzVpAR78bTDCLQzODagyFhWbx8=; b=H7PrARAUSUt44H N+r5SZLpQ8Z53GXdYoZmQFPImD2pdxQ9QvcVYR5FOlAxQFdegPiamohyLod3I4uMNFlAQ7y1cej4c tRg6heWp5/FMTvSiKbJpO7sY42SfTcVOeO99RYbg6YytrSS7RnHMk+nsC7uUhFE0nwWqLQsmFSHuF PxTnfDpYaaixtqhB99/MsWSoMmF26Xu9w7g+/uSIw7Gdx+zxxarn8Gki23HgSHyBTflKlGPxoL5Bz hX3emxCacmq9m8slBsXV5vRN3nOXOyICPsu5olz39Ny+pH5FgyO2cB8Qawjwsw/hBJQWgHfROoL8m 1kM180SiserBH7XmFXgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rg8GH-00000001fGJ-2Xlm; Fri, 01 Mar 2024 19:09:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rg8GE-00000001fFU-3XMv for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2024 19:09:36 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 2221E61558; Fri, 1 Mar 2024 19:09:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4757FC433C7; Fri, 1 Mar 2024 19:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709320173; bh=baHSsvEGjsVt+7v/liOi4Y7CvASDhD35gdGFuKH30K0=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=VNPV1sbyzb+ixQL1A9VSdpxDFMaC+8Xv3GJsfotzFBOC/p5jdgyYIkHNomT2PmQqT 6IgpMsQTIoSKD/PBZdBwmYn4TlP/Q4ivCd/llN8QGG40huQDMEZ6Mi7RotZdh1Lbom Ix1ANFbLTQ43PG7M8aC9prTFKg5XR0/zNyxU8gkKw194cpektuFP4t5oYiefKRGqaH M9tNsRpE5zrbjIt1pu94bq5Fm3mSnu5HP8soVK4mTz608m81/NXC7o9I0z9qS5sk5U eyLCycUwMMwk8WRLjiXx1oRbZWgnnTmchPJXq9dLkXoUgsUACq4HmZh3H5jHyDC2JC lZlFSM6rIZn/w== Date: Fri, 1 Mar 2024 13:09:31 -0600 From: Bjorn Helgaas To: Frank Li Cc: lpieralisi@kernel.org, bhelgaas@google.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, hongxing.zhu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, kw@linux.com, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, manivannan.sadhasivam@linaro.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, Nathan Chancellor Subject: Re: [PATCH v10 03/14] PCI: imx6: Simplify reset handling by using by using *_FLAG_HAS_*_RESET Message-ID: <20240301190931.GA403500@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240205173335.1120469-4-Frank.Li@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240301_110934_963346_4FB19F66 X-CRM114-Status: UNSURE ( 8.12 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org [+cc Nathan] On Mon, Feb 05, 2024 at 12:33:24PM -0500, Frank Li wrote: > Refactors the reset handling logic in the imx6 PCI driver by adding > IMX6_PCIE_FLAG_HAS_*_RESET bitmask define for drvdata::flags. > > The drvdata::flags and a bitmask ensures a cleaner and more scalable > switch-case structure for handling reset. > > Reviewed-by: Manivannan Sadhasivam > Reviewed-by: Philipp Zabel > Signed-off-by: Frank Li Lorenzo, would you mind squashing in Nathan's fix from https://lore.kernel.org/r/20240301-pci-imx6-fix-clang-implicit-fallthrough-v1-1-db78c7cbb384@kernel.org? Also, the subject line has a repeated "by using by using". Bjorn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel