Page MenuHomeFreeBSD

johalun (Johannes Lundberg)
User

Projects

User Details

User Since
Feb 7 2019, 10:49 AM (36 w, 1 d)

Recent Activity

Sep 15 2019

johalun added a comment to D21641: Add new port: devel/acme: free cross assembler released under the GNU GPL.

And it's basically a new port, nothing is common with the old one so I would just copy paste my own Makefile over the old one.

Sep 15 2019, 5:36 AM
johalun added a comment to D21641: Add new port: devel/acme: free cross assembler released under the GNU GPL.

@zeising You mean reverted? There's a lot going on in that commit https://svnweb.freebsd.org/ports?view=revision&revision=418057

Sep 15 2019, 5:35 AM

Sep 14 2019

johalun updated the diff for D21641: Add new port: devel/acme: free cross assembler released under the GNU GPL.

Remove devel/acme entry from MOVED where it's reported BROKEN.

Sep 14 2019, 3:23 AM

Sep 13 2019

johalun created D21641: Add new port: devel/acme: free cross assembler released under the GNU GPL.
Sep 13 2019, 5:58 PM

Sep 6 2019

johalun updated the summary of D21542: LinuxKPI: Improve sysfs support..
Sep 6 2019, 3:07 PM
johalun added a comment to D21542: LinuxKPI: Improve sysfs support..

Apply reviewer suggestions

Sep 6 2019, 3:06 PM
johalun updated the diff for D21542: LinuxKPI: Improve sysfs support..

Improve strlen safety checks.

Sep 6 2019, 3:04 PM
johalun updated the diff for D21542: LinuxKPI: Improve sysfs support..

Check if strlen=0.

Sep 6 2019, 3:02 PM
johalun created D21542: LinuxKPI: Improve sysfs support..
Sep 6 2019, 3:13 AM

Aug 30 2019

johalun created D21475: LinuxKPI: Add sysfs create/remove functions that handles multiple files in one call..
Aug 30 2019, 4:59 PM

Jul 22 2019

johalun added a comment to D20990: graphics/drm-current-kmod: Install kernel module sources..

Having to specify each source and header file seems like a huge maintenance burden. For every update in Linux version files get added, removed and renamed. Some sort of recursive directory install would be nice...

Jul 22 2019, 4:12 PM

Jul 18 2019

johalun added a comment to D16698: First draft HID over I2C support (Mouse only).

hm. EVDEV_SUPPORT enables evdev in "legacy" drivers like psm, ums, ukbd etc. I'm not sure why @johalun added ifdefs for that here, this is a new driver :)

Jul 18 2019, 4:30 PM · Contributor Reviews (base)

Jun 23 2019

johalun added a comment to D16698: First draft HID over I2C support (Mouse only).

I've been playing around with it here https://gist.github.com/johalun/ffc271a07a0cf50d0bc816138c4eec81 but still no success. Basically there are no interrupts from the device after resume. I don't know if this is because ig4 or the i2c device missing some kind of reset command. I found something in MS docs about sending an i2c reset command which you can see in the resume function but it doesn't do anything which makes me think that ig4 is the problem. Here I simply copy/paste the routine from the attach function to resume but not sure that's enough. Probably need to spend some times reading reference manual for the devices.

Jun 23 2019, 7:17 PM · Contributor Reviews (base)

Jun 21 2019

johalun added a comment to D20719: LinuxKPI rcu list additions.

Also bump freebsd version so we can have a checkpoint from where the virtualbox drm driver builds.

Jun 21 2019, 5:36 PM
johalun added inline comments to D20719: LinuxKPI rcu list additions.
Jun 21 2019, 5:06 PM
johalun added a comment to D20719: LinuxKPI rcu list additions.

Add () where needed. Make sure define is followed by a tab.

Jun 21 2019, 5:04 PM
johalun created D20719: LinuxKPI rcu list additions.
Jun 21 2019, 4:31 PM
johalun created D20718: Add atomic_long_sub in linuxkpi.
Jun 21 2019, 3:21 PM

Jun 17 2019

johalun added inline comments to D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.
Jun 17 2019, 3:14 PM

Jun 16 2019

D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware now requires review to proceed.

Move up ONLY_ARCHS in Makefile and set myself as creator of the file.

Jun 16 2019, 6:16 PM
johalun added a comment to D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.

