Page MenuHomeFreeBSD

RISC-V: cleanup some GENERIC options
ClosedPublic

Authored by mhorne on Jun 1 2019, 7:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 2:52 AM
Unknown Object (File)
Sat, Nov 16, 5:40 AM
Unknown Object (File)
Fri, Nov 15, 12:41 AM
Unknown Object (File)
Tue, Nov 5, 10:07 AM
Unknown Object (File)
Oct 18 2024, 3:23 AM
Unknown Object (File)
Oct 2 2024, 9:12 PM
Unknown Object (File)
Oct 1 2024, 2:15 PM
Unknown Object (File)
Sep 30 2024, 11:32 AM
Subscribers

Details

Summary

Some of the config options that are disabled by default seem to be only
for historical reasons. Enable those that appear to no longer be
problematic. This includes WITH_CTF, STACK, and re-enabling blacklisted
kernel modules.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/riscv/conf/GENERIC
54 ↗(On Diff #58156)

It's a little unclear to me what is gained by enabling STACK when DDB is enabled. Would it be better to remove it instead?

55 ↗(On Diff #58156)

This could just as easily be enabled. Other GENERIC configs seem to be 50/50 on it.

sys/riscv/conf/GENERIC
54 ↗(On Diff #58156)

Yeah, there's no real separation. I've been confused by that before and it would be nice to fix. OTOH there is code that is conditional on STACK and not STACK || DDB, so I think it would be best to keep it enabled.

55 ↗(On Diff #58156)

Any idea why it was disabled? Do we now build successfully with GEOM_RAID configured? I would leave it enabled if we build and boot successfully, if only for consistency with other configs. If not, just remove it. All of that functionality is available as a loadable module as far as I know.

sys/riscv/conf/GENERIC
55 ↗(On Diff #58156)

No idea. It was like that for the initial RISC-V commit. It builds and boots fine so I will re-enable it.

sys/riscv/conf/GENERIC
29 ↗(On Diff #58156)

This line was here as a quick way to disable modules build to dramatically speed up a local build when you don't need modules. If you prefer to remove this line, then I am fine with this.

55 ↗(On Diff #58156)

I don't remember. It could be that it was not building with GEOM_RAID enabled initially.

This revision is now accepted and ready to land.Jun 3 2019, 2:44 PM
This revision was automatically updated to reflect the committed changes.