Page MenuHomeFreeBSD
Feed Advanced Search

Apr 8 2017

kan closed D10292: Add external toolchain ports for aarch64 by committing rP437977: Add external toolchain ports for aarch64.
Apr 8 2017, 12:30 AM
kan updated the diff for D10292: Add external toolchain ports for aarch64.

Remove unrelated bits.

Apr 8 2017, 12:19 AM
kan updated the diff for D10292: Add external toolchain ports for aarch64.

Add missing devel/Makefile bit

Apr 8 2017, 12:17 AM

Apr 7 2017

kan closed D10307: Define 'lr' as x30 on aarch64 by committing rS316626: Define 'lr' as x30 on aarch64.
Apr 7 2017, 10:58 PM
kan committed rS316625: Do not use -msoft-float with intention of disabling FP on aarch64.
Do not use -msoft-float with intention of disabling FP on aarch64
Apr 7 2017, 10:58 PM
kan committed rS316627: Use int to receive the return value of getopt function..
Use int to receive the return value of getopt function.
Apr 7 2017, 10:58 PM
kan committed rS316628: Silence GCC warning by initializing the local variable..
Silence GCC warning by initializing the local variable.
Apr 7 2017, 10:58 PM
kan closed D10306: Do not use -msoft-float with intention of disabling FP on aarch64 by committing rS316625: Do not use -msoft-float with intention of disabling FP on aarch64.
Apr 7 2017, 10:58 PM
kan committed rS316626: Define 'lr' as x30 on aarch64.
Define 'lr' as x30 on aarch64
Apr 7 2017, 10:58 PM
kan closed D10305: Do not use b.cs instruction to jump to cerror by committing rS316624: Do not use b.cs instruction to jump to cerror..
Apr 7 2017, 10:58 PM
kan committed rS316624: Do not use b.cs instruction to jump to cerror..
Do not use b.cs instruction to jump to cerror.
Apr 7 2017, 10:58 PM
kan accepted D10310: do not require binutils port if using lld as ld.

.. works for me. Get that in, chase perfection at own schedule later...

Apr 7 2017, 6:47 PM
kan set the repository for D10306: Do not use -msoft-float with intention of disabling FP on aarch64 to rS FreeBSD src repository - subversion.
Apr 7 2017, 3:37 PM
kan added reviewers for D10307: Define 'lr' as x30 on aarch64: andrew, emaste, arm64.
Apr 7 2017, 3:36 PM
kan created D10307: Define 'lr' as x30 on aarch64.
Apr 7 2017, 3:36 PM
kan created D10306: Do not use -msoft-float with intention of disabling FP on aarch64.
Apr 7 2017, 3:33 PM
kan created D10305: Do not use b.cs instruction to jump to cerror.
Apr 7 2017, 3:28 PM

Apr 6 2017

kan added a comment to D10292: Add external toolchain ports for aarch64.

Indeed, corrected.

Apr 6 2017, 4:21 AM
kan edited reviewers for D10292: Add external toolchain ports for aarch64, added: andrew; removed: thompsa.
Apr 6 2017, 4:19 AM
kan created D10292: Add external toolchain ports for aarch64.
Apr 6 2017, 1:04 AM

Mar 23 2017

kan added a comment to D10086: Add a weak alias from ffs() to __ffssi2() to pacify modern GCC..

This looks reasonable, but I share the confusion about correctness. It seems like this should be in libgcc generally. I know we spoke about this, but I've forgotten; can you remind me why libgcc isn't providing this symbol?

Mar 23 2017, 6:05 PM

Mar 16 2017

kan committed rS315338: Add cavium octeon 'bootoctlinux' boot argument support.
Add cavium octeon 'bootoctlinux' boot argument support
Mar 16 2017, 12:50 AM

Mar 7 2017

kan committed rP435580: Fix build on FreeBSD-current with Clang 4.0..
Fix build on FreeBSD-current with Clang 4.0.
Mar 7 2017, 3:13 AM

Mar 4 2017

kan accepted D9882: Use LDFLAGS rather than CFLAGS when linking..

This work

Mar 4 2017, 8:22 PM
kan added a comment to D9882: Use LDFLAGS rather than CFLAGS when linking..

Quick way to find out is to build mipselhf world using external GCC. It basically gets all things wrong re:default endianness and softfloat.

Mar 4 2017, 3:01 AM
kan added a comment to D9882: Use LDFLAGS rather than CFLAGS when linking..

Does LDFLAGS contain -m32/64 -mabi and -EB/-EL as appropriate on MIPS? If not, this change will definitely break things.

Mar 4 2017, 1:10 AM

Feb 27 2017

kan accepted D9785: reg-io-width option for UART drivers.

No objections.