Fix build by reversing dependencies. Limit build to amd64 and i386.
Build test OK for both archs with poudriere.

Jun 16 2019, 2:26 AM

Jun 6 2019

johalun added a comment to D20502: Allocate wired pages in linux_alloc_pages()..

Can you MFC to stable/12 as well?

Jun 6 2019, 4:55 PM

Jun 4 2019

johalun accepted D20502: Allocate wired pages in linux_alloc_pages()..

Elegant solution! I will ponder a bit over where's the best place to declare LINUXKPI_VERSION in the DRM repo. The best of course would be to have it in one single place, like the root makefile since both drm drivers and linuxkpi_gplv2 depends on it and there's no guarantee that a certain linux header is always included.

Jun 4 2019, 8:07 PM
johalun committed rS348597: MFC r348338:.
MFC r348338:
Jun 4 2019, 1:00 AM

Jun 3 2019

johalun added inline comments to D20502: Allocate wired pages in linux_alloc_pages()..
Jun 3 2019, 7:49 PM
johalun added a comment to D20502: Allocate wired pages in linux_alloc_pages()..

I want the same behaviour for both 4.16 and 5.0, so this doesn't quite work: as far as I can see, 4.16 doesn't define LINUXKPI_VERSION.

Jun 3 2019, 6:39 PM
johalun added a comment to D20502: Allocate wired pages in linux_alloc_pages()..

I'm guessing we would also have to revert this recent fix https://github.com/FreeBSDDesktop/kms-drm/commit/4d4b2baf9cbc22588fd379e158c717030bce0d29 ?
We could use LINUXKPI_VERSION if you want to do something like this:

Jun 3 2019, 5:54 PM

May 28 2019

johalun committed rS348338: pseudofs: Ignore unsupported commands in vop_setattr..
pseudofs: Ignore unsupported commands in vop_setattr.
May 28 2019, 8:55 PM
johalun closed D20451: pseudofs: Ignore unsupported command in vop_setattr..
May 28 2019, 8:55 PM
johalun created D20451: pseudofs: Ignore unsupported command in vop_setattr..
May 28 2019, 8:28 PM

May 25 2019

johalun committed rS348280: LinuxKPI: Revert MFC of r347892.
LinuxKPI: Revert MFC of r347892
May 25 2019, 8:53 PM
johalun committed rS348279: MFC r344385:.
MFC r344385:
May 25 2019, 8:25 PM
johalun committed rS348278: MFC r344384:.
MFC r344384:
May 25 2019, 8:00 PM
johalun committed rS348277: MFC r347892:.
MFC r347892:
May 25 2019, 6:36 PM
johalun committed rS348276: MFC r344486:.
MFC r344486:
May 25 2019, 6:23 PM
johalun committed rS348275: LinuxKPI: Register new linuxkpi and lindebugfs source files..
LinuxKPI: Register new linuxkpi and lindebugfs source files.
May 25 2019, 6:03 PM
johalun committed rS348273: MFC r344485:.
MFC r344485:
May 25 2019, 5:17 PM

May 24 2019

johalun committed rS348245: MFC r347596:.
MFC r347596:
May 24 2019, 5:14 PM
johalun committed rS348244: MFC r347891:.
MFC r347891:
May 24 2019, 5:06 PM
johalun committed rS348243: MFC r347843:.
MFC r347843:
May 24 2019, 5:04 PM
johalun committed rS348242: MFC r347852:.
MFC r347852:
May 24 2019, 5:01 PM
johalun committed rS348240: MFC r347837:.
MFC r347837:
May 24 2019, 3:38 PM
johalun added a comment to D18041: LKPI updates for drm-v4.18.

Is this patch still relevant?

May 24 2019, 2:48 PM

May 22 2019

johalun committed rS348089: MFC r347621:.
MFC r347621:
May 22 2019, 4:10 AM
johalun committed rS348088: MFC r347619:.
MFC r347619:
May 22 2019, 4:09 AM
johalun committed rS348087: MFC r347623:.
MFC r347623:
May 22 2019, 4:02 AM
johalun committed rS348086: MFC r347626:.
MFC r347626:
May 22 2019, 4:00 AM
johalun committed rS348085: MFC r347620:.
MFC r347620:
May 22 2019, 3:58 AM
johalun committed rS348084: MFC r347622:.
MFC r347622:
May 22 2019, 3:54 AM

