Page MenuHomeFreeBSD
Feed Advanced Search

Oct 29 2021

alfredo added a reviewer for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64: PowerPC.
Oct 29 2021, 2:59 PM · PowerPC
alfredo added inline comments to D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Oct 29 2021, 2:57 PM · PowerPC
alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

address reviewer comments

Oct 29 2021, 2:57 PM · PowerPC
alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

addresses commiter's suggestions

Oct 29 2021, 2:50 PM · PowerPC
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..

Hi! Any comments/remarks to the updated version?

Oct 29 2021, 9:33 AM · PowerPC, security, arm64

Oct 25 2021

mw added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 25 2021, 2:09 AM · PowerPC, security, arm64
mw updated the diff for D27666: Enable ASLR by default for 64-bit executables..
Oct 25 2021, 2:05 AM · PowerPC, security, arm64

Oct 23 2021

imp added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 23 2021, 1:11 AM · PowerPC, security, arm64

Oct 22 2021

emaste added inline comments to D27666: Enable ASLR by default for 64-bit executables..
Oct 22 2021, 11:22 PM · PowerPC, security, arm64

Oct 18 2021

mw added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#734443, @mw wrote:

Hi,

I'm refreshing the discussion. The current status is following:

  1. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.

It seems like a problem with the underlying AS{L}R implementation. HardenedBSD has not needed to make any changes to any application since it completed its PaX-inspired ASLR implementation in 2015. If applications experience issues with FreeBSD's AS{L}R implementation, it'd be safe to assume a problem with the AS{L}R implementation, not the application.

Oct 18 2021, 1:55 PM · PowerPC, security, arm64
lattera-gmail.com added a comment to D27666: Enable ASLR by default for 64-bit executables..
In D27666#734443, @mw wrote:

Hi,

I'm refreshing the discussion. The current status is following:

  1. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.
Oct 18 2021, 12:09 PM · PowerPC, security, arm64
mw added a comment to D27666: Enable ASLR by default for 64-bit executables..

I'm refreshing the discussion. The current status is following:

  1. PIE enabled by default in 64-builds.
  2. Ports' exp-run issues are fixed (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864)
  3. Fixes for the outstanding bugs ntpd (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253208) and Firefox/Thunderbird (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239873) landed on Friday. Hopefully this will cover all cases that might have remained unknown until now.
Oct 18 2021, 11:36 AM · PowerPC, security, arm64

Oct 14 2021

luporl closed D30797: powerpc64: make radix with superpages default.
Oct 14 2021, 4:17 PM · PowerPC
luporl closed D31232: powerpc64: fix OFWFB with Radix MMU.
Oct 14 2021, 1:46 PM · PowerPC

Oct 13 2021

luporl retitled D29000: Export RGB offsets with FBIO_GETRGBOFFS from ofwfb: export RGB offsets with FBIO_GETRGBOFFS to Export RGB offsets with FBIO_GETRGBOFFS.
Oct 13 2021, 5:34 PM · PowerPC

Oct 6 2021

luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
Oct 6 2021, 8:06 PM · PowerPC
luporl updated the diff for D29000: Export RGB offsets with FBIO_GETRGBOFFS.

Initialize RGB offsets along with palette.

Oct 6 2021, 8:01 PM · PowerPC

Sep 28 2021

luporl updated the diff for D31232: powerpc64: fix OFWFB with Radix MMU.

Address reviewer's comments

Sep 28 2021, 6:17 PM · PowerPC

Sep 24 2021

jhibbits added inline comments to D31232: powerpc64: fix OFWFB with Radix MMU.
Sep 24 2021, 2:27 PM · PowerPC

Sep 15 2021

alfredo accepted D30797: powerpc64: make radix with superpages default.

I tested this patch with D31232 few weeks ago on the Blackbird and it looks good to me once it's approved.

Sep 15 2021, 3:05 PM · PowerPC

Sep 8 2021

luporl closed D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 8 2021, 11:44 AM · PowerPC

Sep 6 2021

jhibbits accepted D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 6 2021, 6:57 PM · PowerPC
luporl updated the diff for D31775: powerpc64: fix radix on pseries TLB invalidation.
  • Address reviewer's comments
Sep 6 2021, 6:16 PM · PowerPC

Sep 4 2021

jhibbits closed D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Sep 4 2021, 4:35 PM · PowerPC

Sep 3 2021

alfredo closed D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 3 2021, 1:35 PM · PowerPC
alfredo added a comment to D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
In D31804#717525, @dim wrote:

Let's do this for now to get the PowerPC builds working again. But also be aware that the bisected upstream commit is only exposing an underlying issue: most likely the root cause is in the PowerPC backend.

Sep 3 2021, 12:59 PM · PowerPC

