linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/29] Change wildcards on ABI files
@ 2021-09-14 14:32 Mauro Carvalho Chehab
  2021-09-14 14:32 ` [PATCH v2 01/29] ABI: sysfs-bus-usb: better document variable argument Mauro Carvalho Chehab
                   ` (28 more replies)
  0 siblings, 29 replies; 41+ messages in thread
From: Mauro Carvalho Chehab @ 2021-09-14 14:32 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, linux-kernel, Jonathan Corbet,
	Anton Vorontsov, Colin Cross, Heikki Krogerus, Johan Hovold,
	Kees Cook, Peter Rosin, Richard Cochran, Tony Luck, linux-usb,
	linuxppc-dev, netdev

The ABI files are meant to be parsed via a script (scripts/get_abi.pl).

A new improvement on it will allow it to help to detect if an ABI description
is missing, or if the What: field won't match the actual location of the symbol.

In order for get_abi.pl to convert What: into regex, changes are needed on
existing ABI files, as the conversion should not be ambiguous.

One alternative would be to convert everything into regexes, but this
would generate a huge amount of patches/changes. So, instead, let's
touch only the ABI files that aren't following the de-facto wildcard 
standards already found on most of the ABI files, e. g.:

	/.../
	*
	<foo>
	(option1|option2)
	X
	Y
	Z
	[0-9] (and variants)

A couple of the patches here came from v1, but most of the patches were
written to address things like rcN, where N is a wildcard.

We can't teach get_abi.pl to use an uppercase "N" letter to be a wildcard,
as the USB ABI already uses "N" inside some of their symbols, like 
bNumEndpoints.

Mauro Carvalho Chehab (29):
  ABI: sysfs-bus-usb: better document variable argument
  ABI: sysfs-tty: better document module name parameter
  ABI: sysfs-kernel-slab: use a wildcard for the cache name
  ABI: security: fix location for evm and ima_policy
  ABI: sysfs-class-tpm: use wildcards for pcr-* nodes
  ABI: sysfs-bus-rapidio: use wildcards on What definitions
  ABI: sysfs-class-cxl: place "not in a guest" at description
  ABI: sysfs-class-devfreq-event: use the right wildcards on What
  ABI: sysfs-class-mic: use the right wildcards on What definitions
  ABI: pstore: Fix What field
  ABI: sysfs-class-typec: fix a bad What field
  ABI: sysfs-ata: use a proper wildcard for ata_*
  ABI: sysfs-class-infiniband: use wildcards on What definitions
  ABI: sysfs-bus-pci: use wildcards on What definitions
  ABI: sysfs-bus-soundwire-master: use wildcards on What definitions
  ABI: sysfs-bus-soundwire-slave: use wildcards on What definitions
  ABI: sysfs-class-gnss: use wildcards on What definitions
  ABI: sysfs-class-mei: use wildcards on What definitions
  ABI: sysfs-class-mux: use wildcards on What definitions
  ABI: sysfs-class-pwm: use wildcards on What definitions
  ABI: sysfs-class-rc: use wildcards on What definitions
  ABI: sysfs-class-rc-nuvoton: use wildcards on What definitions
  ABI: sysfs-class-uwb_rc: use wildcards on What definitions
  ABI: sysfs-class-uwb_rc-wusbhc: use wildcards on What definitions
  ABI: sysfs-devices-platform-dock: use wildcards on What definitions
  ABI: sysfs-devices-system-cpu: use wildcards on What definitions
  ABI: sysfs-firmware-efi-esrt: use wildcards on What definitions
  ABI: sysfs-platform-sst-atom: use wildcards on What definitions
  ABI: sysfs-ptp: use wildcards on What definitions

 .../ABI/stable/sysfs-class-infiniband         | 64 ++++++-------
 Documentation/ABI/stable/sysfs-class-tpm      |  2 +-
 Documentation/ABI/testing/evm                 |  4 +-
 Documentation/ABI/testing/ima_policy          |  2 +-
 Documentation/ABI/testing/pstore              |  3 +-
 Documentation/ABI/testing/sysfs-ata           |  2 +-
 Documentation/ABI/testing/sysfs-bus-pci       |  2 +-
 Documentation/ABI/testing/sysfs-bus-rapidio   | 32 +++----
 .../ABI/testing/sysfs-bus-soundwire-master    |  2 +-
 .../ABI/testing/sysfs-bus-soundwire-slave     |  2 +-
 Documentation/ABI/testing/sysfs-bus-usb       | 16 ++--
 Documentation/ABI/testing/sysfs-class-cxl     | 15 ++-
 .../ABI/testing/sysfs-class-devfreq-event     | 12 +--
 Documentation/ABI/testing/sysfs-class-gnss    |  2 +-
 Documentation/ABI/testing/sysfs-class-mei     | 18 ++--
 Documentation/ABI/testing/sysfs-class-mic     | 24 ++---
 Documentation/ABI/testing/sysfs-class-mux     |  2 +-
 Documentation/ABI/testing/sysfs-class-pwm     | 20 ++--
 Documentation/ABI/testing/sysfs-class-rc      | 14 +--
 .../ABI/testing/sysfs-class-rc-nuvoton        |  2 +-
 Documentation/ABI/testing/sysfs-class-typec   |  2 +-
 Documentation/ABI/testing/sysfs-class-uwb_rc  | 26 ++---
 .../ABI/testing/sysfs-class-uwb_rc-wusbhc     | 10 +-
 .../ABI/testing/sysfs-devices-platform-dock   | 10 +-
 .../ABI/testing/sysfs-devices-system-cpu      | 16 ++--
 .../ABI/testing/sysfs-firmware-efi-esrt       | 16 ++--
 Documentation/ABI/testing/sysfs-kernel-slab   | 94 +++++++++----------
 .../ABI/testing/sysfs-platform-sst-atom       |  2 +-
 Documentation/ABI/testing/sysfs-ptp           | 30 +++---
 Documentation/ABI/testing/sysfs-tty           | 32 +++----
 30 files changed, 242 insertions(+), 236 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2021-09-15  8:00 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-14 14:32 [PATCH v2 00/29] Change wildcards on ABI files Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 01/29] ABI: sysfs-bus-usb: better document variable argument Mauro Carvalho Chehab