May 21 2019

johalun updated the diff for D20064: Add emulators/fs-uae-devel port.

Take ownership over fs-uae as per agreement with maintainer.

May 21 2019, 10:06 PM
johalun added a reviewer for D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware: imp.
May 21 2019, 9:46 PM
johalun updated the diff for D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.

Update diff, include full context.

May 21 2019, 9:41 PM
johalun abandoned D19572: [new port] emulators/fs-uae-devel: Amiga emulator (development branch).

Abandoned in favor of D20064

May 21 2019, 9:35 PM
johalun updated the diff for D20064: Add emulators/fs-uae-devel port.

Run portfmt

May 21 2019, 9:32 PM
johalun updated the diff for D20064: Add emulators/fs-uae-devel port.

Update distinfo to fix error after changing version.

May 21 2019, 9:09 PM
johalun committed rS348036: Bump FreeBSD version after change to struct in linuxkpi from r348035..
Bump FreeBSD version after change to struct in linuxkpi from r348035.
May 21 2019, 2:42 AM
johalun committed rS348035: MFC r347601:.
MFC r347601:
May 21 2019, 2:38 AM
johalun committed rS348034: MFC r347600:.
MFC r347600:
May 21 2019, 2:36 AM
johalun committed rS348033: MFC r347592:.
MFC r347592:
May 21 2019, 2:31 AM

May 19 2019

johalun committed rS347973: LinuxKPI: Finalize move of lindebugfs from ports to base..
LinuxKPI: Finalize move of lindebugfs from ports to base.
May 19 2019, 3:44 PM

May 18 2019

johalun committed rS347954: MFC.
MFC
May 18 2019, 1:27 PM

May 16 2019

johalun abandoned D19565: linuxkpi v5.0 updates.

Everything committed!

May 16 2019, 9:19 PM
johalun committed rS347892: LinuxKPI: Finalize import of seq_file..
LinuxKPI: Finalize import of seq_file.
May 16 2019, 9:17 PM
johalun committed rS347891: LinuxKPI: Add in_task macro..
LinuxKPI: Add in_task macro.
May 16 2019, 9:07 PM
johalun committed rS347889: LinuxKPI: Fix build on powerpc/sparc..
LinuxKPI: Fix build on powerpc/sparc.
May 16 2019, 7:32 PM
johalun committed rS347852: LinuxKPI: Updates to tasklets for Linux 5.0..
LinuxKPI: Updates to tasklets for Linux 5.0.
May 16 2019, 6:03 PM
johalun committed rS347843: LinuxKPI: Add group_leader member to struct task_struct..
LinuxKPI: Add group_leader member to struct task_struct.
May 16 2019, 5:53 PM
johalun committed rS347837: LinuxKPI: Update access_ok macro for v5.0..
LinuxKPI: Update access_ok macro for v5.0.
May 16 2019, 5:44 PM

May 15 2019

johalun updated the diff for D19565: linuxkpi v5.0 updates.

Clean up diff

May 15 2019, 10:49 PM
johalun updated the diff for D19565: linuxkpi v5.0 updates.

Rebase r347628

May 15 2019, 10:46 PM
johalun committed rS347626: LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL..
LinuxKPI: Add helper macros IS_ALIGNED and DIV_ROUND_DOWN_ULL.
May 15 2019, 5:57 PM
johalun committed rS347623: LinuxKPI: Move {lower|upper}_32_bits macros from port to base..
LinuxKPI: Move {lower|upper}_32_bits macros from port to base.
May 15 2019, 5:48 PM
johalun committed rS347622: LinuxKPI: Include asm/atomic-long.h from atomic.h..
LinuxKPI: Include asm/atomic-long.h from atomic.h.
May 15 2019, 5:44 PM
johalun committed rS347621: LinuxKPI: Add get_random_u32 function..
LinuxKPI: Add get_random_u32 function.
May 15 2019, 5:32 PM
johalun updated the diff for D19565: linuxkpi v5.0 updates.

Rebase at r347620

May 15 2019, 5:14 PM
johalun committed rS347620: LinuxKPI: Update user_access_begin for Linux v5.0..
LinuxKPI: Update user_access_begin for Linux v5.0.
May 15 2019, 5:04 PM
johalun committed rS347619: LinuxKPI: Expand ktime functionality..
LinuxKPI: Expand ktime functionality.
May 15 2019, 4:59 PM

