Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/d

2018-08-22 Thread Johannes Lundberg
Not at my computer now but I think this has been fixed. I can double check that it was also backported to drm-stable. There was duplicates of this function. One in base linuxkpi and one in gplv2 part iirc. On Wed, Aug 22, 2018 at 08:35 Matthew Macy wrote: > Johannes - do you know off hand? >

Re: svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/d

2018-08-22 Thread Johannes Lundberg
On Wed, Aug 22, 2018 at 8:51 AM John Baldwin wrote: > On 8/22/18 8:41 AM, Hans Petter Selasky wrote: > > On 8/22/18 9:35 AM, Matthew Macy wrote: > >> Johannes - do you know off hand? > >> -M > > > > Hi, > > > > This function is still not implemented. This is part of the LGPLv2 part. > > > Yeah,

Re: svn commit: r345103 - head/sys/compat/linuxkpi/common/include/linux

2019-03-14 Thread Johannes Lundberg
On 3/13/19 11:39 PM, John Baldwin wrote: > On 3/13/19 1:36 PM, Conrad Meyer wrote: >> Hi, >> >> A lot of the information about PCIe devices is read by PCI probe and >> cached on the (BSD) device. You could access it out of >> device_get_ivars(bsddev)->cfg.pcie and avoid the MMIO latency. >

Re: svn commit: r345103 - head/sys/compat/linuxkpi/common/include/linux

2019-03-14 Thread Johannes Lundberg
On 3/14/19 11:45 AM, Konstantin Belousov wrote: > On Thu, Mar 14, 2019 at 11:07:50AM +0000, Johannes Lundberg wrote: >> On 3/13/19 11:39 PM, John Baldwin wrote: >>> On 3/13/19 1:36 PM, Conrad Meyer wrote: >>>> Hi, >>>> >>>> A lot of t

svn commit: r343942 - in head: share/misc usr.bin/calendar/calendars

2019-02-09 Thread Johannes Lundberg
ebsd.org\n2013/11/02"] joerg [label="Joerg Wunsch\njo...@freebsd.org\n1993/11/14"] +johalun [label="Johannes Lundberg\njoha...@freebsd.org\n2019/01/19"] jon [label="Jonathan Chen\n...@freebsd.org\n2000/10/17"] jonathan [label="Jonathan Anderson\njonat...@fre

svn commit: r347619 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 16:59:04 2019 New Revision: 347619 URL: https://svnweb.freebsd.org/changeset/base/347619 Log: LinuxKPI: Expand ktime functionality. Also, make ktime_get_raw call getnanouptime instead of getnanotime to match (the correct) ktime_get_raw_ns. This patch is

svn commit: r347626 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:57:06 2019 New Revision: 347626 URL: https://svnweb.freebsd.org/changeset/base/347626 Log: LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:

svn commit: r347620 - head/sys/compat/linuxkpi/common/include/asm

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:04:12 2019 New Revision: 347620 URL: https://svnweb.freebsd.org/changeset/base/347620 Log: LinuxKPI: Update user_access_begin for Linux v5.0. Check the new LINUXKPI_VERSION macro for backwards compatibility. This patch is part of D19565 Reviewed

svn commit: r347621 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:32:00 2019 New Revision: 347621 URL: https://svnweb.freebsd.org/changeset/base/347621 Log: LinuxKPI: Add get_random_u32 function. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week Modified:

svn commit: r347623 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:48:11 2019 New Revision: 347623 URL: https://svnweb.freebsd.org/changeset/base/347623 Log: LinuxKPI: Move {lower|upper}_32_bits macros from port to base. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:

svn commit: r347622 - head/sys/compat/linuxkpi/common/include/linux

2019-05-15 Thread Johannes Lundberg
Author: johalun Date: Wed May 15 17:44:25 2019 New Revision: 347622 URL: https://svnweb.freebsd.org/changeset/base/347622 Log: LinuxKPI: Include asm/atomic-long.h from atomic.h. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week

svn commit: r347891 - head/sys/compat/linuxkpi/common/include/linux

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:07:37 2019 New Revision: 347891 URL: https://svnweb.freebsd.org/changeset/base/347891 Log: LinuxKPI: Add in_task macro. This patch is part of D19565 Reviewed by: hps, bwidawsk Approved by: imp (mentor), hps Obtained from:bwidawsk MFC

