ifications@github.com> Reply-To: kubernetes-sigs/karpenter-provider-ibm-cloud To: kubernetes-sigs/karpenter-provider-ibm-cloud Cc: Josephine Pfeiffer , Assign Message-ID: In-Reply-To: References: Subject: Re: [kubernetes-sigs/karpenter-provider-ibm-cloud] chore(docs): run license header script (PR #496) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_696f6aeecf424_b210c8256536"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: codecov-commenter X-GitHub-Recipient: pfeifferj X-GitHub-Reason: assign List-ID: kubernetes-sigs/karpenter-provider-ibm-cloud List-Archive: https://github.com/kubernetes-sigs/karpenter-provider-ibm-cloud List-Post: List-Unsubscribe: , List-Unsubscribe-Post: List-Unsubscribe=One-Click X-GitHub-Notify-Platform: newsies X-GitHub-Labels: cncf-cla: yes; size/L; lgtm; approved X-GitHub-Assignees: pfeifferj X-GitHub-PullRequestStatus: open X-Auto-Response-Suppress: All destinations: github@josie.lol X-GitHub-Recipient-Address: github@josie.lol X-DKIM: signer='github.com' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [192.30.252.201 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [192.30.252.201 listed in wl.mailspike.net] 1.5 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 LONG_HEX_URI Very long purely hexadecimal URI -0.1 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 12 ----==_mimepart_696f6aeecf424_b210c8256536 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable codecov-commenter left a comment (kubernetes-sigs/karpenter-provider-ibm-= cloud#496) ## [Codecov](https://app.codecov.io/gh/kubernetes-sigs/karpenter-provider= -ibm-cloud/pull/496?dropdown=3Dcoverage&src=3Dpr&el=3Dh1&utm_medium=3Dref= erral&utm_source=3Dgithub&utm_content=3Dcomment&utm_campaign=3Dpr+comment= s&utm_term=3Dkubernetes-sigs) Report :white_check_mark: All modified and coverable lines are covered by tests.= :white_check_mark: Project coverage is 55.88%. Comparing base ([`521a186`= ](https://app.codecov.io/gh/kubernetes-sigs/karpenter-provider-ibm-cloud/= commit/521a186fae920ffa7cb9c00009acb0ae1fd0dd4a?dropdown=3Dcoverage&el=3D= desc&utm_medium=3Dreferral&utm_source=3Dgithub&utm_content=3Dcomment&utm_= campaign=3Dpr+comments&utm_term=3Dkubernetes-sigs)) to head ([`58bd956`](= https://app.codecov.io/gh/kubernetes-sigs/karpenter-provider-ibm-cloud/co= mmit/58bd956c9456727d42fc59178a4e22581e439151?dropdown=3Dcoverage&el=3Dde= sc&utm_medium=3Dreferral&utm_source=3Dgithub&utm_content=3Dcomment&utm_ca= mpaign=3Dpr+comments&utm_term=3Dkubernetes-sigs)). :warning: Report is 2 commits behind head on main.
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/kubernetes-sigs/ka= rpenter-provider-ibm-cloud/pull/496/graphs/tree.svg?width=3D650&height=3D= 150&src=3Dpr&token=3DVF3SOM6IMR&utm_medium=3Dreferral&utm_source=3Dgithub= &utm_content=3Dcomment&utm_campaign=3Dpr+comments&utm_term=3Dkubernetes-s= igs)](https://app.codecov.io/gh/kubernetes-sigs/karpenter-provider-ibm-cl= oud/pull/496?src=3Dpr&el=3Dtree&utm_medium=3Dreferral&utm_source=3Dgithub= &utm_content=3Dcomment&utm_campaign=3Dpr+comments&utm_term=3Dkubernetes-s= igs) ```diff @@ Coverage Diff @@ ## main #496 +/- ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + Coverage 55.85% 55.88% +0.02% = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Files 58 58 = Lines 8806 8806 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + Hits 4919 4921 +2 = + Misses 3537 3536 -1 = + Partials 350 349 -1 = ``` | [Files with missing lines](https://app.codecov.io/gh/kubernetes-sigs/ka= rpenter-provider-ibm-cloud/pull/496?dropdown=3Dcoverage&src=3Dpr&el=3Dtre= e&utm_medium=3Dreferral&utm_source=3Dgithub&utm_content=3Dcomment&utm_cam= paign=3Dpr+comments&utm_term=3Dkubernetes-sigs) | Coverage =CE=94 | | |---|---|---| | [pkg/cloudprovider/circuitbreaker.go](https://app.codecov.io/gh/kuberne= tes-sigs/karpenter-provider-ibm-cloud/pull/496?src=3Dpr&el=3Dtree&filepat= h=3Dpkg%2Fcloudprovider%2Fcircuitbreaker.go&utm_medium=3Dreferral&utm_sou= rce=3Dgithub&utm_content=3Dcomment&utm_campaign=3Dpr+comments&utm_term=3D= kubernetes-sigs#diff-cGtnL2Nsb3VkcHJvdmlkZXIvY2lyY3VpdGJyZWFrZXIuZ28=3D) = | `94.35% <=C3=B8> (=C3=B8)` | | | [pkg/cloudprovider/nodeclasscircuitbreaker.go](https://app.codecov.io/g= h/kubernetes-sigs/karpenter-provider-ibm-cloud/pull/496?src=3Dpr&el=3Dtre= e&filepath=3Dpkg%2Fcloudprovider%2Fnodeclasscircuitbreaker.go&utm_medium=3D= referral&utm_source=3Dgithub&utm_content=3Dcomment&utm_campaign=3Dpr+comm= ents&utm_term=3Dkubernetes-sigs#diff-cGtnL2Nsb3VkcHJvdmlkZXIvbm9kZWNsYXNz= Y2lyY3VpdGJyZWFrZXIuZ28=3D) | `78.84% <=C3=B8> (=C3=B8)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh= /kubernetes-sigs/karpenter-provider-ibm-cloud/pull/496/indirect-changes?s= rc=3Dpr&el=3Dtree-more&utm_medium=3Dreferral&utm_source=3Dgithub&utm_cont= ent=3Dcomment&utm_campaign=3Dpr+comments&utm_term=3Dkubernetes-sigs)
:rocket: New features to boost your workflow: - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analyti= cs): Detect flaky tests, report on failures, and find test suite problems= .
-- = Reply to this email directly or view it on GitHub: https://github.com/kubernetes-sigs/karpenter-provider-ibm-cloud/pull/496#= issuecomment-3772468586 You are receiving this because you were assigned. Message ID: = ----==_mimepart_696f6aeecf424_b210c8256536 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Codecov Report