Feb 27 2017, 4:01 PM

Feb 22 2017

kan accepted D9708: Fully handle the special encoding of GOT[1] on mips64..
Feb 22 2017, 7:33 PM
kan accepted D9707: Use LDFLAGS with CC instead of _LDFLAGS..
Feb 22 2017, 7:28 PM

Feb 20 2017

kan added inline comments to D9617: xDMA enqueuing (scatter-gather) support.
Feb 20 2017, 7:25 PM
kan requested changes to D9617: xDMA enqueuing (scatter-gather) support.

This kinda somewhat works for mbufs, but not much more.

Feb 20 2017, 5:27 PM
kan added inline comments to D9617: xDMA enqueuing (scatter-gather) support.
Feb 20 2017, 4:38 PM

Feb 15 2017

kan accepted D9587: Bring back r313037, with fixes for mips.

Looks fine.

Feb 15 2017, 2:51 AM

Feb 6 2017

kan committed rS313341: Use 64bit store instruction in atomic_fcmpset_64..
Use 64bit store instruction in atomic_fcmpset_64.
Feb 6 2017, 2:00 PM

Feb 1 2017

kan committed rS313040: Add atomic_fcmpset_*() inlines for MIPS.
Add atomic_fcmpset_*() inlines for MIPS
Feb 1 2017, 5:00 AM
kan closed D9391: Add atomic_fcmpset_*() inlines for MIPS by committing rS313040: Add atomic_fcmpset_*() inlines for MIPS.
Feb 1 2017, 5:00 AM
kan added a comment to D9391: Add atomic_fcmpset_*() inlines for MIPS .

It looks like compiled code gets relaxed by the assembler to have correct nops in there. I am not convinced we should be dependent on this behavior in the long run, but pretty much every atomic inline depends on it now, so I think I am going to commit this version.

0xffffffff8020945c <__mtx_lock_flags+232>:      ll      v1,16(s0)
0xffffffff80209460 <__mtx_lock_flags+236>:      bne     v1,v0,0x80209480 <__mtx_lock_flags+268>
0xffffffff80209464 <__mtx_lock_flags+240>:      nop
0xffffffff80209468 <__mtx_lock_flags+244>:      move    v1,a2
0xffffffff8020946c <__mtx_lock_flags+248>:      sc      v1,16(s0)
0xffffffff80209470 <__mtx_lock_flags+252>:      beqz    v1,0x8020945c <__mtx_lock_flags+232>
0xffffffff80209474 <__mtx_lock_flags+256>:      nop
0xffffffff80209478 <__mtx_lock_flags+260>:      j       0x80209488 <__mtx_lock_flags+276>
0xffffffff8020947c <__mtx_lock_flags+264>:      nop
0xffffffff80209480 <__mtx_lock_flags+268>:      sw      v1,24(sp)
0xffffffff80209484 <__mtx_lock_flags+272>:      li      v1,0
Feb 1 2017, 1:44 AM

Jan 31 2017

kan added a comment to D9391: Add atomic_fcmpset_*() inlines for MIPS .

Subject to me being wrong to worry about branch delay slots, this looks fine.

Jan 31 2017, 1:02 PM
kan added a reviewer for D9391: Add atomic_fcmpset_*() inlines for MIPS : jhb.
Jan 31 2017, 2:07 AM

Jan 30 2017

kan retitled D9391: Add atomic_fcmpset_*() inlines for MIPS from to Add atomic_fcmpset_*() inlines for MIPS .
Jan 30 2017, 11:56 PM

Jan 27 2017

kan committed rS312858: MFC r311993: Fix typo in r311971 and now in r312405 too..
MFC r311993: Fix typo in r311971 and now in r312405 too.
Jan 27 2017, 3:45 AM

Jan 14 2017

kan accepted D9187: Ensure arswitch is always locked when calling arswitch_modifyreg().

Yup

Jan 14 2017, 11:52 PM

Jan 12 2017

kan committed rS311993: Fix typo in r311971..
Fix typo in r311971.
Jan 12 2017, 6:05 PM

Jan 6 2017

kan committed rS311463: Remove redundant cache initialization in JZ4780 SMP startup code.
Remove redundant cache initialization in JZ4780 SMP startup code
Jan 6 2017, 12:07 AM

Jan 5 2017

kan committed rS311458: Use compiler driver to link BERI boot loaders.
Use compiler driver to link BERI boot loaders
Jan 5 2017, 7:17 PM
kan closed D9050: Use compiler driver to link BERI boot leaders by committing rS311458: Use compiler driver to link BERI boot loaders.
Jan 5 2017, 7:17 PM
kan retitled D9050: Use compiler driver to link BERI boot leaders from to Use compiler driver to link BERI boot leaders.
Jan 5 2017, 1:34 PM
kan closed D8956: Do not use read-modify-write on MSC control register..
Jan 5 2017, 5:45 AM