svn commit: r347889 - head/sys/compat/linuxkpi/common/src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 19:32:11 2019 New Revision: 347889 URL: https://svnweb.freebsd.org/changeset/base/347889 Log: LinuxKPI: Fix build on powerpc/sparc. Use cmpset instead of testandset in tasklet lock code. Reviewed by: hps Approved by: imp (mentor), hps Obtained

svn commit: r347892 - in head/sys: compat/linuxkpi/common/include/linux modules/linuxkpi

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 21:17:18 2019 New Revision: 347892 URL: https://svnweb.freebsd.org/changeset/base/347892 Log: LinuxKPI: Finalize import of seq_file. seq_file.h and linux_seq_file.c was imported form ports earlier but linux_seq_file.c was never compiled in with the

svn commit: r348278 - in stable/12/sys: libkern sys

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 19:59:59 2019 New Revision: 348278 URL: https://svnweb.freebsd.org/changeset/base/348278 Log: MFC r344384: Add non-sleepable strdup variant strdup_flags debugfs expects to do non-sleepable allocations Reviewed by: hps@ Sponsored by: iX Systems

svn commit: r348277 - in stable/12/sys: compat/linuxkpi/common/include/linux modules/linuxkpi

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 18:36:38 2019 New Revision: 348277 URL: https://svnweb.freebsd.org/changeset/base/348277 Log: MFC r347892: LinuxKPI: Finalize import of seq_file. seq_file.h and linux_seq_file.c was imported form ports earlier but linux_seq_file.c was never compiled in

svn commit: r348279 - stable/12/sys/fs/pseudofs

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 20:24:51 2019 New Revision: 348279 URL: https://svnweb.freebsd.org/changeset/base/348279 Log: MFC r344385: PFS: Bump NAMELEN and don't require clients to be sleepable - debugfs consumers expect to be able to export names more than 48 characters -

svn commit: r348273 - in stable/12/sys/compat: lindebugfs linuxkpi/common/include/linux linuxkpi/common/src

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 17:17:08 2019 New Revision: 348273 URL: https://svnweb.freebsd.org/changeset/base/348273 Log: MFC r344485: import linux debugfs support Reviewed by: hps@ Sponsored by: iX Systems Differential Revision:https://reviews.freebsd.org/D19258

svn commit: r348275 - stable/12/sys/conf

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 18:03:17 2019 New Revision: 348275 URL: https://svnweb.freebsd.org/changeset/base/348275 Log: LinuxKPI: Register new linuxkpi and lindebugfs source files. This change is a partial MFC of r344487. Reviewed by: hps Approved by: imp (mentor), hps

svn commit: r348280 - in stable/12/sys: compat/linuxkpi/common/include/linux modules/linuxkpi

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 20:53:23 2019 New Revision: 348280 URL: https://svnweb.freebsd.org/changeset/base/348280 Log: LinuxKPI: Revert MFC of r347892 Revert until we can figure out how to keep compatibility with drm-kmod ports between 12.0 and 12-STABLE/12.1. Modified:

svn commit: r348276 - in stable/12/sys: kern sys

2019-05-25 Thread Johannes Lundberg
Author: johalun Date: Sat May 25 18:23:32 2019 New Revision: 348276 URL: https://svnweb.freebsd.org/changeset/base/348276 Log: MFC r344486: Change seq_read to seq_load to avoid namespace conflicts with lkpi Sponsored by: iX Systems Modified: stable/12/sys/kern/kern_descrip.c

svn commit: r348338 - head/sys/fs/pseudofs

2019-05-28 Thread Johannes Lundberg
Author: johalun Date: Tue May 28 20:54:59 2019 New Revision: 348338 URL: https://svnweb.freebsd.org/changeset/base/348338 Log: pseudofs: Ignore unsupported commands in vop_setattr. Users of pseudofs (e.g. lindebugfs), should be able to receive input from command line via commands like

svn commit: r348597 - stable/12/sys/fs/pseudofs

