Hello community,

here is the log from the commit of package libcxl for openSUSE:Factory checked 
in at 2017-06-15 11:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcxl (Old)
 and      /work/SRC/openSUSE:Factory/.libcxl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcxl"

Thu Jun 15 11:24:14 2017 rev:6 rq:502641 version:1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcxl/libcxl.changes    2016-06-13 
21:55:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcxl.new/libcxl.changes       2017-06-15 
11:24:15.764035128 +0200
@@ -1,0 +2,18 @@
+Thu Jun  8 09:48:10 UTC 2017 - norm...@linux.vnet.ibm.com
+
+- Update v1.5
+  * libcxl: Check afu link when read from PSA mmio return all FFs
+  * Makefile: add -Werror
+  * Use _DEFAULT_SOURCE rather than _BSD_SOURCE
+  * Fix sparse warnings
+  * Added #include <asm/types.h>
+  * Man pages: document flags CXL_MMIO_{BIG,HOST,LITTLE}_ENDIAN
+  * Makefile: do not fail if target symlink already exists.
+  * Man pages: clarify mmio read/write alignment constraints.
+  * Create LIBSONAME link
+  * sysfs: Fix a boundary condition check for OUT_OF_RANGE macro
+
+- remove libcxl_create_soname_link.patch part of above update.
+- add libcxl_sysmacros.patch to avoid warning at build time
+
+-------------------------------------------------------------------

Old:
----
  libcxl-1.4.tar.gz
  libcxl_create_soname_link.patch

New:
----
  _service
  libcxl-1.5.tar.gz
  libcxl_sysmacros.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcxl.spec ++++++
--- /var/tmp/diff_new_pack.Rc0232/_old  2017-06-15 11:24:16.623913746 +0200
+++ /var/tmp/diff_new_pack.Rc0232/_new  2017-06-15 11:24:16.623913746 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libcxl
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,18 @@
 
 
 Name:           libcxl
-Version:        1.4
+Version:        1.5
 Release:        0
 %define soversion 1
 Summary:        Coherent accelerator interface
 License:        Apache-2.0
 Group:          Development/Libraries/C and C++
 Url:            https://github.com/ibm-capi/libcxl
-Source:         
https://github.com/ibm-capi/libcxl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source:         %{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  glibc
 ExclusiveArch:  ppc64 ppc64le
-Patch0:         libcxl_create_soname_link.patch
+Patch0:         libcxl_sysmacros.patch
 
 %description
 Coherent accelerator interface (refer to lib package with soversion)

++++++ _service ++++++
<services>

  <service mode="localonly" name="tar_scm">
    <param name="url">https://github.com/ibm-capi/libcxl.git</param>
    <param name="scm">git</param>
    <param name="revision">v1.5</param>
    <param name="version">1.5</param>
    <param name="filename">libcxl</param>
    <param name="exclude">.git</param>
  </service>

  <service mode="localonly" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
</services>
++++++ libcxl-1.4.tar.gz -> libcxl-1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/.gitignore new/libcxl-1.5/.gitignore
--- old/libcxl-1.4/.gitignore   2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/.gitignore   1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-*.d
-*.o
-*.so
-*.a
-*~
-*.orig
-.*.swp
-include/misc/cxl.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/Makefile new/libcxl-1.5/Makefile
--- old/libcxl-1.4/Makefile     2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/Makefile     2017-05-24 11:51:38.000000000 +0200
@@ -5,7 +5,7 @@
 CFLAGS += -I include
 
 # change VERS_LIB if new git tag
-VERS_LIB = 1.4
+VERS_LIB = 1.5
 LIBNAME   = libcxl.so.$(VERS_LIB)
 # change VERS_SONAME only if library breaks backward compatibility.
 # refer to file symver.map
@@ -13,7 +13,7 @@
 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)
@@ -37,7 +37,10 @@
 libcxl.o libcxl_sysfs.o : CFLAGS += -fPIC
 
 libcxl.so: $(LIBNAME)
-       ln -s $(LIBNAME) libcxl.so
+       ln -sf $(LIBNAME) libcxl.so
+
+$(LIBSONAME): $(LIBNAME)
+       ln -sf $(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 @@
 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/Makefile.vars new/libcxl-1.5/Makefile.vars
--- old/libcxl-1.4/Makefile.vars        2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/Makefile.vars        2017-05-24 11:51:38.000000000 +0200
@@ -4,8 +4,9 @@
 AS     = $(CROSS_COMPILE)as
 LD     = $(CROSS_COMPILE)ld
 CC     = $(CROSS_COMPILE)gcc
+CFLAGS += -g -Wall -Werror -O2 -I$(CURDIR)
 ifeq ($(BIT32),y)
-CFLAGS += -g -Wall -O2 -m32 -I$(CURDIR)
+CFLAGS += -m32
 else
-CFLAGS += -g -Wall -O2 -m64 -I$(CURDIR)
+CFLAGS += -m64
 endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/libcxl.c new/libcxl-1.5/libcxl.c
--- old/libcxl-1.4/libcxl.c     2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/libcxl.c     2017-05-24 11:51:38.000000000 +0200
@@ -15,7 +15,7 @@
  */
 
 #define _GNU_SOURCE /* For asprintf */
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
 #define __STDC_FORMAT_MACROS
 
 #include <inttypes.h>
@@ -220,7 +220,7 @@
 
 void cxl_afu_free(struct cxl_afu_h *afu)
 {
-       return _cxl_afu_free(afu, 1);
+       _cxl_afu_free(afu, 1);
 }
 
 int cxl_afu_opened(struct cxl_afu_h *afu)
@@ -662,7 +662,7 @@
 }
 
 inline
-struct cxl_ioctl_start_work *cxl_work_alloc()
+struct cxl_ioctl_start_work *cxl_work_alloc(void)
 {
        return calloc(1, sizeof(struct cxl_ioctl_start_work));
 }
@@ -1026,7 +1026,7 @@
 static __thread jmp_buf cxl_sigbus_env;
 static __thread int cxl_sigbus_jmp_enabled;
 
-static inline int cxl_mmio_try()
+static inline int cxl_mmio_try(void)
 {
        int ret;
 
@@ -1040,7 +1040,7 @@
        return ret;
 }
 
-static inline void cxl_mmio_success()
+static inline void cxl_mmio_success(void)
 {
        cxl_sigbus_jmp_enabled = 0;
 }
@@ -1166,7 +1166,7 @@
        d = _cxl_mmio_read64(afu, offset);
        cxl_mmio_success();
 
-       if (d == 0xffffffffffffffff)
+       if (d == 0xffffffffffffffffull)
                goto fail;
 
        *data = d;
@@ -1187,7 +1187,7 @@
                raise(SIGBUS);
        }
 
-       *data = 0xffffffffffffffff;
+       *data = 0xffffffffffffffffull;
        errno = EIO;
        return -1;
 }
@@ -1293,11 +1293,11 @@
         */
        if (cxl_sigbus_old_action.sa_sigaction) {
                /* fprintf(stderr, "libcxl: Calling chained SIGBUS handler\n"); 
*/
-               return cxl_sigbus_old_action.sa_sigaction(sig, info, context);
+               cxl_sigbus_old_action.sa_sigaction(sig, info, context);
        }
 }
 
-int cxl_mmio_install_sigbus_handler()
+int cxl_mmio_install_sigbus_handler(void)
 {
        struct sigaction act;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/libcxl_internal.h 
new/libcxl-1.5/libcxl_internal.h
--- old/libcxl-1.4/libcxl_internal.h    2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/libcxl_internal.h    2017-05-24 11:51:38.000000000 +0200
@@ -17,6 +17,7 @@
 #ifndef _LIBCXL_INTERNAL_H
 #define _LIBCXL_INTERNAL_H
 
+#include <asm/types.h>
 #include <sys/types.h>
 #include <dirent.h>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/libcxl_sysfs.c 
new/libcxl-1.5/libcxl_sysfs.c
--- old/libcxl-1.4/libcxl_sysfs.c       2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/libcxl_sysfs.c       2017-05-24 11:51:38.000000000 +0200
@@ -96,7 +96,7 @@
        [PSL_TIMEBASE_SYNCED] = { "psl_timebase_synced", scan_int, 1 },
 };
 
-#define OUT_OF_RANGE(attr) ((attr) < 0 || (attr) > CXL_ATTR_MAX || \
+#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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl.3 new/libcxl-1.5/man3/cxl.3
--- old/libcxl-1.4/man3/cxl.3   2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl.3   2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl \- Coherent Accelerator Interface (CXL) library functions
 .SH SYNOPSIS
@@ -44,9 +44,9 @@
 _
 CXL_DEV_DIR    CXL device directory pathname
 CXL_KERNEL_API_VERSION maximum supported CXL kernel API compatible version
-CXL_MMIO_BIG_ENDIAN    MMIO big endian flag
-CXL_MMIO_HOST_ENDIAN   MMIO host endian flag
-CXL_MMIO_LITTLE_ENDIAN MMIO little endian flag
+CXL_MMIO_BIG_ENDIAN    big-endian AFU flag
+CXL_MMIO_HOST_ENDIAN   host-endian AFU flag
+CXL_MMIO_LITTLE_ENDIAN little-endian AFU flag
 CXL_MODE_DEDICATED     dedicated process mode flag
 CXL_MODE_DIRECTED      AFU directed mode flag
 CXL_SYSFS_CLASS        sysfs CXL class pathname
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_adapter_afu_next.3 
new/libcxl-1.5/man3/cxl_adapter_afu_next.3
--- old/libcxl-1.4/man3/cxl_adapter_afu_next.3  2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_adapter_afu_next.3  2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ADAPTER_AFU_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ADAPTER_AFU_NEXT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_adapter_dev_name.3 
new/libcxl-1.5/man3/cxl_adapter_dev_name.3
--- old/libcxl-1.4/man3/cxl_adapter_dev_name.3  2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_adapter_dev_name.3  2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ADAPTER_DEV_NAME 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ADAPTER_DEV_NAME 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_adapter_free.3 
new/libcxl-1.5/man3/cxl_adapter_free.3
--- old/libcxl-1.4/man3/cxl_adapter_free.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_adapter_free.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ADAPTER_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ADAPTER_FREE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_adapter_next.3 
new/libcxl-1.5/man3/cxl_adapter_next.3
--- old/libcxl-1.4/man3/cxl_adapter_next.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_adapter_next.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ADAPTER_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ADAPTER_NEXT 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_adapter_next \- iterate to the next CXL adapter
 .PP
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_afu_attach.3 
new/libcxl-1.5/man3/cxl_afu_attach.3
--- old/libcxl-1.4/man3/cxl_afu_attach.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_attach.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_ATTACH 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_ATTACH 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_afu_attach \- 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.4/man3/cxl_afu_attach_full.3 
new/libcxl-1.5/man3/cxl_afu_attach_full.3
--- old/libcxl-1.4/man3/cxl_afu_attach_full.3   2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_attach_full.3   2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_ATTACH_FULL 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_ATTACH_FULL 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_afu_attach_full \- 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.4/man3/cxl_afu_attach_work.3 
new/libcxl-1.5/man3/cxl_afu_attach_work.3
--- old/libcxl-1.4/man3/cxl_afu_attach_work.3   2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_attach_work.3   2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_ATTACH_WORK 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_ATTACH_WORK 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_dev_name.3 
new/libcxl-1.5/man3/cxl_afu_dev_name.3
--- old/libcxl-1.4/man3/cxl_afu_dev_name.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_dev_name.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_DEV_NAME 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_DEV_NAME 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_fd.3 
new/libcxl-1.5/man3/cxl_afu_fd.3
--- old/libcxl-1.4/man3/cxl_afu_fd.3    2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_afu_fd.3    2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_FD 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_FD 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_fd_to_h.3 
new/libcxl-1.5/man3/cxl_afu_fd_to_h.3
--- old/libcxl-1.4/man3/cxl_afu_fd_to_h.3       2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_fd_to_h.3       2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_FD_TO_H 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_FD_TO_H 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_free.3 
new/libcxl-1.5/man3/cxl_afu_free.3
--- old/libcxl-1.4/man3/cxl_afu_free.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_afu_free.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_FREE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_get_process_element.3 
new/libcxl-1.5/man3/cxl_afu_get_process_element.3
--- old/libcxl-1.4/man3/cxl_afu_get_process_element.3   2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_afu_get_process_element.3   2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_GET_PROCESS_ELEMENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual"
+.TH CXL_AFU_GET_PROCESS_ELEMENT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_next.3 
new/libcxl-1.5/man3/cxl_afu_next.3
--- old/libcxl-1.4/man3/cxl_afu_next.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_afu_next.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_NEXT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_NEXT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_open_dev.3 
new/libcxl-1.5/man3/cxl_afu_open_dev.3
--- old/libcxl-1.4/man3/cxl_afu_open_dev.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_open_dev.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_OPEN_DEV 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_OPEN_DEV 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_open_h.3 
new/libcxl-1.5/man3/cxl_afu_open_h.3
--- old/libcxl-1.4/man3/cxl_afu_open_h.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_open_h.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_OPEN_H 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_OPEN_H 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_opened.3 
new/libcxl-1.5/man3/cxl_afu_opened.3
--- old/libcxl-1.4/man3/cxl_afu_opened.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_opened.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_OPENED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_OPENED 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_afu_sysfs_pci.3 
new/libcxl-1.5/man3/cxl_afu_sysfs_pci.3
--- old/libcxl-1.4/man3/cxl_afu_sysfs_pci.3     2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_afu_sysfs_pci.3     2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_AFU_SYSFS_PCI 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_AFU_SYSFS_PCI 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_errinfo_read.3 
new/libcxl-1.5/man3/cxl_errinfo_read.3
--- old/libcxl-1.4/man3/cxl_errinfo_read.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_errinfo_read.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ERRINFO_READ 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ERRINFO_READ 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_errinfo_size.3 
new/libcxl-1.5/man3/cxl_errinfo_size.3
--- old/libcxl-1.4/man3/cxl_errinfo_size.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_errinfo_size.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_ERRINFO_SIZE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_ERRINFO_SIZE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_event_pending.3 
new/libcxl-1.5/man3/cxl_event_pending.3
--- old/libcxl-1.4/man3/cxl_event_pending.3     2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_event_pending.3     2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_EVENT_PENDING 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_EVENT_PENDING 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_fprint_event.3 
new/libcxl-1.5/man3/cxl_fprint_event.3
--- old/libcxl-1.4/man3/cxl_fprint_event.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_fprint_event.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_FPRINT_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_FPRINT_EVENT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_fprint_unknown_event.3 
new/libcxl-1.5/man3/cxl_fprint_unknown_event.3
--- old/libcxl-1.4/man3/cxl_fprint_unknown_event.3      2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_fprint_unknown_event.3      2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_FPRINT_UNKNOWN_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual"
+.TH CXL_FPRINT_UNKNOWN_EVENT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_api_version.3 
new/libcxl-1.5/man3/cxl_get_api_version.3
--- old/libcxl-1.4/man3/cxl_get_api_version.3   2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_api_version.3   2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_API_VERSION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_API_VERSION 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_api_version_compatible.3 
new/libcxl-1.5/man3/cxl_get_api_version_compatible.3
--- old/libcxl-1.4/man3/cxl_get_api_version_compatible.3        2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_get_api_version_compatible.3        2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_API_VERSION_COMPATIBLE 3 2016-05-25 "LIBCXL 1.4" "CXL Manual"
+.TH CXL_GET_API_VERSION_COMPATIBLE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_base_image.3 
new/libcxl-1.5/man3/cxl_get_base_image.3
--- old/libcxl-1.4/man3/cxl_get_base_image.3    2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_base_image.3    2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_BASE_IMAGE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_BASE_IMAGE 3 2017-05-24 "LIBCXL 1.5" "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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_get_caia_version.3 
new/libcxl-1.5/man3/cxl_get_caia_version.3
--- old/libcxl-1.4/man3/cxl_get_caia_version.3  2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_caia_version.3  2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_CAIA_VERSION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_CAIA_VERSION 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_get_caia_version \- get the CAIA version supported by a CXL adapter
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_get_cr_class.3 
new/libcxl-1.5/man3/cxl_get_cr_class.3
--- old/libcxl-1.4/man3/cxl_get_cr_class.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_cr_class.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_CR_CLASS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_CR_CLASS 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_cr_device.3 
new/libcxl-1.5/man3/cxl_get_cr_device.3
--- old/libcxl-1.4/man3/cxl_get_cr_device.3     2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_cr_device.3     2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_CR_DEVICE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_CR_DEVICE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_cr_vendor.3 
new/libcxl-1.5/man3/cxl_get_cr_vendor.3
--- old/libcxl-1.4/man3/cxl_get_cr_vendor.3     2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_cr_vendor.3     2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_CR_VENDOR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_CR_VENDOR 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_image_loaded.3 
new/libcxl-1.5/man3/cxl_get_image_loaded.3
--- old/libcxl-1.4/man3/cxl_get_image_loaded.3  2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_image_loaded.3  2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_IMAGE_LOADED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_IMAGE_LOADED 3 2017-05-24 "LIBCXL 1.5" "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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_get_irqs_max.3 
new/libcxl-1.5/man3/cxl_get_irqs_max.3
--- old/libcxl-1.4/man3/cxl_get_irqs_max.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_irqs_max.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_IRQS_MAX 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_IRQS_MAX 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_irqs_min.3 
new/libcxl-1.5/man3/cxl_get_irqs_min.3
--- old/libcxl-1.4/man3/cxl_get_irqs_min.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_irqs_min.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_IRQS_MIN 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_IRQS_MIN 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_mmio_size.3 
new/libcxl-1.5/man3/cxl_get_mmio_size.3
--- old/libcxl-1.4/man3/cxl_get_mmio_size.3     2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_mmio_size.3     2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_MMIO_SIZE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_MMIO_SIZE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_mode.3 
new/libcxl-1.5/man3/cxl_get_mode.3
--- old/libcxl-1.4/man3/cxl_get_mode.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_get_mode.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_MODE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_modes_supported.3 
new/libcxl-1.5/man3/cxl_get_modes_supported.3
--- old/libcxl-1.4/man3/cxl_get_modes_supported.3       2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_get_modes_supported.3       2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_MODES_SUPPORTED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_MODES_SUPPORTED 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_pp_mmio_len.3 
new/libcxl-1.5/man3/cxl_get_pp_mmio_len.3
--- old/libcxl-1.4/man3/cxl_get_pp_mmio_len.3   2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_pp_mmio_len.3   2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_PP_MMIO_LEN 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_PP_MMIO_LEN 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_pp_mmio_off.3 
new/libcxl-1.5/man3/cxl_get_pp_mmio_off.3
--- old/libcxl-1.4/man3/cxl_get_pp_mmio_off.3   2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_pp_mmio_off.3   2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_PP_MMIO_OFF 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_PP_MMIO_OFF 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_prefault_mode.3 
new/libcxl-1.5/man3/cxl_get_prefault_mode.3
--- old/libcxl-1.4/man3/cxl_get_prefault_mode.3 2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_prefault_mode.3 2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_PREFAULT_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_PREFAULT_MODE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_get_psl_revision.3 
new/libcxl-1.5/man3/cxl_get_psl_revision.3
--- old/libcxl-1.4/man3/cxl_get_psl_revision.3  2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_get_psl_revision.3  2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_PSL_REVISION 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_GET_PSL_REVISION 3 2017-05-24 "LIBCXL 1.5" "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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_get_psl_timebase_synced.3 
new/libcxl-1.5/man3/cxl_get_psl_timebase_synced.3
--- old/libcxl-1.4/man3/cxl_get_psl_timebase_synced.3   2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_get_psl_timebase_synced.3   2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_GET_PSL_TIMEBASE_SYNCED 3 2016-05-25 "LIBCXL 1.4" "CXL Manual"
+.TH CXL_GET_PSL_TIMEBASE_SYNCED 3 2017-05-24 "LIBCXL 1.5" "CXL Manual"
 .SH NAME
 cxl_get_psl_timebase_synced \- get the status of timebase on the CXL device
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_install_sigbus_handler.3 
new/libcxl-1.5/man3/cxl_mmio_install_sigbus_handler.3
--- old/libcxl-1.4/man3/cxl_mmio_install_sigbus_handler.3       2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_mmio_install_sigbus_handler.3       2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_INSTALL_SIGBUS_HANDLER 3 2015-03-30 "" "CXL Programmer's Manual"
+.TH CXL_MMIO_INSTALL_SIGBUS_HANDLER 3 2017-05-24 "" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_install_sigbus_handler \- install the libcxl SIGBUS handler to catch 
MMIO access errors
 .SH SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_map.3 
