Page MenuHomeFreeBSD
Feed Advanced Search

Jun 15 2019

emaste updated subscribers of D20650: vtfontcvt: improve BDF and hex font parsing.
Jun 15 2019, 12:35 PM
emaste created D20650: vtfontcvt: improve BDF and hex font parsing.
Jun 15 2019, 12:30 PM
emaste committed rS349053: MFC r348498: libatf: remove workaround not required after atf >= 0.18 update.
MFC r348498: libatf: remove workaround not required after atf >= 0.18 update
Jun 15 2019, 9:30 AM
emaste committed rS349052: MFC r348498: libatf: remove workaround not required after atf >= 0.18 update.
MFC r348498: libatf: remove workaround not required after atf >= 0.18 update
Jun 15 2019, 9:29 AM
emaste committed rS349051: MFC r348497: octusb: fix detach loop over USB ports.
MFC r348497: octusb: fix detach loop over USB ports
Jun 15 2019, 9:27 AM
emaste committed rS349050: MFC r348497: octusb: fix detach loop over USB ports.
MFC r348497: octusb: fix detach loop over USB ports
Jun 15 2019, 9:25 AM
emaste committed rS349049: vtfontcvt: add comments in add_glyph.
vtfontcvt: add comments in add_glyph
Jun 15 2019, 9:16 AM
emaste accepted D20644: MFC 348757,351225: acpi and nvdimm location_str updates.

It looks like Phabricator will report that there are property changes on the directory but does not show the details - you can confirm that svn diff shows this metadata change:

Jun 15 2019, 8:36 AM

Jun 12 2019

emaste added a comment to D18880: Extend mmap/mprotect API to specify the max page protections..

I believe that you should allocate a flag in the feature note and use it to opt-out (or opt-in ?) of max_prot.

Jun 12 2019, 10:00 PM
emaste added a comment to D20618: [archivers/nulib] PR 21519 - Use dirent.h instead of sys/dir.h.

I think @ota_j.email.ne.jp started working on patches before you removed these ports from the tree.

Jun 12 2019, 7:55 AM

Jun 9 2019

emaste added a comment to D20562: The efifat files are no longer used: remove the code to build them..

There's random bits of boot1.efifat lore scattered around, e.g. Google turned up https://ashish.blog/2018/06/freebsd-uefi-boot/ and https://gist.github.com/tehpeh/a5676b711db94f6c1b9af1ec3356a13c. Hopefully a relnotes entry and a mailing-list heads-up is sufficiently discoverable by authors of those sorts of docs.

Jun 9 2019, 3:43 PM
emaste accepted D20562: The efifat files are no longer used: remove the code to build them..

I approve, this should go.

Jun 9 2019, 3:39 PM

Jun 8 2019

emaste committed rS348796: vtfontcvt: allow out-of-order glyphs.
vtfontcvt: allow out-of-order glyphs
Jun 8 2019, 8:26 AM

Jun 6 2019

emaste accepted D20533: Add a basic clang-format configuration file.
Jun 6 2019, 1:20 PM
emaste added a comment to D20533: Add a basic clang-format configuration file.

Perhaps we should put a comment at the beginning of this file explaining that it's not a perfect match for style(9) and providing an example or two of how it can be used?

Jun 6 2019, 1:16 PM

Jun 5 2019

emaste committed rS348692: vtfontcvt: exit on error if the input font has too many glyphs.
vtfontcvt: exit on error if the input font has too many glyphs
Jun 5 2019, 3:24 PM
emaste committed rS348689: Use CLANG knob to remove llvm-symbolizer man page.
Use CLANG knob to remove llvm-symbolizer man page
Jun 5 2019, 2:08 PM
emaste committed rS348677: move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc.
move llvm-ar and llvm-nm to appropriate location in OptionalObsoleteFiles.inc
Jun 5 2019, 12:55 AM

Jun 4 2019

emaste committed rS348668: vtfontcvt: zero memory allocated by xmalloc.
vtfontcvt: zero memory allocated by xmalloc
Jun 4 2019, 7:39 PM
emaste committed rS348662: vtfontcvt: include width and height in verbose info.
vtfontcvt: include width and height in verbose info
Jun 4 2019, 6:55 PM
emaste committed rS348661: vtfontcvt: rework height/width setting.
vtfontcvt: rework height/width setting
Jun 4 2019, 6:50 PM
emaste committed rS348656: vtfontcvt: unwrap a line per style(9).
vtfontcvt: unwrap a line per style(9)
Jun 4 2019, 6:32 PM
emaste committed rS348653: vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants.
vtfontcvt: use VFNT_MAP_{NORMAL|BOL}_RH symbolic constants
Jun 4 2019, 6:26 PM
emaste accepted D20473: strip: Use libelftc_string_table to manage the section string table..
Jun 4 2019, 6:17 PM
emaste committed rS348651: MFC r348059: vt efifb: add suspend/resume calls.
MFC r348059: vt efifb: add suspend/resume calls
Jun 4 2019, 6:11 PM
emaste added a comment to D20347: efirt: Add efi_memory_attribute.