2019-06-03 Thread Johannes Lundberg
Author: johalun Date: Tue Jun 4 01:00:30 2019 New Revision: 348597 URL: https://svnweb.freebsd.org/changeset/base/348597 Log: MFC r348338: pseudofs: Ignore unsupported commands in vop_setattr. Users of pseudofs (e.g. lindebugfs), should be able to receive input from command line via

svn commit: r349276 - head/sys/compat/linuxkpi/common/include/asm

2019-06-21 Thread Johannes Lundberg
Author: johalun Date: Fri Jun 21 16:43:16 2019 New Revision: 349276 URL: https://svnweb.freebsd.org/changeset/base/349276 Log: LinuxKPI: Add atomic_long_sub macro. Reviewed by: imp (mentor), hps Approved by: imp (mentor), hps MFC after:1 week Differential Revision:

svn commit: r349277 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-06-21 Thread Johannes Lundberg
Author: johalun Date: Fri Jun 21 18:48:07 2019 New Revision: 349277 URL: https://svnweb.freebsd.org/changeset/base/349277 Log: LinuxKPI: Additions to rcu list. - Add rcu list functions. - Make rcu hlist's foreach macro use rcu calls instead of the non-rcu macro. - Bump FreeBSD version

svn commit: r347470 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-10 Thread Johannes Lundberg
Author: johalun Date: Fri May 10 23:10:22 2019 New Revision: 347470 URL: https://svnweb.freebsd.org/changeset/base/347470 Log: Implement linux_pci_unregister_drm_driver in linuxkpi so that drm drivers can be unloaded. This patch is a part of D19565. Reviewed by: hps Approved by:

svn commit: r347601 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:50:46 2019 New Revision: 347601 URL: https://svnweb.freebsd.org/changeset/base/347601 Log: LinuxKPI: Add prepare to pm_ops and bump FreeBSD version. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1

svn commit: r347592 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:12:14 2019 New Revision: 347592 URL: https://svnweb.freebsd.org/changeset/base/347592 Log: LinuxKPI: Let del_timer return a value to match Linux. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved by: imp

svn commit: r347600 - head/sys/compat/linuxkpi/common/include/linux

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:32:02 2019 New Revision: 347600 URL: https://svnweb.freebsd.org/changeset/base/347600 Log: LinuxKPI: Add vm_fault_t type. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week Modified:

svn commit: r347596 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:21:20 2019 New Revision: 347596 URL: https://svnweb.freebsd.org/changeset/base/347596 Log: LinuxKPI: Add context member to ww_mutex and bump FreeBSD version. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved by:

svn commit: r347954 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-18 Thread Johannes Lundberg
Author: johalun Date: Sat May 18 13:27:09 2019 New Revision: 347954 URL: https://svnweb.freebsd.org/changeset/base/347954 Log: MFC r347470 | johalun | 2019-05-10 16:10:22 -0700 (Fri, 10 May 2019) | 9 lines

svn commit: r348087 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 04:02:10 2019 New Revision: 348087 URL: https://svnweb.freebsd.org/changeset/base/348087 Log: MFC r347623: LinuxKPI: Move {lower|upper}_32_bits macros from port to base. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps

svn commit: r348086 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 04:00:13 2019 New Revision: 348086 URL: https://svnweb.freebsd.org/changeset/base/348086 Log: MFC r347626: LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps

svn commit: r348088 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 04:08:45 2019 New Revision: 348088 URL: https://svnweb.freebsd.org/changeset/base/348088 Log: MFC r347619: LinuxKPI: Expand ktime functionality. Also, make ktime_get_raw call getnanouptime instead of getnanotime to match (the correct) ktime_get_raw_ns.

svn commit: r348084 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 03:54:25 2019 New Revision: 348084 URL: https://svnweb.freebsd.org/changeset/base/348084 Log: MFC r347622: LinuxKPI: Include asm/atomic-long.h from atomic.h. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps Modified:

svn commit: r348089 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 04:10:24 2019 New Revision: 348089 URL: https://svnweb.freebsd.org/changeset/base/348089 Log: MFC r347621: LinuxKPI: Add get_random_u32 function. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps Modified:

svn commit: r348085 - stable/12/sys/compat/linuxkpi/common/include/asm

