Hello community, here is the log from the commit of package libcxl for openSUSE:Factory checked in at 2016-06-13 21:55:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcxl (Old) and /work/SRC/openSUSE:Factory/.libcxl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcxl" Changes: -------- --- /work/SRC/openSUSE:Factory/libcxl/libcxl.changes 2016-03-29 10:39:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcxl.new/libcxl.changes 2016-06-13 21:55:32.000000000 +0200 @@ -1,0 +2,17 @@ +Tue May 31 15:19:12 UTC 2016 - norm...@linux.vnet.ibm.com + +- Update v1.4 + * New API function cxl_get_psl_timebase_synced. + * Simplify implementation of OUT_OF_RANGE macro + * libcxl add install target + * use LDFLAGS from the env + * libcxl set default soname and interface version + * Add extern "C" to libcxl.h for compatibility with C++ projects + * typo error in 3 man pages + * Add SONAME support in Makefile +- remove embeded patches: + libcxl_typo_correction_man_pages.patch + libcxl_add_soname_in_Makefile.patch +- new libcxl_create_soname_link.patch + +------------------------------------------------------------------- Old: ---- libcxl-1.3.tar.gz libcxl_add_soname_in_Makefile.patch libcxl_typo_correction_man_pages.patch New: ---- libcxl-1.4.tar.gz libcxl_create_soname_link.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcxl.spec ++++++ --- /var/tmp/diff_new_pack.Fk4yrM/_old 2016-06-13 21:55:33.000000000 +0200 +++ /var/tmp/diff_new_pack.Fk4yrM/_new 2016-06-13 21:55:33.000000000 +0200 @@ -17,7 +17,7 @@ Name: libcxl -Version: 1.3 +Version: 1.4 Release: 0 %define soversion 1 Summary: Coherent accelerator interface @@ -28,8 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glibc ExclusiveArch: ppc64 ppc64le -Patch0: libcxl_add_soname_in_Makefile.patch -Patch1: libcxl_typo_correction_man_pages.patch +Patch0: libcxl_create_soname_link.patch %description Coherent accelerator interface (refer to lib package with soversion) @@ -71,29 +70,22 @@ %prep %setup -q %patch0 -p1 -%patch1 -p1 %build -make VERS_SONAME=%{soversion} VERS_LIB=%{version}.%{release} \ - CFLAGS="%{optflags} -fPIC" V=1 +make CFLAGS="%{optflags} -fPIC" V=1 mkdir -p build/man3 -pushd build/man3 -cp ../../man3/*.3 ./ && gzip *.3 -popd +cp -p man3/*.3 build/man3 %install -mkdir -p %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_includedir} +make DESTDIR=%{buildroot} prefix=/usr install mkdir -p %{buildroot}%{_mandir} -install -m 0755 libcxl.so* %{buildroot}%{_libdir}/ -install -m 0644 libcxl.h %{buildroot}%{_includedir}/ cp -a build/man3 %{buildroot}%{_mandir}/ %files -n %{name}%{soversion} %defattr(-,root,root) %doc LICENSE %doc README.md -%{_libdir}/libcxl.so* +%{_libdir}/libcxl.so.* %post -n %{name}%{soversion} -p /sbin/ldconfig @@ -104,5 +96,6 @@ %doc LICENSE %{_includedir}/* %{_mandir}/man3/* +%{_libdir}/libcxl.so %changelog ++++++ libcxl-1.3.tar.gz -> libcxl-1.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/Makefile new/libcxl-1.4/Makefile --- old/libcxl-1.3/Makefile 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/Makefile 2016-05-26 15:17:58.000000000 +0200 @@ -4,7 +4,16 @@ OBJS = libcxl.o libcxl_sysfs.o CFLAGS += -I include -all: check_cxl_header libcxl.so libcxl.a +# change VERS_LIB if new git tag +VERS_LIB = 1.4 +LIBNAME = libcxl.so.$(VERS_LIB) +# change VERS_SONAME only if library breaks backward compatibility. +# refer to file symver.map +VERS_SONAME=1 +LIBSONAME = libcxl.so.$(VERS_SONAME) +SONAMEOPT = -Wl,-soname,$(LIBSONAME) + +all: check_cxl_header $(LIBNAME) libcxl.so libcxl.a HAS_WGET = $(shell /bin/which wget > /dev/null 2>&1 && echo y || echo n) HAS_CURL = $(shell /bin/which curl > /dev/null 2>&1 && echo y || echo n) @@ -27,8 +36,11 @@ libcxl.o libcxl_sysfs.o : CFLAGS += -fPIC -libcxl.so: libcxl.o libcxl_sysfs.o symver.map - $(call Q,CC, $(CC) $(CFLAGS) -shared libcxl.o libcxl_sysfs.o -o libcxl.so, libcxl.so) -Wl,--version-script symver.map +libcxl.so: $(LIBNAME) + ln -s $(LIBNAME) libcxl.so + +$(LIBNAME): libcxl.o libcxl_sysfs.o symver.map + $(call Q,CC, $(CC) $(CFLAGS) $(LDFLAGS) -shared libcxl.o libcxl_sysfs.o -o $(LIBNAME), $(LIBNAME)) -Wl,--version-script symver.map $(SONAMEOPT) libcxl.a: libcxl.o libcxl_sysfs.o $(call Q,AR, ar rcs libcxl.a libcxl.o libcxl_sysfs.o, libcxl.a) @@ -38,4 +50,11 @@ clean: rm -f *.o *.d libcxl.so libcxl.a include/misc/cxl.h -.PHONY: clean all +install: all + mkdir -p $(DESTDIR)$(libdir) + mkdir -p $(DESTDIR)$(includedir) + install -m 0755 $(LIBNAME) $(DESTDIR)$(libdir)/ + cp -d libcxl.so $(DESTDIR)$(libdir)/ + install -m 0644 libcxl.h $(DESTDIR)$(includedir)/ + +.PHONY: clean all install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/Makefile.rules new/libcxl-1.4/Makefile.rules --- old/libcxl-1.3/Makefile.rules 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/Makefile.rules 2016-05-26 15:17:58.000000000 +0200 @@ -22,3 +22,13 @@ $(call Q,CC, $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<, $@) $(call Q,CC, $(CC) -MM $(CPPFLAGS) $(CFLAGS) $^ > $*.d, $*.d) $(call Q,SED, sed -i -e "s#^$(@F)#$@#" $*.d, $*.d) + +ifeq ($(BIT32),y) +libdir = $(prefix)/lib +else +libdir = $(prefix)/lib64 +endif +prefix = /usr/local/ +datadir = $(prefix)/share +includedir = $(prefix)/include +mandir = $(datadir)/man diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/libcxl.h new/libcxl-1.4/libcxl.h --- old/libcxl-1.3/libcxl.h 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/libcxl.h 2016-05-26 15:17:58.000000000 +0200 @@ -21,6 +21,10 @@ #include <stdio.h> #include <misc/cxl.h> +#ifdef __cplusplus +extern "C" { +#endif + #define CXL_KERNEL_API_VERSION 1 #define CXL_SYSFS_CLASS "/sys/class/cxl" @@ -172,6 +176,7 @@ long *minorp); int cxl_get_image_loaded(struct cxl_adapter_h *adapter, enum cxl_image *valp); int cxl_get_psl_revision(struct cxl_adapter_h *adapter, long *valp); +int cxl_get_psl_timebase_synced(struct cxl_adapter_h *adapter, long *valp); /* * Events @@ -242,4 +247,8 @@ */ ssize_t cxl_errinfo_read(struct cxl_afu_h *afu, void *dst, off_t off, size_t len); +#ifdef __cplusplus +} +#endif + #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/libcxl_sysfs.c new/libcxl-1.4/libcxl_sysfs.c --- old/libcxl-1.3/libcxl_sysfs.c 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/libcxl_sysfs.c 2016-05-26 15:17:58.000000000 +0200 @@ -53,6 +53,10 @@ CAIA_VERSION, IMAGE_LOADED, PSL_REVISION, + PSL_TIMEBASE_SYNCED, + + /* Add new attrs above this */ + CXL_ATTR_MAX }; struct cxl_sysfs_entry { @@ -70,29 +74,30 @@ static int scan_caia_version(char *attr_str, long *majorp, long *minorp); static int scan_image(char *attr_str, long *majorp, long *minorp); -static struct cxl_sysfs_entry sysfs_entry[] = { - { "api_version", scan_int, 1 }, /* API_VERSION */ - { "api_version_compatible", scan_int, 1 }, /* API_VERSION_COMPATIBLE */ - { "cr%ld/class", scan_hex, 1 }, /* CR_CLASS */ - { "cr%ld/device", scan_hex, 1 }, /* CR_DEVICE */ - { "cr%ld/vendor", scan_hex, 1 }, /* CR_VENDOR */ - { "irqs_max", scan_int, 1 }, /* IRQS_MAX */ - { "irqs_min", scan_int, 1 }, /* IRQS_MIN */ - { "mmio_size", scan_int, 1 }, /* MMIO_SIZE */ - { "mode", scan_mode, 1 }, /* MODE */ - { "modes_supported", scan_modes, 1 }, /* MODES_SUPPORTED */ - { "prefault_mode", scan_prefault_mode, 1 }, /* PREFAULT_MODE */ - { "dev", scan_dev, 2 }, /* DEV */ - { "pp_mmio_len", scan_int, 1 }, /* PP_MMIO_LEN */ - { "pp_mmio_off", scan_int, 1 }, /* PP_MMIO_OFF */ - { "base_image", scan_int, 1 }, /* BASE_IMAGE */ - { "caia_version", scan_caia_version, 2 }, /* CAIA_VERSION */ - { "image_loaded", scan_image, 1 }, /* IMAGE_LOADED */ - { "psl_revision", scan_int, 1 }, /* PSL_REVISION */ +static struct cxl_sysfs_entry sysfs_entry[CXL_ATTR_MAX] = { + [API_VERSION] = { "api_version", scan_int, 1 }, + [API_VERSION_COMPATIBLE] = { "api_version_compatible", scan_int, 1 }, + [CR_CLASS] = { "cr%ld/class", scan_hex, 1 }, + [CR_DEVICE] = { "cr%ld/device", scan_hex, 1 }, + [CR_VENDOR] = { "cr%ld/vendor", scan_hex, 1 }, + [IRQS_MAX] = { "irqs_max", scan_int, 1 }, + [IRQS_MIN] = { "irqs_min", scan_int, 1 }, + [MMIO_SIZE] = { "mmio_size", scan_int, 1 }, + [MODE] = { "mode", scan_mode, 1 }, + [MODES_SUPPORTED] = { "modes_supported", scan_modes, 1 }, + [PREFAULT_MODE] = { "prefault_mode", scan_prefault_mode, 1 }, + [DEV] = { "dev", scan_dev, 2 }, + [PP_MMIO_LEN] = { "pp_mmio_len", scan_int, 1 }, + [PP_MMIO_OFF] = { "pp_mmio_off", scan_int, 1 }, + [BASE_IMAGE] = { "base_image", scan_int, 1 }, + [CAIA_VERSION] = { "caia_version", scan_caia_version, 2 }, + [IMAGE_LOADED] = { "image_loaded", scan_image, 1 }, + [PSL_REVISION] = { "psl_revision", scan_int, 1 }, + [PSL_TIMEBASE_SYNCED] = { "psl_timebase_synced", scan_int, 1 }, }; -#define LAST_ATTR PSL_REVISION -#define OUT_OF_RANGE(attr) ((attr) < 0 || (attr) > LAST_ATTR) +#define OUT_OF_RANGE(attr) ((attr) < 0 || (attr) > CXL_ATTR_MAX || \ + (sysfs_entry[attr].name == NULL)) static int scan_int(char *attr_str, long *majorp, long *minorp) { @@ -426,6 +431,11 @@ return read_sysfs_adapter(adapter, PSL_REVISION, valp, NULL); } +int cxl_get_psl_timebase_synced(struct cxl_adapter_h *adapter, long *valp) +{ + return read_sysfs_adapter(adapter, PSL_TIMEBASE_SYNCED, valp, NULL); +} + static int write_sysfs_str(char *path, enum cxl_sysfs_attr attr, char *str) { char *attr_name; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/Makefile new/libcxl-1.4/man3/Makefile --- old/libcxl-1.3/man3/Makefile 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/Makefile 2016-05-26 15:17:58.000000000 +0200 @@ -25,4 +25,10 @@ cxl_for_each_afu.3.html: cxl_afu_next.3.html cp -f $< $@ -.PHONY: all clean +include ../Makefile.rules + +install: + mkdir -p $(DESTDIR)$(mandir)/man3 + install -m 0644 $(SRC) $(DESTDIR)$(mandir)/man3/ + +.PHONY: all clean install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl.3 new/libcxl-1.4/man3/cxl.3 --- old/libcxl-1.3/man3/cxl.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl \- Coherent Accelerator Interface (CXL) library functions .SH SYNOPSIS @@ -241,6 +241,7 @@ .BR cxl_get_pp_mmio_off (3), .BR cxl_get_prefault_mode (3), .BR cxl_get_psl_revision (3), +.BR cxl_get_psl_timebase_synced (3), .BR cxl_mmio_install_sigbus_handler (3), .BR cxl_mmio_map (3), .BR cxl_mmio_ptr (3), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_adapter_afu_next.3 new/libcxl-1.4/man3/cxl_adapter_afu_next.3 --- old/libcxl-1.3/man3/cxl_adapter_afu_next.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_adapter_afu_next.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ADAPTER_AFU_NEXT 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ADAPTER_AFU_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_adapter_afu_next \- iterate to the next AFU of a CXL adapter .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_adapter_dev_name.3 new/libcxl-1.4/man3/cxl_adapter_dev_name.3 --- old/libcxl-1.3/man3/cxl_adapter_dev_name.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_adapter_dev_name.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ADAPTER_DEV_NAME 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ADAPTER_DEV_NAME 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_adapter_dev_name \- return the CXL adapter device name .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_adapter_free.3 new/libcxl-1.4/man3/cxl_adapter_free.3 --- old/libcxl-1.3/man3/cxl_adapter_free.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_adapter_free.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ADAPTER_FREE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ADAPTER_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_adapter_free \- free the CXL adapter data structures .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_adapter_next.3 new/libcxl-1.4/man3/cxl_adapter_next.3 --- old/libcxl-1.3/man3/cxl_adapter_next.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_adapter_next.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ADAPTER_NEXT 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ADAPTER_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_adapter_next \- iterate to the next CXL adapter .PP @@ -59,4 +59,5 @@ .BR cxl_get_base_image (3), .BR cxl_get_caia_version (3), .BR cxl_get_image_loaded (3), -.BR cxl_get_psl_revision (3) +.BR cxl_get_psl_revision (3), +.BR cxl_get_psl_timebase_synced (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_attach.3 new/libcxl-1.4/man3/cxl_afu_attach.3 --- old/libcxl-1.3/man3/cxl_afu_attach.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_attach.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_ATTACH 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_ATTACH 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_attach \- attach the calling process's memory to an open AFU .SH SYNOPSIS @@ -23,7 +23,7 @@ frees memory. .PP The work element descriptor -.wed +.I wed is a 64-bit argument defined by the AFU. Typically this is an effective address pointing to an AFU specific structure describing what work to perform. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_attach_full.3 new/libcxl-1.4/man3/cxl_afu_attach_full.3 --- old/libcxl-1.3/man3/cxl_afu_attach_full.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_attach_full.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_ATTACH_FULL 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_ATTACH_FULL 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_attach_full \- attach the calling process's memory to an open AFU .SH SYNOPSIS @@ -28,7 +28,7 @@ frees memory. .PP The work element descriptor -.wed +.I wed is a 64-bit argument defined by the AFU. Typically this is an effective address pointing to an AFU specific structure describing what work to perform. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_attach_work.3 new/libcxl-1.4/man3/cxl_afu_attach_work.3 --- old/libcxl-1.3/man3/cxl_afu_attach_work.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_attach_work.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_ATTACH_WORK 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_ATTACH_WORK 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_attach_work \- attach the calling process's memory to an open AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_dev_name.3 new/libcxl-1.4/man3/cxl_afu_dev_name.3 --- old/libcxl-1.3/man3/cxl_afu_dev_name.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_dev_name.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_DEV_NAME 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_DEV_NAME 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_dev_name \- return the AFU device name .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_fd.3 new/libcxl-1.4/man3/cxl_afu_fd.3 --- old/libcxl-1.3/man3/cxl_afu_fd.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_fd.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_FD 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_FD 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_fd \- return the file descriptor of an AFU handle .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_fd_to_h.3 new/libcxl-1.4/man3/cxl_afu_fd_to_h.3 --- old/libcxl-1.3/man3/cxl_afu_fd_to_h.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_fd_to_h.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_FD_TO_H 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_FD_TO_H 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_fd_to_h \- create an AFU handle from the file descriptor of an already open AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_free.3 new/libcxl-1.4/man3/cxl_afu_free.3 --- old/libcxl-1.3/man3/cxl_afu_free.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_free.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_FREE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_free \- free the data structures of an AFU handle .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_get_process_element.3 new/libcxl-1.4/man3/cxl_afu_get_process_element.3 --- old/libcxl-1.3/man3/cxl_afu_get_process_element.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_get_process_element.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_GET_PROCESS_ELEMENT 3 2015-08-15 "LIBCXL 1.2" "CXL Manual" +.TH CXL_AFU_GET_PROCESS_ELEMENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual" .SH NAME cxl_afu_get_process_element \- get the process element associated with an open AFU handle .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_next.3 new/libcxl-1.4/man3/cxl_afu_next.3 --- old/libcxl-1.3/man3/cxl_afu_next.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_next.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_NEXT 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_next \- iterate to the next AFU .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_open_dev.3 new/libcxl-1.4/man3/cxl_afu_open_dev.3 --- old/libcxl-1.3/man3/cxl_afu_open_dev.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_open_dev.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_OPEN_DEV 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_OPEN_DEV 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_open_dev \- open an AFU by device name .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_open_h.3 new/libcxl-1.4/man3/cxl_afu_open_h.3 --- old/libcxl-1.3/man3/cxl_afu_open_h.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_open_h.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_OPEN_H 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_OPEN_H 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_open_h \- open an AFU by AFU handle .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_opened.3 new/libcxl-1.4/man3/cxl_afu_opened.3 --- old/libcxl-1.3/man3/cxl_afu_opened.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_opened.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_OPENED 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_OPENED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_opened \- return whether an AFU handle is opened .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_afu_sysfs_pci.3 new/libcxl-1.4/man3/cxl_afu_sysfs_pci.3 --- old/libcxl-1.3/man3/cxl_afu_sysfs_pci.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_afu_sysfs_pci.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_AFU_SYSFS_PCI 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_AFU_SYSFS_PCI 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_afu_sysfs_pci \- get the sysfs path to the PCI device corresponding with an AFU diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_errinfo_read.3 new/libcxl-1.4/man3/cxl_errinfo_read.3 --- old/libcxl-1.3/man3/cxl_errinfo_read.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_errinfo_read.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ERRINFO_READ 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ERRINFO_READ 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_errinfo_read \- Read and copy the contents of afu_err_info buffer .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_errinfo_size.3 new/libcxl-1.4/man3/cxl_errinfo_size.3 --- old/libcxl-1.3/man3/cxl_errinfo_size.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_errinfo_size.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_ERRINFO_SIZE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_ERRINFO_SIZE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_errinfo_size \- returns the size of afu_err_buff in bytes .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_event_pending.3 new/libcxl-1.4/man3/cxl_event_pending.3 --- old/libcxl-1.3/man3/cxl_event_pending.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_event_pending.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_EVENT_PENDING 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_EVENT_PENDING 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_event_pending \- return whether a CXL event is pending .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_fprint_event.3 new/libcxl-1.4/man3/cxl_fprint_event.3 --- old/libcxl-1.3/man3/cxl_fprint_event.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_fprint_event.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_FPRINT_EVENT 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_FPRINT_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_fprint_event \- print out a description of a CXL event for debugging .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_fprint_unknown_event.3 new/libcxl-1.4/man3/cxl_fprint_unknown_event.3 --- old/libcxl-1.3/man3/cxl_fprint_unknown_event.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_fprint_unknown_event.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_FPRINT_UNKNOWN_EVENT 3 2015-08-15 "LIBCXL 1.2" "CXL Manual" +.TH CXL_FPRINT_UNKNOWN_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual" .SH NAME cxl_fprint_unknown_event \- print out a hex dump of a raw CXL event for debugging .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_api_version.3 new/libcxl-1.4/man3/cxl_get_api_version.3 --- old/libcxl-1.3/man3/cxl_get_api_version.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_api_version.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_API_VERSION 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_API_VERSION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_api_version \- get the version of the kernel CXL API .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_api_version_compatible.3 new/libcxl-1.4/man3/cxl_get_api_version_compatible.3 --- old/libcxl-1.3/man3/cxl_get_api_version_compatible.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_api_version_compatible.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_API_VERSION_COMPATIBLE 3 2015-08-15 "LIBCXL 1.2" "CXL Manual" +.TH CXL_GET_API_VERSION_COMPATIBLE 3 2016-05-25 "LIBCXL 1.4" "CXL Manual" .SH NAME cxl_get_api_version_compatible \- get the lowest CXL API version compatible with the kernel .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_base_image.3 new/libcxl-1.4/man3/cxl_get_base_image.3 --- old/libcxl-1.3/man3/cxl_get_base_image.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_base_image.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_BASE_IMAGE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_BASE_IMAGE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_base_image \- get the revision level of the initial PSL image loaded on the CXL device .SH SYNOPSIS @@ -36,4 +36,5 @@ .BR cxl_adapter_next (3), .BR cxl_get_caia_version (3), .BR cxl_get_image_loaded (3), -.BR cxl_get_psl_revision (3) +.BR cxl_get_psl_revision (3), +.BR cxl_get_psl_timebase_synced (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_caia_version.3 new/libcxl-1.4/man3/cxl_get_caia_version.3 --- old/libcxl-1.3/man3/cxl_get_caia_version.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_caia_version.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_CAIA_VERSION 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_CAIA_VERSION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_caia_version \- get the CAIA version supported by a CXL adapter .SH SYNOPSIS @@ -34,4 +34,5 @@ .BR cxl_adapter_next (3), .BR cxl_get_base_image (3), .BR cxl_get_image_loaded (3), -.BR cxl_get_psl_revision (3) +.BR cxl_get_psl_revision (3), +.BR cxl_get_psl_timebase_synced (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_cr_class.3 new/libcxl-1.4/man3/cxl_get_cr_class.3 --- old/libcxl-1.3/man3/cxl_get_cr_class.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_cr_class.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_CR_CLASS 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_CR_CLASS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_cr_class \- get the class code out of an AFU configuration record .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_cr_device.3 new/libcxl-1.4/man3/cxl_get_cr_device.3 --- old/libcxl-1.3/man3/cxl_get_cr_device.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_cr_device.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_CR_DEVICE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_CR_DEVICE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_cr_device \- get the device ID out of an AFU configuration record .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_cr_vendor.3 new/libcxl-1.4/man3/cxl_get_cr_vendor.3 --- old/libcxl-1.3/man3/cxl_get_cr_vendor.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_cr_vendor.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_CR_VENDOR 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_CR_VENDOR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_cr_vendor \- get the vendor ID out of an AFU configuration record .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_image_loaded.3 new/libcxl-1.4/man3/cxl_get_image_loaded.3 --- old/libcxl-1.3/man3/cxl_get_image_loaded.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_image_loaded.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_IMAGE_LOADED 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_IMAGE_LOADED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_image_loaded \- returns which of the user and factory PSL images is currently loaded on the CXL device .SH SYNOPSIS @@ -38,4 +38,5 @@ .BR cxl_adapter_next (3), .BR cxl_get_base_image (3), .BR cxl_get_caia_version (3), -.BR cxl_get_psl_revision (3) +.BR cxl_get_psl_revision (3), +.BR cxl_get_psl_timebase_synced (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_irqs_max.3 new/libcxl-1.4/man3/cxl_get_irqs_max.3 --- old/libcxl-1.3/man3/cxl_get_irqs_max.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_irqs_max.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_IRQS_MAX 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_IRQS_MAX 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_irqs_max \- get the maximum number of AFU interrupts available to a context, if it was the only context running .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_irqs_min.3 new/libcxl-1.4/man3/cxl_get_irqs_min.3 --- old/libcxl-1.3/man3/cxl_get_irqs_min.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_irqs_min.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_IRQS_MIN 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_IRQS_MIN 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_irqs_min \- get the minimum number of AFU interrupts required for each context .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_mmio_size.3 new/libcxl-1.4/man3/cxl_get_mmio_size.3 --- old/libcxl-1.3/man3/cxl_get_mmio_size.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_mmio_size.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_MMIO_SIZE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_MMIO_SIZE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_mmio_size \- get the total size of the MMIO space of an AFU, including all per-process areas .PP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_mode.3 new/libcxl-1.4/man3/cxl_get_mode.3 --- old/libcxl-1.3/man3/cxl_get_mode.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_mode.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_MODE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_mode \- get the current programming mode of an AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_modes_supported.3 new/libcxl-1.4/man3/cxl_get_modes_supported.3 --- old/libcxl-1.3/man3/cxl_get_modes_supported.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_modes_supported.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_MODES_SUPPORTED 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_MODES_SUPPORTED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_modes_supported \- get the programming modes supported by an AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_pp_mmio_len.3 new/libcxl-1.4/man3/cxl_get_pp_mmio_len.3 --- old/libcxl-1.3/man3/cxl_get_pp_mmio_len.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_pp_mmio_len.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_PP_MMIO_LEN 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_PP_MMIO_LEN 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_pp_mmio_len \- get the per-process MMIO space length .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_pp_mmio_off.3 new/libcxl-1.4/man3/cxl_get_pp_mmio_off.3 --- old/libcxl-1.3/man3/cxl_get_pp_mmio_off.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_pp_mmio_off.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_PP_MMIO_OFF 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_PP_MMIO_OFF 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_pp_mmio_off \- get the per-process MMIO space offset .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_prefault_mode.3 new/libcxl-1.4/man3/cxl_get_prefault_mode.3 --- old/libcxl-1.3/man3/cxl_get_prefault_mode.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_prefault_mode.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_PREFAULT_MODE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_PREFAULT_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_prefault_mode \- get the mode for prefaulting segments .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_psl_revision.3 new/libcxl-1.4/man3/cxl_get_psl_revision.3 --- old/libcxl-1.3/man3/cxl_get_psl_revision.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_psl_revision.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_GET_PSL_REVISION 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_GET_PSL_REVISION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_get_psl_revision \- get the revision level of the current PSL image loaded on the CXL device .SH SYNOPSIS @@ -32,3 +32,4 @@ .BR cxl_get_base_image (3), .BR cxl_get_caia_version (3), .BR cxl_get_image_loaded (3) +.BR cxl_get_psl_timebase_synced (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_get_psl_timebase_synced.3 new/libcxl-1.4/man3/cxl_get_psl_timebase_synced.3 --- old/libcxl-1.3/man3/cxl_get_psl_timebase_synced.3 1970-01-01 01:00:00.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_get_psl_timebase_synced.3 2016-05-26 15:17:58.000000000 +0200 @@ -0,0 +1,40 @@ +.\" Copyright 2015 IBM Corp. +.\" +.TH CXL_GET_PSL_TIMEBASE_SYNCED 3 2016-05-25 "LIBCXL 1.4" "CXL Manual" +.SH NAME +cxl_get_psl_timebase_synced \- get the status of timebase on the CXL device +.SH SYNOPSIS +.B #include <libcxl.h> +.PP +.B "int cxl_get_psl_timebase_synced(struct cxl_adapter_h" +.BI * adapter ", long *" valp ); +.SH DESCRIPTION +.BR cxl_get_psl_timebase_synced () +copies the status of timebase on the CXL +.I adapter +to the long integer pointed to by +.IR valp . +This value will be 1 if the PSL timebase register is synchronized +with the core timebase register, 0 otherwise. +.SH RETURN VALUE +On success, 0 is returned. +On error, \-1 is returned and +.I errno +is set appropriately. +.SH ERRORS +.TP +.B EINVAL +Invalid argument value. +.TP +.B ENODEV +The kernel does not export the PSL timebase status. +.TP +.B ENOMEM +Insufficient memory. +.SH SEE ALSO +.BR cxl (3), +.BR cxl_adapter_next (3), +.BR cxl_get_base_image (3), +.BR cxl_get_caia_version (3), +.BR cxl_get_image_loaded (3), +.BR cxl_get_psl_revision (3) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_map.3 new/libcxl-1.4/man3/cxl_mmio_map.3 --- old/libcxl-1.3/man3/cxl_mmio_map.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_map.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_MAP 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_MAP 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_map \- map the per-process Problem State Area of an AFU to memory .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_ptr.3 new/libcxl-1.4/man3/cxl_mmio_ptr.3 --- old/libcxl-1.3/man3/cxl_mmio_ptr.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_ptr.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_PTR 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_PTR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_ptr \- return the address of the mapped AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_read32.3 new/libcxl-1.4/man3/cxl_mmio_read32.3 --- old/libcxl-1.3/man3/cxl_mmio_read32.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_read32.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_READ32 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_READ32 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_read32 \- read a 32-bit word from the mapped AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_read64.3 new/libcxl-1.4/man3/cxl_mmio_read64.3 --- old/libcxl-1.3/man3/cxl_mmio_read64.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_read64.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_READ64 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_READ64 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_read64 \- read a 64-bit word from the mapped AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_unmap.3 new/libcxl-1.4/man3/cxl_mmio_unmap.3 --- old/libcxl-1.3/man3/cxl_mmio_unmap.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_unmap.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_UNMAP 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_UNMAP 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_unmap \- unmap an AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_write32.3 new/libcxl-1.4/man3/cxl_mmio_write32.3 --- old/libcxl-1.3/man3/cxl_mmio_write32.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_write32.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_WRITE32 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_WRITE32 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_write32 \- write a 32-bit word to the mapped AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_mmio_write64.3 new/libcxl-1.4/man3/cxl_mmio_write64.3 --- old/libcxl-1.3/man3/cxl_mmio_write64.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_mmio_write64.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_MMIO_WRITE64 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_MMIO_WRITE64 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_mmio_write64 \- write a 64-bit word to the mapped AFU Problem State Area .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_read_event.3 new/libcxl-1.4/man3/cxl_read_event.3 --- old/libcxl-1.3/man3/cxl_read_event.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_read_event.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_READ_EVENT 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_READ_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_read_event \- read one CXL event from an AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_read_expected_event.3 new/libcxl-1.4/man3/cxl_read_expected_event.3 --- old/libcxl-1.3/man3/cxl_read_expected_event.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_read_expected_event.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_READ_EXPECTED_EVENT 3 2015-08-15 "LIBCXL 1.2" "CXL Manual" +.TH CXL_READ_EXPECTED_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual" .SH NAME cxl_read_expected_event \- read one CXL event from an AFU, and treat it as a failure, if it did not match an expected event .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_set_irqs_max.3 new/libcxl-1.4/man3/cxl_set_irqs_max.3 --- old/libcxl-1.3/man3/cxl_set_irqs_max.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_set_irqs_max.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_SET_IRQS_MAX 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_SET_IRQS_MAX 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_set_irqs_max \- administratively restrict the maximum number of AFU interrupts .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_set_mode.3 new/libcxl-1.4/man3/cxl_set_mode.3 --- old/libcxl-1.3/man3/cxl_set_mode.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_set_mode.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_SET_MODE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_SET_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_set_mode \- set the programming mode of an AFU .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_set_prefault_mode.3 new/libcxl-1.4/man3/cxl_set_prefault_mode.3 --- old/libcxl-1.3/man3/cxl_set_prefault_mode.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_set_prefault_mode.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_SET_PREFAULT_MODE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_SET_PREFAULT_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_set_prefault_mode \- set the mode for prefaulting segments .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_alloc.3 new/libcxl-1.4/man3/cxl_work_alloc.3 --- old/libcxl-1.3/man3/cxl_work_alloc.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_alloc.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_ALLOC 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_ALLOC 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_alloc \- allocate and initialize a work structure .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_free.3 new/libcxl-1.4/man3/cxl_work_free.3 --- old/libcxl-1.3/man3/cxl_work_free.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_free.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_FREE 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_get_free \- free a work structure .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_get_amr.3 new/libcxl-1.4/man3/cxl_work_get_amr.3 --- old/libcxl-1.3/man3/cxl_work_get_amr.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_get_amr.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_GET_AMR 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_GET_AMR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_get_amr \- get the value of the authority mask register .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_get_num_irqs.3 new/libcxl-1.4/man3/cxl_work_get_num_irqs.3 --- old/libcxl-1.3/man3/cxl_work_get_num_irqs.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_get_num_irqs.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_GET_NUM_IRQS 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_GET_NUM_IRQS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_get_num_irqs \- get the number of interrupts requested .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_get_wed.3 new/libcxl-1.4/man3/cxl_work_get_wed.3 --- old/libcxl-1.3/man3/cxl_work_get_wed.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_get_wed.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_GET_WED 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_GET_WED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_get_wed \- get the value of the work element descriptor .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_set_amr.3 new/libcxl-1.4/man3/cxl_work_set_amr.3 --- old/libcxl-1.3/man3/cxl_work_set_amr.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_set_amr.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_SET_AMR 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_SET_AMR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_set_amr \- set the value of the authority mask register .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_set_num_irqs.3 new/libcxl-1.4/man3/cxl_work_set_num_irqs.3 --- old/libcxl-1.3/man3/cxl_work_set_num_irqs.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_set_num_irqs.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_SET_NUM_IRQS 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_SET_NUM_IRQS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_set_num_irqs \- set the number of interrupts requested .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/man3/cxl_work_set_wed.3 new/libcxl-1.4/man3/cxl_work_set_wed.3 --- old/libcxl-1.3/man3/cxl_work_set_wed.3 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/man3/cxl_work_set_wed.3 2016-05-26 15:17:58.000000000 +0200 @@ -1,6 +1,6 @@ .\" Copyright 2015 IBM Corp. .\" -.TH CXL_WORK_SET_WED 3 2015-08-15 "LIBCXL 1.2" "CXL Programmer's Manual" +.TH CXL_WORK_SET_WED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual" .SH NAME cxl_work_set_wed \- set the value of the work element descriptor .SH SYNOPSIS @@ -15,7 +15,7 @@ into the struct .IR work . The work element descriptor -.wed +.I wed is a 64-bit argument defined by the AFU. Typically this is an effective address pointing to an AFU specific structure describing what work to perform. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxl-1.3/symver.map new/libcxl-1.4/symver.map --- old/libcxl-1.3/symver.map 2015-11-02 10:52:08.000000000 +0100 +++ new/libcxl-1.4/symver.map 2016-05-26 15:17:58.000000000 +0200 @@ -85,3 +85,8 @@ cxl_event_pending; } LIBCXL_1.1; + +LIBCXL_1.4 { + global: + cxl_get_psl_timebase_synced; +} LIBCXL_1.2; ++++++ libcxl_create_soname_link.patch ++++++ >From 2568158ce6a37f506d50c08154e9411923c8dc59 Mon Sep 17 00:00:00 2001 From: Frederic Bonnard <fre...@linux.vnet.ibm.com> Date: Mon, 30 May 2016 17:55:58 +0200 Subject: [PATCH] Create LIBSONAME link For the packaging, we should not only include the shared library itself, but also the symbolic link which ldconfig would produce. (This is necessary, so that the link gets removed by dpkg, for ex., automatically when the package gets removed.) And the packaging doesn't have to deal with the soname version, so putting this in the Makefile while waiting. Also updating the all and clean targets. diff --git a/Makefile b/Makefile index 5cfd873..b95c21f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ VERS_SONAME=1 LIBSONAME = libcxl.so.$(VERS_SONAME) SONAMEOPT = -Wl,-soname,$(LIBSONAME) -all: check_cxl_header $(LIBNAME) libcxl.so libcxl.a +all: check_cxl_header $(LIBSONAME) libcxl.so libcxl.a HAS_WGET = $(shell /bin/which wget > /dev/null 2>&1 && echo y || echo n) HAS_CURL = $(shell /bin/which curl > /dev/null 2>&1 && echo y || echo n) @@ -39,6 +39,9 @@ libcxl.o libcxl_sysfs.o : CFLAGS += -fPIC libcxl.so: $(LIBNAME) ln -s $(LIBNAME) libcxl.so +$(LIBSONAME): $(LIBNAME) + ln -s $(LIBNAME) $(LIBSONAME) + $(LIBNAME): libcxl.o libcxl_sysfs.o symver.map $(call Q,CC, $(CC) $(CFLAGS) $(LDFLAGS) -shared libcxl.o libcxl_sysfs.o -o $(LIBNAME), $(LIBNAME)) -Wl,--version-script symver.map $(SONAMEOPT) @@ -48,13 +51,13 @@ libcxl.a: libcxl.o libcxl_sysfs.o include Makefile.rules clean: - rm -f *.o *.d libcxl.so libcxl.a include/misc/cxl.h + rm -f *.o *.d libcxl.so* libcxl.a include/misc/cxl.h install: all mkdir -p $(DESTDIR)$(libdir) mkdir -p $(DESTDIR)$(includedir) install -m 0755 $(LIBNAME) $(DESTDIR)$(libdir)/ - cp -d libcxl.so $(DESTDIR)$(libdir)/ + cp -d libcxl.so $(LIBSONAME) $(DESTDIR)$(libdir)/ install -m 0644 libcxl.h $(DESTDIR)$(includedir)/ .PHONY: clean all install