Tested on X86? I had an earlier version of this in my WIP tree for testing on eMAG/ThunderX2 (where it worked) but encountered a panic on x86. I do have some other WIP in that tree though.

Jun 4 2019, 5:43 PM
emaste accepted D20443: libelf: Use a red-black tree to manage sections.
Jun 4 2019, 3:57 PM
emaste updated the diff for D20516: readelf: decode NT_GNU_PROPERTY_TYPE_0 / GNU_PROPERTY_X86_FEATURE_1_AND.

Address issues reported by markj

Jun 4 2019, 3:57 PM
emaste added a comment to D20473: strip: Use libelftc_string_table to manage the section string table..

The previous implementation does suffix matching, which libelftc does not. However, I think this is fine; in general it is unlikely that one section's name is a suffix of another. For .strtab we'd want to do suffix matching.

Jun 4 2019, 3:53 PM
emaste accepted D20471: strip: Use a lookup instead of a linear search through sections..

By inspection existing elf_getscn mirrors the logic of the existing while loop here

Jun 4 2019, 3:50 PM
emaste added a comment to D20443: libelf: Use a red-black tree to manage sections.

sys/tree.h works on all supported operating systems? (for upstreaming)

Jun 4 2019, 3:50 PM
emaste updated subscribers of D20443: libelf: Use a red-black tree to manage sections.
Jun 4 2019, 3:47 PM
emaste closed D20515: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits.

Committed as rS348628, forgot review tag.

Jun 4 2019, 3:45 PM
emaste committed rS348628: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits.
elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits
Jun 4 2019, 3:44 PM
emaste created D20516: readelf: decode NT_GNU_PROPERTY_TYPE_0 / GNU_PROPERTY_X86_FEATURE_1_AND.
Jun 4 2019, 3:37 PM
emaste created D20515: elf_common: add GNU note types and NT_GNU_PROPERTY_TYPE_0 bits.
Jun 4 2019, 3:33 PM
emaste committed rS348612: style(9) / tidying for r348611.
style(9) / tidying for r348611
Jun 4 2019, 1:45 PM
emaste added a comment to D20508: Use parse_integer to avoid sign extension..

LGTM

Jun 4 2019, 1:28 PM
emaste added a comment to D20511: Expose build-ID through `uname -b`.

Submitted by: @ali_mashtizadeh.com
Relnotes: Yes
Event: Waterloo Hackathon 2019

Jun 4 2019, 1:13 PM
emaste created D20511: Expose build-ID through `uname -b`.
Jun 4 2019, 1:12 PM
emaste committed rS348611: Expose the kernel's build-ID through sysctl.
Expose the kernel's build-ID through sysctl
Jun 4 2019, 1:07 PM
emaste closed D20326: Expose the buildid hash through sysctl.
Jun 4 2019, 1:07 PM
emaste added a comment to D20326: Expose the buildid hash through sysctl.

I will commit the uname changes separately

Jun 4 2019, 1:07 PM
emaste committed rS348610: build llvm-ar and llvm-nm with Clang (promote out of CLANG_EXTRAS).
build llvm-ar and llvm-nm with Clang (promote out of CLANG_EXTRAS)
Jun 4 2019, 1:01 PM
emaste committed rS348609: Makefile.inc1: clean up stale dependency hacks.
Makefile.inc1: clean up stale dependency hacks
Jun 4 2019, 12:56 PM

Jun 1 2019

emaste committed rS348498: libatf: remove workaround not required after atf >= 0.18 update.
libatf: remove workaround not required after atf >= 0.18 update
Jun 1 2019, 6:26 PM
emaste committed rS348497: octusb: fix detach loop over USB ports.
octusb: fix detach loop over USB ports
Jun 1 2019, 6:19 PM
emaste accepted D20484: llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG.
Jun 1 2019, 4:27 PM

May 31 2019

emaste added a comment to D20480: Defer evaluation of modified until after it's set.

No objection but I'm generally not a fan of the deferred evaluation; what about just setting include_metadata=yes/no/if-modified and making the test something like
if [${include_metadata} = yes || (${include_metadata} = if-modified && ${modified} = yes)]

May 31 2019, 4:59 PM
emaste updated subscribers of D19849: Reorg newvers.sh to eliminate VARS_ONLY and do things more directly.
May 31 2019, 1:56 PM
emaste committed rS348456: newvers.sh correct typo from r348175.
newvers.sh correct typo from r348175
May 31 2019, 1:54 PM
emaste added a comment to D20479: Delete sys/dir.h which was deprecated since 1997..

