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
IgorPec has quit [Server closed connection]
IgorPec has joined #armlinux
mrutland has quit [Server closed connection]
mrutland has joined #armlinux
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #armlinux
rockosov has quit [Ping timeout: 244 seconds]
HdkR has quit [Server closed connection]
HdkR has joined #armlinux
Xogium has quit [Server closed connection]
Xogium has joined #armlinux
javierm_ has quit [Server closed connection]
javierm has joined #armlinux
Norkle has quit [Server closed connection]
Norkle has joined #armlinux
iokill has quit [Server closed connection]
iokill has joined #armlinux
pinchartl has quit [Server closed connection]
pinchartl has joined #armlinux
Sledge has quit [Server closed connection]
Sledge has joined #armlinux
mwalle has quit [Quit: WeeChat 3.8]
siak has joined #armlinux
amitk has joined #armlinux
lane has quit [Server closed connection]
lane has joined #armlinux
kbingham has quit [Server closed connection]
kbingham has joined #armlinux
robher has quit [Server closed connection]
robher has joined #armlinux
Livio has joined #armlinux
cbeznea has joined #armlinux
sally has quit [Remote host closed the connection]
NishanthMenon has quit [Server closed connection]
NishanthMenon has joined #armlinux
lvrp16 has quit [Server closed connection]
lvrp16 has joined #armlinux
olofj has quit [Server closed connection]
olofj has joined #armlinux
nsaenz has joined #armlinux
unixsmurf has quit [Server closed connection]
unixsmurf has joined #armlinux
monstr has joined #armlinux
Crofton has quit [Server closed connection]
Crofton has joined #armlinux
gclement has quit [Quit: Leaving.]
gclement has joined #armlinux
gclement1 has joined #armlinux
dtor has quit [Server closed connection]
dtor has joined #armlinux
lain6141 has quit [Read error: Connection reset by peer]
lain6141 has joined #armlinux
qyousef_ has quit [Server closed connection]
qyousef_ has joined #armlinux
lain6141 has quit [Quit: Leaving]
lain6141 has joined #armlinux
frieder has joined #armlinux
prabhakalad has quit [Quit: Konversation terminated!]
headless has quit [Quit: Konversation terminated!]
broonie has quit [Server closed connection]
broonie has joined #armlinux
cbeznea has quit [Ping timeout: 252 seconds]
dianders has quit [Server closed connection]
dianders has joined #armlinux
dormito has quit [Server closed connection]
dormito has joined #armlinux
socksinspace has quit [Quit: WeeChat 3.8]
misanthropos has quit [Ping timeout: 272 seconds]
Livio has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
bps has quit [Changing host]
bps has quit [Quit: Leaving]
luispm has quit [Quit: Leaving]
misanthropos has joined #armlinux
gpiccoli has quit [Server closed connection]
gpiccoli has joined #armlinux
cbeznea has joined #armlinux
SystemError has quit [Remote host closed the connection]
SystemError has joined #armlinux
ukleinek has quit [Server closed connection]
ukleinek has joined #armlinux
sihloo has quit [Server closed connection]
sihloo has joined #armlinux
sihloo has quit [Changing host]
sihloo has joined #armlinux
Grimler has quit [Server closed connection]
Grimler has joined #armlinux
rfs613 has quit [Server closed connection]
rfs613 has joined #armlinux
d4ve has quit [Server closed connection]
d4ve has joined #armlinux
misanthropos has quit [Ping timeout: 255 seconds]
rockosov has joined #armlinux
luispm has joined #armlinux
machinehum has joined #armlinux
Lucanis has quit [Ping timeout: 246 seconds]
Lucanis has joined #armlinux
psydroid2 has joined #armlinux
abelloni has quit [Ping timeout: 245 seconds]
misanthropos has joined #armlinux
snalty has quit [Server closed connection]
snalty has joined #armlinux
SystemError has quit [Remote host closed the connection]
SystemError has joined #armlinux
misanthropos has quit [Ping timeout: 260 seconds]
iivanov_ has joined #armlinux
iivanov has quit [Ping timeout: 252 seconds]
misanthropos has joined #armlinux
Livio has quit [Ping timeout: 252 seconds]
Livio has joined #armlinux
tleb has quit [Server closed connection]
tleb has joined #armlinux
headless has joined #armlinux
iivanov_ has quit [Remote host closed the connection]
iivanov has joined #armlinux
prabhakalad has quit [Ping timeout: 260 seconds]
prabhakalad has joined #armlinux
cbeznea has quit [Ping timeout: 252 seconds]
prabhakalad has quit [Ping timeout: 260 seconds]
prabhakalad has joined #armlinux
amitk has quit [Read error: Connection reset by peer]
cbeznea has joined #armlinux
vigneshr has quit [Server closed connection]
vigneshr has joined #armlinux
amitk has joined #armlinux
sakman has quit [Server closed connection]
sakman has joined #armlinux
SurfBlueCrab has quit [Server closed connection]
SurfBlueCrab_ has joined #armlinux
<phh>
that's a bottle in the ocean but.... on Linux 6.6 (yes i need to try on something more recent but ugh Android), on multi_v7_defconfig, on a brcmstb with split/sparse mem (mem=1018m@0m mem=1024m@2048m) I get a very early error on like the first kmalloc or so: https://pastebin.com/EVfLpHEj. it looks like currently (I switched CONFIG_MULTI_V7=n) mem=1018m@0m is enough to fix it, but at some point (before that switch), I even had to use vmsplit = 1g because it seemed
<phh>
like highmem caused this issue
<phh>
would that rhing any bell to anyone?
SurfBlueCrab_ is now known as SurfBlueCrab
Livio has quit [Ping timeout: 264 seconds]
abelloni has joined #armlinux
headless has quit [Quit: Konversation terminated!]
iivanov has left #armlinux [#armlinux]
jsto has quit [Server closed connection]
jsto has joined #armlinux
socksinspace has joined #armlinux
Saalim has quit [Remote host closed the connection]
Saalim has joined #armlinux
Livio has joined #armlinux
bjoto` has joined #armlinux
bjoto has quit [Ping timeout: 246 seconds]
Livio has quit [Ping timeout: 248 seconds]
misanthr- has joined #armlinux
Livio has joined #armlinux
misanthropos has quit [Ping timeout: 264 seconds]
machinehum has quit [Ping timeout: 252 seconds]
haritz has quit [Server closed connection]
haritz has joined #armlinux
haritz has quit [Changing host]
haritz has joined #armlinux
<arnd>
phh: CONFIG_VMSPLIT_1G=y CONFIG_HIGHMEM=n should indeed be enough to make it all work with all RAM in lowmem, but that can break applications that rely on using more than 1GB of virtual addressing in userspace
<phh>
well no, vmsplit_1g isn't enough because 3GB of phys ram span (with a 1GB hole)
<arnd>
I'm not aware of any particular bug that would cause the NULL pointer dereference when using highmem here, it's certainly supposed to work, but on the other hand, highmem is getting more fragile as fewer people use it
<arnd>
ah right, so that would only give you 2GB (1.75 really)
<arnd>
have you tried turning CONFIG_LPAE and CONFIG_SPARSEMEM on (or off if they were on already)?
machinehum has joined #armlinux
Livio has quit [Ping timeout: 264 seconds]
<phh>
i'm pretty sure I had tried with SPARSEMEM off, and I turned it on because of that issue (which in itself sounds weird to me). I'll try LPAE
<arnd>
linus w has an experimental patch set that should enable using up to 4GB (3.75GB really) of lowmem at a small performance cost, but it requires LPAE and the patch set is still not complete enough to actually use as far as I know
<arnd>
phh: I can also imaging that passing a mem= argument that is different from what's in the dtb causes problems. You could try making sure that the dtb has the correct data and then drop the command line option
machinehum has quit [Ping timeout: 260 seconds]
<phh>
dtb says the same size/offsetas mem=, but yes I agree I need to try that
gclement1 has quit [Ping timeout: 252 seconds]
<phh>
LPAE => same results (I properly see the adress width change in the logs to confirm it enabled lpae), removing the mem= no dice. I'm still not even 100% sure on the highmem part, so i'll do more tries
gclement has quit [Ping timeout: 255 seconds]
<phh>
well i guess i'll look at that 3.75GB lowmem patch, thanks
gclement has joined #armlinux
<arnd>
phh: do you have more information about that machine? I'm not sure how much work that patch is still getting, so it would be helpful to understand how common these machines still are (I know of a number of other ones)
<phh>
arnd: i don't know if that's the question, but vendor kernel (4.1)'s defconfig has highmem enabled, so hardware is capable of highmem (even though I fail to see how LPAE-level hardware could possibly not be capable of highmem).
<phh>
but i'll try asking vendor, they supposedly have a working linux-next on that platform
<arnd>
there are actually two parts to that work: one part is about extending the size of the lowmem with some page table tricks, the other part is about rearranging the way sparsemem works to make noncontiguous physical memory turn into a contiguous block of page frame numbers
<arnd>
phh: I'm wondering more about the lines of which specific SoC this is, what kind of device it's built into and how many of them shipped over the past decade
iivanov has joined #armlinux
<arnd>
also of course, whether anyone besides you is ever going to put a newer kernel on it
<phh>
SoC is broadcom BCM7252S, it's for set-top-boxes
<phh>
oh that I can answer: noone
<phh>
but if i succeed (it's very far fetched) it'll be at home of like a million users
misanthr- has quit [Ping timeout: 252 seconds]
headless has joined #armlinux
monstr has quit [Remote host closed the connection]
misanthropos has joined #armlinux
misanthropos has quit [Read error: Connection reset by peer]
luispm has quit [Quit: Leaving]
dliviu has quit [Server closed connection]
dliviu has joined #armlinux
lain6141 has quit [Read error: Connection reset by peer]
lain6141 has joined #armlinux
lain6141 has quit [Changing host]
lain6141 has joined #armlinux
misanthropos has joined #armlinux
psydroid has quit [Server closed connection]
psydroid has joined #armlinux
nsaenz has quit [Remote host closed the connection]