2021-09-14 17:31   ` Rajat Jain
2021-09-14 18:57   ` Bjorn Helgaas
2021-09-14 14:32 ` [PATCH v2 02/29] ABI: sysfs-tty: better document module name parameter Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 03/29] ABI: sysfs-kernel-slab: use a wildcard for the cache name Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 04/29] ABI: security: fix location for evm and ima_policy Mauro Carvalho Chehab
2021-09-14 15:53   ` Mimi Zohar
2021-09-14 14:32 ` [PATCH v2 05/29] ABI: sysfs-class-tpm: use wildcards for pcr-* nodes Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 06/29] ABI: sysfs-bus-rapidio: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 07/29] ABI: sysfs-class-cxl: place "not in a guest" at description Mauro Carvalho Chehab
2021-09-15  3:33   ` Andrew Donnellan
2021-09-14 14:32 ` [PATCH v2 08/29] ABI: sysfs-class-devfreq-event: use the right wildcards on What Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 09/29] ABI: sysfs-class-mic: use the right wildcards on What definitions Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 10/29] ABI: pstore: Fix What field Mauro Carvalho Chehab
2021-09-14 17:35   ` Kees Cook
2021-09-14 14:32 ` [PATCH v2 11/29] ABI: sysfs-class-typec: fix a bad " Mauro Carvalho Chehab
2021-09-14 14:45   ` Heikki Krogerus
2021-09-14 14:32 ` [PATCH v2 12/29] ABI: sysfs-ata: use a proper wildcard for ata_* Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 13/29] ABI: sysfs-class-infiniband: use wildcards on What definitions Mauro Carvalho Chehab
2021-09-14 17:13   ` Jason Gunthorpe
2021-09-14 14:32 ` [PATCH v2 14/29] ABI: sysfs-bus-pci: " Mauro Carvalho Chehab
2021-09-14 18:57   ` Bjorn Helgaas
2021-09-14 14:32 ` [PATCH v2 15/29] ABI: sysfs-bus-soundwire-master: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 16/29] ABI: sysfs-bus-soundwire-slave: " Mauro Carvalho Chehab
2021-09-14 15:28   ` Pierre-Louis Bossart
2021-09-14 14:32 ` [PATCH v2 17/29] ABI: sysfs-class-gnss: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 18/29] ABI: sysfs-class-mei: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 19/29] ABI: sysfs-class-mux: " Mauro Carvalho Chehab
2021-09-15  8:00   ` Peter Rosin
2021-09-14 14:32 ` [PATCH v2 20/29] ABI: sysfs-class-pwm: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 21/29] ABI: sysfs-class-rc: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 22/29] ABI: sysfs-class-rc-nuvoton: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 23/29] ABI: sysfs-class-uwb_rc: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 24/29] ABI: sysfs-class-uwb_rc-wusbhc: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 25/29] ABI: sysfs-devices-platform-dock: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 26/29] ABI: sysfs-devices-system-cpu: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 27/29] ABI: sysfs-firmware-efi-esrt: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 28/29] ABI: sysfs-platform-sst-atom: " Mauro Carvalho Chehab
2021-09-14 14:32 ` [PATCH v2 29/29] ABI: sysfs-ptp: " Mauro Carvalho Chehab
2021-09-14 14:47   ` Richard Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).