Sep 2 2021

dim accepted D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.

Let's do this for now to get the PowerPC builds working again. But also be aware that the bisected upstream commit is only exposing an underlying issue: most likely the root cause is in the PowerPC backend.

Sep 2 2021, 9:26 PM · PowerPC
alfredo added a comment to D31698: powerpc64*: fix for broken binaries generated by llvm12.

This is not suitable for the upstream. The root cause behind dso_local needs to be found and fixed.

Sep 2 2021, 7:09 PM · PowerPC
alfredo retitled D31804: llvm: fix/workaround liblzma incorrect compress/uncompress from llvm: fix/workaround liblzma incorrect encode/decode to llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 2 2021, 5:31 PM · PowerPC
alfredo requested review of D31804: llvm: fix/workaround liblzma incorrect compress/uncompress.
Sep 2 2021, 3:06 PM · PowerPC

Sep 1 2021

jhibbits added a comment to D31775: powerpc64: fix radix on pseries TLB invalidation.

Glad to see you solve the last piece of this puzzle!

Sep 1 2021, 7:31 PM · PowerPC
luporl requested review of D31775: powerpc64: fix radix on pseries TLB invalidation.
Sep 1 2021, 6:20 PM · PowerPC

Aug 27 2021

fbsd-phab_maskray.me added a comment to D31698: powerpc64*: fix for broken binaries generated by llvm12.

This is not suitable for the upstream. The root cause behind dso_local needs to be found and fixed.

Aug 27 2021, 3:34 PM · PowerPC
alfredo closed D31698: powerpc64*: fix for broken binaries generated by llvm12.
Aug 27 2021, 11:49 AM · PowerPC

Aug 26 2021

dim accepted D31698: powerpc64*: fix for broken binaries generated by llvm12.

I wouldn't say "reverts LLVM commit 2518433f861fcb877d0a7bdd9aec1aec1f77505a", but something like "amends LLVM commit 2518433f861fcb877d0a7bdd9aec1aec1f77505a", as we're adding code here. But otherwise, LGTM!

Aug 26 2021, 7:48 PM · PowerPC
alfredo retitled D31698: powerpc64*: fix for broken binaries generated by llvm12 from powerpc64*: fixfor broken binaries generated by llvm12 to powerpc64*: fix for broken binaries generated by llvm12.
Aug 26 2021, 7:42 PM · PowerPC
alfredo abandoned D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Abandoned in favor of D31698

Aug 26 2021, 7:35 PM · PowerPC
alfredo requested review of D31698: powerpc64*: fix for broken binaries generated by llvm12.
Aug 26 2021, 7:34 PM · PowerPC

Aug 23 2021

alfredo updated subscribers of D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

This will work for src itself, but I think it won't work with ports that use /usr/share/mk?

Aug 23 2021, 8:28 PM · PowerPC
emaste added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

Aug 23 2021, 3:26 PM · PowerPC
alfredo added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

is there a PR to reference here?

Aug 23 2021, 3:02 PM · PowerPC
alfredo updated the diff for D31646: powerpc64*: workaround for broken binaries generated with llvm12.

Move logic to BROKEN_OPTIONS as suggested by @jhibbits

Aug 23 2021, 2:45 PM · PowerPC
emaste added a comment to D31646: powerpc64*: workaround for broken binaries generated with llvm12.

is there a PR to reference here?

Aug 23 2021, 2:12 PM · PowerPC
alfredo edited reviewers for D31646: powerpc64*: workaround for broken binaries generated with llvm12, added: luporl; removed: leandro.lupori_gmail.com.
Aug 23 2021, 2:06 PM · PowerPC
alfredo requested review of D31646: powerpc64*: workaround for broken binaries generated with llvm12.
Aug 23 2021, 2:06 PM · PowerPC

Aug 2 2021

alfredo accepted D31232: powerpc64: fix OFWFB with Radix MMU.
Aug 2 2021, 12:30 PM · PowerPC

Jul 30 2021

luporl added inline comments to D31232: powerpc64: fix OFWFB with Radix MMU.
Jul 30 2021, 2:33 PM · PowerPC
alfredo added a comment to D31232: powerpc64: fix OFWFB with Radix MMU.

Great job luporl!

Jul 30 2021, 12:22 AM · PowerPC

Jul 29 2021

markmi_dsl-only.net abandoned D23376: Avoid having PowerMacs ending up with stuck-sleeping threads: force some boot-time TB value relationships across sockets/cores..

I no longer have access to any operational old-PowerMacs. (And never had access to any other example types of PowerPC/Power hardware.) As such, I'll no longer be involved in powerpc64 or 32-bit powerpc activities.

Jul 29 2021, 7:13 AM · PowerPC

Jul 23 2021