=E2=9C=85 All modified and coverable lines are covered by= tests.
=E2=9C=85 Project coverage is 55.88%. Comparing base (521a186) to head (58bd956).
= =E2=9A=A0=EF=B8=8F= Report is 2 commits behind head on main.

Additional details and impacted files

3D"Impacted

@@            Coverage Diff         =
    @@
##             main     =
#496      +/-   ##
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+ Coverage   55.85% =
  55.88%   +0.02%     
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
  Files          58       58              =

  Lines        8806     8806              =

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+ Hits         4919 =
    4921       +2     
+ Misses       3537 =
    3536       -1     
+ Partials      350 =
     349       -1     
Files with missing lines Coverage =CE=94
pkg/cloudprovider/circuitbreaker.go 94.35% <=C3=B8> (=C3=B8)
pkg/cloudprovider/nodeclasscircu= itbreaker.go 78.84% <=C3=B8> (=C3=B8)

... and 1 file with indirect coverage changes

=F0=9F=9A=80 New features to boost your workflow:
  • =E2=9D=84=EF=B8=8F Test Analytics: Detect flaky tests, report on= failures, and find test suite problems.

&m= dash;
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.3D""Message ID: <kubernetes-sigs/karpenter-provider-ibm-cloud/pul= l/496/c3772468586@github.com>

