mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: ABI: drop two duplicate symbols
@ 2025-02-12 21:08 Mauro Carvalho Chehab
  2025-02-13 12:21 ` Bagas Sanjaya
  2025-02-13 16:24 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2025-02-12 21:08 UTC (permalink / raw)
  To: Linux Doc Mailing List, Jonathan Corbet
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Stephen Rothwell,
	linux-kernel

As warned by get_abi.py, there are two symbols that are
defined twice:

WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times: \
	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:27; \
	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70
WARNING: /sys/devices/system/cpu/cpuX/topology/ppin is defined 2 times: \
	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:89; \
	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70

As the documentation at testing/sysfs-devices-system-cpu, drop
the duplicated one from stable.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/ABI/stable/sysfs-devices-system-cpu | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/Documentation/ABI/stable/sysfs-devices-system-cpu b/Documentation/ABI/stable/sysfs-devices-system-cpu
index 902392d7eddf..cf78bd99f6c8 100644
--- a/Documentation/ABI/stable/sysfs-devices-system-cpu
+++ b/Documentation/ABI/stable/sysfs-devices-system-cpu
@@ -24,12 +24,6 @@ Description:	Default value for the Data Stream Control Register (DSCR) on
 		If set by a process it will be inherited by child processes.
 Values:		64 bit unsigned integer (bit field)
 
-What:           /sys/devices/system/cpu/cpuX/topology/physical_package_id
-Description:    physical package id of cpuX. Typically corresponds to a physical
-                socket number, but the actual value is architecture and platform
-                dependent.
-Values:         integer
-
 What:           /sys/devices/system/cpu/cpuX/topology/die_id
 Description:    the CPU die ID of cpuX. Typically it is the hardware platform's
                 identifier (rather than the kernel's). The actual value is
@@ -86,10 +80,6 @@ What:           /sys/devices/system/cpu/cpuX/topology/die_cpus
 Description:    internal kernel map of CPUs within the same die.
 Values:         hexadecimal bitmask.
 
-What:           /sys/devices/system/cpu/cpuX/topology/ppin
-Description:    per-socket protected processor inventory number
-Values:         hexadecimal.
-
 What:           /sys/devices/system/cpu/cpuX/topology/die_cpus_list
 Description:    human-readable list of CPUs within the same die.
                 The format is like 0-3, 8-11, 14,17.
-- 
2.48.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: ABI: drop two duplicate symbols
  2025-02-12 21:08 [PATCH] docs: ABI: drop two duplicate symbols Mauro Carvalho Chehab
@ 2025-02-13 12:21 ` Bagas Sanjaya
  2025-02-13 16:24 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-02-13 12:21 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Linux Doc Mailing List, Jonathan Corbet
  Cc: Stephen Rothwell, linux-kernel, Michael Ellerman, Nysal Jan K.A,
	Russell King (Oracle),
	Baoquan He, Tom Lendacky, James Morse, Pawan Gupta, Sourabh Jain

[-- Attachment #1: Type: text/plain, Size: 2687 bytes --]

On Wed, Feb 12, 2025 at 10:08:01PM +0100, Mauro Carvalho Chehab wrote:
> As warned by get_abi.py, there are two symbols that are
> defined twice:
> 
> WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times: \
> 	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:27; \
> 	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70
> WARNING: /sys/devices/system/cpu/cpuX/topology/ppin is defined 2 times: \
> 	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:89; \
> 	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70
> 
> As the documentation at testing/sysfs-devices-system-cpu, drop
> the duplicated one from stable.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>  Documentation/ABI/stable/sysfs-devices-system-cpu | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/Documentation/ABI/stable/sysfs-devices-system-cpu b/Documentation/ABI/stable/sysfs-devices-system-cpu
> index 902392d7eddf..cf78bd99f6c8 100644
> --- a/Documentation/ABI/stable/sysfs-devices-system-cpu
> +++ b/Documentation/ABI/stable/sysfs-devices-system-cpu
> @@ -24,12 +24,6 @@ Description:	Default value for the Data Stream Control Register (DSCR) on
>  		If set by a process it will be inherited by child processes.
>  Values:		64 bit unsigned integer (bit field)
>  
> -What:           /sys/devices/system/cpu/cpuX/topology/physical_package_id
> -Description:    physical package id of cpuX. Typically corresponds to a physical
> -                socket number, but the actual value is architecture and platform
> -                dependent.
> -Values:         integer
> -
>  What:           /sys/devices/system/cpu/cpuX/topology/die_id
>  Description:    the CPU die ID of cpuX. Typically it is the hardware platform's
>                  identifier (rather than the kernel's). The actual value is
> @@ -86,10 +80,6 @@ What:           /sys/devices/system/cpu/cpuX/topology/die_cpus
>  Description:    internal kernel map of CPUs within the same die.
>  Values:         hexadecimal bitmask.
>  
> -What:           /sys/devices/system/cpu/cpuX/topology/ppin
> -Description:    per-socket protected processor inventory number
> -Values:         hexadecimal.
> -
>  What:           /sys/devices/system/cpu/cpuX/topology/die_cpus_list
>  Description:    human-readable list of CPUs within the same die.
>                  The format is like 0-3, 8-11, 14,17.

The warnings squashed away, thanks!

Tested-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs: ABI: drop two duplicate symbols
  2025-02-12 21:08 [PATCH] docs: ABI: drop two duplicate symbols Mauro Carvalho Chehab
  2025-02-13 12:21 ` Bagas Sanjaya
@ 2025-02-13 16:24 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2025-02-13 16:24 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Stephen Rothwell,
	linux-kernel

Mauro Carvalho Chehab <mchehab+huawei@kernel.org> writes:

> As warned by get_abi.py, there are two symbols that are
> defined twice:
>
> WARNING: /sys/devices/system/cpu/cpuX/topology/physical_package_id is defined 2 times: \
> 	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:27; \
> 	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70
> WARNING: /sys/devices/system/cpu/cpuX/topology/ppin is defined 2 times: \
> 	/new_devel/v4l/docs/Documentation/ABI/stable/sysfs-devices-system-cpu:89; \
> 	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-devices-system-cpu:70
>
> As the documentation at testing/sysfs-devices-system-cpu, drop
> the duplicated one from stable.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> ---
>  Documentation/ABI/stable/sysfs-devices-system-cpu | 10 ----------
>  1 file changed, 10 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-13 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-12 21:08 [PATCH] docs: ABI: drop two duplicate symbols Mauro Carvalho Chehab
2025-02-13 12:21 ` Bagas Sanjaya
2025-02-13 16:24 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®