genii has quit [Quit: Morning comes early.... GO LEAFS GO!]
LiquidAcid has joined #linux-exynos
Putti has quit [Remote host closed the connection]
Putti has joined #linux-exynos
Putti has quit [Changing host]
Putti has joined #linux-exynos
wwilly_ has quit [Ping timeout: 265 seconds]
wwilly_ has joined #linux-exynos
Putti has quit [Remote host closed the connection]
Putti has joined #linux-exynos
wwilly has joined #linux-exynos
Putti has joined #linux-exynos
Putti has quit [Changing host]
<wwilly> krzk, I'm at it again after a nice week-end. when I do as suggested, the first revision I hand up is: 9f68e3655aae6d49d6ba05dd263f99f33c2567af, and this one for instance loop somewhere, printing indefinitely samsung-i2s 3830000.i2s-sec: DMA channels sourced from device 3830000.i2s, but if I CONFIG_SND_SOC_SAMSUNG=n, because this log seems to comes from the sound card stuff, it's working well
<wwilly> after some other jump, hand up with a9eeb0e61128ed6cdd0b910eab2df7b2729d7d15 which kernel panic
<wwilly> 7d6292ab11199ef596cbe6c87180e49510c8b7c7 fault with panfrost bug sleep in atomic
<wwilly> and it kernel panic when I CONFIG_DRM_PANFROST=n
<krzk> wwilly: you have unusually high amount of trbubles with bisect :)
<krzk> Most of revisions are bisectable and only exceptionally things get broken... and in your case it's quite a lot
<krzk> around panfrost indeed, I remember, there were some issues
<wwilly> with bisect should be almost straight forward right?
<krzk> wwilly: the first point - 9f68e3655aae6d49d6ba05dd263f99f33c2567af - is a merge commit. Sometimes merges with conflicts break things, sometimes merges discover issues... but more likely is that you annotated wrong revisions somehow :)
<krzk> a9eeb0e61128ed6cdd0b910eab2df7b2729d7d15 - again merge... that's weird
<krzk> and third - again merge... are you doing it correctly?
<wwilly> from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
<wwilly> git bisect start
<wwilly> git bisect bad v5.6
<krzk> It is highly unlikely that three different merges from different branches and trees (drm, arm-soc dt, arm-soc mach/soc) make troubles
<wwilly> git bisect good v5.5
<wwilly> then make exynos_defconfig; make; then boot with zImage and dtd produced
<wwilly> should I configure something else that you forgot to suggest?
genii has joined #linux-exynos
<krzk> wwilly: no, it looks okay. Just check whether really you boot with that zImage and DTB (at least zImage by kernel version string)
<krzk> wwilly: on HC1 on all kernels between v5.5 and v5.6 were booting fine from network
<wwilly> it's booting from network, it's after the boot when you try to connect to it
<wwilly> I use tftp to boot
<krzk> so I mean, booted and worked fine (including SSH to it)
<wwilly> ok
<krzk> although I tested only RCs (so v5.5, v5.6-rc1, rc2 and so on)
<wwilly> hc1 use the same network chip?
<krzk> no, different
<krzk> but I am referring to your problems - panfrost, i2s etc.
<wwilly> ah ok
<krzk> none of them appeared on HC1 (which is possible... for example HC1 does not have audio codec so maybe that i2s stays disabled)
<wwilly> xu3 doesn't have audio either right?
<krzk> XU3 has but I do not have a working one anymore
<wwilly> ok I remember
<wwilly> is it possible that "wrong" value in dts for usb related stuff on the xu3 could cause this kind of weirdness?
<krzk> around your network - maybe, although unlikely, other issues look different - i2s, panfrost/gpu/drm and finally null pointer exception on mount_block_root
<wwilly> usb related mean from all voltage on the regulator to new feature...
<wwilly> yes ok
<krzk> I
<krzk> I'll test the 7d6292ab1119
<wwilly> I guess, new mid patch of a patch serie is not acceptable to leave a board panicking
<krzk> wwilly: heh, 7d6292ab1119 indeed fails
<krzk> on panfrost... there were issues in it fixed in some rc
<wwilly> ok
<wwilly> cool
<wwilly> I'm reassured that is not only me... :)
<krzk> another approach is to narrow your case by testing all RC and then starting bisect on narrower region
<krzk> e.g. if 5.5 is good, and 5.6 is bad... test v5.6-rc1, rc2 etc
<wwilly> ok, and use git bisect bad v5.6-rc1 ?
<wwilly> because you've suggested to not do that...
<krzk> I suggested not to bisect stables, RC are fine to include
<krzk> if 5.6-rc1 turns out bad, then yes - use it as bad as it narrows the search
<krzk> I am not sure if this approach will help much because most likely your issue is actually between v5.5 and v5.6-rc1 :)
<wwilly> it's actually between v5.5.16 which runs fine, but v5.6-rc1 doesn't run good
<wwilly> so it make sense to git bisect between v5.5.16 and v5.6-rc1?
<wwilly> or that is not correct?
<wwilly> or v5.5.16 is a stable version?
LiquidAcid has quit [Quit: Leaving]
<krzk> did you test v5.5? if v5.5 was good, then the bisect between v5.5.16 and v5.6-rc1 will be the same as v5.5 - v5.6-rc1
<krzk> and will be actually the same what you already did (this commits you mentioned are before v5.6-rc1)
<krzk> wwilly: so in your case you are kind of screwed... the merge window was so bad that it is no in bisectable state
<wwilly> arf ok... f***k s**t
<wwilly> so, basically would the same as testing every commit myself?
<krzk> no
<krzk> wwilly: I mean, that testing v5.5.16 does not make sense. Bisecting v5.5 and v5.6-rc1 is the same for your case as v5.5 and v5.6 :)
<wwilly> ah ok
<krzk> let me test these few commits... probably the solution is to either find kernel config which does not have panfrost/snd issues and still reproduces your problem
<krzk> or apply specific fixes on top of bisected commits so these weird errors do not appear
<wwilly> when I have issue with panfrost/snd i just simply remove the option on .config
<wwilly> and if it kernel panic, I simply git bisect skip
<wwilly> I'm at 2e04d1bd540c849495c6f50d3c8086be824bd4e5
<wwilly> started from v5.5 to v5.6, I haven't tried from v5.6-rc1
<wwilly> and this last kernel panic
<wwilly> ... Bisecting: 315 revisions left to test after this (roughly 9 steps)
<wwilly> spent my night on this...
Putti has quit [Remote host closed the connection]
Putti has joined #linux-exynos
Putti has quit [Changing host]
Putti has joined #linux-exynos
LiquidAcid has joined #linux-exynos
wwilly__ has joined #linux-exynos
wwilly__ has quit [Read error: Connection reset by peer]
wwilly__ has joined #linux-exynos
wwilly has quit [Ping timeout: 256 seconds]
<wwilly__> there is also something anoying about bisect is that it doesn't really take into account useless change, some are only towards dts that is not targeting my board, could be an improvement for the tool
<wwilly__> like giving the defconfig that I'm using, and compute the right commit that impact zImage and dtb
<LiquidAcid> wwilly__, you can specifiy paths to git bisect
<wwilly__> LiquidAcid, sure, but if my prob with the particular lan device is impacted by a dts change in the power rail, giving the particular network subfolder path would be effective?
<LiquidAcid> wwilly__, https://stackoverflow.com/questions/31112179/git-bisect-with-list-of-uninteresting-paths <- that looks like it could solve your probem
<LiquidAcid> *problem
<wwilly__> LiquidAcid, I saw you posting on hardkernel forum a few time, by any change, do you have an xu3 board and tested v5.6?
<LiquidAcid> no, sorry, i only have an x2, which i haven't used in months
<wwilly__> ouké
Putti has quit [Remote host closed the connection]
Putti has joined #linux-exynos
Putti has quit [Changing host]
Putti has joined #linux-exynos
<krzk> wwilly__: git bisect is a git tool, not kernel... how can it now anything about some Soc specific stuff? It is purely git history oriented, so what is actually stored in git does not matter for bisect
<krzk> You can tune bisect for mentioned by LiquidAcid paths or by using automatic commands to test revision (although with boots I guess it will be very difficult)
<wwilly__> yep I get it
<krzk> some commits are indeed broken, e.g. 7d6292ab1119 even without panfrost doe snot work in my case - reboots consantly around udev and coldplug
<krzk> unfortunately it seems that v5.6-rc1 merge window was pretty bad and not stable
<wwilly__> does this happen often, bad and not stable version?
<wwilly__> for such a big thing, I'm surprised about commits that breaks "everything"...
<wwilly__> I understand that is not possible to test EVERY device on earth, but still
<krzk> I must say I rarely bisect merge window because most errors we spot in linux-next and the bisecting happens between some RC and current next. There were times when many things were broken. were times that everything was mostly ok
<krzk> there are around 13 000 patches in each merge window... and most of them were not tested on more than few devices/configurations... so there is huge chance that something will be broken
<krzk> wwilly__: just for the record, XU, HC1 and Arndale Octa all boot fine on v5.6
<krzk> XU has I think the same network: 0424:9730
<wwilly__> ok, and rpi3 with a smsc95xx boot as well
<krzk> then it could be one damn small thing in DTS :)
<wwilly__> yes
<wwilly__> $ git bisect good
<wwilly__> [1019fe2c728003f89ee11482cf8ec81dbd8f15ba] ARM: dts: exynos: Adjust bus related OPPs to the values correct for Exynos5422 Odroids
<wwilly__> Bisecting: 1 revision left to test after this (roughly 1 step)
<wwilly__> nearly there ... :)
<wwilly__> it's like a few bad/good that it jumps between dts for exynos
LiquidAcid has quit [Quit: Leaving]
<wwilly__> krzk,
<wwilly__> $ git bisect good
<wwilly__> 1019fe2c728003f89ee11482cf8ec81dbd8f15ba is the first bad commit
<wwilly__> Author: Marek Szyprowski <m.szyprowski@samsung.com>
<wwilly__> commit 1019fe2c728003f89ee11482cf8ec81dbd8f15ba
<wwilly__> Date: Thu Dec 19 11:51:30 2019 +0100
<wwilly__> is it possible to reverse just this without breaking anything after that?
<willmore> Only XU4 era hardware here.
<wwilly__> uhm ok
<Putti> Hi, I'm getting graphics glitches on exynos 4412 based i9305 board (samsung s3) with Lima driver. I would like to try to get the G3D PMU out of low power mode to try if that fixes the issue. I already clocked the mali GPU core at 50Mhz but that didn't help. Reading the exynos4 pmu driver code it is not very clear to me which bytes I need to set to the register to get out of low power mode.
<wwilly__> will continue investigating that tomorrow, but 1019fe2c728003f89ee11482cf8ec81dbd8f15ba is not working, and c6d0192afa24e315df501b1bd3f339a13ccb0692 is working
<wwilly__> thx krzk LiquidAcid and willmore, c ya tom
wwilly__ has quit [Quit: This computer has gone to sleep]
mszyprow|home has joined #linux-exynos
<Putti> I enabled the BUCK4 / vdd_g3d to be "regulator-always-on" and that didn't help, so I'm thinking the issue is somewhere else, maybe some bus clock issue
<Putti> any guesses?
<Putti> The glitches look exactly same as reported in https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/issues/24 and there the issue was fixed by disabling CONFIG_PM_DEVFREQ
LiquidAcid has joined #linux-exynos
mszyprow|home has quit [Ping timeout: 256 seconds]
LiquidAcid has quit [Remote host closed the connection]
mszyprow|home has joined #linux-exynos
mszyprow|home has quit [Ping timeout: 240 seconds]
wwilly_ has quit [Ping timeout: 250 seconds]