Jan 4 2017

kan committed rS311299: Remove duplicate iic and iicbus devices from JZ4780 kernel.
Remove duplicate iic and iicbus devices from JZ4780 kernel
Jan 4 2017, 6:36 PM

Dec 30 2016

kan committed rS310829: Restore status quo: mips64 does not need subr_sfbuf.c.
Restore status quo: mips64 does not need subr_sfbuf.c
Dec 30 2016, 5:12 PM
kan created P116 (An Untitled Masterwork).
Dec 30 2016, 4:53 PM
kan added a comment to D8995: enable sf_buf on mips_n64.

Nope, it is better to just exclude the file again. It is utter waste on mips64 indeed and I somehow though it servded useful purpose

Dec 30 2016, 1:57 PM
kan committed rS310794: Support mips[*]hf variants in config files.
Support mips[*]hf variants in config files
Dec 30 2016, 12:34 AM
kan closed D8989: Support mips[*]hf variants in config files by committing rS310794: Support mips[*]hf variants in config files.
Dec 30 2016, 12:34 AM

Dec 29 2016

kan retitled D8989: Support mips[*]hf variants in config files from to Support mips[*]hf variants in config files.
Dec 29 2016, 10:25 PM
kan committed rS310790: Use TARGET_ARCH instead of MACHINE_ARCH for MIPS kernel.
Use TARGET_ARCH instead of MACHINE_ARCH for MIPS kernel
Dec 29 2016, 9:36 PM
kan committed rS310789: Use compiler driver to build relocatable object.
Use compiler driver to build relocatable object
Dec 29 2016, 9:31 PM
kan committed rS310784: Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST.
Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST
Dec 29 2016, 8:12 PM

Dec 28 2016

kan committed rS310722: Do not use read-modify-write on MSC control register..
Do not use read-modify-write on MSC control register.
Dec 28 2016, 7:41 PM
kan updated the diff for D8956: Do not use read-modify-write on MSC control register..

Missed one more place

Dec 28 2016, 7:29 PM
kan added inline comments to D8956: Do not use read-modify-write on MSC control register..
Dec 28 2016, 7:22 PM
kan added reviewers for D8956: Do not use read-modify-write on MSC control register.: jmcneill, br, MIPS.
Dec 28 2016, 7:13 PM
kan set the repository for D8956: Do not use read-modify-write on MSC control register. to rS FreeBSD src repository - subversion.
Dec 28 2016, 7:12 PM
kan added a reviewer for D8946: Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST: jmcneill.
Dec 28 2016, 3:43 PM
kan retitled D8946: Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST from to Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST.
Dec 28 2016, 3:43 PM
kan committed rS310700: Be more conservative when enabling write-combining on MIPS.
Be more conservative when enabling write-combining on MIPS
Dec 28 2016, 1:48 PM
kan closed D8894: Implement pmap_change_attr and related APIs on MIPS by committing rS310650: Implement pmap_change_attr and related APIs on MIPS.
Dec 28 2016, 2:55 AM
kan committed rS310650: Implement pmap_change_attr and related APIs on MIPS.
Implement pmap_change_attr and related APIs on MIPS
Dec 28 2016, 2:55 AM

Dec 24 2016

kan updated the diff for D8894: Implement pmap_change_attr and related APIs on MIPS.

Do dot define VM_MEMATTR_WRITE_COMBINING as uncached as the fallback option, some userland tools expect VM_MEMATTR_WRITE_COMBINING and VM_MEMATTR_UNCACHEABLE be numerically different.

Dec 24 2016, 11:49 PM
kan committed rS310493: Add driver for JZ4780 RTC device..
Add driver for JZ4780 RTC device.
Dec 24 2016, 2:31 AM

Dec 23 2016

kan added a member for MIPS: kan.
Dec 23 2016, 10:24 PM
kan updated the diff for D8894: Implement pmap_change_attr and related APIs on MIPS.

Fix typo

Dec 23 2016, 10:18 PM
kan added inline comments to D8894: Implement pmap_change_attr and related APIs on MIPS.
Dec 23 2016, 9:43 PM
kan committed rS310486: Pass memattrs to fb device so that user mappings can inherit them.
Pass memattrs to fb device so that user mappings can inherit them
Dec 23 2016, 7:30 PM
kan retitled D8894: Implement pmap_change_attr and related APIs on MIPS from to Implement pmap_change_attr and related APIs on MIPS.
Dec 23 2016, 7:20 PM

Dec 18 2016

kan accepted D8827: jz4780 LCD controller driver.

thanks

