Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

fix out tree build #11

Open
wants to merge 181 commits into
base: rk3399/firefly
Choose a base branch
from

Conversation

SquallATF
Copy link

out tree build will failed. should use kernel document suggest method via https://www.kernel.org/doc/html/latest/kbuild/modules.html#binary-blobs

T-Firefly and others added 30 commits June 26, 2019 16:54
Change-Id: Iaa7b6d2b16d27512b45df59fb1c78e8664ed91d9
Change-Id: I27f09b353982540624bf32a34e0c3587edcd13a6
Change-Id: I279f5d2a682eff503ae20f57585e3dc53c5f5882
Change-Id: I88f969d6a45a90e9483670c37c62ef38f7a247ef
Change-Id: I3fa290eb46065b90cb14a6ac2ecfc4c35e708c69
Change-Id: Iff74c24fd0b824f1e3761a3afe7de2746c4408bc
Change-Id: I4e6fc75a51dc1b8379b6aa6e013c172f6303b97f
Change-Id: I3facd32ebbebe8e7a7a1f8e4db1d49840ef0261b
Change-Id: I4e953aeff1142c3aaaef7370b0d6a57682082245
Change-Id: Ia6e83cf9e27bbe441c7e2c9542f779e06dc47982
Change-Id: I4e36b2c6affbe5e7ac69a57bf58357d70374a7a5
Change-Id: Iea4c279f8548284334b55a61d37f94dc936e0e3c
Change-Id: If3ade99f000f94fc17e99a8f74bd841de27d6f07
Change-Id: I70088f1eca6a92d44ed59f52d2865ad22c314638
Change-Id: I82eaabaa98d28d994e2b7cf2174868c4be8dae4e
This reverts commit 078fcfe149331838ebe80735ddf469efc6793e66.
…camera

Change-Id: I3003d13e3feb73bb82dc2ff751602f50da9940fd
In ov13850, the i2c address comes from the SCCB_ID register which has default
value of 0x20. This address change needs to do each time after power on.

Change-Id: I2f7815b53f40200adf5d5621e51415ddafca14bc
The bigest challenge is that both cameras share the same clock, reset pin and
power regulators.

Here a master pointer is introduced, in charge of powering on and off, using
reference count mechanism to avoid conflict.

Change-Id: I5890462a07de8870625b225c174fe20d2d892cf1
…meras

Change-Id: I25e5b854815f5f2c9d2d45acdf8ef29f510a67d1
…RK_CIF_ISP10

Change-Id: Ic8a908cec1a662f252012a4d99d8a0220a1dfc06
Change-Id: Ia2342903a68ea3d9e06634fb139bd82ec27279af
Change-Id: I5201f0da3a39ab9b35e31dc90db2f12a4405c0e2
Change-Id: I840119666d749204873c6278d10a674e1769ee08
Change-Id: I234579c78f0eefa8acdcccf095b3fb1fe9e75136
Change-Id: Ie1c90e6220cd57d7cc1dcb89a7a1220dd73c50b2
Change-Id: I03b7f347829147072fa4deee1ad676da79543af5
Change-Id: Ib58947a27977abaca29b2348a3a6dc94da7dd56e
Change-Id: If8f2e906bcaa53004f73754158ef118798d75f99
Change-Id: I4413f97aed762a51a25597b440701a1405bdc98b
daijh and others added 23 commits October 30, 2019 17:19
Change-Id: Iebaf5d639c5244c1691c17eb3e535483de38fb2d
Change-Id: I25312ca0059a479d1e0dd3fe41276465d6b0d4d8
Change-Id: I32477d999511d747fd6af53817b443d0fc816fd1
…fixed out problem of screen-power and hot-plug
Change-Id: Ib0fe3202766a7830be392a02b1b1f8088a5906bf
Change-Id: If45d6f37133893cb089e76915e5582bcf57cf21c
Change-Id: I245519b27d59cfca500fb8fa3631eb4cfc78987f
1.Reset and update gslx680_firefly.h
2.Add Face_x1's lvds support

parameter gsl,fw for diff TP:
    gsl,fw = <1> for 10.1 inch TP
    gsl,fw = <0> for Face_X1 TP
    other for edp & mipi TP
SquallATF pushed a commit to SquallATF/kernel that referenced this pull request May 14, 2020
commit cf3591e upstream.

Revert the commit bd293d0. The proper
fix has been made available with commit d0a255e ("loop: set
PF_MEMALLOC_NOIO for the worker thread").

Note that the fix offered by commit bd293d0 doesn't really prevent
the deadlock from occuring - if we look at the stacktrace reported by
Junxiao Bi, we see that it hangs in bit_wait_io and not on the mutex -
i.e. it has already successfully taken the mutex. Changing the mutex
from mutex_lock to mutex_trylock won't help with deadlocks that happen
afterwards.

PID: 474    TASK: ffff8813e11f4600  CPU: 10  COMMAND: "kswapd0"
   #0 [ffff8813dedfb938] __schedule at ffffffff8173f405
   FireflyTeam#1 [ffff8813dedfb990] schedule at ffffffff8173fa27
   FireflyTeam#2 [ffff8813dedfb9b0] schedule_timeout at ffffffff81742fec
   FireflyTeam#3 [ffff8813dedfba60] io_schedule_timeout at ffffffff8173f186
   FireflyTeam#4 [ffff8813dedfbaa0] bit_wait_io at ffffffff8174034f
   FireflyTeam#5 [ffff8813dedfbac0] __wait_on_bit at ffffffff8173fec8
   FireflyTeam#6 [ffff8813dedfbb10] out_of_line_wait_on_bit at ffffffff8173ff81
   FireflyTeam#7 [ffff8813dedfbb90] __make_buffer_clean at ffffffffa038736f [dm_bufio]
   FireflyTeam#8 [ffff8813dedfbbb0] __try_evict_buffer at ffffffffa0387bb8 [dm_bufio]
   FireflyTeam#9 [ffff8813dedfbbd0] dm_bufio_shrink_scan at ffffffffa0387cc3 [dm_bufio]
  FireflyTeam#10 [ffff8813dedfbc40] shrink_slab at ffffffff811a87ce
  FireflyTeam#11 [ffff8813dedfbd30] shrink_zone at ffffffff811ad778
  FireflyTeam#12 [ffff8813dedfbdc0] kswapd at ffffffff811ae92f
  FireflyTeam#13 [ffff8813dedfbec0] kthread at ffffffff810a8428
  FireflyTeam#14 [ffff8813dedfbf50] ret_from_fork at ffffffff81745242

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Fixes: bd293d0 ("dm bufio: fix deadlock with loop device")
Depends-on: d0a255e ("loop: set PF_MEMALLOC_NOIO for the worker thread")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants