git: drm: Define struct page and use it everywhere

2018-06-09 Thread Francois Tigeot


commit f0bba3d1dd5ba7adfae61269b5424d4ad443ab97
Author: François Tigeot 
Date:   Sat Jun 9 18:18:33 2018 +0200

drm: Define struct page and use it everywhere

* Removing countless differences with Linux

* struct page is essentially struct vm_page named differently.
  Both can be casted to the other one without further thought.

Summary of changes:
 sys/dev/drm/drm_cache.c|  8 +--
 sys/dev/drm/i915/i915_cmd_parser.c |  2 +-
 sys/dev/drm/i915/i915_drv.h|  4 +-
 sys/dev/drm/i915/i915_gem.c| 36 ++---
 sys/dev/drm/i915/i915_gem_fence.c  |  4 +-
 sys/dev/drm/i915/i915_gem_gtt.h|  2 +-
 sys/dev/drm/i915/i915_gem_render_state.c   |  2 +-
 sys/dev/drm/i915/i915_guc_submission.c |  2 +-
 sys/dev/drm/i915/intel_lrc.c   |  2 +-
 sys/dev/drm/i915/intel_ringbuffer.c|  2 +-
 sys/dev/drm/include/asm/cacheflush.h   | 14 +++--
 sys/dev/drm/include/asm/memory_model.h | 11 +++-
 sys/dev/drm/include/asm/page.h | 12 -
 sys/dev/drm/include/asm/pgtable.h  |  4 +-
 sys/dev/drm/include/drm/drmP.h |  2 +-
 sys/dev/drm/include/drm/ttm/ttm_bo_api.h   |  2 +-
 sys/dev/drm/include/drm/ttm/ttm_bo_driver.h| 14 ++---
 sys/dev/drm/include/drm/ttm/ttm_memory.h   |  6 +--
 sys/dev/drm/include/linux/dma-mapping.h|  7 +--
 sys/dev/drm/include/linux/gfp.h| 14 +++--
 sys/dev/drm/include/linux/highmem.h| 16 +++---
 sys/dev/drm/include/linux/mm.h | 10 ++--
 sys/dev/drm/include/linux/mm_types.h   |  4 +-
 sys/dev/drm/include/linux/{pid.h => mmdebug.h} | 14 +++--
 sys/dev/drm/include/linux/{mm_types.h => mmzone.h} | 23 +
 sys/dev/drm/include/linux/scatterlist.h|  8 +--
 sys/dev/drm/include/linux/shmem_fs.h   |  3 +-
 sys/dev/drm/include/linux/swap.h   | 15 --
 sys/dev/drm/include/linux/vmalloc.h|  2 +-
 sys/dev/drm/linux_scatterlist.c|  4 +-
 sys/dev/drm/linux_shmem.c  |  4 +-
 sys/dev/drm/linux_vmalloc.c|  6 +--
 sys/dev/drm/radeon/radeon.h|  4 +-
 sys/dev/drm/radeon/radeon_gart.c   |  2 +-
 sys/dev/drm/radeon/radeon_ttm.c|  4 +-
 sys/dev/drm/ttm/ttm_bo.c   |  6 +--
 sys/dev/drm/ttm/ttm_bo_util.c  | 14 ++---
 sys/dev/drm/ttm/ttm_bo_vm.c|  2 +-
 sys/dev/drm/ttm/ttm_memory.c   |  4 +-
 sys/dev/drm/ttm/ttm_page_alloc.c   | 59 --
 sys/dev/drm/ttm/ttm_tt.c   | 16 +++---
 41 files changed, 204 insertions(+), 166 deletions(-)
 copy sys/dev/drm/include/linux/{pid.h => mmdebug.h} (90%)
 copy sys/dev/drm/include/linux/{mm_types.h => mmzone.h} (84%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f0bba3d1dd5ba7adfae61269b5424d4ad443ab97


-- 
DragonFly BSD source repository


git: re: MACFG50 requires defragmentation in software, but no padding for runt.

2018-06-09 Thread Sepherosa Ziehau


commit 52bafeb87eb4e09703b6a87d6f2664e524c991d4
Author: Sepherosa Ziehau 
Date:   Sat Jun 9 19:45:55 2018 +0800

re: MACFG50 requires defragmentation in software, but no padding for runt.

Reported-by: YONETANI Tomokazu
Tested-by: YONETANI Tomokazu

Summary of changes:
 sys/dev/netif/re/if_re.c| 5 +++--
 sys/dev/netif/re/if_revar.h | 1 +
 sys/dev/netif/re/re.c   | 7 +++
 3 files changed, 11 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52bafeb87eb4e09703b6a87d6f2664e524c991d4


-- 
DragonFly BSD source repository


git: initrd: don't leave an empty /rescue after switching location

2018-06-09 Thread Aaron LI


commit 111cbfe4120e75ea2a4ae370743107616748cd43
Author: Aaron LI 
Date:   Sat Jun 9 16:45:48 2018 +0800

initrd: don't leave an empty /rescue after switching location

The recent initrd change will remove the rescue tools from their old
location (/usr/share/initrd) but leave an empty /rescue directory.  Avoid
such a situation by building the rescue tools after installworld if /rescue
is empty.

Suggested-by: François Tigeot

Summary of changes:
 Makefile.inc1 | 10 ++
 1 file changed, 10 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/111cbfe4120e75ea2a4ae370743107616748cd43


-- 
DragonFly BSD source repository


git: libc/xdr: Add xdr_uint16_t() (it's just like xdr_u_int16_t()).

2018-06-09 Thread Sascha Wildner


commit f401eab700995e250454bbfc0ca147b8194a150d
Author: Sascha Wildner 
Date:   Sat Jun 9 10:13:36 2018 +0200

libc/xdr: Add xdr_uint16_t() (it's just like xdr_u_int16_t()).

dports might make use of it.

While here, improve the manual page a bit and also bring in some fixes
from FreeBSD.

Summary of changes:
 include/rpc/xdr.h |   1 +
 lib/libc/xdr/Makefile.inc |   7 +++
 lib/libc/xdr/Symbol.map   |   4 ++
 lib/libc/xdr/xdr.3| 109 ++-
 lib/libc/xdr/xdr.c| 115 +-
 sys/sys/param.h   |   3 +-
 6 files changed, 194 insertions(+), 45 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f401eab700995e250454bbfc0ca147b8194a150d


-- 
DragonFly BSD source repository


git: libc/xdr: Use standard types.

2018-06-09 Thread Sascha Wildner


commit 0dbf214df3e526d5563c414997b0cc7545878f31
Author: Sascha Wildner 
Date:   Sat Jun 9 09:45:26 2018 +0200

libc/xdr: Use standard types.

Summary of changes:
 include/rpc/xdr.h| 20 +--
 lib/libc/xdr/xdr.3   |  4 ++--
 lib/libc/xdr/xdr.c   | 34 
 lib/libc/xdr/xdr_mem.c   | 10 +-
 lib/libc/xdr/xdr_rec.c   | 50 
 lib/libc/xdr/xdr_stdio.c |  4 ++--
 6 files changed, 61 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0dbf214df3e526d5563c414997b0cc7545878f31


-- 
DragonFly BSD source repository