new/libcxl-1.5/man3/cxl_mmio_map.3
--- old/libcxl-1.4/man3/cxl_mmio_map.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_mmio_map.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,24 +1,19 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_MAP 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_MAP 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_map \- map the per-process Problem State Area of an AFU to memory
 .SH SYNOPSIS
 .B #include <libcxl.h>
 .PP
 .B "int cxl_mmio_map(struct cxl_afu_h"
-.BI * afu ", __u32 " flags );
+.BI * afu ", __u32 " flag );
 .SH DESCRIPTION
 .BR cxl_mmio_map ()
 maps the per-process Problem State Area of
 .I afu
-to the current process memory, and sets endianness according to
-.IR flags :
-.BR CXL_MMIO_BIG_ENDIAN ,
-.B CXL_MMIO_HOST_ENDIAN
-or
-.BR CXL_MMIO_LITTLE_ENDIAN .
-.PP
+to the current process memory, and declares AFU endianness according to
+.IR flag .
 The size and contents of this area are specific each AFU.
 The size can be discovered with
 .BR cxl_get_mmio_size ().
@@ -28,7 +23,29 @@
 process MMIO space associated with the context.
 In dedicated process mode the entire MMIO space can always be mapped.
 .PP
-Only 32 and 64-bit accesses are supported by POWER8.
+The possible values of
+.I flag
+are:
+.TP
+.B CXL_MMIO_BIG_ENDIAN
+AFU data is big-endian
+.TP
+.B CXL_MMIO_LITTLE_ENDIAN
+AFU data is little-endian
+.TP
+.B CXL_MMIO_HOST_ENDIAN
+AFU uses the same endianness as host.
+.PP
+Subsequent
+.BR cxl_mmio_read32 (),
+.BR cxl_mmio_read64 (),
+.BR cxl_mmio_write32 ()
+and
+.BR cxl_mmio_write64 ()
+will honor
+.I flag
+and swap bytes on behalf of the application when required.
+Only 32 and 64-bit accesses are supported by POWER8 and POWER9.
 .SH RETURN VALUE
 On success, 0 is returned.
 On error, \-1 is returned and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_ptr.3 
new/libcxl-1.5/man3/cxl_mmio_ptr.3
--- old/libcxl-1.4/man3/cxl_mmio_ptr.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_mmio_ptr.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_PTR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_PTR 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_mmio_read32.3 
new/libcxl-1.5/man3/cxl_mmio_read32.3
--- old/libcxl-1.4/man3/cxl_mmio_read32.3       2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_mmio_read32.3       2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_READ32 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_READ32 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_read32 \- read a 32-bit word from the mapped AFU Problem State Area
 .SH SYNOPSIS
@@ -17,17 +17,22 @@
 .IR afu ,
 and copies its value to the word pointed to by
 .IR data .
+The copy will include byte swapping if the AFU endianness declared by
+.BR cxl_mmio_map ()
+differs from the host endianness.
 .PP
 .I offset
-must be a multiple of 32, lower than the MMIO size returned by
-.IR cxl_get_mmio_size ().
+is a byte address that is aligned on a word (4 byte) boundary.
+It must be lower than the MMIO size returned by
+.BR cxl_get_mmio_size ().
 The address of the mapped MMIO space is returned by
-.IR cxl_mmio_ptr ().
+.BR cxl_mmio_ptr ().
 .PP
 If the MMIO access fails due to an IO error, a SIGBUS may be sent to the
 application, which would ordinarily result in the process being terminated.
 libcxl provides an optional SIGBUS handler, which can be installed with
 .BR cxl_mmio_install_sigbus_handler ().
