Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: first attempt to enable jh7100 #2

Closed
wants to merge 435 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
435 commits
Select commit Hold shift + click to select a range
3f92606
kvfree_rcu: Use same set of GFP flags as does single-argument
urezki Jan 29, 2021
1016c0f
drm/virtio: fix possible leak/unlock virtio_gpu_object_array
xndcn Mar 5, 2021
4f8058c
scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
ChaitanayaKulkarni Feb 28, 2021
2eeccff
media: ite-cir: check for receive overflow
seanyoung Feb 22, 2021
6802047
media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
julianbraha Feb 25, 2021
08acc77
media: drivers/media/usb: fix memory leak in zr364xx_probe
pskrgag Mar 1, 2021
a6b4763
media: cx23885: add more quirks for reset DMA on some AMD IOMMU
b-rad-NDi Jan 26, 2021
115a576
media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
pinchartl Feb 15, 2021
c8baf99
atomisp: don't let it go past pipes array
mchehab Mar 12, 2021
348c35a
power: supply: bq27xxx: fix power_avg for newer ICs
tq-schifferm Mar 3, 2021
381d0d2
extcon: arizona: Fix some issues when HPDET IRQ fires after the jack …
jwrdegoede Mar 7, 2021
0e5d8d3
extcon: arizona: Fix various races on driver unbind
jwrdegoede Mar 7, 2021
54f1727
media: venus: core, venc, vdec: Fix probe dependency error
0xB0D Feb 5, 2021
2b17e0e
s390/qdio: let driver manage the QAOB
julianwiedmann Jan 30, 2021
b13bc77
media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
DanielNiv Mar 11, 2021
b8d7e79
media: gspca/sq905.c: fix uninitialized variable
Mar 11, 2021
889cb8b
media: v4l2-ctrls.c: initialize flags field of p_fwht_params
Mar 12, 2021
599edbf
power: supply: Use IRQF_ONESHOT
Mar 22, 2021
219db95
backlight: qcom-wled: Use sink_addr for sync toggle
oshmoun Mar 14, 2021
d736c4f
backlight: qcom-wled: Fix FSC update issue for WLED5
I-n-o-k Mar 18, 2021
39ba18a
drm/amdgpu: enable retry fault wptr overflow
PhilipYangA Sep 22, 2020
e58dd0a
drm/amdgpu: enable 48-bit IH timestamp counter
alexsierrag Jan 15, 2021
41db62b
drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
jokim-amd Jan 27, 2021
9069b1b
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
Mar 3, 2021
7a12075
drm/amd/display: Align cursor cache address to 2KB
Feb 27, 2021
02cdf70
drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
Mar 9, 2021
f48cd93
drm/amd/pm: fix workload mismatch on vega10
Mar 16, 2021
0d2d957
drm/amd/display: Fix UBSAN warning for not a valid value for type '_B…
Mar 2, 2021
4a3fc45
drm/amd/display: DCHUB underflow counter increasing in some scenarios
AMD-aric Mar 8, 2021
563ac62
drm/amd/display: fix dml prefetch validation
Mar 4, 2021
b454762
drm/amd/display: Fix potential memory leak
Mar 9, 2021
bc1434f
scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
bvanassche Mar 20, 2021
15966e6
drm/vkms: fix misuse of WARN_ON
dvyukov Mar 20, 2021
6d1689f
block, bfq: fix weight-raising resume with !low_latency
Algodev-github Mar 4, 2021
1bb697e
scsi: qla2xxx: Fix use after free in bsg
Mar 29, 2021
fc1077b
mmc: sdhci-esdhc-imx: validate pinctrl before use it
MrVan Feb 25, 2021
e5ffc70
mmc: sdhci-pci: Add PCI IDs for Intel LKF
ahunter6 Mar 22, 2021
e67ddeb
mmc: sdhci-brcmstb: Remove CQE quirk
alcooper Mar 25, 2021
0ec9e97
ata: ahci: Disable SXS for Hisilicon Kunpeng920
Mar 12, 2021
b70e92f
drm/komeda: Fix bit check to import to value of proper type
carstenhaitzler Feb 4, 2021
20eac50
nvmet: return proper error code from discovery ctrl
puhou Mar 31, 2021
fa74403
selftests/resctrl: Enable gcc checks to detect buffer overflows
fyu1 Mar 17, 2021
1afd431
selftests/resctrl: Fix compilation issues for global variables
fyu1 Mar 17, 2021
6055a8a
selftests/resctrl: Fix compilation issues for other global variables
fyu1 Mar 17, 2021
c3b5a2c
selftests/resctrl: Clean up resctrl features check
fyu1 Mar 17, 2021
aa177a5
selftests/resctrl: Fix missing options "-n" and "-p"
fyu1 Mar 17, 2021
477c435
selftests/resctrl: Use resctrl/info for feature detection
fyu1 Mar 17, 2021
bf81fc2
selftests/resctrl: Fix incorrect parsing of iMC counters
fyu1 Mar 17, 2021
3a200c6
selftests/resctrl: Fix checking for < 0 for unsigned values
fyu1 Mar 17, 2021
7d8463c
power: supply: cpcap-charger: fix small mistake in current to registe…
IMbackK Jan 17, 2021
b494d1b
power: supply: cpcap-charger: Add usleep to cpcap charger to avoid us…
IMbackK Jan 17, 2021
d218413
scsi: smartpqi: Use host-wide tag space
Mar 11, 2021
30a5371
scsi: smartpqi: Correct request leakage during reset operations
Mar 11, 2021
ae8c6ad
scsi: smartpqi: Add new PCI IDs
Mar 11, 2021
82fa26b
scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
Mar 31, 2021
56fd1aa
media: em28xx: fix memory leak
musamaanjum Mar 24, 2021
dd06898
media: vivid: update EDID
Mar 25, 2021
7de578c
media: uvcvideo: Fix XU id print in forward scan
pinchartl Feb 21, 2021
4af1652
media: uvcvideo: Support devices that report an OT as an entity source
pinchartl Mar 8, 2021
6281cd9
drm/msm/a6xx: Fix perfcounter oob timeout
Apr 5, 2021
1cf96e5
drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
Mar 5, 2021
ce1e481
clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
Apr 6, 2021
15efbbe
power: supply: generic-adc-battery: fix possible use-after-free in ga…
Apr 7, 2021
3a8aa84
power: supply: s3c_adc_battery: fix possible use-after-free in s3c_ad…
Apr 7, 2021
1fcbb14
media: tc358743: fix possible use-after-free in tc358743_remove()
Apr 6, 2021
2a52254
media: adv7604: fix possible use-after-free in adv76xx_remove()
Apr 6, 2021
8d57011
media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remo…
Apr 6, 2021
98e887f
media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
Apr 6, 2021
21b50a6
media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
Apr 6, 2021
c9c8b61
media: platform: sti: Fix runtime PM imbalance in regs_show
dinghaoliu Apr 7, 2021
bdc41f7
media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
dinghaoliu Apr 7, 2021
d72fa22
media: dvb-usb: fix memory leak in dvb_usb_adapter_init
pskrgag Mar 28, 2021
36a2d6d
media: gscpa/stv06xx: fix memory leak
Apr 8, 2021
91ef133
sched/fair: Bring back select_idle_smt(), but differently
rikvanriel Mar 26, 2021
ce0da00
sched/fair: Ignore percpu threads for imbalance pulls
Apr 7, 2021
9d105ee
drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
MarijnS95 Apr 6, 2021
318e8c3
drm/msm/mdp5: Do not multiply vclk line count by 100
MarijnS95 Apr 6, 2021
d272c70
drm/amdgpu/ttm: Fix memory leak userptr pages
Mar 17, 2021
fc3393e
drm/radeon/ttm: Fix memory leak userptr pages
Mar 18, 2021
c86e38a
drm/amd/display: Fix debugfs link_settings entry
Mar 9, 2021
15433cb
drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
Mar 1, 2021
819dc7e
drm/radeon: don't evict if not initialized
lzto Mar 21, 2021
d99753e
drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
jinsdb Mar 21, 2021
fc56fb4
amdgpu: avoid incorrect %hu format string
arndb Mar 22, 2021
89d6e69
drm/amdgpu/display: fix memory leak for dimgrey cavefish
alexdeucher Mar 23, 2021
b47f594
drm/amd/display: Try YCbCr420 color when YCbCr444 fails
tuxedo-wse Mar 17, 2021
7ebfbe2
drm/amdgpu: fix NULL pointer dereference
Mar 30, 2021
1fa8aea
drm/amd/display: Update DCN302 SR Exit Latency
Apr 6, 2021
a8655bf
scsi: mpt3sas: Fix out-of-bounds warnings in _ctl_addnl_diag_query
GustavoARSilva Apr 1, 2021
9465bf9
scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO …
jsmart-gh Apr 12, 2021
d30a8a2
scsi: lpfc: Fix reference counting errors in lpfc_cmpl_els_rsp()
jsmart-gh Apr 12, 2021
49bff90
scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
jsmart-gh Apr 12, 2021
e2c0755
scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
jsmart-gh Apr 12, 2021
f14b8da
mfd: intel-m10-bmc: Fix the register access range
yilunxu1984 Mar 10, 2021
2030567
mfd: da9063: Support SMBus and I2C mode
Mar 16, 2021
0e0fb68
mfd: arizona: Fix rumtime PM imbalance on error
dinghaoliu Apr 7, 2021
76282ed
scsi: libfc: Fix a format specifier
bvanassche Apr 15, 2021
76ccefa
perf: Rework perf_event_exit_event()
Apr 8, 2021
9d1c4c2
sched,fair: Alternative sched_slice()
Mar 25, 2021
fba4bf1
block/rnbd-srv: Prevent a deadlock generated by accessing sysfs in pa…
Apr 19, 2021
87a6d38
block/rnbd-clt: Fix missing a memory free when unloading the module
Apr 19, 2021
19bbb35
io_uring: safer sq_creds putting
isilence Apr 20, 2021
a78c38e
s390/archrandom: add parameter check for s390_arch_random_generate
hfreude Apr 20, 2021
244022d
sched,psi: Handle potential task count underflow bugs more gracefully
Apr 16, 2021
284d899
nvmet: avoid queuing keep-alive timer if it is disabled
puhou Apr 16, 2021
21f0971
power: supply: cpcap-battery: fix invalid usage of list cursor
zhuguangqing Apr 21, 2021
ad2cd2d
ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
Yunlongs Apr 26, 2021
51aad88
ALSA: hda/conexant: Re-order CX5066 quirk table entries
tiwai Apr 28, 2021
1699edd
ALSA: sb: Fix two use after free in snd_sb_qsound_build
Yunlongs Apr 26, 2021
e117d32
ALSA: usb-audio: Explicitly set up the clock selector
tiwai Apr 13, 2021
8f89fb2
ALSA: usb-audio: Add dB range mapping for Sennheiser Communications H…
tgurr May 3, 2021
8b32a5e
ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
diabonas Apr 16, 2021
fd2fec3
ALSA: hda/realtek: GA503 use same quirks as GA401
flukejones Apr 19, 2021
2c10b67
ALSA: hda/realtek: fix mic boost on Intel NUC 8
pnc Apr 15, 2021
14ad440
ALSA: hda/realtek - Headset Mic issue on HP platform
kailangyang Apr 20, 2021
b821885
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
enool Apr 25, 2021
19c1172
ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
Emohr-Tuxedo Apr 27, 2021
900fb32
tools/power/turbostat: Fix turbostat for AMD Zen CPUs
BNieuwenhuizen Apr 28, 2021
40b87e9
btrfs: fix race when picking most recent mod log operation for an old…
fdmanana Apr 20, 2021
868c10b
btrfs: fix a potential hole punching failure
bingjingc Mar 25, 2021
48f9d3d
arm64/vdso: Discard .note.gnu.property sections in vDSO
bwendling Apr 23, 2021
e4228d7
Makefile: Move -Wno-unused-but-set-variable out of GCC only block
nathanchance Apr 29, 2021
fd0f065
riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe
Mar 30, 2021
f7c80e8
fs: fix reporting supported extra file attributes for statx()
tytso Apr 18, 2021
5116e79
virtiofs: fix memory leak in virtio_fs_probe()
luis-henrix Mar 17, 2021
2053325
kcsan, debugfs: Move debugfs file creation out of early init
melver Mar 3, 2021
325b731
ubifs: Only check replay with inode type to judge if inode linked
Mar 16, 2021
befeb96
f2fs: fix error handling in f2fs_end_enable_verity()
ebiggers Mar 5, 2021
0b60f23
f2fs: fix to avoid out-of-bounds memory access
chaseyu Mar 22, 2021
e0041e2
mlxsw: spectrum_mr: Update egress RIF list before route's action
idosch May 6, 2021
b3502b0
openvswitch: fix stack OOB read while fragmenting IPv4 packets
dcaratti Apr 28, 2021
8e6dfb7
net/sched: sch_frag: fix stack OOB read while fragmenting IPv4 packets
dcaratti Apr 28, 2021
596e079
ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
Apr 21, 2021
3d01638
NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
rddunlap Mar 2, 2021
7cf20aa
NFS: Don't discard pNFS layout segments that are marked for return
Apr 15, 2021
7e65ea8
NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
Apr 18, 2021
5f41065
Input: ili210x - add missing negation for touch indication on ili210x
hansemro May 6, 2021
58db0dd
jffs2: Fix kasan slab-out-of-bounds problem
Mar 18, 2021
a72354b
jffs2: Hook up splice_write callback
shenki Mar 30, 2021
43aa1cf
iommu/vt-d: Force to flush iotlb before creating superpage
Apr 15, 2021
f486ef7
powerpc/vdso: Separate vvar vma from vdso
0x7f454c46 Mar 31, 2021
a9a8818
powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
npiggin Apr 2, 2021
a43ae32
powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
maheshsal Apr 12, 2021
b54b85b
powerpc/kexec_file: Use current CPU info while setting up FDT
sourabhjains Apr 29, 2021
fe26134
powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
chleroy Apr 29, 2021
524a894
powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
Sep 17, 2020
5fa84d1
powerpc/kvm: Fix PR KVM with KUAP/MEM_KEYS enabled
mpe Apr 19, 2021
467c41f
powerpc/kvm: Fix build error when PPC_MEM_KEYS/PPC_PSERIES=n
mpe Apr 25, 2021
e09145e
intel_th: pci: Add Alder Lake-M support
virtuoso Apr 14, 2021
ac07c55
tpm: efi: Use local variable for calculating final log size
stefanberger Mar 10, 2021
9afbad5
tpm: vtpm_proxy: Avoid reading host log when using a virtual device
stefanberger Mar 10, 2021
694d9d5
crypto: arm/curve25519 - Move '.fpu' after '.arch'
nathanchance Apr 9, 2021
3606420
crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
ebiggers Mar 22, 2021
538244f
md/raid1: properly indicate failure when ending a failed write request
clemep-sios Apr 15, 2021
00fd897
dm raid: fix inconclusive reshape layout on fast raid4/5/6 table relo…
mauelsha Apr 21, 2021
b945c48
fuse: fix write deadlock
rhvgoyal Oct 21, 2020
d04d56f
mm: page_alloc: ignore init_on_free=1 for debug_pagealloc=1
Apr 30, 2021
473ffbe
exfat: fix erroneous discard when clear cluster bit
hyeongseok-kim901 Mar 4, 2021
98d9118
sfc: farch: fix TX queue lookup in TX flush done handling
Apr 20, 2021
e531db1
sfc: farch: fix TX queue lookup in TX event handling
Apr 20, 2021
ebeac95
sfc: adjust efx->xdp_tx_queue_count with the real number of initializ…
ignatk Apr 27, 2021
deaaae2
rcu/nocb: Fix missed nocb_timer requeue
Feb 23, 2021
3cc63b1
security: commoncap: fix -Wstringop-overread warning
arndb Mar 22, 2021
2831dd5
Fix misc new gcc warnings
torvalds Apr 28, 2021
524fc54
smb3: when mounting with multichannel include it in requested capabil…
May 7, 2021
0470ef3
smb3: if max_channels set to more than one channel request multichannel
May 8, 2021
1ca4f55
smb3: do not attempt multichannel to server which does not support it
May 8, 2021
600de79
Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WA…
KAGA-KOKO Apr 22, 2021
13b5638
futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
KAGA-KOKO Apr 22, 2021
0fc0b09
x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
sean-jc May 4, 2021
8cb6d87
kbuild: update config_data.gz only when the content of .config is cha…
masahir0y Apr 25, 2021
cfc9b6d
ext4: annotate data race in start_this_handle()
jankara Apr 6, 2021
222c345
ext4: annotate data race in jbd2_journal_dirty_metadata()
jankara Apr 6, 2021
e18d76a
ext4: fix check to prevent false positive report of incorrect used in…
zhangyi089 Mar 31, 2021
b64a3fb
ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
zhangyi089 Mar 31, 2021
1e9ea8f
ext4: always panic when errors=panic is specified
Apr 1, 2021
f61f62d
ext4: fix error code in ext4_commit_super
Apr 2, 2021
5a611ec
ext4: fix ext4_error_err save negative errno into superblock
Apr 6, 2021
c9d79b2
ext4: fix error return code in ext4_fc_perform_commit()
Apr 8, 2021
16e4d10
ext4: allow the dax flag to be set and cleared on inline directories
tytso Apr 12, 2021
a1d50db
ext4: Fix occasional generic/418 failure
jankara Apr 15, 2021
cede24d
media: dvbdev: Fix memory leak in dvb_media_device_free()
peilin-ye Dec 11, 2020
2aabd8d
media: dvb-usb: Fix use-after-free access
tiwai Feb 1, 2021
e046910
media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
tiwai Feb 1, 2021
74ba0ad
media: staging/intel-ipu3: Fix memory leak in imu_fmt
ribalda Mar 15, 2021
6fb617e
media: staging/intel-ipu3: Fix set_fmt error handling
ribalda Mar 10, 2021
cdaf358
media: staging/intel-ipu3: Fix race condition during set_fmt
ribalda Apr 9, 2021
78cc3a5
media: v4l2-ctrls: fix reference to freed memory
Apr 12, 2021
259f7f0
media: coda: fix macroblocks count control usage
Mar 5, 2021
fc437f9
media: venus: pm_helpers: Set opp clock name for v1
Feb 25, 2021
63697f5
media: venus: venc_ctrls: Change default header mode
Mar 6, 2021
bdb64c3
media: venus: hfi_cmds: Support plane-actual-info property from v1
Mar 6, 2021
dbe610d
media: venus: hfi_parser: Don't initialize parser on v1
Mar 7, 2021
b60741f
media: venus: hfi_parser: Check for instance after hfi platform get
Mar 7, 2021
949938b
io_uring: remove extra sqpoll submission halting
isilence Apr 18, 2021
cb5e0b3
io_uring: fix shared sqpoll cancellation hangs
isilence Apr 18, 2021
cabc762
io_uring: fix work_exit sqpoll cancellations
isilence Apr 25, 2021
c5bddca
io_uring: Check current->io_uring in io_uring_cancel_sqpoll
oswalpalash Apr 27, 2021
3c6f653
usb: gadget: dummy_hcd: fix gpf in gadget_setup
anirudhrb Apr 19, 2021
d7a0965
usb: gadget: Fix double free of device descriptor pointers
Apr 21, 2021
dfdc7ec
usb: gadget/function/f_fs string table fix for multiple languages
Mar 17, 2021
dda85fb
usb: dwc3: gadget: Remove FS bInterval_m1 limitation
Apr 15, 2021
d91827a
usb: dwc3: gadget: Fix START_TRANSFER link state check
Apr 20, 2021
1c10fd6
usb: dwc3: core: Do core softreset when switch mode
chenyu56 Apr 15, 2021
07009d7
usb: dwc2: Fix session request interrupt handler
Apr 8, 2021
bb2511e
PCI: dwc: Move iATU detection earlier
Zhiqiang-Hou Apr 13, 2021
a46bbc1
tty: fix memory leak in vc_deallocate
pskrgag Mar 27, 2021
0452b0b
rsi: Use resume_noirq for SDIO
Mar 27, 2021
337b154
tools/power turbostat: Fix offset overflow issue in index converting
kepstin Apr 28, 2021
7bc6bc2
tracing: Map all PIDs to command lines
rostedt Apr 27, 2021
2a1bd74
tracing: Restructure trace_clock_global() to never block
rostedt Apr 30, 2021
2f97deb
dm persistent data: packed struct should have an aligned() attribute too
jthornber Mar 29, 2021
578f39e
dm space map common: fix division bug in sm_ll_find_free_block()
jthornber Apr 13, 2021
f2b61e8
dm integrity: fix missing goto in bitmap_flush_interval error handling
Apr 14, 2021
d757bf4
dm rq: fix double free of blk_mq_tag_set in dev remove after table lo…
Benjamin-Block Apr 29, 2021
dc1a515
pinctrl: Ingenic: Add missing pins to the JZ4770 MAC MII group.
XBurst Apr 18, 2021
87bc16e
pinctrl: Ingenic: Add support for read the pin configuration of X1830.
XBurst Apr 18, 2021
c23e941
lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
Villemoes Apr 23, 2021
6bf443a
thermal/drivers/cpufreq_cooling: Fix slab OOB issue
brian-sy-yang Dec 29, 2020
142703b
thermal/core/fair share: Lock the thermal zone while looping over ins…
lukaszluba-arm Apr 22, 2021
d795d7b
Linux 5.12.3
gregkh May 12, 2021
1448e7e
gpio: starfive-vic: Add StarFive VIC GPIO driver
huanfeng-sf Jan 7, 2021
e9ad574
drivers/tty/serial/8250: update driver for VIC7100
SaminGuo Jan 7, 2021
6986c39
drivers/hw_random: Add Starfive VIC Random Number Generator driver
huanfeng-sf Jan 7, 2021
c5f47ed
drivers/hwmon: Add tempsensor hwmon driver for Starfive VIC7100
SaminGuo Feb 5, 2021
b1b6b2b
sifive/sifive_l2_cache: Add sifive_l2_flush64_range function
Jan 7, 2021
514a7d5
sifive/sifive_l2_cache: Add Starfive support
Feb 15, 2021
c8968e5
sifive/sifive_l2_cache: Add disabling IRQ option (workaround)
Feb 13, 2021
5966e90
drivers/pwm: Add SiFive PWM PTC driver
Jan 7, 2021
e88f18e
drivers/pwm/pwm-sifive-ptc: Clear PWM CNTR
Mar 15, 2021
c42c3d9
drivers/dma: Add dw-axi-dmac-starfive driver for VIC7100
Jan 7, 2021
8219fc8
drivers/i2c: Improve Synopsys DesignWare I2C adapter driver for StarF…
Jan 7, 2021
39f9e38
drivers/i2c: Add GPIO configuration for VIC7100.
Mar 13, 2021
cb765eb
net: stmmac: Add dcache flush functions for JH7100
Jan 7, 2021
c485bfc
net: stmmac: Configure gtxclk based on speed
Apr 6, 2021
c4e2482
drivers/mmc/host/dw_mmc: Add dcache flush(VIC7100 ONLY).
Jan 6, 2021
20502a1
drivers/usb: Add dcache flush(VIC7100 ONLY)
Jan 8, 2021
07f543b
riscv/starfive: Add VIC7100 support
Jan 7, 2021
6142874
drivers/video/fbdev and drivers/media/platform: starfive drivers added
jackzhustf Jan 10, 2021
4091225
drivers/media and video: update fb driver(flush cache) and cam sensor…
jackzhustf Mar 5, 2021
c770732
drivers/video/fbdev/starfive: workaround for unavailable pointer of dtb
jackzhustf Mar 16, 2021
9b19826
drivers/video/fbdev/starfive: fix compiler warnings
esmil May 6, 2021
70c56a0
drivers/video/fbdev/starfive: improve error handling
esmil May 6, 2021
8c9b8b6
spi: cadence-quadspi: Allow compilation on RISC-V
esmil Apr 27, 2021
63626bc
drivers/dma: Fix VIC7100 dw-axi-dmac-platform driver addition
mike-scott May 1, 2021
ab290f9
[HACK] mfd: tps65086: make interrupt line optional
esmil May 3, 2021
200b546
power: reset: Add TPS65086 restart driver
esmil May 3, 2021
65a406d
riscv: dts: Add JH7100 and BeagleV Starlight support
Jan 22, 2021
96d371a
[Not for upstream] Add build instructions
esmil May 5, 2021
29f40d4
config: first attempt to enable jh7100
mcd500 May 12, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 12
SUBLEVEL = 0
SUBLEVEL = 3
EXTRAVERSION =
NAME = Frozen Wasteland

