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?
>
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,
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.
>
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
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
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
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:
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
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:
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:
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
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
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
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
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
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
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
-
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
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
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:
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
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
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
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:
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
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:
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
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
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:
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:
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
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
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
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.
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:
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:
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
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
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
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
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.
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:
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
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
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
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
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
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:
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
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
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)
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
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
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
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
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
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:
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
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
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
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
61 matches
Mail list logo