What do you mean by "an exp-run?" I had made buildworld and buildkernel successful on i386. Universe will be better but I don't have enough disk space.

Original PR suggest visit and fix all of ports. It's been over 20 years since taken out of POSIX mentioned PR, I hope most of ports are sys/dir.h clean.

May 31 2019, 2:44 AM
emaste added a comment to D20479: Delete sys/dir.h which was deprecated since 1997..

Should request an exp-run for completeness sake.

May 31 2019, 1:45 AM

May 30 2019

emaste added a comment to D20475: readelf: Make -t imply -S, for compatibility with GNU binutils..

presumably you want to compare readelf -t too :)

May 30 2019, 6:41 PM
emaste added a comment to D20475: readelf: Make -t imply -S, for compatibility with GNU binutils..

elftoolchain readelf and binutils readelf produce identical formating for readelf -St /lib/libc.so.7.

presumably you want to compare readelf -t too :)

May 30 2019, 6:41 PM
emaste accepted D20475: readelf: Make -t imply -S, for compatibility with GNU binutils..
May 30 2019, 6:39 PM
emaste accepted D20472: libelftc: Minor cleanups..
May 30 2019, 6:16 PM
emaste accepted D20474: libelftc: Add man page mlinks..
May 30 2019, 6:15 PM
emaste updated subscribers of D20462: newvers: append commit count to uname version string.
May 30 2019, 1:58 PM

May 29 2019

emaste updated subscribers of D20462: newvers: append commit count to uname version string.

