Commit eb86794
Charles Mirabile
Initial bringup of riscv64 for centos
JIRA: https://issues.redhat.com/browse/RHEL-101827
Upstream Status: RHEL only
A block for RISC-V is added to priority.rhel in order to start generating
configs for riscv64 and kernel.spec.template is upated to add the arch.
I then repeatedly ran `make -C redhat/ rh-configs` and fixed the errors
from the process_configs.sh script due to unset or contradictory config
options by specifying their values.
The initial target is only the QEMU `virt` machine so CONFIG_ARCH_VIRT is
the only CONFIG_ARCH_* config that I set.
In general while picking values, I looked at the current setting for
fedora in ark on riscv64, and on other arches for cs10 erring on the
side of turning things off for the time being.
Where the config matched what was already in fedora for ark, I put it in
the generic/riscv/riscv64 folder, and where a cs10 specific deviation was
needed (either because I wanted a different value, or because in ark /
fedora, a default was set for all arches while in the rhel flavor there
was no such default) I put the config in rhel/generic/riscv/riscv64.
The only configs I needed to specifically go back and enable in order to
get a kernel usable for basic testing with QEMU were CONFIG_VIRTIO_MMIO
in order to detect the virtio network devices and CONFIG_PCI_HOST_GENERIC
to enable the pci controller used by qemu.
Upstream-status: RHEL-only
Co-developed-by: Jennifer Berringer <jberring@redhat.com>
Signed-off-by: Jennifer Berringer <jberring@redhat.com>
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>1 parent 79e6ea8 commit eb86794
File tree
109 files changed
+119
-14
lines changed- redhat
- configs
- common/generic
- riscv/riscv64
- rhel/generic/riscv/riscv64
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
109 files changed
+119
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
54 | 50 | | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 56 | + | |
65 | 57 | | |
66 | 58 | | |
67 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments