Page MenuHomeFreeBSD
Feed Advanced Search

Jul 20 2018

emaste updated subscribers of D16370: Implement early microcode loading for Intel i386 and amd64 platforms..
Jul 20 2018, 10:01 PM
emaste updated subscribers of D16370: Implement early microcode loading for Intel i386 and amd64 platforms..
Jul 20 2018, 10:00 PM

Jul 13 2018

emaste accepted D16257: As discussed several times on freebsd-arch, start to decommission armeb..
Jul 13 2018, 5:58 PM

Jul 6 2018

emaste committed rS336044: Regen arm64 linux sysent after r336043.
Regen arm64 linux sysent after r336043
Jul 6 2018, 7:47 PM
emaste committed rS336043: Fix arm64 linuxulator clone() argument order.
Fix arm64 linuxulator clone() argument order
Jul 6 2018, 7:45 PM
emaste accepted D16154: Adding myself to committers-src.dot and calendar.freebsd.

Approved

Jul 6 2018, 1:49 AM

Jul 5 2018

emaste accepted D16140: Create a new macro for static DPCPU data.

Fine with me

Jul 5 2018, 4:31 PM
emaste added inline comments to D16140: Create a new macro for static DPCPU data.
Jul 5 2018, 3:35 PM
emaste added a comment to D16141: Disable sbrk() use in GNU tools..

I doubt an exp-run is necessary, as only three binutils are built today, as, ld, objdump (on some subset of architectures), and if anything does break I expect it would most likely be found by tinderbox.

Jul 5 2018, 3:33 PM
emaste added a comment to D16141: Disable sbrk() use in GNU tools..

Although we still need to make sure that everything still works with this change.

Jul 5 2018, 2:49 PM
emaste added a comment to D16141: Disable sbrk() use in GNU tools..

No objection from me.

Jul 5 2018, 2:49 PM
emaste added inline comments to D16141: Disable sbrk() use in GNU tools..
Jul 5 2018, 2:38 PM
emaste added a comment to D16140: Create a new macro for static DPCPU data.
In D16140#342262, @bz wrote:

What about (what do others think):

  • leave the non static and not rename them to *_GLOBAL_*
  • rename the static to STATIC_DPCPU_DEFINE

That way grep()ing for DPCPU_DEFINE will still give us all of them, there's less noise in the change, and only the problematic case is (will be) dealt with.

Jul 5 2018, 2:36 PM
emaste accepted D16140: Create a new macro for static DPCPU data.

I'm fine with this as a NFC first step

Jul 5 2018, 2:02 PM
emaste added a comment to D16140: Create a new macro for static DPCPU data.

LGTM

Jul 5 2018, 1:54 PM
emaste committed rS335981: Welcome Ben Widawsky (bwidawsk) as a src committer.
Welcome Ben Widawsky (bwidawsk) as a src committer
Jul 5 2018, 1:46 PM

Jul 4 2018

emaste committed rS335965: MFC r306098 (br): Use kqueue(2) instead of select(2)..
MFC r306098 (br): Use kqueue(2) instead of select(2).
Jul 4 2018, 6:03 PM
emaste committed rS335964: MFC r306098 (br): Use kqueue(2) instead of select(2)..
MFC r306098 (br): Use kqueue(2) instead of select(2).
Jul 4 2018, 6:02 PM
emaste added a comment to D12298: libc: remove gets.

Just tried building lang/gcc7 on my gets-less dev system and see:

Jul 4 2018, 4:37 PM
emaste updated subscribers of D12298: libc: remove gets.
Jul 4 2018, 3:09 PM
emaste committed rS335942: muge(4): remove DTB MAC addr from TODO list after r335925.
muge(4): remove DTB MAC addr from TODO list after r335925
Jul 4 2018, 1:38 PM
emaste accepted D16117: muge(4): add DTB blob as one more possible source of MAC address.
Jul 4 2018, 12:03 AM

Jul 3 2018

emaste accepted D16117: muge(4): add DTB blob as one more possible source of MAC address.

Some suggestions but overall I think this is fine. I can futz with it after commit otherwise.

Jul 3 2018, 9:43 PM
emaste added inline comments to D16117: muge(4): add DTB blob as one more possible source of MAC address.
Jul 3 2018, 8:39 PM
emaste updated the diff for D12298: libc: remove gets.

Update with kib@ and jhb@ feedback

Jul 3 2018, 7:21 PM
emaste added a comment to D12298: libc: remove gets.

I requested an exp-run in PR222796. I think we could deal with most of the failures post-commit, but a few gcc ports fail and we should probably address those in advance.