Expand Down Expand Up @@ -775,16 +775,16 @@ KBUILD_CFLAGS += -Wno-gnu
KBUILD_CFLAGS += -mno-global-merge
else

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
KBUILD_CFLAGS += -Wno-unused-but-set-variable

# Warn about unmarked fall-throughs in switch statement.
# Disabled for clang while comment to attribute conversion happens and
# https://github.com/ClangBuiltLinux/linux/issues/636 is discussed.
KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,)
endif

# These warnings generated too much noise in a regular build.
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)

KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
Expand Down
132 changes: 132 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Linux kernel for the BeagleV Starlight

## What is this?

The [BeagleV Starlight][bborg] board is a new Linux-capable 64bit RISC-V
development board. It has not shipped yet, but [beta versions][beta] are out to
developers. Consequently the board is not yet supported by upstream Linux. This
tree is meant to collect all the in-development patches for running Linux on
the board.

[bborg]: https://beagleboard.org/beaglev
[beta]: https://github.com/beagleboard/beaglev-starlight

## Cross-compiling

Cross-compiling the Linux kernel is surprisingly easy since it doesn't depend
on any (target) libraries and most distributions already have packages with a
working cross-compiler. We'll also need a few other tools to build everything:
```shell
# Debian/Ubuntu
sudo apt-get install libncurses-dev libssl-dev bc flex bison make gcc gcc-riscv64-linux-gnu
# Fedora
sudo dnf install ncurses-devel openssl openssl-devel bc flex bison make gcc gcc-riscv64-linux-gnu
# Archlinux
sudo pacman -S --needed ncurses openssl bc flex bison make gcc riscv64-linux-gnu-gcc
```