+.PP
 Installing this signal handler prior to using the MMIO accessor functions will
 cause them to return -1 and set
 .I errno
@@ -45,8 +50,8 @@
 Invalid argument value, or unmapped MMIO space.
 .TP
 .B EIO
-An unrecoverable error (
-.BR cxl_mmio_install_sigbus_handler ()
+An unrecoverable error
+.RB ( cxl_mmio_install_sigbus_handler ()
 must have been previously called)
 .SH SEE ALSO
 .BR cxl (3),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_read64.3 
new/libcxl-1.5/man3/cxl_mmio_read64.3
--- old/libcxl-1.4/man3/cxl_mmio_read64.3       2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_mmio_read64.3       2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_READ64 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_READ64 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_read64 \- read a 64-bit word from the mapped AFU Problem State Area
 .SH SYNOPSIS
@@ -17,12 +17,16 @@
 .IR afu ,
 and copies its value to the word pointed to by
 .IR data .
+The copy will include byte swapping if the AFU endianness declared by
+.BR cxl_mmio_map ()
+differs from the host endianness.
 .PP
 .I offset
-must be a multiple of 64, lower than the MMIO size returned by
-.IR cxl_get_mmio_size ().
+is a byte address, aligned on a double word (8-byte) boundary.
+It must be lower than the MMIO size returned by
+.BR cxl_get_mmio_size ().
 The address of the mapped MMIO space is returned by
-.IR cxl_mmio_ptr ().
+.BR cxl_mmio_ptr ().
 .PP
 If the MMIO access fails due to an IO error, a SIGBUS may be sent to the
 application, which would ordinarily result in the process being terminated.
@@ -45,8 +49,8 @@
 Invalid argument value, or unmapped MMIO space.
 .TP
 .B EIO
-An unrecoverable error (
-.BR cxl_mmio_install_sigbus_handler ()
+An unrecoverable error
+.RB ( cxl_mmio_install_sigbus_handler ()
 must have been previously called)
 .SH SEE ALSO
 .BR cxl (3),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_unmap.3 
new/libcxl-1.5/man3/cxl_mmio_unmap.3
--- old/libcxl-1.4/man3/cxl_mmio_unmap.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_mmio_unmap.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_UNMAP 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_UNMAP 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_mmio_write32.3 
new/libcxl-1.5/man3/cxl_mmio_write32.3
--- old/libcxl-1.4/man3/cxl_mmio_write32.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_mmio_write32.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_WRITE32 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_WRITE32 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_write32 \- write a 32-bit word to the mapped AFU Problem State Area
 .SH SYNOPSIS
@@ -17,12 +17,16 @@
 .I offset
 from the address of the mapped Problem State Area of
 .IR afu .
+Bytes will be swapped if the AFU endianness declared by
+.BR cxl_mmio_map ()
+differs from the host endianness.
 .PP
 .I offset
-must be a multiple of 32, lower than the MMIO size returned by
-.IR cxl_get_mmio_size ().
+is a byte address that is aligned on a word (4 byte) boundary.
+It must be lower than the MMIO size returned by
+.BR cxl_get_mmio_size ().
 The address of the mapped MMIO space is returned by
-.IR cxl_mmio_ptr ().
+.BR cxl_mmio_ptr ().
 .PP
 If the MMIO access fails due to an IO error, a SIGBUS may be sent to the
 application, which would ordinarily result in the process being terminated.
@@ -43,8 +47,8 @@
 Invalid argument value, or unmapped MMIO space.
 .TP
 .B EIO
-An unrecoverable error (
-.BR cxl_mmio_install_sigbus_handler ()
+An unrecoverable error
+.RB ( cxl_mmio_install_sigbus_handler ()
 must have been previously called)
 .SH SEE ALSO
 .BR cxl (3),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_mmio_write64.3 
new/libcxl-1.5/man3/cxl_mmio_write64.3
--- old/libcxl-1.4/man3/cxl_mmio_write64.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_mmio_write64.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_MMIO_WRITE64 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_MMIO_WRITE64 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_mmio_write64 \- write a 64-bit word to the mapped AFU Problem State Area
 .SH SYNOPSIS
@@ -17,12 +17,16 @@
 .I offset
 from the address of the mapped Problem State Area of
 .IR afu .
+Bytes will be swapped if the AFU endianness declared by
+.BR cxl_mmio_map ()
+differs from the host endianness.
 .PP
 .I offset
-must be a multiple of 64, lower than the MMIO size returned by
-.IR cxl_get_mmio_size ().
+is a byte address, aligned on a double word (8-byte) boundary.
+It must be lower than the MMIO size returned by
+.BR cxl_get_mmio_size ().
 The address of the mapped MMIO space is returned by
-.IR cxl_mmio_ptr ().
+.BR cxl_mmio_ptr ().
 .PP
 If the MMIO access fails due to an IO error, a SIGBUS may be sent to the
 application, which would ordinarily result in the process being terminated.
@@ -43,8 +47,8 @@
 Invalid argument value, or unmapped MMIO space.
 .TP
 .B EIO
-An unrecoverable error (
-.BR cxl_mmio_install_sigbus_handler ()
+An unrecoverable error
+.RB ( cxl_mmio_install_sigbus_handler ()
 must have been previously called)
 .SH SEE ALSO
 .BR cxl (3),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libcxl-1.4/man3/cxl_read_event.3 
new/libcxl-1.5/man3/cxl_read_event.3
--- old/libcxl-1.4/man3/cxl_read_event.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_read_event.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_READ_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_READ_EVENT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_read_expected_event.3 
new/libcxl-1.5/man3/cxl_read_expected_event.3
--- old/libcxl-1.4/man3/cxl_read_expected_event.3       2016-05-26 
15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_read_expected_event.3       2017-05-24 
11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_READ_EXPECTED_EVENT 3 2016-05-25 "LIBCXL 1.4" "CXL Manual"
+.TH CXL_READ_EXPECTED_EVENT 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_set_irqs_max.3 
new/libcxl-1.5/man3/cxl_set_irqs_max.3
--- old/libcxl-1.4/man3/cxl_set_irqs_max.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_set_irqs_max.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_SET_IRQS_MAX 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_SET_IRQS_MAX 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_set_mode.3 
new/libcxl-1.5/man3/cxl_set_mode.3
--- old/libcxl-1.4/man3/cxl_set_mode.3  2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_set_mode.3  2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_SET_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_SET_MODE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_set_prefault_mode.3 
new/libcxl-1.5/man3/cxl_set_prefault_mode.3
--- old/libcxl-1.4/man3/cxl_set_prefault_mode.3 2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_set_prefault_mode.3 2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_SET_PREFAULT_MODE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_SET_PREFAULT_MODE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_alloc.3 
new/libcxl-1.5/man3/cxl_work_alloc.3
--- old/libcxl-1.4/man3/cxl_work_alloc.3        2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_alloc.3        2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_ALLOC 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_ALLOC 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_free.3 
new/libcxl-1.5/man3/cxl_work_free.3
--- old/libcxl-1.4/man3/cxl_work_free.3 2016-05-26 15:17:58.000000000 +0200
+++ new/libcxl-1.5/man3/cxl_work_free.3 2017-05-24 11:51:38.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_FREE 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_FREE 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_get_amr.3 
new/libcxl-1.5/man3/cxl_work_get_amr.3
--- old/libcxl-1.4/man3/cxl_work_get_amr.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_get_amr.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_GET_AMR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_GET_AMR 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_get_num_irqs.3 
new/libcxl-1.5/man3/cxl_work_get_num_irqs.3
--- old/libcxl-1.4/man3/cxl_work_get_num_irqs.3 2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_get_num_irqs.3 2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_GET_NUM_IRQS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_GET_NUM_IRQS 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_get_wed.3 
new/libcxl-1.5/man3/cxl_work_get_wed.3
--- old/libcxl-1.4/man3/cxl_work_get_wed.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_get_wed.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_GET_WED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_GET_WED 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_set_amr.3 
new/libcxl-1.5/man3/cxl_work_set_amr.3
--- old/libcxl-1.4/man3/cxl_work_set_amr.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_set_amr.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_SET_AMR 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_SET_AMR 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_set_num_irqs.3 
new/libcxl-1.5/man3/cxl_work_set_num_irqs.3
--- old/libcxl-1.4/man3/cxl_work_set_num_irqs.3 2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_set_num_irqs.3 2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_SET_NUM_IRQS 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_SET_NUM_IRQS 3 2017-05-24 "LIBCXL 1.5" "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.4/man3/cxl_work_set_wed.3 
new/libcxl-1.5/man3/cxl_work_set_wed.3
--- old/libcxl-1.4/man3/cxl_work_set_wed.3      2016-05-26 15:17:58.000000000 
+0200
+++ new/libcxl-1.5/man3/cxl_work_set_wed.3      2017-05-24 11:51:38.000000000 
+0200
@@ -1,6 +1,6 @@
-.\" Copyright 2015 IBM Corp.
+.\" Copyright 2015-2017 IBM Corp.
 .\"
-.TH CXL_WORK_SET_WED 3 2016-05-25 "LIBCXL 1.4" "CXL Programmer's Manual"
+.TH CXL_WORK_SET_WED 3 2017-05-24 "LIBCXL 1.5" "CXL Programmer's Manual"
 .SH NAME
 cxl_work_set_wed \- set the value of the work element descriptor
 .SH SYNOPSIS

++++++ libcxl_sysmacros.patch ++++++
From: Michel Normand <norm...@linux.vnet.ibm.com>
Subject: libcxl sysmacros
Date: Thu, 08 Jun 2017 11:23:35 +0200

to avoid warning like:
===
libcxl.c:250:13: warning: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>.
   return asprintf(bufp, "/sys/dev/char/%i:%i", major(sb.st_rdev),
===

Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 libcxl.c |    1 +
 1 file changed, 1 insertion(+)

Index: libcxl-1.5/libcxl.c
===================================================================
--- libcxl-1.5.orig/libcxl.c
+++ libcxl-1.5/libcxl.c
@@ -32,6 +32,7 @@
 #include <poll.h>
 
 #include <sys/ioctl.h>
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>

Reply via email to