May 14 2019

johalun committed rS347601: LinuxKPI: Add prepare to pm_ops and bump FreeBSD version..
LinuxKPI: Add prepare to pm_ops and bump FreeBSD version.
May 14 2019, 11:51 PM
johalun committed rS347600: LinuxKPI: Add vm_fault_t type..
LinuxKPI: Add vm_fault_t type.
May 14 2019, 11:32 PM
johalun committed rS347596: LinuxKPI: Add context member to ww_mutex and bump FreeBSD version..
LinuxKPI: Add context member to ww_mutex and bump FreeBSD version.
May 14 2019, 11:21 PM
johalun committed rS347592: LinuxKPI: Let del_timer return a value to match Linux..
LinuxKPI: Let del_timer return a value to match Linux.
May 14 2019, 11:12 PM

May 13 2019

johalun updated the diff for D19565: linuxkpi v5.0 updates.

Check LINUXKPI_VERSION before declaring IS_ALIGNED (declared in gplv2 code for < 5.0) macro to avoid build error with older out of tree code.
Use function macro for get_random_u32 as suggested by reviewer.

May 13 2019, 11:02 PM
johalun updated the diff for D19565: linuxkpi v5.0 updates.

Rebase after committing r347470

May 13 2019, 10:15 PM

May 10 2019

johalun committed rS347470: Implement linux_pci_unregister_drm_driver in linuxkpi so that drm drivers.
Implement linux_pci_unregister_drm_driver in linuxkpi so that drm drivers
May 10 2019, 11:10 PM

May 3 2019

johalun created D20153: x11-drivers/xf86-video-vmware: Enable hardware accelerated graphics in VMware.
May 3 2019, 9:56 PM

May 2 2019

johalun committed rS347012: MFC r346712:.
MFC r346712:
May 2 2019, 2:26 AM

May 1 2019

johalun added a comment to D16698: First draft HID over I2C support (Mouse only).

Driver does not work after resume. I had to reboot to get working touchpad again.

May 1 2019, 4:14 PM · Contributor Reviews (base)

Apr 30 2019

johalun accepted D20097: Fix regression issues after r346645 in the LinuxKPI.
Apr 30 2019, 3:56 PM
johalun updated the diff for D20064: Add emulators/fs-uae-devel port.

Fix Makefile according to comments by reviewer.

Apr 30 2019, 3:54 PM

Apr 29 2019

johalun updated the diff for D20064: Add emulators/fs-uae-devel port.

Change from slave port to separate port.

Apr 29 2019, 7:34 PM

Apr 27 2019

johalun added a member for x11: johalun.
Apr 27 2019, 5:45 PM

Apr 26 2019

johalun created D20064: Add emulators/fs-uae-devel port.
Apr 26 2019, 1:22 AM
johalun abandoned D19571: Make assignments optional to allow for slave ports.
Apr 26 2019, 12:42 AM

Apr 25 2019

johalun updated the diff for D19565: linuxkpi v5.0 updates.

Rebase r346712

Apr 25 2019, 10:16 PM
johalun reopened D19565: linuxkpi v5.0 updates.

Re-open.

Apr 25 2019, 9:56 PM
johalun closed D19565: linuxkpi v5.0 updates.
Apr 25 2019, 9:55 PM
johalun committed rS346712: Don't call cdev_init where cdev_alloc is called. cdev_alloc already.
Don't call cdev_init where cdev_alloc is called. cdev_alloc already
Apr 25 2019, 9:55 PM
johalun updated the diff for D19565: linuxkpi v5.0 updates.

Rebase

Apr 25 2019, 4:09 AM
johalun updated the diff for D19565: linuxkpi v5.0 updates.

Use LINUXKPI_VERSION macro to check what KPI version the client expects, as per discussion. Any code that uses LinuxKPI will define this. We will support at most 2 versions concurrently and it is recommended that that any code that depends on LINUXKPI_VERSION < 50000 is updated to most recent version.

Apr 25 2019, 12:02 AM

Apr 21 2019

johalun added a comment to D16698: First draft HID over I2C support (Mouse only).

Here's preliminary evdev support. Can you please incorporate it into your patch?
https://gist.github.com/johalun/3c67a678e740b82512cec52bfe926092

Apr 21 2019, 8:38 PM · Contributor Reviews (base)