luporl added a comment to D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.

This approach of auto detecting the correct frame buffer physical address based on Vendor ID looks good.
It would help to make FreeBSD graphics work out of the box for Blackbird and Talos II machines, instead of forcing the user to figure out the physical address of its VGA adapter and pass it to the kernel manually, or else the system just hangs.
Ideally, Petitboot should fix it on their side, but I don't know if it will happen anytime soon, since Linux isn't affected, because it just talks directly to ASPEED video device, instead of relying on the framebuffer info exposed in the device tree.

Jul 23 2021, 2:49 PM · PowerPC
luporl added a reviewer for D29000: Export RGB offsets with FBIO_GETRGBOFFS: emaste.
Jul 23 2021, 12:26 PM · PowerPC
luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
Jul 23 2021, 12:26 PM · PowerPC
luporl added a comment to D30797: powerpc64: make radix with superpages default.

D31232 fixes OFWFB with radix. After it lands it should be safe to make radix default.

Jul 23 2021, 11:51 AM · PowerPC

Jul 20 2021

luporl requested review of D31232: powerpc64: fix OFWFB with Radix MMU.
Jul 20 2021, 1:16 PM · PowerPC

Jun 25 2021

alfredo abandoned D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

After discussion with @imp , we decided to try the "reroot" approach instead. It appears to be generic solution for other modules as well, and can be used on other platforms.
A new review entry will be created when it's ready for review.

Jun 25 2021, 11:47 AM · PowerPC

Jun 17 2021

alfredo requested changes to D30797: powerpc64: make radix with superpages default.

For some reason this breaks the boot with VGA console on Blackbird.
I'm using D30626 locally, but reverted it as well. With D30626 reverted and adding kernel parameter 'hw.ofwfb.physaddr=0x000600c280000000' the kernel hangs as well with no output.

Jun 17 2021, 7:58 PM · PowerPC
jhibbits accepted D30797: powerpc64: make radix with superpages default.

Looks fine to me.

Jun 17 2021, 4:49 PM · PowerPC
luporl requested review of D30797: powerpc64: make radix with superpages default.
Jun 17 2021, 11:20 AM · PowerPC

Jun 16 2021

jhibbits added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.
In D30793#692367, @imp wrote:

That is, I'd rather see ZFS64

include GENERIC64
options ZFS

etc

Jun 16 2021, 9:49 PM · PowerPC
imp added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

That is, I'd rather see ZFS64

include GENERIC64
options ZFS

etc

Jun 16 2021, 9:25 PM · PowerPC
imp added a comment to D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.

I'd really rather we didn't do this... I don't think it's a good idea....

Jun 16 2021, 9:24 PM · PowerPC
alfredo requested review of D30793: powerpc64, powerpc64le: ZFS support as kernel builtin.
Jun 16 2021, 9:21 PM · PowerPC

Jun 11 2021

alfredo updated the diff for D30626: ofwfb: fix vga/hdmi console during boot on powerpc64.
Jun 11 2021, 2:24 AM · PowerPC

May 10 2021

luporl added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
May 10 2021, 7:25 PM · PowerPC
emaste added inline comments to D29000: Export RGB offsets with FBIO_GETRGBOFFS.
May 10 2021, 6:13 PM · PowerPC

May 7 2021

alfredo closed D28947: [POWERPC] Switch endian of common dev information.
May 7 2021, 2:55 AM · PowerPC

May 4 2021

bryanv accepted D28947: [POWERPC] Switch endian of common dev information.
May 4 2021, 2:54 PM · PowerPC

May 1 2021

bdragon added a comment to D22818: [PowerPC] Add .iplt to powerpc linker scripts.

It ended up being not entirely necessary due to the linker behavior of forcing required sections into whatever segment is a natural fit for them, unless we explicitly break it with /DISCARD/.

May 1 2021, 10:38 PM · PowerPC
jhibbits added a comment to D22818: [PowerPC] Add .iplt to powerpc linker scripts.

Is this still needed? We've had ifuncs for a year now, with no problems.

May 1 2021, 9:49 PM · PowerPC

Apr 23 2021

jhibbits accepted D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Seems to work fine on my G4.

Apr 23 2021, 8:12 PM · PowerPC

Apr 20 2021

bdragon added inline comments to D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 9:35 PM · PowerPC
alfredo closed D26040: Fix mprutil endianness.
Apr 20 2021, 7:23 PM · PowerPC
luporl accepted D26040: Fix mprutil endianness.
Apr 20 2021, 7:22 PM · PowerPC
bdragon added inline comments to D29136: WIP: [PowerPC] PowerMac timebase sync for G4.
Apr 20 2021, 4:40 AM · PowerPC
bdragon updated the diff for D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Rebase against latest code.

