Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp593918lqb; Fri, 24 May 2024 07:38:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4qOw/K4tn9fM8AjVt097x2SPyXf4Ac7gbvchxcHl48M59nNdAuZjxh7Xn6Tghm4yDfWNfxNPVfPENV4u2/i0slCSKNEivVI2WztM7cA== X-Google-Smtp-Source: AGHT+IGUMegFV1sxNlse56Tfh5LHHz6AACrxOTU/v3brRmziQFOmtTW+mcglQ7PasmGPHC59ezxF X-Received: by 2002:a50:8dc6:0:b0:575:96e:e517 with SMTP id 4fb4d7f45d1cf-578519506d8mr2311715a12.15.1716561522447; Fri, 24 May 2024 07:38:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716561522; cv=pass; d=google.com; s=arc-20160816; b=M2vjWemT4jTIxynteJAaEbYKmHTRFWSaUqkFRfOKS9B/4e0JLIRzP3JQiTipAK9D7y 06uJT77DZhroe4sWf9MNYpH50BMd0Hxo4WSYFW7TbHbinEOxHkXQ/OqFGvFjJ7rrv7X1 pO4QXNlmQWh8NfcX2YNiA2b1p/vi47As3C495lxKN5zCKf/Zd3cD6WlZ0ujxZSEIznul /JX77VSHsmObo0oOKmVk/VdamKjJ1ZLLNehdPDCbJQTz76ByhbZ9QGO1NZwMg05OSR/U VrhK4WlCagM+0ewjOABZPDT8LFsPdkvg4NjpESOlN8RsQN61PN8fGleIg02VtdWxoHup w/nA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KNBYTib7bUrTL43Ki1euUCce0RgdF7TpezQWmMPaS+0=; fh=1XLeahgiC3SkhWEBMhu+DpTcH0GjuOI7klnrl7Sd+2E=; b=hsglKidrBQeiX+Im4iS1a99ZNqELaDkAGIFLoydWwojKyZeL7jGldLzseF8sXElkG+ iTu5F2X14Qx0bIEmRERExI475M5rbxhhaNow1AeZr+AOiAbrshlTQK9XXcfHpIUId8Ii 6Kz1g3f/ErPLlmmHhpvSOcZQRz6JhLTN2xATM/voeg2fiH1pVcS8+D3HOK1jtrwIYH0M mDCsCWcn7UfNsZzaO/AoAkIcGFVdYqeY/JZw2c0Gsvpx3+tHgzUmKMfQ0NioxwbWPczY A6hCgdx20Ud0CIci1znRL0tFO0wBE33Zm1h2GIMl5fg4XTU3NH7aMKVdw5NvbqWXL8x8 T8NQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=W+6sNU+8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-188807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5785234b3eesi959665a12.79.2024.05.24.07.38.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 07:38:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=W+6sNU+8; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-188807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3141E1F218C3 for ; Fri, 24 May 2024 14:38:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E823384D30; Fri, 24 May 2024 14:38:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="W+6sNU+8" Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C53E86643 for ; Fri, 24 May 2024 14:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716561513; cv=none; b=pCvVOtTQAzmQ01PGT+fQhtoEijEzHH117z6MqYk5YUdWdvDHhpDZeZ9hm+oN9eemSRRLmVJIzcZ60omFvtUVYOxZdGqyoI0PRQ273FAs5pBMUbXBdW2g58OwCdYIZYwWzCzmggaESp+wPbUlUKX1/gQ53yjN9n4wAchEhuEbpqc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716561513; c=relaxed/simple; bh=P0oGiXPwUYgxEc8MMGLYiqhD0U1U/yW8vDU6/y/HYA4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lkjETtjA8Z5p4Y/Y/chRZVAJfHFtCJA15axry/L8eolPgFf9HxbtKPwsC1cZnUlzdIep1eBcIKkG2gG88Nz83k4TkVpePhJto+S62Gcglo0O0ahJhbF4tcHIg6OKpD6DENdNoFBbJfmof5bm/yqhmSxQrgwYohUY6pA54ynJ3CU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=W+6sNU+8; arc=none smtp.client-ip=95.215.58.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: markus.elfring@web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1716561508; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KNBYTib7bUrTL43Ki1euUCce0RgdF7TpezQWmMPaS+0=; b=W+6sNU+8P+CQXEFhRbBWKO7eHkid0PNn/SrR8Ctd1eIuq/OVVzJbS8HWe469L3WfSuZSvW jv4AxCVIjSyIS1kVjuGpkGKjBhOvGeJEQhIYV9e3TFpCIX+JY6NIHRPZ+ibvMr8f8ZuqD4 f2QaMZbCPnVfA+1kzyv6TuGv0jbQqYg= X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: linux-pci@vger.kernel.org X-Envelope-To: kernel-janitors@vger.kernel.org X-Envelope-To: kw@linux.com X-Envelope-To: lpieralisi@kernel.org X-Envelope-To: robh@kernel.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: bharat.kumar.gogada@xilinx.com X-Envelope-To: bhelgaas@google.com X-Envelope-To: lorenzo.pieralisi@arm.com X-Envelope-To: michal.simek@amd.com X-Envelope-To: michal.simek@xilinx.com X-Envelope-To: thippeswamy.havalige@amd.com Message-ID: Date: Fri, 24 May 2024 10:38:23 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v3 6/7] PCI: xilinx-nwl: Add phy support To: Markus Elfring , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, kernel-janitors@vger.kernel.org, =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Lorenzo Pieralisi , Rob Herring Cc: LKML , Bharat Kumar Gogada , Bjorn Helgaas , Lorenzo Pieralisi , Michal Simek , Michal Simek , Thippeswamy Havalige References: <20240520145402.2526481-7-sean.anderson@linux.dev> <89d6acd5-5008-4db3-927c-d267be7b9302@web.de> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson In-Reply-To: <89d6acd5-5008-4db3-927c-d267be7b9302@web.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 5/24/24 04:16, Markus Elfring wrote: >> Add support for enabling/disabling PCIe phys. We can't really do >> anything about failures in the disable/remove path, so just warn. > … >> +++ b/drivers/pci/controller/pcie-xilinx-nwl.c > … >> @@ -818,12 +876,15 @@ static int nwl_pcie_probe(struct platform_device *pdev) >> err = nwl_pcie_enable_msi(pcie); >> if (err < 0) { >> dev_err(dev, "failed to enable MSI support: %d\n", err); >> - goto err_clk; >> + goto err_phy; >> } >> } >> >> err = pci_host_probe(bridge); >> >> +err_phy: >> + if (err) >> + nwl_pcie_phy_disable(pcie); >> err_clk: >> if (err) >> clk_disable_unprepare(pcie->clk); > > I got the impression that some source code adjustments should be performed > in another separate update step for this function implementation. > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.9#n81 > > You propose to extend the exception handling here. > Does such information indicate a need for another tag “Fixes”? Huh? I am only disabling what I enabled... --Sean