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)
Sat, Apr 27, 3:58 PM
Unknown Object (File)
Jan 30 2024, 12:10 PM
Unknown Object (File)
Dec 20 2023, 6:46 AM
Unknown Object (File)
Sep 26 2023, 2:48 AM
Unknown Object (File)
Sep 1 2023, 1:26 AM
Unknown Object (File)
Sep 1 2023, 1:24 AM
Unknown Object (File)
Sep 1 2023, 1:24 AM
Unknown Object (File)
Sep 1 2023, 1:21 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.