Bug 1794441 - [PATCH] Add support for riscv64
Summary: [PATCH] Add support for riscv64
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: riscv64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: TRACKER-fedora-riscv64
TreeView+ depends on / blocked
 
Reported: 2020-01-23 15:36 UTC by David Abdurachmanov
Modified: 2022-09-08 13:25 UTC (History)
23 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
kernel distgit changes (482.89 KB, patch)
2020-01-23 15:36 UTC, David Abdurachmanov
no flags Details | Diff

Description David Abdurachmanov 2020-01-23 15:36:34 UTC
Created attachment 1654873 [details]
kernel distgit changes

I would like to get Fedora/RISCV [0] kernel distgit changes merged. The changes have not changed in significant way for several kernel releases now. The built upstream kernel (a single image) works on QEMU virt machine and SiFive Unleashed board (physical RV64GC hardware).

Configuration wise there are two generic changes (touched other arches):

  configs/fedora/generic/CONFIG_ARM_TIMER_SP804
  configs/fedora/generic/CONFIG_NETFILTER_XT_TARGET_MASQUERADE

- We disable CONFIG_ARM_TIMER_SP804 for all arches expect ARM and ARM64. For some reason Kconfig constantly attempts to select it while building kernel for riscv. This should have no actual affect.

I also upstreamed a patch to add COMPILE_TEST: https://github.com/torvalds/linux/commit/dfc82faad72520769ca146f857e65c23632eed5a

- CONFIG_NETFILTER_XT_TARGET_MASQUERADE seems to be the only target not built from CONFIG_NETFILTER_XT_TARGET_* set thus I added it. This should have no actual affect as all arches already have "CONFIG_NETFILTER_XT_TARGET_MASQUERADE=m" in their configs thus it's auto-selected by Kconfig.

[0] https://fedoraproject.org/wiki/Architectures/RISC-V


Note You need to log in before you can comment on or make changes to this bug.