2019-05-21 Thread Johannes Lundberg
Author: johalun Date: Wed May 22 03:58:41 2019 New Revision: 348085 URL: https://svnweb.freebsd.org/changeset/base/348085 Log: MFC r347620: LinuxKPI: Update user_access_begin for Linux v5.0. Check the new LINUXKPI_VERSION macro for backwards compatibility. This patch is part of D19565

svn commit: r348240 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 15:37:54 2019 New Revision: 348240 URL: https://svnweb.freebsd.org/changeset/base/348240 Log: MFC r347837: LinuxKPI: Update access_ok macro for v5.0. Check LINUXKPI_VERSION macro for backwards compatibility. It's recommended to update any drivers that

svn commit: r348245 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:14:07 2019 New Revision: 348245 URL: https://svnweb.freebsd.org/changeset/base/348245 Log: MFC r347596: LinuxKPI: Add context member to ww_mutex and bump FreeBSD version. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps

svn commit: r348242 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:01:05 2019 New Revision: 348242 URL: https://svnweb.freebsd.org/changeset/base/348242 Log: MFC r347852: LinuxKPI: Updates to tasklets for Linux 5.0. DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet

svn commit: r348243 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:04:27 2019 New Revision: 348243 URL: https://svnweb.freebsd.org/changeset/base/348243 Log: MFC r347843: LinuxKPI: Add group_leader member to struct task_struct. Assign self as group leader at creation to act as the only member of a new process group.

svn commit: r348244 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-24 Thread Johannes Lundberg
Author: johalun Date: Fri May 24 17:06:10 2019 New Revision: 348244 URL: https://svnweb.freebsd.org/changeset/base/348244 Log: MFC r347891: LinuxKPI: Add in_task macro. This patch is part of D19565 Reviewed by: hps, bwidawsk Approved by: imp (mentor), hps Obtained from:

svn commit: r347973 - in head/sys: compat/lindebugfs modules modules/lindebugfs

2019-05-19 Thread Johannes Lundberg
Author: johalun Date: Sun May 19 15:44:21 2019 New Revision: 347973 URL: https://svnweb.freebsd.org/changeset/base/347973 Log: LinuxKPI: Finalize move of lindebugfs from ports to base. The source file was moved to base earlier and also improved upon, but never compiled in. This patch

svn commit: r347843 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:53:36 2019 New Revision: 347843 URL: https://svnweb.freebsd.org/changeset/base/347843 Log: LinuxKPI: Add group_leader member to struct task_struct. Assign self as group leader at creation to act as the only member of a new process group. This patch

svn commit: r347852 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 18:03:08 2019 New Revision: 347852 URL: https://svnweb.freebsd.org/changeset/base/347852 Log: LinuxKPI: Updates to tasklets for Linux 5.0. DRM drivers expect tasklets to have a counter for enable/disable calls. Also, add a few more tasklet locking

svn commit: r347837 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-16 Thread Johannes Lundberg
Author: johalun Date: Thu May 16 17:44:17 2019 New Revision: 347837 URL: https://svnweb.freebsd.org/changeset/base/347837 Log: LinuxKPI: Update access_ok macro for v5.0. Check LINUXKPI_VERSION macro for backwards compatibility. It's recommended to update any drivers that depend on the

svn commit: r348033 - in stable/12/sys/compat/linuxkpi/common: include/linux src

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:31:34 2019 New Revision: 348033 URL: https://svnweb.freebsd.org/changeset/base/348033 Log: MFC r347592: LinuxKPI: Let del_timer return a value to match Linux. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved

svn commit: r348034 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:36:12 2019 New Revision: 348034 URL: https://svnweb.freebsd.org/changeset/base/348034 Log: MFC r347600: LinuxKPI: Add vm_fault_t type. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps Modified:

svn commit: r348035 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:38:21 2019 New Revision: 348035 URL: https://svnweb.freebsd.org/changeset/base/348035 Log: MFC r347601: LinuxKPI: Add prepare to pm_ops and bump FreeBSD version. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps

svn commit: r348036 - stable/12/sys/sys

2019-05-20 Thread Johannes Lundberg
Author: johalun Date: Tue May 21 02:42:42 2019 New Revision: 348036 URL: https://svnweb.freebsd.org/changeset/base/348036 Log: Bump FreeBSD version after change to struct in linuxkpi from r348035. Modified: stable/12/sys/sys/param.h Modified: stable/12/sys/sys/param.h

