ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
mraynal has quit [Read error: Connection reset by peer]
mraynal has joined #armlinux
apritzel has quit [Ping timeout: 276 seconds]
hanetzer has quit [Ping timeout: 272 seconds]
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 250 seconds]
hanetzer has joined #armlinux
DarkL0rd has quit [Remote host closed the connection]
heat has quit [Ping timeout: 276 seconds]
Pali has quit [Ping timeout: 272 seconds]
ide12 has quit [Quit: Cya!]
ide12 has joined #armlinux
chip_x has joined #armlinux
chipxxx has quit [Ping timeout: 276 seconds]
sakman has quit [Ping timeout: 264 seconds]
rvalue has quit [Ping timeout: 272 seconds]
rvalue has joined #armlinux
rvalue- has joined #armlinux
rvalue has quit [Ping timeout: 272 seconds]
rvalue- is now known as rvalue
ide12 has quit [Quit: Cya!]
ide12 has joined #armlinux
apritzel has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
apritzel has quit [Ping timeout: 276 seconds]
headless has joined #armlinux
apritzel has joined #armlinux
Pali has joined #armlinux
apritzel has quit [Ping timeout: 250 seconds]
headless has quit [Quit: Konversation terminated!]
<hanetzer> I don't suppose anyone knows what the hell 'BVT' means in the context of hisilicon?
<HdkR> Bandwidth Variable Transceiver maybe?
lili is now known as _alice
cmarinas has quit [Read error: Connection reset by peer]
cmarinas has joined #armlinux
heat has joined #armlinux
<hanetzer> tbh not sure. maybe I'll email them lmao
pg12 has quit [Quit: pg12]
pg12 has joined #armlinux
DarkL0rd has joined #armlinux
DarkL0rd has quit [Ping timeout: 250 seconds]
apritzel has joined #armlinux
headless has joined #armlinux
apritzel has quit [Ping timeout: 276 seconds]
apritzel has joined #armlinux
xvmt has quit [Ping timeout: 272 seconds]
xvmt has joined #armlinux
<CounterPumpkin> What's an Asynchronous SError interrupt and why is it haunting me
<Pali> In most cases it is data abort for some previous instruction which finished just recently.
<Pali> I'm seeing it with lot of broken PCIe HW controllers.
<Pali> CounterPumpkin: It depends on what you are doing.
<CounterPumpkin> writing to a regmap
<Pali> ESR syndrome number could say more what happened
<CounterPumpkin> I'm specifically getting this https://gist.github.com/CounterPillow/f469986ea84066667ec050be39c2abf3
<Pali> 0x00000000be000411 is Double-bit error detected on dirty line in L2 cache (if I decoded number correctly)
<CounterPumpkin> Hmmm, interesting. Not sure what could be causing that. I'm trying to get the upstream rockchip i2s-tdm driver working for rk3588, and am running into this as soon as anything writes the regmap. Compared with downstream driver, and they don't seem to be doing anything special for this chip
apritzel has quit [Ping timeout: 260 seconds]
<CounterPumpkin> Perhaps it's caused by some other part of the SoC support still lacking? This is a few (many) in-review patches pulled in to boot this. More complex things like PCIe are working though, so I still have a feeling it's my fault
<Pali> Ah, what kind of core you have? This error message is core-specific per ARMv8 spec.
<Pali> I wrote my ESR decoder for A53 cores. So other cores could have different meaning.
<CounterPumpkin> 4x A-76 + 4x A-55
<Pali> Which CPU received that abort? A76 or A55?
<CounterPumpkin> CPU 6, let me check in the DT what that might be
<CounterPumpkin> okay that's not evident from the dt, argh
<CounterPumpkin> oh wait it is
<CounterPumpkin> A-76
<Pali> (I'm already trying to find some information about ISS Syndrome Information for both A55 and A76)
altf2o has joined #armlinux
<Pali> Seems that for A76 this ISS (bits [24:0]; 0x000411 in your case) is not documented in public specs.
<CounterPumpkin> Oh dear.
<Pali> It should have been in section "ESR_EL1, Exception Syndrome Register, EL1" but there are just two word "Syndrome information."
<Pali> I'm unable to find something better.
<CounterPumpkin> Thanks for checking either way :)
headless has quit [Quit: Konversation terminated!]
<CounterPumpkin> Maybe robmur01 or someone else at ARM knows more.
<hanetzer> anyone here familiar with goodix touchscreens? got one, mostly works, but I'm getting 'Invalid config (959, 478, 0), using defaults'. x y touch. I can set the first two in devicetree (I believe they are correct) but not sure about the last bit.
<hanetzer> based on stock firmware stuff 960/480/5 is what I need.
<hanetzer> *479 on the first bit
<broonie> CounterPumpkin: could be power management not set up correctly for the IP (eg, clocks or power domain), that can cause unpredictable behaviour when interacting with it. Just a guess though
<CounterPumpkin> Yeah, that was my guess before we got regulators and PDs working. I need to double-check they're actually in and working. Clocks is a good idea as well
<Pali> CounterPumpkin: Now I'm looking into ARMv8 https://developer.arm.com/documentation/ddi0487/latest doc and seems that on page 5695 is something.
cbeznea has joined #armlinux
<Pali> For your ISS=0x000411: AET=0b001 (Unrecoverable state (UEU)), DFSC=0b010001 (Asynchronous SError interrupt)
<Pali> So it just a generic error code
<CounterPumpkin> Hm, yeah. Thanks
<CounterPumpkin> Still useful to know it's not something specific
<Pali> You wrote that it occurs when you try to write to regmap. Could you try to read from regmap?
<CounterPumpkin> it's a regmap_update_bits so a read followed by a write
<Pali> Just try to read without writing.
<Pali> Due to pipelining and early acknowledge of write transactions, most write errors occurs asynchronly after store instruction. And hence there is just imprecise async serror with generic info.
<Pali> On the other hand this cannot happen for most read operations as load instruction needs to finish and erros can be reported synchronly, with more information.
<Pali> For debugging purposes it could help to map _problematic_ memory in strong ordered model, to receive most errors synchronly.
<Pali> But strong ordered model was last time in ARMv7 and was removed from ARMv8. So this kind of debugging is not possible on A76 anymore.
DarkL0rd has joined #armlinux
<CounterPumpkin> Okay, looks like the read succeeds
<CounterPumpkin> yep, reads the correct reset value
<CounterPumpkin> so the writes are the problem
<Pali> Ok, so seems that IP block is alive and react.
<Pali> Maybe you are trying to write into read-only registers?
<Pali> Or IP block "crashes" (send some Slave Error to CPU) after you write something into it?
<CounterPumpkin> bit 24 of that reg is RW, the rest are RO in the TRM, but this code works fine on the implementation found in a very recent lower-tier chip (RK356x)
<CounterPumpkin> one moment, that register is different... hmmm
<CounterPumpkin> no wait it's not
<CounterPumpkin> I just hit a page break in the reg overview
<Pali> Something which seems to need platform debugger...
apritzel has joined #armlinux
<ardb> Pali: arm64 has ioremap_np() now, which is Device-nGnRnE
<ardb> this is essentially the same as strongly ordered
<Pali> I played mostly with A53 and here is IIRC nGnRnE same as nGnRE
<Pali> Whatever I did I was not able to turn off early ack for write operations.
<Pali> https://developer.arm.com/documentation/ddi0500/e/level-1-memory-system/support-for-v8-memory-types --> nGnRnE - Treated the same as nGnRE inside a Cortex-A53 processor
<Pali> So I remember it correctly for A53.
<CounterPumpkin> oh, duh. I forgot the power-domains property on the i2s node, maybe that plays a role
<CounterPumpkin> tee-hee
<CounterPumpkin> wait nevermind, that's not a thing
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
cmarinas has joined #armlinux
<CounterPumpkin> wait nevermind, it is
<CounterPumpkin> why would you look at that, that was the problem
DarkL0rd has quit [Remote host closed the connection]
DarkL0rd has joined #armlinux
<hanetzer> On the subject of modular hardware. There's a devkit which is sold in the form of the main device, which consists of four pcbs joined together with some kind of connector, and a touchscreen with ribbons for the main mipi signals and i2c for the goodix touchscreen. should the 'extra' parts, which don't contain the soc itselff, be part of the final dts/dtb or should one use devicetree overlays for
<hanetzer> this sort of thing?
apritzel has quit [Ping timeout: 260 seconds]
heat has quit [Remote host closed the connection]
cmarinas has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
plappermaul has joined #armlinux
apritzel has joined #armlinux
plappermaul72 has joined #armlinux
cmarinas has joined #armlinux
plappermaul72 has quit [Quit: Client closed]
<geertu> hanetzer: Up to you
<geertu> See e.g. arch/arm64/boot/dts/renesas/Makefile
<geertu> dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2.dtb
<geertu> dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex.dtb
<geertu> dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dtb
apritzel has quit [Ping timeout: 250 seconds]
<hanetzer> geertu: heh. its funny that you should bring up 'hihope'. the device I'm working on is from them :P
cmarinas has quit [Read error: Connection reset by peer]
cmarinas has joined #armlinux
heat has joined #armlinux
hanetzer has quit [Ping timeout: 272 seconds]
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 250 seconds]
hanetzer has joined #armlinux
apritzel has joined #armlinux
altf2o has quit [Remote host closed the connection]
altf2o has joined #armlinux
apritzel has quit [Ping timeout: 272 seconds]
apritzel has joined #armlinux
plappermaul has quit [Quit: Client closed]
cbeznea has quit [Quit: Leaving.]
Pali has quit [Quit: Pali]
cmarinas has quit [Read error: Connection reset by peer]
cmarinas has joined #armlinux
heat has quit [Remote host closed the connection]
zkrx has quit [Read error: Connection reset by peer]
zkrx has joined #armlinux
altf2o has quit [Remote host closed the connection]
altf2o has joined #armlinux