The build system needs to know that we want to cross-compile a kernel for
RISC-V by setting `ARCH=riscv`. It also needs to know the prefix of our
cross-compiler using `CROSS_COMPILE=riscv64-linux-gnu-`. Also let's assume
we're building on an 8-core machine so compilation can be greatly sped up by
telling make to use all 8 cores with `-j8`.

First we need to configure the kernel though. Linux has a *very* extensive
configuration system, but you can get a good baseline configuration for the
board using:
```shell
make -j8 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- starlight_defconfig
```

There is nothing magic about this configuration other than it has all the
drivers enabled that are working for the hardware on the board. In fact it has
very little extra features enabled which is great for compile times, but you
are very much encouraged to add additional drivers and configure your kernel
further using
```shell
make -j8 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- nconfig
```

Now compile the whole thing with
```
make -j8 ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu-
```


## Installing

Once the build is finished the resulting kernel can be found at
```shell
arch/riscv/boot/Image
```
You'll also need the matching device tree at
```shell
arch/riscv/boot/dts/starfive/jh7100-starlight.dtb
```
These two files should be copied to the boot partition on the SD card. That is
onto the same file system that contains the `extlinux/extlinux.conf`. On the
default Fedora image this is mounted at `/boot`.

Now add the following entry to the `extlinux/extlinux.conf` file:
```
label My New Kernel
kernel /Image
fdt /jh7100-starlight.dtb
append earlycon root=/dev/mmcblk0p2 rootwait stmmac.chain_mode=1
```