svn commit: r347012 - stable/12/sys/compat/linuxkpi/common/src

2019-05-01 Thread Johannes Lundberg
Author: johalun Date: Thu May 2 02:26:42 2019 New Revision: 347012 URL: https://svnweb.freebsd.org/changeset/base/347012 Log: MFC r346712: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization. Reviewed by: hps Approved by: imp (mentor)

svn commit: r346712 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Johannes Lundberg
Author: johalun Date: Thu Apr 25 21:54:32 2019 New Revision: 346712 URL: https://svnweb.freebsd.org/changeset/base/346712 Log: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization. Reported by: johalun Reviewed by: hps Approved by: imp

svn commit: r351701 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-09-02 Thread Johannes Lundberg
Author: johalun Date: Mon Sep 2 14:51:59 2019 New Revision: 351701 URL: https://svnweb.freebsd.org/changeset/base/351701 Log: LinuxKPI: Add sysfs create/remove functions that handles multiple files in one call. Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week

svn commit: r352266 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-09-12 Thread Johannes Lundberg
Author: johalun Date: Thu Sep 12 21:12:39 2019 New Revision: 352266 URL: https://svnweb.freebsd.org/changeset/base/352266 Log: MFC r345103: Implement more PCI speed related functions and macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Limelight

svn commit: r352264 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-09-12 Thread Johannes Lundberg
Author: johalun Date: Thu Sep 12 20:15:04 2019 New Revision: 352264 URL: https://svnweb.freebsd.org/changeset/base/352264 Log: MFC r345100: Implement task_euid() and get_task_state() function macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored

svn commit: r352418 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-09-16 Thread Johannes Lundberg
Author: johalun Date: Mon Sep 16 18:23:01 2019 New Revision: 352418 URL: https://svnweb.freebsd.org/changeset/base/352418 Log: LinuxKPI: Limit exposure of new field in dev_pm_ops to LinuxKPI >= 5. This will fix a suspend/resume issue that occurs on drm-kmod packages build on 12.0 and

svn commit: r352076 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-09-09 Thread Johannes Lundberg
Author: johalun Date: Mon Sep 9 16:37:38 2019 New Revision: 352076 URL: https://svnweb.freebsd.org/changeset/base/352076 Log: MFC r351701: LinuxKPI: Add sysfs create/remove functions that handles multiple files in one call. Reviewed by: hps Approved by: imp (mentor), hps Modified:

svn commit: r352114 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-09-09 Thread Johannes Lundberg
Author: johalun Date: Tue Sep 10 02:21:17 2019 New Revision: 352114 URL: https://svnweb.freebsd.org/changeset/base/352114 Log: MFC r351937: LinuxKPI: Improve sysfs support. - Add functions for creating and merging sysfs groups. - Add sysfs_streq function to compare strings ignoring

svn commit: r351937 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-09-06 Thread Johannes Lundberg
Author: johalun Date: Fri Sep 6 15:43:53 2019 New Revision: 351937 URL: https://svnweb.freebsd.org/changeset/base/351937 Log: LinuxKPI: Improve sysfs support. - Add functions for creating and merging sysfs groups. - Add sysfs_streq function to compare strings ignoring newline from the

svn commit: r350083 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-07-17 Thread Johannes Lundberg
Author: johalun Date: Wed Jul 17 16:34:32 2019 New Revision: 350083 URL: https://svnweb.freebsd.org/changeset/base/350083 Log: MFC r349277: LinuxKPI: Additions to rcu list. - Add rcu list functions. - Make rcu hlist's foreach macro use rcu calls instead of the non-rcu macro. - Bump

svn commit: r350085 - stable/12/sys/compat/linuxkpi/common/include/asm

2019-07-17 Thread Johannes Lundberg
Author: johalun Date: Wed Jul 17 16:38:40 2019 New Revision: 350085 URL: https://svnweb.freebsd.org/changeset/base/350085 Log: MFC r349276: LinuxKPI: Add atomic_long_sub macro. Reviewed by: imp (mentor), hps Approved by: imp (mentor), hps MFC after:1 week Differential