History log of /freebsd/sys/riscv/conf/GENERIC (Results 1 – 25 of 126)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4f584512 17-Dec-2024 Ruslan Bukin <br@FreeBSD.org>

riscv: connect eswin to the build.

Connect Eswin IP drivers to the build.

Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D48119


# 71924545 10-Dec-2024 Julien Cassette <julien.cassette@gmail.com>

aw_gpio: support Allwinner D1 GPIO

The GPIO controls the multiplexing of the D1 pins to its peripherals,
so this adds the definitions needed by the aw_gpio driver to support
the D1.

Also, this modi

aw_gpio: support Allwinner D1 GPIO

The GPIO controls the multiplexing of the D1 pins to its peripherals,
so this adds the definitions needed by the aw_gpio driver to support
the D1.

Also, this modifies the aw_gpio driver to support the differences of
the D1 controller:

- pins can have up to 15 functions
- each port is mapped with an alignment of 0x30
- CFG registers have 4 bits per pin
- DRV registers have 4 bits per pin
- the offset of PULL registers is 0x24

Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D35593

show more ...


# 85471971 10-Dec-2024 Mitchell Horne <mhorne@FreeBSD.org>

riscv: enable Allwinner if_awg

Enable the driver and dependencies (aw_sid, nvmem). Add compat strings,
etc.

Found on the Allwinner D1.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differ

riscv: enable Allwinner if_awg

Enable the driver and dependencies (aw_sid, nvmem). Add compat strings,
etc.

Found on the Allwinner D1.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47923

show more ...


Revision tags: release/14.2.0, release/13.4.0
# 13d00a43 20-Jun-2024 Emmanuel Vadot <manu@FreeBSD.org>

conf: Add usbhid and hidbus to GENERIC* kernel configs

Include the new unified HID stack by default in generic.
This will allow us to migrate to the multi-stack hkbd and hms instead of
relying on th

conf: Add usbhid and hidbus to GENERIC* kernel configs

Include the new unified HID stack by default in generic.
This will allow us to migrate to the multi-stack hkbd and hms instead of
relying on the older ukbd and ums which only work with USB.
To test those drivers just add hw.usb.usbhid.enable=1 in loader.conf

Differential Revision: https://reviews.freebsd.org/D45658
Reviewed by: emaste, imp, wulf (all older version)
Sponsored by: Beckhoff Automation GmbH & Co. KG

show more ...


# 62cb6717 12-Jun-2024 Ruslan Bukin <br@FreeBSD.org>

riscv: include ahci device to GENERIC.

This is needed for bhyve guest VM.

Reviewed by: mhorne
Sponsored by: UKRI
Differential Revision: https://reviews.freebsd.org/D45497


Revision tags: release/14.1.0
# 4f8f9d70 23-Apr-2024 Lexi Winter <lexi@le-Fay.ORG>

sys: add conf/std.debug, generic debugging options

The new sys/conf/std.debug contains the list of debugging options
enabled by default in -CURRENT, so they don't need to be listed
individually in e

sys: add conf/std.debug, generic debugging options

The new sys/conf/std.debug contains the list of debugging options
enabled by default in -CURRENT, so they don't need to be listed
individually in every kernel config.

The enabled options are the set of all debug options which were enabled
for the GENERIC kernel on any platform. This means some architectures
now have debugging options enabled in GENERIC which weren't previously
enabled:

- amd64: [1]
- arm64: [2]
- arm: [2]. [3]
- i386: [1], [2]
- powerpc: [1], [2], [3]
- riscv: [2]

[1] ALT_BREAK_TO_DEBUGGER is now enabled.
[2] BUF_TRACKING, FULL_BUF_TRACKING, and QUEUE_MACRO_DEBUG_TRASH are now
enabled.
[3] DEADLKRES is now enabled.

While here, move the documentation for the (commented out) K*SAN options
for amd64 from GENERIC to NOTES.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1124

show more ...


# da48ddbf 04-Mar-2024 Mitchell Horne <mhorne@FreeBSD.org>

riscv: catch up with EARLY_PRINTF changes

On this platform early console access is possible via SBI. Follow recent
changes to EARLY_PRINTF option and give it a named constant.

Update the commented

riscv: catch up with EARLY_PRINTF changes

On this platform early console access is possible via SBI. Follow recent
changes to EARLY_PRINTF option and give it a named constant.

Update the commented option in GENERIC so that it compiles.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44100

show more ...


Revision tags: release/13.3.0
# 749e318d 27-Feb-2024 Mitchell Horne <mhorne@FreeBSD.org>

riscv: add starfive kernelconf template

Enable the Synopsis UART driver. Other drivers will be added in the
future.

Reviewed by: jrtc27
Sponsored by: The FreeBSD Foundatino
Differential Revision: h