This assumes your root file system is at `/dev/mmcblk0p2` which it is on the
default Fedora image. Also if your kernel is very big it might be beneficial to
use the compressed `Image.gz` rather than the uncompressed `Image`.

The `starlight_defconfig` doesn't enable modules, but if you enabled them in
your build you'll also need to install them in `/lib/modules/` on the root file
system. How to do that best is out of scope for this README though.


## Status

#### SoC

- [x] GPIO
- [x] Serial port
- [x] I2C
- [x] SPI
- [x] MMC / SDIO / SD card
- [x] Random number generator
- [x] Temperature sensor
- [x] Ethernet, though a little flaky and `stmmac.chain_mode=1` needed on the cmdline
- [ ] Clock tree, statically set up by u-boot
- [ ] Pinctrl/Pinmux, statically set up by u-boot
- [ ] Watchdog
- [ ] USB, USB 2.0 seems to work ok, but USB 3.0 is very flaky / broken
- [ ] Security Engine
- [ ] Framebuffer
- [ ] MIPI-DSI
- [ ] ISP
- [ ] MIPI-CSI
- [ ] Video Decode
- [ ] Video Encode
- [ ] NVDLA
- [ ] NNE50
- [ ] Vision DSP

#### Board

- [x] LED
- [x] PMIC / Reboot
- [x] Ethernet PHY
- [x] AP6236 Wifi
- [ ] AP6236 Bluetooth
- [ ] GD25LQ256D SPI flash
- [ ] HDMI, unknown since framebuffer driver is failing