----==_mimepart_696f6aeecf424_b210c8256536-- From - Tue Jan 20 11:48:41 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id iCuWEJVrb2k3wyMAYBR5ng (envelope-from ) for ; Tue, 20 Jan 2026 11:48:37 +0000 Return-path: Envelope-to: github@josie.lol Delivery-date: Tue, 20 Jan 2026 11:48:37 +0000 Received: from out-19.smtp.github.com ([192.30.252.202]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1viADt-0000000AFtx-0N39 for github@josie.lol; Tue, 20 Jan 2026 11:48:37 +0000 Received: from github.com (hubbernetes-node-ec33b7e.va3-iad.github.net [10.48.12.67]) by smtp.github.com (Postfix) with ESMTPA id B634DE0301 for ; Tue, 20 Jan 2026 03:48:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2023; t=1768909716; bh=QKBT+6ozdEbih3337swcJhOfjnoa3X6TGuXHbnpwRDc=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:List-Unsubscribe-Post: From; b=jbntd5qsyAXAZYHcKOv5UBcGKrbS3kbH1HFtgSvDXaUOg0+sQGXVGs0yMRqo1qVzH tWq0OG/3ZjNzOjsNZF57sv3uG4tzNRT9O7FlBSUOD/wB3zwWU3da8As3SBPQMEsRk2 L7hFjf1zZRa1ZRi8B8yB4hQLQMMngPOGWC0hpdFg= Date: Tue, 20 Jan 2026 03:48:36 -0800 From: Kubernetes Prow Robot Reply-To: kubernetes-sigs/karpenter-provider-ibm-cloud To: kubernetes-sigs/karpenter-provider-ibm-cloud Cc: Josephine Pfeiffer , Assign Message-ID: In-Reply-To: References: Subject: Re: [kubernetes-sigs/karpenter-provider-ibm-cloud] chore(docs): run license header script (PR #496) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_696f6b94b3718_fc10c82419c1"; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: list X-GitHub-Sender: k8s-ci-robot X-GitHub-Recipient: pfeifferj X-GitHub-Reason: assign List-ID: kubernetes-sigs/karpenter-provider-ibm-cloud List-Archive: https://github.com/kubernetes-sigs/karpenter-provider-ibm-cloud List-Post: List-Unsubscribe: , List-Unsubscribe-Post: List-Unsubscribe=One-Click X-GitHub-Notify-Platform: newsies X-GitHub-Labels: cncf-cla: yes; size/L; lgtm; approved X-GitHub-Assignees: pfeifferj X-GitHub-PullRequestStatus: open X-Auto-Response-Suppress: All destinations: github@josie.lol X-GitHub-Recipient-Address: github@josie.lol X-DKIM: signer='github.com' status='pass' reason='' DKIMCheck: Server passes DKIMCIe bridge supported speeds for Loongson-3C6000 series Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260121-loongson-pci1-v7-1-fc79c85a574d@uniontech.com> X-B4-Tracking: v=1; b=H4sIAM+McGkC/33QzWrDMAzA8VcpPs/D8lfinfYeowfbkhvDFpe4C x0l7z63MAhZtuNfoB9CN1ZpylTZy+HGJppzzWVs0T0dWBz8eCKesTWTQhrRS8nfSxlPtYz8HDN wjYQCuz5BCKztnCdK+frw3o6th1wvZfp68DPcp39JM3DgynkfAgKkgK+fY7vlQnF4juWD3bVZ/ ghWgNBbQTYBwQCZLlhK/Z6g1oLbCqoJBjEaTyp4p/YEvRJAbQXdBHAS0OrOJdJ7gvlXME2QVkc XtHfChz3BroVff7BNIOo99Mmg1HIrLMvyDYKlmYL4AQAA X-Change-ID: 20250822-loongson-pci1-4ded0d78f1bb To: Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas Cc: niecheng1@uniontech.com, zhanjun@uniontech.com, guanwentao@uniontech.com, Kexy Biscuit , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, kernel@uniontech.com, =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Lain Fearyncess Yang , Ayden Meng , Mingcong Bai , Xi Ruoyao , Ziyao Li , stable@vger.kernel.org, Huacai Chen X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1768983760; l=5639; i=liziyao@uniontech.com; s=20250730; h=from:subject:message-id; bh=aekmZZMcdoWR0EYWpMKLj8I7yyrt0QhHP+Dn7NQHYNM=; b=JQZuweOAQ3mziPLwrSbTe3gPrlNAUICC9SjBSdZBJqhmnYBnsd9V4xXSQ//DY6Y11ZCUK9tys Rv+D2bSfUWLDMz+pN2kl8caFUxIofS1328fr4YFRxdlS9AYzKtJZfFf X-Developer-Key: i=liziyao@uniontech.com; a=ed25519; pk=tZ+U+kQkT45GRGewbMSB4VPmvpD+KkHC/Wv3rMOn/PU= X-Endpoint-Received: by B4 Relay for liziyao@uniontech.com/20250730 with auth_id=471 X-Original-From: Ziyao Li Reply-To: liziyao@uniontech.com SPFCheck: Soft Fail, 20 Spam score X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.3 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://mxroutedocs.com/directadmin/spamfilters/ --- Content analysis details: (-1.3 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#DnsBlocklists-dnsbl-block for more information. [213.196.21.55 listed in list.dnswl.org] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.1 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: 8 From: Ziyao Li Older steppings of the Loongson-3C6000 series incorrectly report the supported link speeds on their PCIe bridges (device IDs 0x3c19, 0x3c29) as only 2.5 GT/s, despite the upstream bus supporting speeds from 2.5 GT/s up to 16 GT/s. As a result, since commit 774c71c52aa4 ("PCI/bwctrl: Enable only if more than one speed is supported"), bwctrl will be disabled if there's only one 2.5 GT/s value in vector `supported_speeds`. Also, the amdgpu driver reads the value by pcie_get_speed_cap() in amdgpu_device_partner_bandwidth(), for its dynamic adjustment of PCIe clocks and lanes in power management. We hope this patch can prevent similar problems in future driver changes (similar checks may be implemented in other GPU, storage controller, NIC, etc. drivers). Manually override the `supported_speeds` field for affected PCIe bridges with those found on the upstream bus to correctly reflect the supported link speeds. This patch was originally found from AOSC OS[1]. Link: https://github.com/AOSC-Tracking/linux/pull/2 #1 Tested-by: Lain Fearyncess Yang Tested-by: Ayden Meng Signed-off-by: Ayden Meng Signed-off-by: Mingcong Bai [Xi Ruoyao: Fix falling through logic and add kernel log output.] Signed-off-by: Xi Ruoyao Link: https://github.com/AOSC-Tracking/linux/commit/4392f441363abdf6fa0a0433d73175a17f493454 [Ziyao Li: move from drivers/pci/quirks.c to drivers/pci/controller/pci-loongson.c] Signed-off-by: Ziyao Li Tested-by: Mingcong Bai Cc: stable@vger.kernel.org Reviewed-by: Huacai Chen --- The reason of not just copying pdev->bus->self->supported_speeds is that we're concerned that this approach assumes the upstream port reports the same capabilities as bridge, which may not always be the case in future silicon revisions. Our current conservative approach ensures we only enable speeds that are physically supported by checking the actual max_bus_speed. For example, if there's a future Loongson-3C9999 where the virtual bridge reports Gen4 support but the physical bridge only supports Gen3. In this scenario, directly copying the upstream port's supported_speeds would incorrectly report Gen4 support for the downstream bridge. The current patch ensures we only set speed bits up to what the hardware actually supports, based on the measured max_bus_speed. This seems safer for future silicon. Changes in v7: - adjust commit message - Link to v6: https://lore.kernel.org/r/20260114-loongson-pci1-v6-1-ee8a18f5d242@uniontech.com Changes in v6: - adjust commit message - Link to v5: https://lore.kernel.org/r/20260113-loongson-pci1-v5-1-264c9b4a90ab@uniontech.com Changes in v5: - style adjust - Link to v4: https://lore.kernel.org/r/20260113-loongson-pci1-v4-1-1921d6479fe4@uniontech.com Changes in v4: - rename subject - use 0x3c19/0x3c29 instead of 3c19/3c29 - Link to v3: https://lore.kernel.org/r/20260109-loongson-pci1-v3-1-5ddc5ae3ba93@uniontech.com Changes in v3: - Adjust commit message - Make the program flow more intuitive - Link to v2: https://lore.kernel.org/r/20260104-loongson-pci1-v2-1-d151e57b6ef8@uniontech.com Changes in v2: - Link to v1: https://lore.kernel.org/r/20250822-loongson-pci1-v1-1-39aabbd11fbd@uniontech.com - Move from arch/loongarch/pci/pci.c to drivers/pci/controller/pci-loongson.c - Fix falling through logic and add kernel log output by Xi Ruoyao --- drivers/pci/controller/pci-loongson.c | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/drivers/pci/controller/pci-loongson.c b/drivers/pci/controller/pci-loongson.c index bc630ab8a283..a4250d7af1bf 100644 --- a/drivers/pci/controller/pci-loongson.c +++ b/drivers/pci/controller/pci-loongson.c @@ -176,6 +176,42 @@ static void loongson_pci_msi_quirk(struct pci_dev *dev) } DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_LOONGSON, DEV_LS7A_PCIE_PORT5, loongson_pci_msi_quirk); +/* + * Older steppings of the Loongson-3C6000 series incorrectly report the + * supported link speeds on their PCIe bridges (device IDs 0x3c19, + * 0x3c29) as only 2.5 GT/s, despite the upstream bus supporting speeds + * from 2.5 GT/s up to 16 GT/s. + */ +static void loongson_pci_bridge_speed_quirk(struct pci_dev *pdev) +{ + u8 old_supported_speeds = pdev->supported_speeds; + + switch (pdev->bus->max_bus_speed) { + case PCIE_SPEED_16_0GT: + pdev->supported_speeds |= PCI_EXP_LNKCAP2_SLS_16_0GB; + fallthrough; + case PCIE_SPEED_8_0GT: + pdev->supported_speeds |= PCI_EXP_LNKCAP2_SLS_8_0GB; + fallthrough; + case PCIE_SPEED_5_0GT: + pdev->supported_speeds |= PCI_EXP_LNKCAP2_SLS_5_0GB; + fallthrough; + case PCIE_SPEED_2_5GT: + pdev->supported_speeds |= PCI_EXP_LNKCAP2_SLS_2_5GB; + break; + default: + pci_warn(pdev, "unexpected max bus speed"); + + return; + } + + if (pdev->supported_speeds != old_supported_speeds) + pci_info(pdev, "fixing up supported link speeds: 0x%x => 0x%x", + old_supported_speeds, pdev->supported_speeds); +} +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LOONGSON, 0x3c19, loongson_pci_bridge_speed_quirk); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_LOONGSON, 0x3c29, loongson_pci_bridge_speed_quirk); + static struct loongson_pci *pci_bus_to_loongson_pci(struct pci_bus *bus) { struct pci_config_window *cfg; --- base-commit: ea1013c1539270e372fc99854bc6e4d94eaeff66 change-id: 20250822-loongson-pci1-4ded0d78f1bb Best regards, -- Ziyao Li From - Wed Jan 21 08:29:24 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id EH/xBmCOcGlG5zAAYBR5ng (envelope-from ) for ; Wed, 21 Jan 2026 08:29:20 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Wed, 21 Jan 2026 08:29:20 +0000 Received: from ams.mirrors.kernel.org ([213.196.21.55]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1viTaZ-0000000DiZu-35AV for hi@josie.lol; Wed, 21 Jan 2026 08:29:20 +0000 Received: from smtp.subspace.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.mirrors.kernel.org (Postfix) with ESMTPS id BF511563493 for ; Wed, 21 Jan 2026 08:24:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6818B477E55; Wed, 21 Jan 2026 08:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="ai9oRblZ" X-Original-To: linux-s390@vger.kernel.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 B64274657F4; Wed, 21 Jan 2026 08:24:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768983857; cv=none; b=axf0ZAii5HSr62EMWG6TFLjsDK9wYsVtRmX8yV8cOQ9su33Veb4/8fUw5R7t40T2uN+/LtnYhTS7WCW62bBRPlLbrIi1sSl2cgdvLaCJaTt1+jyMQ+/4IZk3NhSlIDoZ8ckFNNZ9t+wY/KOBJR1rEyle2fFhppFl+Tdmvrc2ugM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768983857; c=relaxed/simple; bh=epytfTIl/6gy4tIqT4VdgoOsKOB/GiZMUPHcesX+7pU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QXlAiJ3Vsb1zehAnlhKjz5VYQUK/dm3mENcLAJIoG+PGrbv8kgTSx9FMrZi3gbj7DNLAmQRNtGjKTuxi2mRdhzqDgwEbY2HyVCKSqul6TT2h8YMBjegF0o/pMutls20cyL+umxn6imFnSv3Va9E78/rofu/LO9Rgw2Hu9vEMfOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=ai9oRblernel.org header.b=LxwZe0pd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C27FC19423; Sat, 28 Feb 2026 17:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772301272; bh=VZCFNxIBTZj2W+VfE2RTxe5USXztP8jkX6mcesjAPPk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LxwZe0pdDDHFJNbvFx1QNH4Cc+8KfV+yXgbuAXvhSaFBuspRVNpFQo19C8jthVhv+ L/cSo11SDe5XNCqmK5WNNV4y1n3GWmwuRWoAq2gdMjrYUb9K+Z72Y6HCShU0hG0UmX ZW5JWP2+bOrZMu802B5rtAqR2KRFAGZDF5qwikL6uZE02hVPN9eAKKTt5J46nbnsns JcdUr2NQ7ZmtWSw9guEkuo4fII0Ci7Tf2IlXDjJzNemm5al8UgOv9Vclik63uCGqob DXtXn1yiLZVsBwiCm/LUOxyNe9kd1KOb86xdIzf/BoKPWgwrsPN1N4E6GVxa7mq+VM yNEHP4cirNPlw== From: Sasha Levin To: patches@lists.linux.dev Cc: Chris Brandt , stable@vger.kernel.org, Hugo Villeneuve , Geert Uytterhoeven , Sasha Levin Subject: [PATCH 6.18 456/752] clk: renesas: rzg2l: Fix intin variable size Date: Sat, 28 Feb 2026 12:42:47 -0500 Message-ID: <20260228174750.1542406-456-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228174750.1542406-1-sashal@kernel.org> References: <20260228174750.1542406-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.2 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://docs.mxroute.com/docs/expert-spam-filtering.html --- Content analysis details: (-1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: msgid.link] 0.0 URIBL_DBL_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to dbl.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] 0.0 RCVD_IN_ZEN_BLOCKED_OPENDNS RBL: ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [172.105.105.114 listed in zen.spamhaus.org] 0.0 URIBL_ZEN_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: -11 From: Chris Brandt [ Upstream commit a00655d98cd885472c311f01dff3e668d1288d0a ] INTIN is a 12-bit register value, so u8 is too small. Fixes: 1561380ee72f ("clk: renesas: rzg2l: Add FOUTPOSTDIV clk support") Cc: stable@vger.kernel.org Reported-by: Hugo Villeneuve Closes: https://lore.kernel.org/20251107113058.f334957151d1a8dd94dd740b@hugovil.com Signed-off-by: Chris Brandt Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20251114193711.3277912-1-chris.brandt@renesas.com Signed-off-by: Geert Uytterhoeven Signed-off-by: Sasha Levin --- drivers/clk/renesas/rzg2l-cpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/rzg2l-cpg.c b/drivers/clk/renesas/rzg2l-cpg.c index db85b1b43737b..9efedc62feed6 100644 --- a/drivers/clk/renesas/rzg2l-cpg.c +++ b/drivers/clk/renesas/rzg2l-cpg.c @@ -122,8 +122,8 @@ struct div_hw_data { struct rzg2l_pll5_param { u32 pl5_fracin; + u16 pl5_intin; u8 pl5_refdiv; - u8 pl5_intin; u8 pl5_postdiv1; u8 pl5_postdiv2; u8 pl5_spread; -- 2.51.0 From - Sat Feb 28 19:59:16 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id KFZrDA9Jo2kORAEAYBR5ng (envelope-from ) for ; Sat, 28 Feb 2026 19:59:11 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 28 Feb 2026 19:59:11 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vwQT0-00000000Voj-44pj for hi@josie.lol; Sat, 28 Feb 2026 19:59:11 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id E062731DD677 for ; Sat, 28 Feb 2026 19:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CE5F414BF3; Sat, 28 Feb 2026 17:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WGFhZMUA" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7A34B32AABE; Sat, 28 Feb 2026 17:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772301279; cv=none; b=fhFmBQjQg7+S/bXLrSMKfwEP+vdcQ3SKm3mlGOzYmjGUclUHxdrmq6XYt99rCBjdUAGqmbQeuNg2/MovMCRD+JCaKOXLK/HECE/66x1S4zWaWVapYNpJOL9MZFJt3vUqNn8J+zA+K/gOn+fQfF53OcNX8zyXgIZ4S9qqFdnjTtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772301279; c=relaxed/simple; bh=kU/f+89gQX8msH1ELgzNKPQu5/7ZsX59MFBTN+0lF0Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NV2EdGqJeFGxbucGgwxPDJBPibXfb6OM4jT3Mc46BtQRr+c60Ak7panVr9rpXeYMREPI0GBakX2EFH2AObMgF1C2ubDWCvzStRfciAn2AcChNhX6H2ddf0Z1Y01fdP43qhYzmmhMGQG1wMZPshlQgmr23spkQHH7T7APvYRvQQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WGFhZMUA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72F7FC116D0; Sat, 28 Feb 2026 17:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772301279; bh=kU/f+89gQX8msH1ELgzNKPQu5/7ZsX59MFBTN+0lF0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WGFhZMUA+nADDHLFhsWsUZJa8I8YYo4SDxz+b8BB+Ac2RcuDd7HEtf7yBNcWw7uTq j3zbxndwFc+UvuixZtnoV/VIyKGdO6VnwkETo89J799YRbnNsRMiwuV4eowFmG4N6A Qmb3+HyRyIcccoTsWyClyaGy2V3xU4Z80mkUpyd5Grm6R3JHwHycjReepSpK0adGC2 gj0oS5prOJPNLi++iPHoHVthvJvQC7W2YG9vkwYn/OaVT3w5xd8awLMglx8Eovftod 7hAxjc9+zikBKuZM+8vVkONtBYQei6MHnZ2aSuN55YuoWkICwiYX+OrqBHU0V4ELk3 MLS1ZM6qfMh6A== From: Sasha Levin To: patches@lists.linux.dev Cc: Peter Ujfalusi , stable@vger.kernel.org, Seppo Ingalsuo , Ranjani Sridharan , Bard Liao , Kai Vehmanen , Mark Brown , Sasha Levin Subject: [PATCH 6.18 463/752] ASoC: SOF: ipc4-control: Use the correct size for scontrol->ipc_control_data Date: Sat, 28 Feb 2026 12:42:54 -0500 Message-ID: <20260228174750.1542406-463-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228174750.1542406-1-sashal@kernel.org> References: <20260228174750.1542406-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.2 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://docs.mxroute.com/docs/expert-spam-filtering.html --- Content analysis details: (-1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: msgid.link] 0.0 URIBL_DBL_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to dbl.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] 0.0 RCVD_IN_ZEN_BLOCKED_OPENDNS RBL: ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [172.105.105.114 listed in zen.spamhaus.org] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 URIBL_ZEN_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: -11 From: Peter Ujfalusi [ Upstream commit c1876fc33c5976837e4c73719c7582617efc6919 ] The size of the data behind scontrol->ipc_control_data is stored in scontrol->size, use this when copying data for backup/restore. Fixes: db38d86d0c54 ("ASoC: sof: Improve sof_ipc4_bytes_ext_put function") Cc: stable@vger.kernel.org Signed-off-by: Peter Ujfalusi Reviewed-by: Seppo Ingalsuo Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Reviewed-by: Kai Vehmanen Link: https://patch.msgid.link/20251217143945.2667-4-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/ipc4-control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/sof/ipc4-control.c b/sound/soc/sof/ipc4-control.c index 0a05f66ec7d92..80111672c1796 100644 --- a/sound/soc/sof/ipc4-control.c +++ b/sound/soc/sof/ipc4-control.c @@ -66,7 +66,7 @@ static int sof_ipc4_set_get_kcontrol_data(struct snd_sof_control *scontrol, * configuration */ memcpy(scontrol->ipc_control_data, scontrol->old_ipc_control_data, - scontrol->max_size); + scontrol->size); kfree(scontrol->old_ipc_control_data); scontrol->old_ipc_control_data = NULL; /* Send the last known good configuration to firmware */ @@ -567,7 +567,7 @@ static int sof_ipc4_bytes_ext_put(struct snd_sof_control *scontrol, if (!scontrol->old_ipc_control_data) { /* Create a backup of the current, valid bytes control */ scontrol->old_ipc_control_data = kmemdup(scontrol->ipc_control_data, - scontrol->max_size, GFP_KERNEL); + scontrol->size, GFP_KERNEL); if (!scontrol->old_ipc_control_data) return -ENOMEM; } @@ -575,7 +575,7 @@ static int sof_ipc4_bytes_ext_put(struct snd_sof_control *scontrol, /* Copy the whole binary data which includes the ABI header and the payload */ if (copy_from_user(data, tlvd->tlv, header.length)) { memcpy(scontrol->ipc_control_data, scontrol->old_ipc_control_data, - scontrol->max_size); + scontrol->size); kfree(scontrol->old_ipc_control_data); scontrol->old_ipc_control_data = NULL; return -EFAULT; -- 2.51.0 From - Sat Feb 28 19:59:16 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id ILN1AhBJo2kz6D0AYBR5ng (envelope-from ) for ; Sat, 28 Feb 2026 19:59:12 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 28 Feb 2026 19:59:12 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vwQT1-00000000VpV-3UhR for hi@josie.lol; Sat, 28 Feb 2026 19:59:12 +0000 Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 945E031DF4C7 for ; Sat, 28 Feb 2026 19:44:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0B5544B686; Sat, 28 Feb 2026 17:54:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BebEBhlR" X-Original-To: stable@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8C5B4340A51; Sat, 28 Feb 2026 17:54:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772301282; cv=none; b=tqfNoDtS/0VvP0103SJJRw6Akw33dbEXzA2dGKYbZkXx+3ZJqlZqlTQbe4U3Ki9PGH3WZHrn44BJU44joWGA2Kt1ycJcnMHchVkoS+QD8HRbk+Oui3riKfEokBJkaZMr36q5mss7lnSb6JrfLByKLhBwmxMTTkAHarCPpgmDbhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772301282; c=relaxed/simple; bh=zyf+gpSoNDKeLFptf7hUU0gxUFJbg75B1a0fm/er4Mc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cUr+I7Zy1BztQFHI+zdUaAgMw1PAF2Al/OmhOuj6QJ1OUMEWvbRyq1kPLEB4Nh8TuQjhWLrTw57RezvQTR4f3KneQjhM/yYwWgPA3Qdo+K3fDoVeC4VE5d0+D0aChmbJeOw7ERzJUdc7Xs1GgpuzlC0vB7yf0oQb3apY5B1BPlQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BebEBhlR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0850C116D0; Sat, 28 Feb 2026 17:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772301282; bh=zyf+gpSoNDKeLFptf7hUU0gxUFJbg75B1a0fm/er4Mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BebEBhlR8tEY/wx70W2yquRwuf/d+N8t1IJACOzkleeE64ITs5Is8iLLIVMhA9wa7 mLAgXdVwLliSb06YHtGem5ilKVy4ZKd4klMq5muOzTcf3plGNcakvOCg3TzolNdUja 73fO9B+bIVYNPTnvuI2+VJfKd/fsc1IxiJuoSsjwo7EivBU4fvGji4U4xkGHInzgx+ x/JNIPW3ixxJyaj9nOdqnrFELwKnFxRLFcNLT8hrCrhRkJMGkAnYaRoSUL6U8SRpsw xvaL9ivlCeVuS0hr+zXmifBUCvNqUAsRUlAcobUBdBiy/q648kwIZ8h/masPuejZqq WlupLo5Y0iOFw== From: Sasha Levin To: patches@lists.linux.dev Cc: Thomas Zimmermann , dri-devel@lists.freedesktop.org, stable@vger.kernel.org, Boris Brezillon , Sasha Levin Subject: [PATCH 6.18 466/752] drm/tests: shmem: Swap names of export tests Date: Sat, 28 Feb 2026 12:42:57 -0500 Message-ID: <20260228174750.1542406-466-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260228174750.1542406-1-sashal@kernel.org> References: <20260228174750.1542406-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-DKIM: signer='kernel.org' status='pass' reason='' DKIMCheck: Server passes DKIM test, 0 Spam score X-Spam-Score: -1.2 (-) X-Spam-Report: Spam detection software, running on the system "witcher.mxrouting.net", has performed the tests listed below against this email. Information: https://docs.mxroute.com/docs/expert-spam-filtering.html --- Content analysis details: (-1.2 points) --- pts rule name description ---- ---------------------- ----------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: msgid.link] 0.0 URIBL_DBL_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to dbl.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] 0.0 RCVD_IN_ZEN_BLOCKED_OPENDNS RBL: ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [172.105.105.114 listed in zen.spamhaus.org] 0.0 URIBL_ZEN_BLOCKED_OPENDNS ADMINISTRATOR NOTICE: The query to zen.spamhaus.org was blocked due to usage of an open resolver. See https://www.spamhaus.org/returnc/pub/ [URIs: msgid.link] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender SpamTally: Final spam score: -11 From: Thomas Zimmermann [ Upstream commit 89f23d42006630dd94c01a8c916f8c648141ad8e ] GEM SHMEM has 2 helpers for exporting S/G tables. Swap the names of the rsp. tests, so that each matches the helper it tests. Signed-off-by: Thomas Zimmermann Fixes: 93032ae634d4 ("drm/test: add a test suite for GEM objects backed by shmem") Cc: dri-devel@lists.freedesktop.org Cc: # v6.8+ Reviewed-by: Boris Brezillon Link: https://patch.msgid.link/20251212160317.287409-2-tzimmermann@suse.de Signed-off-by: Sasha Levin --- drivers/gpu/drm/tests/drm_gem_shmem_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tests/drm_gem_shmem_test.c b/drivers/gpu/drm/tests/drm_gem_shmem_test.c index 68f2c31623547..872881ec9c30d 100644 --- a/drivers/gpu/drm/tests/drm_gem_shmem_test.c +++ b/drivers/gpu/drm/tests/drm_gem_shmem_test.c @@ -194,7 +194,7 @@ static void drm_gem_shmem_test_vmap(struct kunit *test) * scatter/gather table large enough to accommodate the backing memory * is successfully exported. */ -static void drm_gem_shmem_test_get_pages_sgt(struct kunit *test) +static void drm_gem_shmem_test_get_sg_table(struct kunit *test) { struct drm_device *drm_dev = test->priv; struct drm_gem_shmem_object *shmem; @@ -236,7 +236,7 @@ static void drm_gem_shmem_test_get_pages_sgt(struct kunit *test) * backing pages are pinned and a scatter/gather table large enough to * accommodate the backing memory is successfully exported. */ -static void drm_gem_shmem_test_get_sg_table(struct kunit *test) +static void drm_gem_shmem_test_get_pages_sgt(struct kunit *test) { struct drm_device *drm_dev = test->priv; struct drm_gem_shmem_object *shmem; @@ -366,8 +366,8 @@ static struct kunit_case drm_gem_shmem_test_cases[] = { KUNIT_CASE(drm_gem_shmem_test_obj_create_private), KUNIT_CASE(drm_gem_shmem_test_pin_pages), KUNIT_CASE(drm_gem_shmem_test_vmap), - KUNIT_CASE(drm_gem_shmem_test_get_pages_sgt), KUNIT_CASE(drm_gem_shmem_test_get_sg_table), + KUNIT_CASE(drm_gem_shmem_test_get_pages_sgt), KUNIT_CASE(drm_gem_shmem_test_madvise), KUNIT_CASE(drm_gem_shmem_test_purge), {} -- 2.51.0 From - Sat Feb 28 19:59:57 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: hi@josie.lol Received: from witcher.mxrouting.net by witcher.mxrouting.net with LMTP id AEXBEhBJo2kdrAAAYBR5ng (envelope-from ) for ; Sat, 28 Feb 2026 19:59:12 +0000 Return-path: Envelope-to: hi@josie.lol Delivery-date: Sat, 28 Feb 2026 19:59:12 +0000 Received: from tor.lore.kernel.org ([172.105.105.114]) by witcher.mxrouting.net with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1vwQT2-00000000Vpe-098p for hi@josie.lol; Sat, 28 Feb 2026