Dec 18 2016, 1:42 AM · MIPS

Dec 17 2016

kan accepted D8827: jz4780 LCD controller driver.
Dec 17 2016, 9:47 PM · MIPS
kan accepted D8784: jz4780: fix clk_gen divider calculation and rounding.
Dec 17 2016, 9:29 PM · MIPS

Dec 15 2016

kan accepted D8793: jz4780: add driver for SMB controller.
Dec 15 2016, 4:37 PM · MIPS

Dec 14 2016

kan added inline comments to D8793: jz4780: add driver for SMB controller.
Dec 14 2016, 3:06 PM · MIPS

Dec 12 2016

kan accepted D8765: Fix typo.
Dec 12 2016, 4:57 PM

Dec 2 2016

kan accepted D8687: Retire long-broken static rtld support.
Dec 2 2016, 1:51 PM

Nov 20 2016

kan committed rS308872: Use ofw_gpiobus instead of plain gpiobus for CI20.
Use ofw_gpiobus instead of plain gpiobus for CI20
Nov 20 2016, 1:59 AM

Nov 18 2016

kan committed rS308807: Subject: [PATCH] Pass MACHINE_ARCH on command line for MIPS kernels..
Subject: [PATCH] Pass MACHINE_ARCH on command line for MIPS kernels.
Nov 18 2016, 4:23 PM
kan closed D8574: Pass MACHINE_ARCH on command line for MIPS kernels. by committing rS308807: Subject: [PATCH] Pass MACHINE_ARCH on command line for MIPS kernels..
Nov 18 2016, 4:23 PM
kan updated the diff for D8574: Pass MACHINE_ARCH on command line for MIPS kernels..

Copy ARM way of dealing with differences through suffixes per suggestion by Ruslan

Nov 18 2016, 3:57 PM
kan retitled D8574: Pass MACHINE_ARCH on command line for MIPS kernels. from to Pass MACHINE_ARCH on command line for MIPS kernels..
Nov 18 2016, 1:40 PM

Nov 17 2016

kan created P114 (An Untitled Masterwork).
Nov 17 2016, 6:11 PM

Nov 16 2016

kan closed D8505: Set endianness and floating point flags explicitly for MIPS targets.
Nov 16 2016, 3:29 AM
kan closed D8507: Compile trampoline with soft-float on MIPS, to match the rest of the kernel by committing rS308713: Compile trampoline with soft-float on MIPS, to match the rest of the kernel.
Nov 16 2016, 3:24 AM
kan committed rS308713: Compile trampoline with soft-float on MIPS, to match the rest of the kernel.
Compile trampoline with soft-float on MIPS, to match the rest of the kernel
Nov 16 2016, 3:24 AM
kan committed rS308712: Make MIPS startup assembly files use neutral float ABI..
Make MIPS startup assembly files use neutral float ABI.
Nov 16 2016, 3:22 AM
kan closed D8506: Make MIPS startup assembly files use neutral float ABI. by committing rS308712: Make MIPS startup assembly files use neutral float ABI..
Nov 16 2016, 3:22 AM
kan committed rS308711: Set endianness and floating point flags explicitly for MIPS targets.
Set endianness and floating point flags explicitly for MIPS targets
Nov 16 2016, 3:19 AM

Nov 13 2016

kan retitled D8507: Compile trampoline with soft-float on MIPS, to match the rest of the kernel from to Compile trampoline with soft-float on MIPS, to match the rest of the kernel.
Nov 13 2016, 3:56 PM
kan added a comment to D8505: Set endianness and floating point flags explicitly for MIPS targets.
In D8505#176873, @imp wrote:

I've had issues in the past trying to do this. There are some files in the kernel that don't actually work when you set these features, especially the compressed trampoline. I also think there's one in either csu or libc that has issues.

Best way to test this is to spike gcc to be the wrong endian by default and do a buildworld and buildkernel for one of the platforms that has a trampiline. If that works in addition to the external toolchain you're using, I'm game.

Nov 13 2016, 3:31 PM
kan retitled D8506: Make MIPS startup assembly files use neutral float ABI. from to Make MIPS startup assembly files use neutral float ABI..
Nov 13 2016, 3:31 AM
kan retitled D8505: Set endianness and floating point flags explicitly for MIPS targets from to Set endianness and floating point flags explicitly for MIPS targets.
Nov 13 2016, 3:17 AM

May 4 2016

kan committed rS299034: Fix nvram2env after bus_space_fdt removal..
Fix nvram2env after bus_space_fdt removal.
May 4 2016, 1:56 AM

Apr 27 2016

kan accepted D6117: Revert r243980 and r244105.

Glad to see this stuff getting kicked out of the 'normal' KASSERT path.

Apr 27 2016, 9:11 PM