## Contributing

If you're working on cleaning up or upstreaming some of this or adding support
for more of the SoC I'd very much like to incorporate it into this tree. Either
send a pull request, mail or contact Esmil on IRC/Slack.

Also I think of this tree mostly as a collection of patches that will hopefully
mature enough to be submitted upstream. So expect regular rebases.
4 changes: 2 additions & 2 deletions arch/arm/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ asflags-y := -DZIMAGE

# Supply kernel BSS size to the decompressor via a linker symbol.
KBSS_SZ = $(shell echo $$(($$($(NM) $(obj)/../../../../vmlinux | \
sed -n -e 's/^\([^ ]*\) [AB] __bss_start$$/-0x\1/p' \
-e 's/^\([^ ]*\) [AB] __bss_stop$$/+0x\1/p') )) )
sed -n -e 's/^\([^ ]*\) [ABD] __bss_start$$/-0x\1/p' \
-e 's/^\([^ ]*\) [ABD] __bss_stop$$/+0x\1/p') )) )
LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
# Supply ZRELADDR to the decompressor via a linker symbol.
ifneq ($(CONFIG_AUTO_ZRELADDR),y)
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sam9x60ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/
/dts-v1/;
#include "sam9x60.dtsi"
#include <dt-bindings/input/input.h>

/ {
model = "Microchip SAM9X60-EK";
Expand Down Expand Up @@ -84,7 +85,7 @@
sw1 {
label = "SW1";
gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
linux,code=<0x104>;
linux,code=<KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "at91-sama5d27_som1.dtsi"
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
model = "Atmel SAMA5D27 SOM1 EK";
Expand Down Expand Up @@ -466,7 +467,7 @@
pb4 {
label = "USER";
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/
/dts-v1/;
#include "at91-sama5d27_wlsom1.dtsi"
#include <dt-bindings/input/input.h>

/ {
model = "Microchip SAMA5D27 WLSOM1 EK";
Expand Down Expand Up @@ -35,7 +36,7 @@
sw4 {
label = "USER BUTTON";
gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d2_icp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "sama5d2.dtsi"
#include "sama5d2-pinfunc.h"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/mfd/atmel-flexcom.h>

/ {
Expand Down Expand Up @@ -51,7 +52,7 @@
sw4 {
label = "USER_PB1";
gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "sama5d2-pinfunc.h"
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/at91.h>

/ {
Expand Down Expand Up @@ -402,7 +403,7 @@
bp1 {
label = "PB_USER";
gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d2_xplained.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "sama5d2-pinfunc.h"
#include <dt-bindings/mfd/atmel-flexcom.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/regulator/active-semi,8945a-regulator.h>

/ {
Expand Down Expand Up @@ -712,7 +713,7 @@
bp1 {
label = "PB_USER";
gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91-sama5d3_xplained.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/
/dts-v1/;
#include "sama5d36.dtsi"
#include <dt-bindings/input/input.h>

/ {
model = "SAMA5D3 Xplained";
Expand Down Expand Up @@ -354,7 +355,7 @@
bp3 {
label = "PB_USER";
gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91sam9260ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/
/dts-v1/;
#include "at91sam9260.dtsi"
#include <dt-bindings/input/input.h>

/ {
model = "Atmel at91sam9260ek";
Expand Down Expand Up @@ -156,7 +157,7 @@
btn4 {
label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/at91sam9g20ek_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
*/
#include "at91sam9g20.dtsi"
#include <dt-bindings/input/input.h>

/ {

Expand Down Expand Up @@ -234,7 +235,7 @@
btn4 {
label = "Button 4";
gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
linux,code = <KEY_PROG1>;
wakeup-source;
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x08000000>;
};

leds {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x08000000>;
};

leds {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x18000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x18000000>;
};

spi {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-netgear-r6250.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

memory {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x08000000>;
};

leds {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x08000000>;
};

leds {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
reg = <0x00000000 0x08000000>,
<0x88000000 0x08000000>;
};

leds {
Expand Down
Loading