Apr 20 2021, 4:39 AM · PowerPC
bdragon added a comment to D29136: WIP: [PowerPC] PowerMac timebase sync for G4.

Updating comments

Apr 20 2021, 4:21 AM · PowerPC
bdragon retitled D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends from [PowerPC] Fix outdated FP regs on fork() and friends to [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 4:06 AM · PowerPC
bdragon updated the test plan for D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 4:03 AM · PowerPC
bdragon requested review of D29851: [PowerPC] Fix outdated FP regs on fork(2) and friends.
Apr 20 2021, 4:01 AM · PowerPC

Apr 16 2021

alfredo closed D29063: [POWERPC] opal_console: fix serial console output corruption.
Apr 16 2021, 8:10 PM · PowerPC
luporl accepted D29063: [POWERPC] opal_console: fix serial console output corruption.
Apr 16 2021, 2:32 PM · PowerPC
alfredo updated the diff for D29063: [POWERPC] opal_console: fix serial console output corruption.

Break instead of return, keeping it consistent with previous code

Apr 16 2021, 12:05 PM · PowerPC

Apr 9 2021

luporl added inline comments to D29063: [POWERPC] opal_console: fix serial console output corruption.
Apr 9 2021, 12:09 PM · PowerPC

Apr 8 2021

alfredo added inline comments to D29063: [POWERPC] opal_console: fix serial console output corruption.
Apr 8 2021, 8:36 PM · PowerPC
alfredo updated the diff for D29063: [POWERPC] opal_console: fix serial console output corruption.

Update with reviewer comments
retested

Apr 8 2021, 8:36 PM · PowerPC

Apr 6 2021

luporl closed D29511: powerpc64: add missing TLB invalidations to radix.
Apr 6 2021, 11:43 AM · PowerPC

Apr 5 2021

jhibbits added a comment to D23376: Avoid having PowerMacs ending up with stuck-sleeping threads: force some boot-time TB value relationships across sockets/cores..

This is superseded by D29136.

Apr 5 2021, 6:47 PM · PowerPC
jhibbits accepted D29511: powerpc64: add missing TLB invalidations to radix.
Apr 5 2021, 6:45 PM · PowerPC
luporl updated the diff for D29511: powerpc64: add missing TLB invalidations to radix.

Address jhibbits' comments

Apr 5 2021, 6:00 PM · PowerPC
bdragon closed D29131: [PowerPC] Fix programmer's switch driver and add to GENERIC.
Apr 5 2021, 5:10 PM · PowerPC

Apr 2 2021

dgr_semihalf.com added a comment to D27666: Enable ASLR by default for 64-bit executables..

I created D29550, D29551, D29552 and D29553, which allow us to disable stack gap for ntpd during build.

Apr 2 2021, 2:14 PM · PowerPC, security, arm64

Apr 1 2021

markj closed D28580: powernv: Include NUMA locality information in the CPU topology.
Apr 1 2021, 2:32 PM · PowerPC
markj added a comment to D28580: powernv: Include NUMA locality information in the CPU topology.

Thanks for re-testing. I had tested it on my blackbird but it has only one socket populated.

Apr 1 2021, 2:26 PM · PowerPC
bdragon added inline comments to D29465: [PowerPC] Fix kboot bootloader.
Apr 1 2021, 2:53 AM · PowerPC
bdragon added a comment to D29465: [PowerPC] Fix kboot bootloader.

BTW I got a second PS3 in the mail today so I now have the ability to test both a modern OtherOS++ (Rebug 4.86.1) setup and a classic OtherOS on OFW 2.80 setup.

Apr 1 2021, 2:48 AM · PowerPC
bdragon added a comment to D29465: [PowerPC] Fix kboot bootloader.

I haven't had any luck doing raw kernel loads on mine. Are you trying with ELFv1 or ELFv2 kernels? I can't get either 12.2 or -current kernels to load properly, is there some special petitboot version you are using with yours?

Apr 1 2021, 2:42 AM · PowerPC
bdragon updated the diff for D29465: [PowerPC] Fix kboot bootloader.
  • Fix bug in host_open error path
  • Fix linker script problems
Apr 1 2021, 2:40 AM · PowerPC

Mar 31 2021

jhibbits added inline comments to D29511: powerpc64: add missing TLB invalidations to radix.
Mar 31 2021, 2:15 PM · PowerPC
luporl added reviewers for D29511: powerpc64: add missing TLB invalidations to radix: bdragon, jhibbits, PowerPC.
Mar 31 2021, 12:13 PM · PowerPC
bdragon accepted D28580: powernv: Include NUMA locality information in the CPU topology.

I did a full test run with the updated version of this patch in (among others) and it worked fine.

Mar 31 2021, 4:22 AM · PowerPC