Jul 3 2018, 7:18 PM

Jun 29 2018

emaste added a comment to D15141: Add support for ThunderX2 PCIe.

Any further comment @andrew?

Jun 29 2018, 7:36 PM
emaste committed rS335800: newvers.sh: avoid possibly invalid relative directory.
newvers.sh: avoid possibly invalid relative directory
Jun 29 2018, 6:45 PM
emaste committed rS335796: r335795 build fix: make static functions static.
r335795 build fix: make static functions static
Jun 29 2018, 2:51 PM

Jun 28 2018

emaste committed rS335775: Add stub arm64 linuxulator VDSO ldscript.
Add stub arm64 linuxulator VDSO ldscript
Jun 28 2018, 8:36 PM

Jun 27 2018

emaste added inline comments to D16033: Add LLVM BPF backend.
Jun 27 2018, 4:25 PM
emaste committed rS335702: Split kern_break from sys_break and use it in linuxulator.
Split kern_break from sys_break and use it in linuxulator
Jun 27 2018, 2:45 PM
emaste closed D16019: Split kern_break from sys_break and use it in linuxulator.
Jun 27 2018, 2:45 PM
emaste added inline comments to D16019: Split kern_break from sys_break and use it in linuxulator.
Jun 27 2018, 2:10 PM
emaste added a comment to D16019: Split kern_break from sys_break and use it in linuxulator.

I wonder if we also want to restore ibcs2's int return value?

Jun 27 2018, 12:46 PM
emaste added inline comments to D16019: Split kern_break from sys_break and use it in linuxulator.
Jun 27 2018, 12:43 PM
emaste updated the diff for D16019: Split kern_break from sys_break and use it in linuxulator.

Review feedback from @kib

Jun 27 2018, 12:42 PM

Jun 26 2018

emaste committed rS335676: Correct linprocfs/linsysfs arch check in r335672.
Correct linprocfs/linsysfs arch check in r335672
Jun 26 2018, 7:14 PM
emaste added a comment to D15687: libssp is part of GCC, not an independent library..

The libssp subdir should be added only if both MK_SSP and MK_GCC are true; someone who sets WITHOUT_SSP but WITH_GCC should not get it.

Jun 26 2018, 6:48 PM
emaste created D16019: Split kern_break from sys_break and use it in linuxulator.
Jun 26 2018, 6:17 PM
emaste committed rS335672: Build linprocfs and linsysfs also on arm64.
Build linprocfs and linsysfs also on arm64
Jun 26 2018, 4:50 PM
emaste added a comment to D15687: libssp is part of GCC, not an independent library..

For reference, BSDL __stack_chk_fail in Android https://android.googlesource.com/platform/bionic/+/ics-mr1-release/libc/bionic/ssp.c and NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/misc/stack_protector.c?annotate=1.9&only_with_tag=MAIN.

Jun 26 2018, 3:08 PM

Jun 25 2018

emaste committed rS335646: linux64: add arm64 linuxulator build details.
linux64: add arm64 linuxulator build details
Jun 25 2018, 8:33 PM
emaste closed D16011: Add arm64 target support to linux64 Makefile.
Jun 25 2018, 8:33 PM
emaste added inline comments to D16011: Add arm64 target support to linux64 Makefile.
Jun 25 2018, 8:02 PM
emaste committed rS335644: Quiet unused fn warning for linuxulator w/o legacy syscalls.
Quiet unused fn warning for linuxulator w/o legacy syscalls
Jun 25 2018, 7:25 PM
emaste created D16011: Add arm64 target support to linux64 Makefile.
Jun 25 2018, 7:15 PM
emaste accepted D16008: Allow the linuxulator to use a common cpu_set_syscall_retval.
Jun 25 2018, 5:44 PM
emaste added inline comments to D16008: Allow the linuxulator to use a common cpu_set_syscall_retval.
Jun 25 2018, 3:40 PM
emaste closed D15834: arm64 linuxulator: arm64 linux64 sysvec.
Jun 25 2018, 2:12 PM
emaste committed rS335639: Initial arm64 linuxulator linux_sysvec.
Initial arm64 linuxulator linux_sysvec
Jun 25 2018, 2:12 PM

Jun 22 2018

emaste updated the diff for D15968: newvers.sh: fix git false positive -dirty tag.

cd to the VCS topdir before invoking git diff

Jun 22 2018, 5:10 PM
emaste planned changes to D15968: newvers.sh: fix git false positive -dirty tag.

Hrm, this only works if git diff is run at the top level dir; needs further investigation.

Jun 22 2018, 4:55 PM
emaste added inline comments to D15968: newvers.sh: fix git false positive -dirty tag.
Jun 22 2018, 4:45 PM
emaste updated subscribers of D15968: newvers.sh: fix git false positive -dirty tag.
Jun 22 2018, 4:36 PM
emaste created D15968: newvers.sh: fix git false positive -dirty tag.
Jun 22 2018, 4:36 PM
emaste committed rS335521: MFC r335213: ldd: reference readelf instead of objdump in warning message.
MFC r335213: ldd: reference readelf instead of objdump in warning message
Jun 22 2018, 12:30 AM
emaste committed rS335520: MFC r335209: elf.5: add readelf cross-reference.
MFC r335209: elf.5: add readelf cross-reference
Jun 22 2018, 12:29 AM
emaste committed rS335519: MFC r335214: Correct kern.pre.mk comment: objcopy copies objects..
MFC r335214: Correct kern.pre.mk comment: objcopy copies objects.
Jun 22 2018, 12:28 AM
emaste committed rS335518: MFC r335221: Add deprecation notice in asf.8.
MFC r335221: Add deprecation notice in asf.8
Jun 22 2018, 12:27 AM

Jun 21 2018

emaste added a comment to D15952: Fix the Linux kernel version number calculation.

Bah, this one was named linux32_trans_osrel() so my search missed it. I'll add that to this patch as well.

Jun 21 2018, 11:01 PM
emaste accepted D15858: Fix output of linprocfs stat entry.
Jun 21 2018, 10:57 PM
emaste added inline comments to D15858: Fix output of linprocfs stat entry.
Jun 21 2018, 9:23 PM
emaste accepted D15952: Fix the Linux kernel version number calculation.

I'm fine with either check (<= 0 or @cem's version) with the same change applied to linux32_sysvec.c

Jun 21 2018, 8:45 PM
emaste added inline comments to D15952: Fix the Linux kernel version number calculation.
Jun 21 2018, 8:18 PM
emaste added inline comments to D15952: Fix the Linux kernel version number calculation.
Jun 21 2018, 8:07 PM
emaste added a comment to D15952: Fix the Linux kernel version number calculation.

I'm only finding two copies: sys/i386/linux/linux_sysvec.c and sys/amd64/linux/linux_sysvec.c but have updated the patch to fix those copies.

Jun 21 2018, 8:02 PM
emaste accepted D15952: Fix the Linux kernel version number calculation.

We will also need to address the four copies of linux_trans_osrel (but after further investigation if desired, I have not checked exactly how the value they calculate is used).

Jun 21 2018, 7:00 PM
emaste added a comment to D15952: Fix the Linux kernel version number calculation.
In D15952#337697, @cem wrote:

Right, I suggested using LINUX_KERNVER() to do this in my initial comment :-).

Jun 21 2018, 6:42 PM
emaste added a comment to D15952: Fix the Linux kernel version number calculation.

Ah, top level Linux Makefile emits a definition of KERNEL_VERSION using shifts.

Jun 21 2018, 6:38 PM
emaste added a comment to D15952: Fix the Linux kernel version number calculation.

Ah, I see the comment in the bug now - yes, if Linux uses shifts we should too. It would be good to put a reference in the commit that mentions the Linux macro/etc. that calculates it though.

Jun 21 2018, 6:31 PM
emaste added a comment to D15952: Fix the Linux kernel version number calculation.
In D15952#337607, @cem wrote:

Ed, can you explain it in a little more detail?

Jun 21 2018, 6:26 PM
emaste added a comment to D15858: Fix output of linprocfs stat entry.

See linux_map_osrel

This probably fits better with the existing code, and I'm inclined to move that direction. Is using linux_kernver() the way to access this value?

Jun 21 2018, 2:53 PM
emaste committed rS335482: Rename usr.bin/elfcopy to usr.bin/objcopy.
Rename usr.bin/elfcopy to usr.bin/objcopy
Jun 21 2018, 2:28 PM
emaste committed rS335464: Makefile.inc1: rename build metadata file to toolchain-metadata.mk.
Makefile.inc1: rename build metadata file to toolchain-metadata.mk
Jun 21 2018, 2:16 AM

Jun 20 2018

emaste added a comment to D15931: Add LPIT parsing to acpidump.

I'm still getting the handle of the process here. In my local repo, these are two separate git commits, are you saying the correct way to do this would have been two separate arc diff commands for each of my git commits?

