Hi Linus, this is a pull request for the new uuid subsystem, in which Amir, Andy and I have started consolidating our uuid/guid helpers and improving the types used for them. Note that various other subsystems have pulled in this tree, so I'd like it to go in early.
The following changes since commit 3c2993b8c6143d8a5793746a54eba8f86f95240f: Linux 4.12-rc4 (2017-06-04 16:47:43 -0700) are available in the git repository at: git://git.infradead.org/users/hch/uuid.git tags/uuid-for-4.13 for you to fetch changes up to b86a496a42064e2a864bae31306e0c78eced2a3b: ACPI: hns_dsaf_acpi_dsm_guid can be static (2017-06-27 06:54:41 -0700) ---------------------------------------------------------------- UUID/GUID updates: - introduce the new uuid_t/guid_t types that are going to replace the somewhat confusing uuid_be/uuid_le types and make the terminology fit the various specs, as well as the userspace libuuid library. (me, based on a previous version from Amir) - consolidated generic uuid/guid helper functions lifted from XFS and libnvdimm (Amir and me) - conversions to the new types and helpers (Amir, Andy and me) ---------------------------------------------------------------- Amir Goldstein (4): xfs: use uuid_copy() helper to abstract uuid_t md: namespace private helper names xfs: use the common helper uuid_is_null() tmpfs: generate random sb->s_uuid Andy Shevchenko (7): acpi, nfit: Switch to use new generic UUID API ACPI / APEI: Switch to use new generic UUID API ACPI / bus: Switch to use new generic UUID API ACPI / extlog: Switch to use new generic UUID API ACPI: Switch to use generic guid_t in acpi_evaluate_dsm() thermal: int340x_thermal: Switch to use new generic UUID API uuid: Take const on input of uuid_is_null() and guid_is_null() Christoph Hellwig (21): uuid,afs: move struct uuid_v1 back into afs xfs: use uuid_be to implement the uuid_t type nfsd: namespace-prefix uuid_parse uuid: remove uuid_be defintions from the uapi header uuid: rename uuid types uuid: don't export guid_index and uuid_index uuid: hoist helpers uuid_equal() and uuid_copy() from xfs uuid: hoist uuid_is_null() helper from libnvdimm S390/sysinfo: use uuid_is_null instead of opencoding it xfs: remove uuid_getnodeuniq and xfs_uu_t block: remove blk_part_pack_uuid ima/policy: switch to use uuid_t fs: switch ->s_uuid to uuid_t overlayfs: use uuid_t instead of uuid_be partitions/ldm: switch to use uuid_t sysctl: switch to use uuid_t nvme: switch to uuid_t scsi_debug: switch to uuid_t MAINTAINERS: add uuid entry acpi: always include uuid.h thermal: int340x_thermal: fix compile after the UUID API switch Colin Ian King (1): mmc: sdhci-pci: make guid intel_dsm_guid static kbuild test robot (1): ACPI: hns_dsaf_acpi_dsm_guid can be static MAINTAINERS | 11 +++ arch/s390/include/asm/sysinfo.h | 4 +- arch/s390/kernel/sysinfo.c | 2 +- block/partitions/ldm.c | 10 +-- block/partitions/ldm.h | 6 +- drivers/acpi/acpi_extlog.c | 20 ++--- drivers/acpi/apei/ghes.c | 8 +- drivers/acpi/bus.c | 29 +------ drivers/acpi/nfit/core.c | 54 ++++++------ drivers/acpi/nfit/nfit.h | 3 +- drivers/acpi/utils.c | 16 ++-- drivers/char/tpm/tpm_crb.c | 9 +- drivers/char/tpm/tpm_ppi.c | 20 ++--- drivers/gpu/drm/i915/intel_acpi.c | 14 ++- drivers/gpu/drm/nouveau/nouveau_acpi.c | 20 ++--- drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c | 9 +- drivers/hid/i2c-hid/i2c-hid.c | 9 +- drivers/iommu/dmar.c | 11 ++- drivers/md/md.c | 8 +- drivers/mmc/host/sdhci-pci-core.c | 9 +- drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 15 ++-- drivers/nvdimm/btt_devs.c | 9 +- drivers/nvme/host/fabrics.c | 8 +- drivers/nvme/host/fabrics.h | 2 +- drivers/nvme/host/fc.c | 3 +- drivers/nvme/target/nvmet.h | 1 + drivers/pci/pci-acpi.c | 13 ++- drivers/pci/pci-label.c | 4 +- drivers/scsi/scsi_debug.c | 10 +-- drivers/thermal/int340x_thermal/int3400_thermal.c | 8 +- drivers/usb/dwc3/dwc3-pci.c | 10 +-- drivers/usb/host/xhci-pci.c | 9 +- drivers/usb/misc/ucsi.c | 6 +- drivers/usb/typec/typec_wcove.c | 8 +- drivers/xen/tmem.c | 6 +- fs/afs/cmservice.c | 16 ++-- fs/afs/internal.h | 11 ++- fs/afs/main.c | 2 +- fs/ext4/super.c | 2 +- fs/f2fs/super.c | 2 +- fs/gfs2/ops_fstype.c | 2 +- fs/gfs2/sys.c | 22 ++--- fs/nfsd/export.c | 4 +- fs/ocfs2/super.c | 2 +- fs/overlayfs/copy_up.c | 7 +- fs/overlayfs/namei.c | 2 +- fs/overlayfs/overlayfs.h | 2 +- fs/xfs/Makefile | 3 +- fs/xfs/uuid.c | 63 -------------- fs/xfs/uuid.h | 35 -------- fs/xfs/xfs_inode_item.c | 8 +- fs/xfs/xfs_linux.h | 2 +- fs/xfs/xfs_log_recover.c | 6 +- fs/xfs/xfs_mount.c | 16 ++-- include/acpi/acpi_bus.h | 11 +-- include/linux/acpi.h | 4 +- include/linux/cleancache.h | 2 +- include/linux/fs.h | 5 +- include/linux/genhd.h | 11 --- include/linux/nvme-fc.h | 3 +- include/linux/nvme.h | 3 +- include/linux/pci-acpi.h | 2 +- include/linux/uuid.h | 99 ++++++++++++++-------- include/uapi/linux/uuid.h | 28 ++---- kernel/sysctl_binary.c | 4 +- lib/test_uuid.c | 36 ++++---- lib/uuid.c | 33 ++++---- lib/vsprintf.c | 4 +- mm/cleancache.c | 2 +- mm/shmem.c | 2 + security/integrity/evm/evm_crypto.c | 2 +- security/integrity/ima/ima_policy.c | 12 ++- sound/soc/intel/skylake/skl-nhlt.c | 7 +- tools/testing/nvdimm/test/iomap.c | 6 +- tools/testing/nvdimm/test/nfit.c | 2 +- tools/testing/nvdimm/test/nfit_test.h | 4 +- 76 files changed, 373 insertions(+), 500 deletions(-) delete mode 100644 fs/xfs/uuid.c delete mode 100644 fs/xfs/uuid.h