riscv: add starfive kernelconf template

Enable the Synopsis UART driver. Other drivers will be added in the
future.

Reviewed by: jrtc27
Sponsored by: The FreeBSD Foundatino
Differential Revision: https://reviews.freebsd.org/D44105

show more ...


# 4a763910 05-Dec-2023 Mitchell Horne <mhorne@FreeBSD.org>

riscv: add some more drivers to GENERIC

Enable phy and regulator extres devices. These aren't needed for
existing SoC support, but are of general utility to FDT platforms and
enable out-of-tree work

riscv: add some more drivers to GENERIC

Enable phy and regulator extres devices. These aren't needed for
existing SoC support, but are of general utility to FDT platforms and
enable out-of-tree work.

Similarly, enable sdhci and mmc.

Reviewed by: jrtc27
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42913

show more ...


# e0833133 05-Dec-2023 Mitchell Horne <mhorne@FreeBSD.org>

riscv: remove commented lines from GENERIC

These are relics of development, when static compilation of certain
functionality/parameters was necessary. Today we have full module and
loader(8) support

riscv: remove commented lines from GENERIC

These are relics of development, when static compilation of certain
functionality/parameters was necessary. Today we have full module and
loader(8) support.

Reviewed by: jrtc27
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42912

show more ...


# a779fd06 05-Dec-2023 Mitchell Horne <mhorne@FreeBSD.org>

riscv: add more dump features to GENERIC

Match what is provided by default on other architectures.

Reviewed by: jrtc27
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision:

riscv: add more dump features to GENERIC

Match what is provided by default on other architectures.

Reviewed by: jrtc27
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42911

show more ...


# bd79cafe 05-Dec-2023 Mitchell Horne <mhorne@FreeBSD.org>

riscv: tweak SoC-specific conf organization

Hide some lines from the main GENERIC files by mimicking arm64's model.

I do not have any intention of creating a std.riscv or SIFIVE
configuration file

riscv: tweak SoC-specific conf organization

Hide some lines from the main GENERIC files by mimicking arm64's model.

I do not have any intention of creating a std.riscv or SIFIVE
configuration file at this time.

Reviewed by: jrtc27
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42910

show more ...


Revision tags: release/14.0.0
# 84d12f88 06-Oct-2023 Kristof Provost <kp@FreeBSD.org>

Add a COMPAT_FREEBSD14 kernel option

Use it wherever COMPAT_FREEBSD13 is currently specified.

Reviewed by: brooks, zlei
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision:

Add a COMPAT_FREEBSD14 kernel option

Use it wherever COMPAT_FREEBSD13 is currently specified.

Reviewed by: brooks, zlei
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D42100

show more ...


# 031beb4e 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# f78cc42f 03-May-2023 Jessica Clarke <jrtc27@FreeBSD.org>

riscv: Add pass(4) to GENERIC kernel

Whilst we don't have ahci(4) currently, we do have umass(4), and need
pass(4) for smartctl(8) to be able to talk to such devices.

Reported by: David Gilbert <dg

riscv: Add pass(4) to GENERIC kernel

Whilst we don't have ahci(4) currently, we do have umass(4), and need
pass(4) for smartctl(8) to be able to talk to such devices.

Reported by: David Gilbert <dgilbert@daveg.ca>
MFC after: 1 week

show more ...


# c32b6c74 25-Apr-2023 Mitchell Horne <mhorne@FreeBSD.org>

riscv: retire the FPE kernel option

We always build the kernel floating point support. Now that the
riscv64sf userspace variant has been removed the option is required for
correct operation.

Review

riscv: retire the FPE kernel option

We always build the kernel floating point support. Now that the
riscv64sf userspace variant has been removed the option is required for
correct operation.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39851

show more ...


Revision tags: release/13.2.0
# 3091d980 02-Apr-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

netlink: add NETLINK to the DEFAULTS for each architecture

NETLINK is going to replace rtsock and a number of other ioctl/sysctl interfaces.
In-base utilies such as route(8), netstat(8) and soon ifc

netlink: add NETLINK to the DEFAULTS for each architecture

NETLINK is going to replace rtsock and a number of other ioctl/sysctl interfaces.
In-base utilies such as route(8), netstat(8) and soon ifconfig(8)
are being converted to use netlink sockets as a transport between
kernel and userland.
In the current configuration, it still possible have the kernel
without NETLINK (`nooptions NETLINK`) and use the aforementioned
utilies by buidling the world with `WITHOUT_NETLINK` src.conf knob.
However, this approach does not cover the cases when person unintentionally
builds a custom kernel without netlink and tries to use the standard userland.

This change adds `option NETLINK` to the default options for each
architecture, fixing the custom kernel issue.
For arm, this change uses `std.armv6` and `std.armv7` (netlink already in)
instead of DEFAULTS.