In a fork based on our svn2git mirror (i.e., based on https://github.com/freebsd/freebsd master branch) this will produce a version number like: r348309+937a4a817304-c260384(wipbsd.20190326)-dirty. We'd generate e.g. r348309=937a4a817304-c360384(test) in a git svn-based fork.

May 29 2019, 1:57 PM
emaste created D20462: newvers: append commit count to uname version string.
May 29 2019, 1:49 PM
emaste accepted D20430: posixshmcontrol(1) page.

Ok, LGTM; I'm not an expert on man page markup but can be adjusted after commit if needed.

May 29 2019, 12:57 PM
emaste added a comment to D20448: style.9: Codify tolerance for eliding blank lines.

The very first version had:

f3()
{
					/* Empty line if no variables. */
	return (1);
}
May 29 2019, 12:07 AM

May 28 2019

emaste added inline comments to D20448: style.9: Codify tolerance for eliding blank lines.
May 28 2019, 7:19 PM
emaste accepted D20444: strip: Optimize for insertions at the tail of the section list..

LGTM

May 28 2019, 4:48 PM
emaste accepted D20445: strip: Remove unneeded memset..
May 28 2019, 4:40 PM
emaste committed rS348325: MFC r348069: bootpd: avoid the same error indication for different issues.
MFC r348069: bootpd: avoid the same error indication for different issues
May 28 2019, 1:15 PM

May 27 2019

emaste added inline comments to D20430: posixshmcontrol(1) page.
May 27 2019, 6:14 PM
emaste accepted D20418: arm64 gicv3_its: Fix a typo.
May 27 2019, 2:33 PM
emaste accepted D20405: kldxref(8): Sort MDT_MODULE info first in linker.hints output.

LGTM

May 27 2019, 1:57 PM
emaste accepted D20367: Add missing powerpc64 relocation support to libdwarf.
May 27 2019, 12:04 PM · PowerPC

May 24 2019

emaste added a comment to D18832: NTB Perf: Tool to measure performance of NTB hw drivers.

Can you provide a link to the original source file, and make a second review (or link to a diff) that shows the delta between upstream and your ported version?

May 24 2019, 9:05 PM
emaste committed rS348239: nanobsd: exclude .git (and .hg) in the same places we exclude .svn.
nanobsd: exclude .git (and .hg) in the same places we exclude .svn
May 24 2019, 3:21 PM
emaste committed rS348237: MFC r346598: Enable Mellanox drivers (modules) on AArch64.
MFC r346598: Enable Mellanox drivers (modules) on AArch64
May 24 2019, 1:40 PM

May 23 2019

emaste added inline comments to D20378: [PowerPC64] LLVM as default toolchain for PowerPC and PowerPC64.
May 23 2019, 6:31 PM · PowerPC
emaste added a comment to D20383: [PowerPC64] starting from FreeBSD 13.0, default 64-bit ELF ABI is V2 (ELFv2).

Of course this will need to go upstream as well.

May 23 2019, 4:36 PM · PowerPC
emaste added a comment to D20357: Use ACPI SPCR on x86.

please just commit with the baudrate 0 comment preserved

May 23 2019, 4:22 PM
emaste added a comment to D20337: [PowerPC64] backport of LLVM fixes in preparation for building FreeBSD/PowerPC64.

Do we currently have changes relative to upstream in any of the files affected by this review? (Knowing there are none, or what they are, may be useful in the future when we import 9.0.)

May 23 2019, 2:59 PM
emaste added a comment to D20378: [PowerPC64] LLVM as default toolchain for PowerPC and PowerPC64.

All known outstanding issues are recorded as parents of this review?

May 23 2019, 2:55 PM · PowerPC
emaste added a comment to D20367: Add missing powerpc64 relocation support to libdwarf.

LGTM although I am curious how _dwarf_get_reloc_type actually gets used?

May 23 2019, 1:14 AM · PowerPC
emaste added a comment to D20357: Use ACPI SPCR on x86.

That same kernel did not boot on ThunderX2

May 23 2019, 12:55 AM
emaste updated subscribers of D20367: Add missing powerpc64 relocation support to libdwarf.
May 23 2019, 12:49 AM · PowerPC

May 22 2019

emaste updated subscribers of D20357: Use ACPI SPCR on x86.

Tested on Ampere eMAG (along with WIP I brought over from @manu).

May 22 2019, 9:04 PM

May 21 2019

emaste added a comment to D13484: swapoff to release multiple swap blocks at a time.

@ota_j.email.ne.jp will you update/address the open questions?

May 21 2019, 9:38 PM
emaste committed rS348069: bootpd: avoid the same error indication for different issues.
bootpd: avoid the same error indication for different issues
May 21 2019, 9:27 PM
emaste added a comment to D20326: Expose the buildid hash through sysctl.

I will pick up whitespace cleanup, .Dd bump etc. for commit

May 21 2019, 8:05 PM
emaste updated subscribers of D20324: Introduce the ARB tree(3) macros.

At the 2019 Waterloo Hackathon @markj offered to try to take a look

May 21 2019, 7:20 PM
emaste updated subscribers of D20072: Fix UART NS8250 detecting parity and framing errors.

CC folks either in IRC discussion or in person at Waterloo Hackathon 2019

May 21 2019, 6:51 PM
emaste committed rS348059: vt efifb: add suspend/resume calls.
vt efifb: add suspend/resume calls
May 21 2019, 6:42 PM

May 20 2019

emaste added a comment to D20326: Expose the buildid hash through sysctl.

Sample output:
root@skylake8:~ # uname -a
FreeBSD skylake8.rcs.uwaterloo.ca 13.0-CURRENT FreeBSD 13.0-CURRENT #9 da147860ca7(master)-dirty: Mon May 20 17:32:20 EDT 2019 ali@strange.rcs.uwaterloo.ca:/build/ali/obj/working/freebsd-dev/amd64.amd64/sys/GENERIC amd64 42e907d740dd9560a2dfd7187eee20e41e9fbd9f

May 20 2019, 9:46 PM
emaste added a comment to D18291: Align mips crt .init/.fini sections to 4 bytes instead of 16.
In D18291#438254, @jhb wrote:

I'm pretty sure we use 4byte alignment (.balign 4) to ensure its aligned to one instruction.

May 20 2019, 9:44 PM
emaste added a comment to D18291: Align mips crt .init/.fini sections to 4 bytes instead of 16.

From the gas manual,

The way the required alignment is specified varies from system to system. For the a29k, hppa, m86k, m88k, w65, sparc, and Hitachi SH, and i386 using ELF format, the first expression is the alignment request in bytes. For example `.align 8' advances the location counter until it is a multiple of 8. If the location counter is already a multiple of 8, no change is needed.

For other systems, including the i386 using a.out format, it is the number of low-order zero bits the location counter must have after advancement. For example `.align 3' advances the location counter until it a multiple of 8. If the location counter is already a multiple of 8, no change is needed.

May 20 2019, 9:40 PM
emaste added inline comments to D20326: Expose the buildid hash through sysctl.
May 20 2019, 9:28 PM
emaste added a comment to D20326: Expose the buildid hash through sysctl.

will also want a uname.3 update

May 20 2019, 9:10 PM
emaste updated subscribers of D20326: Expose the buildid hash through sysctl.
May 20 2019, 9:00 PM
emaste closed D18291: Align mips crt .init/.fini sections to 4 bytes instead of 16.
May 20 2019, 8:48 PM
emaste committed rS348008: mips: remove 16-byte alignment from .init and .fini epilogues.
mips: remove 16-byte alignment from .init and .fini epilogues
May 20 2019, 8:48 PM
emaste added a comment to D20321: emulators/linux_base-c7: Don't create /compat/linux/dev.

Do we not just mount another devfs at compat/linux/dev in some cases?

May 20 2019, 8:21 PM
emaste added a comment to D20116: Introduce <sys/qmath.h>.

Functions which create/initialise a Q number.

May 20 2019, 8:15 PM
emaste added a comment to D20124: Mention atf(7) in tests(7).

I like this.

May 20 2019, 8:13 PM