Jun 20 2018, 8:00 PM
emaste added a comment to D15931: Add LPIT parsing to acpidump.

I took care of the NFIT man page addition in rS335459 - it was my fault :)

Jun 20 2018, 7:41 PM
emaste committed rS335459: acpidump.8: include NFIT in the man page list of tables.
acpidump.8: include NFIT in the man page list of tables
Jun 20 2018, 7:41 PM
emaste updated subscribers of D15931: Add LPIT parsing to acpidump.
Jun 20 2018, 6:59 PM
emaste committed rS335454: usr.bin/ar: use standard 2-Clause FreeBSD license.
usr.bin/ar: use standard 2-Clause FreeBSD license
Jun 20 2018, 6:43 PM
emaste accepted D15928: Add ThunderX2 CPU revision macro. Add ThunderX2 name in identcpu.c.
Jun 20 2018, 4:47 PM
emaste added a comment to D15904: As objdump is being phased out for 12.0, convert the small bit using it to using readelf..
In D15904#336964, @mat wrote:

What matters is that it is available on all supported releases :-)

Jun 20 2018, 2:58 PM
emaste updated subscribers of D15904: As objdump is being phased out for 12.0, convert the small bit using it to using readelf..

Another option: upon discussion with @dim we will likely end up installing llvm's llvm-objdump as objdump. It's broadly compatible, but the output format etc. might be slightly different.

Jun 20 2018, 2:17 PM
emaste added a comment to D15908: readelf: add `--print-file-name`.

On second thought I'm not sure about this: --print-file-name options typically prefix all output lines with the file name.

Jun 20 2018, 1:53 PM
emaste added a comment to D15904: As objdump is being phased out for 12.0, convert the small bit using it to using readelf..

This looks fine to me. It's probably worth adding a comment explaining the use of ${NONEXISTENT} though.

Jun 20 2018, 1:52 PM
emaste added a comment to D15904: As objdump is being phased out for 12.0, convert the small bit using it to using readelf..
In D15904#336884, @mat wrote:

Mmmm,

$ readelf --print-file-name -r /usr/bin/mktemp
readelf: unrecognized option `--print-file-name'
Jun 20 2018, 1:46 PM

Jun 19 2018

emaste committed rS335387: linuxulator: handle V3 capget/capset.
linuxulator: handle V3 capget/capset
Jun 19 2018, 9:26 PM
emaste closed D15887: linuxulator: handle V3 capget/capset.
Jun 19 2018, 9:26 PM
emaste committed rS335377: usr.bin/ar: remove incorrect SPDX tags.
usr.bin/ar: remove incorrect SPDX tags
Jun 19 2018, 5:30 PM
emaste committed rS335376: usr.bin/ar: use standard 2-Clause FreeBSD license.
usr.bin/ar: use standard 2-Clause FreeBSD license
Jun 19 2018, 5:28 PM
emaste closed D14561: usr.bin/ar: use standard 2-Clause FreeBSD license.
Jun 19 2018, 5:28 PM
emaste committed rS335375: MFC r334363: elfdump: chase ABI tag note name change from r232832.
MFC r334363: elfdump: chase ABI tag note name change from r232832
Jun 19 2018, 5:12 PM
emaste created D15908: readelf: add `--print-file-name`.
Jun 19 2018, 5:10 PM
emaste added a comment to D15904: As objdump is being phased out for 12.0, convert the small bit using it to using readelf..

Reported in the PR -- nm might be more useful for this script.

Jun 19 2018, 3:05 PM
emaste updated subscribers of D15834: arm64 linuxulator: arm64 linux64 sysvec.
Jun 19 2018, 1:03 PM
emaste accepted D15836: Rework how the ld link is handled in WORLDTMP from r322811..
Jun 19 2018, 2:27 AM
emaste added a comment to D15836: Rework how the ld link is handled in WORLDTMP from r322811..

LGTM

Jun 19 2018, 2:27 AM
emaste added inline comments to D15837: Rework WITHOUT_LLD/TOOLCHAIN fix from r327892 for cross-tools..
Jun 19 2018, 2:24 AM
emaste added inline comments to D15837: Rework WITHOUT_LLD/TOOLCHAIN fix from r327892 for cross-tools..
Jun 19 2018, 2:19 AM
emaste added a comment to D15837: Rework WITHOUT_LLD/TOOLCHAIN fix from r327892 for cross-tools..

Would it make sense to set some new variable based on TOOLS_PREFIX, MK_LLD, MK_LLD_BOOTSTRAP so that the same expression doesn't need to be repeated?

Jun 19 2018, 1:34 AM