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: <20250814213500.GA350257@bhelgaas>
Date: Thu, 14 Aug 2025 16:35:00 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: hans.zhang@...tech.com
Cc: bhelgaas@...gle.com, lpieralisi@...nel.org, kw@...ux.com,
	mani@...nel.org, robh@...nel.org, kwilczynski@...nel.org,
	krzk+dt@...nel.org, conor+dt@...nel.org, mpillai@...ence.com,
	fugang.duan@...tech.com, guoyin.chen@...tech.com,
	peter.chen@...tech.com, cix-kernel-upstream@...tech.com,
	linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v7 03/13] PCI: cadence: Add register definitions for
 HPA(High Perf Architecture)

On Wed, Aug 13, 2025 at 12:23:21PM +0800, hans.zhang@...tech.com wrote:
> From: Manikandan K Pillai <mpillai@...ence.com>
> 
> Add the register offsets and register definitions for HPA(High
> Performance architecture) PCIe controllers from Cadence.

Add space in "HPA(High Performance architecture)"; also in subject.

> +++ b/drivers/pci/controller/cadence/pcie-cadence-hpa-regs.h

> +/*
> + * HPA (High Performance Architecture) PCIe controller register
> + */

Typical style would be:

  /* HPA (High Performance Architecture) PCIe controller register */

> +#define CDNS_PCIE_HPA_IP_AXI_MASTER_COMMON	0x01020000
> +/*
> + * Address Translation Registers(HPA)
> + */

Use a one-line comment and add a blank line before it.  Apply below
too.

> + * Root port register base address

s/Root port/Root Port/ to match spec and usage below.

> + * Endpoint Function BARs(HPA) Configuration Registers

Add space.

> + * Root Port Registers PCI config space(HPA) for root port function

Add space.

> +++ b/drivers/pci/controller/cadence/pcie-cadence-plat.c
> @@ -22,10 +22,6 @@ struct cdns_plat_pcie {
>  	struct cdns_pcie        *pcie;
>  };
>  
> -struct cdns_plat_pcie_of_data {
> -	bool is_rc;
> -};

Everything from here down is (as Krzysztof pointed out) much different
than the above and should be in a separate patch so the commit log can
be more specific.

Bjorn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