Message ID | 20240210-topic-8280_pcie-v3-0-ee7af6f892a0@linaro.org |
---|---|
Headers | show
Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCDE01E487 for <linux-arm-msm@vger.kernel.org>; Wed, 27 Mar 2024 19:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711568960; cv=none; b=VDU7tmbWmJb1HXpUQHluXK9fLOESnPvegeoItL2yBr8ESaG5MQ0XC9OB78Xdb8mWxtpTGKwGJlv3ntFElSC58pDnpmNQR16y2ybXq0ceSqFii8UVkXvHideEFj8BGk+NerVHJsu3Xl38YfgpwKGhUkhcWwBA6OqxJWA1nH9dryo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711568960; c=relaxed/simple; bh=bAoVUdOEl5oXBjR4tVelpCyD6CLDNyMZESd4YDrAuM8=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Jv+jz+Y6j+PLcCXlKZzpz2akMXG2shgi0q3Ei+f/IavolgogESqQ9/zWKyHoAJnr/tadruyLzntpw6P27JzK71jWovMgo/VIi2KStfA8rJsN/IVpxZ2c59p/draXQ6FYVK1bcggMR6VBepMRl85/YrtuHwhFu0++rYrVbdn/wog= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Iw89/Rzp; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Iw89/Rzp" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-515b69e8f38so125541e87.1 for <linux-arm-msm@vger.kernel.org>; Wed, 27 Mar 2024 12:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711568957; x=1712173757; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=NrM6H3f/CVd7EVIzLnLM60MDR7BLmyLxovfihEFCOqQ=; b=Iw89/RzpO8hhweIpjfpc1ZtMetOrHCUa3bxOUXQroCfUMUZL+WLvXFM1p05D7stQCc UcHlv4Q9tVeQDmzsNA3/OIj/DAPtryYRY8dN//gwCS96FFhbKxQ5T5hVyPloJw3/QN1q JCjUYtJPg0SFRdXzeJP5NdCTcFwFeVuCEQ4cMgs9ql+zQf/G37tCAjxyta8xz/oWn7gE yq5fmXNlTATX0IOoWQAXW2/AHV6DKNjFfL5tGUnsSsqJOiIZL8oCMcAjLMExlf+9KO1g dUYrt1hO9vZCkz6lDG9RfiKXo2e2i7XJAyWtXjlOM0AO+pyBREbSjL+kuZQLGM9SjjEu VlJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711568957; x=1712173757; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NrM6H3f/CVd7EVIzLnLM60MDR7BLmyLxovfihEFCOqQ=; b=pVj5Ci4yjcMzcqiLgVHEt9tVmZLw4ybEYPl3XayLPI/mzKbehewDYh52bS0zLPjkZw ZrgPqX5kCOYA6cFI5GPZEGcSV48HDzEW19CN7KF/qqKvwV5S72ttcNs7zA7o5K20PFCH jriWj5AURgTRdGpwSW3OQN+lTag7JrF0sHafpgyqSFH2NeMR1p5yXCaoa6oizQiOPYOW AeMxiLDrG0I1aa6pjWlzJEXZZULnxi673+KIe8u4te3ng83875KAJXQdNrnUyejf04wE xSSdHpUkhYxZcaYzGJNPrIw7jW+/mlzocOpCIz35oWy8GMm1ElqIlj381yohupyQu/YF UvFA== X-Gm-Message-State: AOJu0YyzZ/4mKX+HiKC0/27uHHclRE84j1DWx+hUivvqOr0dFXXmzRem 2Qz2l/ddDZiHW6WW8e7hzEA8JDE5aWSOkAXDO9T/1ENDxWMKVuPT/LH3eXdp5q8= X-Google-Smtp-Source: AGHT+IHCtMJ1TEGgYZ2P1PWlQMN4NWgMM7GEMX9FHTpjySwq9ILK2/Fx0WRham7uXLy8Cz1FLR1PZA== X-Received: by 2002:a05:6512:311a:b0:512:d877:df6f with SMTP id n26-20020a056512311a00b00512d877df6fmr275280lfb.2.1711568956742; Wed, 27 Mar 2024 12:49:16 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id jw22-20020a170906e95600b00a4e0ce293cfsm582147ejb.41.2024.03.27.12.49.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 12:49:16 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v3 0/2] Qualcomm PCIe RC shutdown & reinit Date: Wed, 27 Mar 2024 20:49:07 +0100 Message-Id: <20240210-topic-8280_pcie-v3-0-ee7af6f892a0@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: <linux-arm-msm.vger.kernel.org> List-Subscribe: <mailto:linux-arm-msm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-arm-msm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADN4BGYC/3WNywqDMBBFf0Vm3ZRxfBC76n8UKTYddaCYMBFpk fx7U/ddngP33B0iq3CES7GD8iZR/JKhOhXg5mGZ2MgzMxBSjVSiWX0QZyxZvAcnbFxXj40tG4v UQV4F5VHeR/HWZ54lrl4/x8FGP/u/tZFBUzoe60eLrbXV9SXLoP7sdYI+pfQFNGf5eq8AAAA= To: Bjorn Andersson <andersson@kernel.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= <kw@linux.com>, Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Philipp Zabel <p.zabel@pengutronix.de> Cc: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org>, Marijn Suijten <marijn.suijten@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Bjorn Andersson <quic_bjorande@quicinc.com> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1711568954; l=1416; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bAoVUdOEl5oXBjR4tVelpCyD6CLDNyMZESd4YDrAuM8=; b=0Wa0d33D2z4AXCaHfFMONDdw/s4pXtOxIYRBCKa+l2mDNrEe1dXZ2x4VpPs+QKubuqUO4zDw4 J+aFHTa71ZWC0yeleA69D3GRvDP+xm7MBIpGVj1ore3l/zyBouzjUIO X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= |
Series |
Qualcomm PCIe RC shutdown & reinit
|
expand
|
Changes in v3: - Drop "Read back PARF_LTSSM register" - Drop unnecessary inclusion of qcom,rpm-icc.h - Fix a couple of commit msg typos - Rebase, resolve some conflicts - Link to v2: https://lore.kernel.org/r/20240210-topic-8280_pcie-v2-0-1cef4b606883@linaro.org Qualcomm PCIe RC shutdown & reinit This series implements shutdown & reinitialization of the PCIe RC on system suspend. Tested on 8280-crd. Changes in v2: * Rebase * Get rid of "Cache last icc bandwidth", use icc_enable instead * Don't permanently assert reset on clk enable fail in "Reshuffle reset.." * Drop fixes tag in "Reshuffle reset.." * Improve commit messages of "Reshuffle reset.." and "Implement RC shutdown.." * Only set icc tag on RPMh SoCs * Pick up rb Link to v1: https://lore.kernel.org/linux-arm-msm/20231227-topic-8280_pcie-v1-0-095491baf9e4@linaro.org/ Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- Konrad Dybcio (2): PCI: qcom: reshuffle reset logic in 2_7_0 .init PCI: qcom: properly implement RC shutdown/power up drivers/pci/controller/dwc/Kconfig | 1 + drivers/pci/controller/dwc/pcie-qcom.c | 176 ++++++++++++++++++++++++--------- 2 files changed, 133 insertions(+), 44 deletions(-) --- base-commit: 26074e1be23143b2388cacb36166766c235feb7c change-id: 20240210-topic-8280_pcie-c94f58158029 Best regards,