lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33191017-b12c-44a2-92dc-44a7d0e79bd0@163.com>
Date: Fri, 14 Feb 2025 16:34:29 +0800
From: Hans Zhang <18255117159@....com>
To: Niklas Cassel <cassel@...nel.org>
Cc: jingoohan1@...il.com, shradha.t@...sung.com,
 manivannan.sadhasivam@...aro.org, lpieralisi@...nel.org, kw@...ux.com,
 robh@...nel.org, bhelgaas@...gle.com, Frank.Li@....com,
 linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org, rockswang7@...il.com
Subject: Re: [v2] PCI: dwc: Add the debugfs property to provide the LTSSM
 status of the PCIe link



On 2025/2/13 22:34, Niklas Cassel wrote:
>> +int dwc_pcie_debugfs_init(struct dw_pcie *pci)
>> +{
>> +	char dirname[DWC_DEBUGFS_BUF_MAX];
>> +	struct device *dev = pci->dev;
>> +	struct dentry *dir;
>> +	int ret;
>> +
>> +	/* Create main directory for each platform driver */
>> +	snprintf(dirname, DWC_DEBUGFS_BUF_MAX, "dwc_pcie_%s", dev_name(dev));
>> +	dir = debugfs_create_dir(dirname, NULL);
>> +	if (IS_ERR(dir))
>> +		return PTR_ERR(dir);
>> +
>> +	pci->debugfs = dir;
>> +	ret = dwc_pcie_rasdes_debugfs_init(pci, dir);
>> +	if (ret)
>> +		dev_dbg(dev, "rasdes debugfs init failed\n");
>> +
>> +	dwc_pcie_ltssm_debugfs_init(pci, dir);
>> +
>> +	return 0;
>> +}
>> +
> 
> Stray newline here.
> This causes:
> 
> /home/nks/src/linux/.git/worktrees/linux-scratch/rebase-apply/patch:136: new blank line at EOF.
> +
> warning: 1 line adds whitespace errors.
> 
> when doing git am.
> 
> 
> Also, this patch does not apply anymore, because of a conflict introduce by:
> 112aba9a7934 ("PCI: dwc: Remove LTSSM state test in dw_pcie_suspend_noirq()")
> 
> Which added:
> +       DW_PCIE_LTSSM_DETECT_WAIT = 0x6,
> to drivers/pci/controller/dwc/pcie-designware.h
> 

Thank you very much, Niklas.

I will git pull the latest code and fix it.


Best regards
Hans


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