Reviewed By: imp
Differential Revision: https://reviews.freebsd.org/D39339

show more ...


# ae4387d7 23-Feb-2023 Mike Karels <karels@FreeBSD.org>

riscv kernel config: clean up whitespace

Most options in kernel config files use "options<space><tab>OPTION".
This allows the option to be commented out without shifting columns.
A few options had t

riscv kernel config: clean up whitespace

Most options in kernel config files use "options<space><tab>OPTION".
This allows the option to be commented out without shifting columns.
A few options had two tabs, and some had spaces. Make them consistent.

show more ...


# e80699a8 31-Jan-2023 Alexander V. Chernikov <melifaro@FreeBSD.org>

netlink: add NETLINK to GENERIC.

This is a followup of 692e19cf5195 (add netlink to GENERIC@amd64).

Netlink is a communication protocol defined in RFC 3549. It is async,
TLV-based protocol, providi

netlink: add NETLINK to GENERIC.

This is a followup of 692e19cf5195 (add netlink to GENERIC@amd64).

Netlink is a communication protocol defined in RFC 3549. It is async,
TLV-based protocol, providing 1-1 and 1-many communications between kernel
and userland. Netlink is currently used in Linux kernel to modify, read and
subscribe for nearly all networking states. Interface state, addresses, routes,
firewall, rules, fibs, etc, are controlled via Netlink.

Netlink support was added in D36002. It has got a number of improvements and
first customers since then:
* net/bird2 got netlink support, enabling route multipath in FreeBSD
* netlink-based devd notifications are being worked on ( D37574 ).
* linux(4) fully supports and depends on Netlink

Enabling Netlink in GENERIC targets two goals.
The first one is to provide stability for the third-party userland applications,
so they can rely on the fact that netlink always exists since 14.0 and potentially 13.2.
Loadable module makes life of the app delepers harder. For example, `net/bird2` can be
either build with netlink or rtsock support, but not both.

The second goal is to enable gradual conversion of the base userland tools
to use netlink(4) interfaces. Converting tools like netstat (D36529), route,
ifconfig one-by-one simplifies testing and addressing the feedback.
Othewise, switching all base to use netlink at once may be too big of a leap.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37783

show more ...


Revision tags: release/12.4.0
# d4f6b11f 24-Oct-2022 Warner Losh <imp@FreeBSD.org>

DEFAULTS: move intrng to DEFAULTS for its platforms.

Sponsored by: Netflix
Reviewed by: manu, kevans
Differential Revision: https://reviews.freebsd.org/D37107


# ad20efdd 10-Oct-2022 Michael Tuexen <tuexen@FreeBSD.org>

Sync TCP related kernel config options

Add TCP_BLACKBOX to the remaining platforms (arm64, RISC-V) and add
TCP_RFC7413 to the remaining platform (RISC-V).

Reviewed by: rscheff@
MFC after: 1 week

Sync TCP related kernel config options

Add TCP_BLACKBOX to the remaining platforms (arm64, RISC-V) and add
TCP_RFC7413 to the remaining platform (RISC-V).

Reviewed by: rscheff@
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D36918

show more ...


# 3a91cece 14-Jun-2022 Mitchell Horne <mhorne@FreeBSD.org>

riscv: move GEOM_PART_GPT option to DEFAULTS

This is consistent with other architectures.


# 100f7956 13-Sep-2022 Jessica Clarke <jrtc27@FreeBSD.org>

riscv: Add da9063_pmic and da9063_rtc to GENERIC and NOTES

This is the PMIC on SiFive's HiFive Unmatched; add it and the RTC child
device driver so we have a working RTC.

Reviewed by: mhorne, imp
M

riscv: Add da9063_pmic and da9063_rtc to GENERIC and NOTES

This is the PMIC on SiFive's HiFive Unmatched; add it and the RTC child
device driver so we have a working RTC.

Reviewed by: mhorne, imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36201

show more ...


Revision tags: release/13.1.0
# 3a6f0bb2 13-Apr-2022 Julien Cassette <julien.cassette@gmail.com>

aw_wdog: support Allwinner D1 watchdog

This device is present on the Allwinner D1-based SoCs. Without this
driver, the watchdog timeout will trigger a reset a few seconds after
control is given to t

aw_wdog: support Allwinner D1 watchdog

This device is present on the Allwinner D1-based SoCs. Without this
driver, the watchdog timeout will trigger a reset a few seconds after
control is given to the kernel.

Reviewed By: manu, mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34749

show more ...


# 092a42a6 11-Jan-2022 Emmanuel Vadot <manu@FreeBSD.org>

riscv: conf: Remove options EXT_RESOURCES

It is now unused in kernel code.

Reviewed by: mhorne
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D33838


123456