<junon>
whereas "lock inc QWORD[reg]" and "lock stosq" have definition instruction prefixes for all registers that matter.
* moon-child
uses avx512 scatter to write zeroes to 16 different pages all at once
<mjg>
:]
<mjg>
no half measures
<moon-child>
wait no I can do 32
<moon-child>
by making them misaligned
<moon-child>
but better would be making them misaligned but only one page gets all zero writes
nyah has quit [Quit: leaving]
<zid>
gog help
<zid>
I found a mystery product in the fridg
<zid>
it says "creamy icelandic style"
<zid>
but no other information
<heat>
does it taste salty
<zid>
I'm not tasting it
<moon-child>
can I taste it
<zid>
if you come here
<moon-child>
that would be a creamy canadian style
<zid>
what
<zid>
oh, are you a french
<moon-child>
what
<zid>
ARE YOU A FRENCH
<moon-child>
no ..
<zid>
Okay you may live.
rnicholl1 has joined #osdev
<zid>
I didn't know there were hippie enclaves in canada ngl
<heat>
openbsd inc
<mjg>
> Here at Microsoft, we are always looking to engage with open source communities to produce better solutions for the community and our customers.
<mjg>
lmao
<heat>
microsoft was the 17th most active corp for the linux 6.4 release
<zid>
I believed them until 'community'
<zid>
Here at Microsoft, we are always looking to engage with open source communities to produce extended versions for our bank account.
<zid>
ftfy
<mjg>
heat: that's cause they have no choice because of azure
Brnocrist has quit [Ping timeout: 245 seconds]
<mjg>
you may be missing antitrust lawsuits they lost
<heat>
why do they not have a choice?
<zid>
microsoft moved on from extending their OWN ecosystem exclusively, because they're not stupid
<mjg>
linux is big and if they want their cloud to succeed it needs to run well there
<zid>
linux is huge, they need to create management software etc for it they can sell
<heat>
sponsoring stupid shit like mm folio work is not exclusive to azure
<mjg>
they sponsored folio?
<heat>
yes
<mjg>
wut
<heat>
wilcox was under microsoft for a good while
<mjg>
i only know them from azure bringup
<junon>
okay going back to my crazy question about skipping RIP from a page fault handler, how would that work again? I just jmp back or what? don't I have problems with stacks and stuff, and the fact I'm in ring 0? don't I need to iret?
<mjg>
fucking iwndows 10 has a 5.7G iso
<mjg>
wtf
<zid>
that's tiny for how much nonsense it includes, gj microsoft
<heat>
over the last years they have done a lot more than hyperv shit
<heat>
junon, so, you iret, and it sets the rip
<junon>
what sets the rip?
<heat>
so you change the rip on your stack to $something, and iret, and it sets the rip
<heat>
the instruction
[itchyjunk] has quit [Ping timeout: 260 seconds]
<zid>
push rip -> call 2
<zid>
pop rip -> ret
<heat>
you don't need that, this is an interrupt
<zid>
mov rip, [rsp] -> ret, even :P
<zid>
(and adjust rsp)
<zid>
heat why did long mode remove jmp n:aaaa
<zid>
WHY
<heat>
idk it pains me too
<heat>
mjg, willy is under oracle now, such as the other mm maple tree guy
<moon-child>
freebsd is like 1gb
<heat>
so now the great sponsor of good mm work is *Oracle*
<moon-child>
so same order of magnitude tbh
<heat>
how do you know?
<junon>
RIP is at the top of the stack, you mean?
<zid>
windows 95 came on 1.68MiB formatted floppies
<heat>
do you have an iso of freebsd?
<zid>
cus it was a FAT BOI
<heat>
do you know that's against the geneva convention
<heat>
junon, investigate your interrupt frame
<moon-child>
i plead the fifth
<moon-child>
wait what the dvd version is like 4gb
<bslsk05>
randomascii.wordpress.com: Random ASCII – tech blog of Bruce Dawson | Forecast for randomascii: programming, tech topics, with a chance of unicycling
<junon>
I always wanna say "MRSA" and then see NUMA and go "yeah that's the one" but I'm wrong on both counts lmao
<zid>
x86 is incredibly tame
<bslsk05>
starwars.fandom.com: Star Wars: Episode II Attack of the Clones | Wookieepedia | Fandom
<zid>
Multiple Exceptional Sexual Incidnts
<heat>
linux RCU is full of passive-agressive mentions of alpha
<zid>
That's the diary entry of the woman I slept with last weekend btw
<zid>
It was either that or "I wouldn't sleep with such a messy tramp", I forget
<heat>
"this does not require memory barriers on any architecture, EXCEPT alpha"
<junon>
okay last kooky question - i could verify this myself but it'd take me a while to get back into my dev environment etc.
<zid>
six.
<zid>
False.
<zid>
Only on tuesdays.
<moon-child>
except after c
<junon>
do AND [addr], reg and/or INC [reg] perform a read as well as a write in terms of checking permissions? Or just a write?
<junon>
sorry, do they check present + write, or just write?
<junon>
sorry, no, still not the right question
<zid>
present is what makes a mapping *exist*
<heat>
they always check present
<zid>
so I bloody hope it checks present
<zid>
rather than thinking every single page is mapped to phys 0
<junon>
do they do a read first, which checks the present bit first?
<heat>
and obviously as you're reading the page needs to be readable
<junon>
or does it immediately try to do a write
<zid>
what
<zid>
how would it write data *before* checkin the present bit and *before* reading?
<zid>
???
<heat>
i think the question is: does it lookup directly in the TLB with (READ | WRITE) or READ first and then, if need be, WRITE
<junon>
I meant more that is an INC two discrete memory ops - a read and then a write?
<heat>
which I asked like 2 weeks ago and no one answered so Here Be Dragons?
<junon>
since it's a single instruction
<zid>
Yes, it's a RMW op, it cannot possibly work any other way
<zid>
that's why LOCK is useful for it
<zid>
because otherwise you could read 47, write back 48, but someone else wrote 49 while you were doing the 'increment' part
<zid>
so now you've corrupted it
<zid>
i.e multiple writers all trying to 'inc' a refcount
<junon>
OKay so most specifically, if I do an INC [reg] and it faults due to the page not being present, the error code isn't going to include the write bit, will it?
<zid>
I'd expect it to, tbh
<zid>
but I can see it doing either
<junon>
I can confirm it later but yeah, I can see it doing either
<zid>
so what are your thoughts on wheel of time, game of thrones, harry potter, etc, etc?
<zid>
unreadable trash nobody should bother with because there's more than 1?
<kof123>
They wrote, not jointly but alternately Unfortunately they quarreled, and one Monday morning when Bowman read the paper to prepare himself for his task, he found his work cut out for him in a way to surprise and pain him. His collaborator had embarked every character of the narrative on a ship and sunk them all in the deepest part of the Atlantic.
<moon-child>
crap, crap, crap
<zid>
I mean, harry potter is crap
<zid>
wheel of time I've not read, game of thrones was good until it stopped
<moon-child>
I read game of thrones (or, technically, 'a song of ice and fire') and I think I enjoyed it, but don't really remember it
<moon-child>
agree re harry potter and wheel of time
<mjg>
OH
<mjg>
piercy jackson for life amirite
<zid>
piercy?
<mjg>
percy?
<zid>
did someone seriously name their kid that
<mjg>
i barely know the franchise exists :p
<moon-child>
zid: probably
<zid>
ah percy jackson is infact an author
<mjg>
MISTBORN amirite
<zid>
I read mistborn
<zid>
it was okay
<mjg>
you hae no shame, do you
<zid>
how come
<moon-child>
wait mistborn isn't wheel of time?
<moon-child>
or just same author or sth?
<zid>
wheel of time is robert jordon, brandon snaderson finished the last three
<zid>
cus he.. died
<zid>
but he used robert's notes to finish them
<mjg>
> defo more cringe for the last books
<mjg>
brando sando: who am i to argue
<zid>
The quality of these series is one thing, but you can't deny that it's a very popular form of writing books
<mjg>
i'm just taking a piss, i don't know quat about wot
<moon-child>
apropos of nothing
<mjg>
i do know a little about mistborn and it was enough to conclude it is crap
<bslsk05>
'NASA's clever technique to make combustion chambers' by Breaking Taps (00:16:18)
clever has quit [Ping timeout: 245 seconds]
Left_Turn has quit [Ping timeout: 245 seconds]
awita has joined #osdev
goliath has quit [Quit: SIGSEGV]
clever has joined #osdev
Turn_Left has quit [Remote host closed the connection]
clever has quit [Ping timeout: 240 seconds]
kerravon has joined #osdev
Turn_Left has joined #osdev
Ellenor is now known as Reinhilde
Ermine has quit [Remote host closed the connection]
Ermine has joined #osdev
Turn_Left has quit [Ping timeout: 250 seconds]
koolazer has quit [Ping timeout: 264 seconds]
Turn_Left has joined #osdev
<junon>
god I hate spiders and it's spider reproduction season here in the apartment it seems
<junon>
so I see one tiny spider and immediately feel like I have a hundred on me
<zid>
nothing wrong with spiders
<zid>
salticus best spider
<junon>
I know that, they're ecologically important and valid and generally pretty harmless but my little creepycrawliesinstincts kick in and I turn into a gorilla whenever I see one
<zid>
What if they were 18 feet tall and you were powerless to damage them, would that help
<junon>
they can be ecologically important somewhere else
<junon>
no, I'd probably be dead already, or something like a resistance member from the Half Life series
<zid>
what about cattle
<junon>
what about cattle
<zid>
a cow will give you a nasty nip too
<junon>
yes sure but I can see them coming and they don't have 8 legs or whatever
<zid>
Pretty sure you'd see an 18 foot tall spider coming
<junon>
well I supposed I'd see giant spiders coming too but I feel like they'd be more aggressive than cattle
<mcrod>
hi
<zid>
omg junon is secretly a giant fly
<zid>
we found out why he hates spiders
<sham1>
I *knew* it
<zid>
I keep a supply of many legged furry predators in my kitchen actually
<zid>
They answer to the name "Are you really going to sleep *there*? Wtf cat" and "fattie"
<mcrod>
i'm getting a cat and i am excited
<zid>
good marbling?
HeTo has quit [Server closed connection]
<mcrod>
huh
HeTo has joined #osdev
<pog>
cat!
* pog
cats around
<zid>
Catticus Cattington you get down here right now!
<Ermine>
poggers is here!
<mcrod>
pog may I scratch you
<pog>
yes
* mcrod
scratches pog
* pog
prr
clever has joined #osdev
<mcrod>
I have to tell you
<mcrod>
why do companies insist on providing people with ultra low power laptops
<mcrod>
my first job it thermal throttled and downclocked to 400MHz
<mcrod>
this job it caused actual issues for the QA team
<zid>
doesn't sound like it was low power then :P
<mcrod>
yeah yeah yeah, I'm talking about the intel CPUs that have the U suffix
<zid>
sounds like it had shitty cooling and too much power
<mcrod>
no they're always windtunnels
<mcrod>
(as in, I agree)
<mcrod>
drives me fucking nuts that people in IT give shit fucking PCs
<mcrod>
security people also drive me fucking crazy
<zid>
A lot of laptops are massively undercooled to keep them thin to mimic apple:/
<pog>
mine is only slightly undercooled because they couldn't fit a bigger heatsink inside
<pog>
but it's also RYZEN
<zid>
(to keep it thin)
<mcrod>
fuck I wish we had a mac
<pog>
as thin as possible
<zid>
I've never looked at ryzen mobile
<mcrod>
but there would be a revolt if we went to macs
<zid>
I know the intel cpus were like 30W
<pog>
zid on a scale of 1 to ryzen how hype are you today
<zid>
0, it's not bookworm monday
<pog>
mine is 45W
<zid>
beast
<pog>
yeah when it's running full tilt it gets real hot and loud
<zid>
people used to pair those with 100W 980 ti mobiles
<zid>
and cool it with a fan the size of a pea
<pog>
i've got a 1650 mobile its uh 50w i think
<zid>
did someone say 1650
<zid>
oh wrong chip :(
<pog>
so i've got a 100W heater basically
<pog>
if i can max all cores and gpu shaders at the same time
<pog>
not likely
<zid>
100W isn't *terrible*, but you'll want spigots to add the water cooling loop to it
<zid>
to stop your legs melting
<pog>
heh, the little silicone bar on the bottom has actually expanded by a bout 3mm and doen't sit in its recess correctly anymore
<pog>
the heat pipes run directly beneath the side that's wonky
<zid>
I made that up but it's apparently a real thing
<zid>
it's "repeat" not result, and why is it limited to 8
<pog>
documentation L
<pog>
ratio + no bitches + you fell off
* mjg
checks channel name
<zid>
hmm why is the w7 boot.efi 0x2000 characteristic
<zid>
that's DLL
<mjg>
hrm so i got a win 10 iso and it asks me for a product key?
<mjg>
was that supposed to be free?
<pog>
efi images are dlls
<pog>
subsystem 0x..10?
<zid>
til
kerravon has quit [Ping timeout: 246 seconds]
<zid>
Now I need to remember hwo all the imagebase, baseofcode etc shite works
<pog>
it's really easier to just use clank and lld-link
<pog>
clang
<zid>
I don't have clank!
<zid>
and that's not really a project
Guest9618 has joined #osdev
goliath has joined #osdev
<Guest9618>
when an interrupt gets masked out due to its low priority, is the interrupt added to some queue so it can be serviced when the interrupt priority mask is lowered? If the answer is "it depends", does it depend on the OS or CPU architecture?
<zid>
cpu
<zid>
on x86 the PIC chip just has 8 input lines, any of which could be high
<zid>
and the chip talks to the cpu by raising a flag and putting "4" onto a tiny little bus
<zid>
once the device's irq is gone, another pin might still be lit up, and it will change to "7" or whatever
<zid>
it's up to the *device* to stop signalling they have an IRQ
<zid>
and for the PIC to deliver simultaneous IRQs in a certain order
<zid>
interrupts are so hardware can signal the cpu that they want some loving
<sham1>
Yeah, you'd most likely want to make your ISR just register the fact that you got an interrupt from $DEVICE and then handle the thing outside of the ISR. Of course you'll have to EOI stuff, but that's not too bad
<Guest9618>
whats EOI?
<zid>
end of interrupt
<sham1>
Of course if devices share interrupt lines, then it's more interesting although then you can just be like "some device on line FOO signaled an interrupt"
<zid>
the ACK message you send to a device to shut it up
<sham1>
And have the drivers figure out which it was
slidercrank has quit [Ping timeout: 246 seconds]
<zid>
which may just be directly to the interrupt controller, if it's signalled by pulses for example, and not lines behind held high or low
<zid>
it needs telling that interrupt '4' is finished
<zid>
and to move on to '7'
<sham1>
At least on x86 you have both an interrupt handler EOI signal and then also of course the device can be told that you've handled whatever you wanted to handle
<zid>
If the interrupt system is 'lines get held high' then you often don't need an EOI, as that's mainly for the interrupt controller to de-latch
<zid>
just tell the device to shut up
<zid>
"yes, I know you've found a cool bug, go back outside and play"
<pog>
i found an uncool bug
<pog>
the program kind
<sham1>
I found some very uncool code today which I'll have to rewrite. Code from 2014 which is so very convoluted
<pog>
that's a good feeling though, turning convoluted code into comprehensible code
<Guest9618>
In regards to "autovectored interrupts", when we say "vector" do we just mean an array of addresses that point to ISR's indexed by IRQ number? And does the "auto" mean that we dont need to worry about where this vector is located because its location will be supplied to the cpu by (? the program) via some register? How true is what I just said?
<Guest9618>
Also what is the alternative to autovectored interrupts?
<zid>
no idea what auto means
<zid>
sounds like you're reading some specific book
<zid>
and it may be using ibm terms, internal intel terms because he's an ex-intel engineer, etc, etc etc, never can tell with books..
<zid>
vectored means you can change where the interrupt handler lives
<zid>
aka a vector.. aka an arrow in space... aka a pointer
<zid>
either in a table, or register, etc as you said
<Guest9618>
ctrlf "autovector" ... I got this term from this musashi m68k emulator, and I thought it was just an established term. https://github.com/kstenerud/Musashi
<bslsk05>
kstenerud/Musashi - Motorola 680x0 emulator written in C (86 forks/330 stargazers)
goliath has quit [Quit: SIGSEGV]
<zid>
It may be, in motorolaland
<zid>
If you google it you mainly get.. 68k results
<zid>
and presumably people familiar with the 68k talking about it
<Guest9618>
yup, its motorolla specific
<zid>
people seem to love that cpu but I've never really done anything with it
<sham1>
It's a lovely CPU
<zid>
see
<sham1>
Powered things like the Amiga and for example the Sega MegaDrive
<zid>
If you need any HOT TIPS about the cpu in a gameboy though, I am your an
<zid>
man
<Guest9618>
gotta go. thanks.
Guest9618 has quit [Quit: Client closed]
<pog>
geist would probably know about m68k stuff
<zid>
too bad, they both died
<zid>
the guest and the geist
<pog>
noooooooooooooooooooooo
<zid>
what did I bastardize your name to yesterday I forget, but I remember liking it
<bslsk05>
twitter: <steveklabnik> did you know rms has seen the "I'd just like to interject for a moment" copypasta and responded in the funniest possible way <gnu.org/gnu/incorrect-… https://t.co/6CNk8RcL6o>
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 245 seconds]
bgs has quit [Remote host closed the connection]
Turn_Left has joined #osdev
slidercrank has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
jimbzy has joined #osdev
<pog>
jimbzy: sosig
<jimbzy>
:]
<jimbzy>
I actually cloned SOSIG the other day and I'm going to do a bit more work on it soon.
<jimbzy>
How you doing, pog?
gorgonical has joined #osdev
<gorgonical>
I know this is not linuxdev, but can someone please explain to me how to use the fucking IPI subsystem in Linux
<gorgonical>
The patchset says "for drivers" to use but then apparently critically important functions are not exported so I can't use them
<bslsk05>
github.com: linux/arch/x86/kernel/apic/ipi.c at master · torvalds/linux · GitHub
<zid>
x86 has em
<gorgonical>
kernel/irq/ipi.c
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl_ is now known as arminweigl
clever has quit [Ping timeout: 250 seconds]
gareppa has quit [Quit: gareppa]
gareppa has joined #osdev
frkzoid has quit [Ping timeout: 260 seconds]
Jari-- has joined #osdev
<Jari-->
hi all
<pog>
hi
dutch has quit [Quit: WeeChat 3.8]
frkazoid333 has joined #osdev
dutch has joined #osdev
<geist>
aww someone wanted to talk 68k
<pog>
you're alive!
<pog>
zid told me you were dead
<pog>
he's a filthy liar clearly
pog has quit [Quit: Konversation terminated!]
nvmd has joined #osdev
<mcrod>
hi
zxrom has quit [Ping timeout: 260 seconds]
zxrom has joined #osdev
frkazoid333 has quit [Ping timeout: 240 seconds]
<sham1>
geist: it's a very nice CPU
<geist>
indeed
<sham1>
A 64-bit extension of M64k would be quite nice
gog has joined #osdev
<geist>
yah though i never really dealt with it at the time (in the 80s) it is clearly a superior design ISA wise to x86 on a lot of fronts
<geist>
alas, probably harder to make a superscalar OOO version
<geist>
that much more CISCy work to deal with
gildasio has joined #osdev
frkzoid has joined #osdev
goliath has joined #osdev
doppler has quit [Ping timeout: 240 seconds]
goliath has quit [Ping timeout: 245 seconds]
frkzoid has quit [Ping timeout: 245 seconds]
goliath has joined #osdev
koolazer has joined #osdev
biblio has joined #osdev
gareppa has quit [Quit: gareppa]
rnicholl1 has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
danilogondolfo has quit [Remote host closed the connection]
tomith has joined #osdev
<gorgonical>
Working on other architectures really highlights that Linux as a single kernel is a lie
<gorgonical>
There's a single kernel "core" but each architecture has all this stuff bolted onto it and uses different, overlapping subsystems
<zid>
They slowly merge together
<zid>
but it's easier for development if they just get cracking in their own sandbox
<gorgonical>
That's true, but some of the platforms introduce conflicting systems and hiding can be ugly
<gorgonical>
Like the contrast between acpi and devicetree
<Bitweasil->
Sure, but they're both doing ~the same thing.
<Bitweasil->
Describing the hardware.
<gorgonical>
It's not just the hardware description, though. It's also the facilities used to do so
<gorgonical>
Almost all platforms have an IPI mechanism, and now Linux has a "generic" API for this. But afaict only the mips code uses it. Everyone else just directly calls whatever the irqchip implements
<gorgonical>
"now" being 2015
rnicholl1 has quit [Quit: My laptop has gone to sleep.]
vdamewood has joined #osdev
SGautam has joined #osdev
<Bitweasil->
*shrug* Yeah. Computers suck.
Bitweasil- is now known as Bitweasil
<gog>
computers do suck
<gorgonical>
I guess I got used to the simplicity of my kernel and I'm rather used to using IPIs to signal stuff that I was shocked Linux doesn't have a more flexible way to do this
<gorgonical>
Relying mostly/entirely on cross-calls and stuff
<zid>
I wouldn't wanna try merge acpi and devicetree that's nutty
tomith has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<geist>
but yeah i find that linux's arch abstraction to be quite 'high' compared to the BSDs
<geist>
ie, it puts more onus on the arch layer to implement the optimal version of things
<geist>
for better or worse, really
<sham1>
Wouldn't that make it *pessimal*
<Bitweasil>
Not really.
<moon-child>
implementing a higher-level interface means they have more flexibility in how they do it
<Bitweasil>
^^
<moon-child>
vs forcing everything to al owest common denominator
<moon-child>
where you may not be able to take advantage of things that aren't available everywhere
<Bitweasil>
So, look at page tables. Everything modern does page tables... *somehow.* Some concepts are similar, some simply aren't.
<moon-child>
this is always the case. Lower-level interfaces give you more control, but higher-level interfaces can be optimised. Sql is a prominent example
<Bitweasil>
If you make too low level of an abstraction, you can't make use of things that some architectures may not support.
<Bitweasil>
ARM page tables and x86 page tables are compatible...ish. Except ARMv8 supports 16kb and 64kb granules. And two page table base regions (TTBR0/TTBR1). And different size large pages. Etc.
<Bitweasil>
And x86 now has 5 level paging.
<Bitweasil>
Make your abstraction very "4kb and 4 layer 64-bit paging," and you can't take easy advantage of the stuff ARM offers.
<Bitweasil>
IIRC, Apple uses 16kb granules on most of their stuff.
<moon-child>
yeah
<Bitweasil>
Though I'm still not sure how to tell the Linux kernel to do that for tasks... I never dug into it very hard, but I so wanted to run 16kb or 64kb granules on ARMv8 just for the funsies.
<Bitweasil>
I sort of wimped out and went to Qubes, though. :/
<Bitweasil>
The ARM boxes didn't have the resources or sane kernel support for the isolation I increasingly think is sane.
<Bitweasil>
(say, "browsers snoofing your localhost to fingerprint your system" being a thing)
<moon-child>
I know someone who runs different hardware for each browser tab
<moon-child>
cheap arm cores. Open tab -> boot new vm on dedicated computer -> stream video over network
<moon-child>
honestly seems rather sane ...
<gorgonical>
that kind of reminds me of the hardware multitasking thing I saw on hn a while back
<Bitweasil>
moon-child, do you happen to know what software they're using to do that?
<Bitweasil>
I've thought pretty hard about it.
<Bitweasil>
Qubes gets me at least partway there, in that the browser I use for most stuff is in an ephemeral/disposable VM that only does random web stuff.
<Bitweasil>
There was some startup I interviewed for that was doing "browser streaming over video," but they were focused on getting hundreds of tabs going on a low end laptop, and didn't seem to care about the security benefits of it.
<Bitweasil>
... and I don't do oncall anymore.
doppler has joined #osdev
clever has joined #osdev
<gog>
:<
<Bitweasil>
Hm. BrowserBoxPro is open source, I might mess with that.
<Bitweasil>
"Mighty" is a company doing it, but... wasn't too impressed with them, and they don't seem to isolate, it's just "a really powerful remote browser."
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
awita has quit [Remote host closed the connection]
rnicholl1 has quit [Quit: My laptop has gone to sleep.]
<mjg>
where is heat
xenos1984 has quit [Read error: Connection reset by peer]
<mjg>
he promised me some windows results
<mjg>
i managed to verify on my local install that there is a routine KeZeroSinglePage which uses nt stores
<mjg>
but i don'th ave means to verify this is what is being used
goliath has quit [Quit: SIGSEGV]
<moon-child>
have you tried gitting gud?
<mjg>
yes and decided against it
<gorgonical>
why in the goddamn did Linux decide to use the same term, irq, for both the physical vector and the linux irqs?
<gorgonical>
It makes it so difficult to understand if a function operates on physical vector numbers or the linux-assigned irq number for an interrupt event
<immibis>
because they are the same thing
<gorgonical>
they are not at all
<immibis>
that's like asking why virtualization software uses "CPU" to refer to both CPUs being virtualized as well as CPUs the virtualization software is running on
<Bitweasil>
Eh...
<immibis>
why does a pencil factory use "pencil" to refer to the product being made as well as the tools used to track the products being made
<Bitweasil>
Most use vCPU to refer to the virtual CPUs.
<gorgonical>
your argument is the same as asking why we clarify between virtual and physical addresses because they're both the same addresses
<immibis>
did you notice that both of them are called addresses though?
<Bitweasil>
And hpa/gpa to refer to host physical vs guest physical.
biblio has quit [Quit: Leaving]
<gorgonical>
indeed, and if Linux consistently called them something extra that would be totally fine with me
<immibis>
does linux even assign IRQ numbers? I thought
<immibis>
that linux just represented the hardware IRQs
<Bitweasil>
I'm with gorgonical here. Using the same term for both is needlessly confusing.
<gorgonical>
hwirq and kernirq would be acceptable
<gorgonical>
but just irq is confusing
Turn_Left has quit [Read error: Connection reset by peer]
<immibis>
but with linux-assigned numbers because different chips would have overlapping numbers otherwise
<Bitweasil>
Yeah, what's a "hardware IRQ"? :p Anymore, that's not exactly a clear term.
<gorgonical>
immibis: on ARM e.g. you have wacky overlapping ranges and such
<immibis>
probably what you mean is global and local IRQ numbers
<Bitweasil>
Raise your hand if you've tried to figure out wtf a DTB means with regards to how an interrupt is plumbed...
<immibis>
i.e. system IRQ 42, vs chip 1 IRQ 10
<Bitweasil>
You don't use ARM, do you?
<gorgonical>
Yeah but who defines system IRQ 42? That's linux's view of the irq mapping
<Bitweasil>
There's some weird plumbing into the GIC and how it reports stuff.
<gorgonical>
the gic reports an interrupt number and has its base offsets that tell you what class of interrupt it is, but it's up to you to decide how to number it
<Bitweasil>
You can have per-CPU interrupts and global interrupts (roughly, APIC and IOAPIC in x86).
<gorgonical>
the manual says 0-15 are ipis, but your controller is not *required* to report them that way
<Bitweasil>
And God help you when you get into virtualized stuff.
<gorgonical>
yeah the gic is a fucking nightmare sometimes lol
<Bitweasil>
I know, I've written a GICv2.
<Bitweasil>
Without virt support.
<gorgonical>
Eep
<gorgonical>
The drivers for a gicv2 aren't that bad at least
<Bitweasil>
I dread the day someone needs ARM virtualization support. :/
<Bitweasil>
Nah, it's not *that* bad an interrupt controller.
<Bitweasil>
Though I'm jealous of the M series guys and their large IVT.
<gorgonical>
yeah honestly for my trustzone project the gic3 has been very useful and compatible
[itchyjunk] has joined #osdev
<gorgonical>
It just already does all the things
<Bitweasil>
I've got the security extensions and such plumbed through.
<Bitweasil>
So the whole "FIQ as secure interrupt" thing works.
<Bitweasil>
And if it's a secure interrupt, non-secure can't modify it, etc.
<gorgonical>
nice. When I read that you can just set NSACR and then you have cross-security domain interrupts I was so relieved lol
xenos1984 has joined #osdev
<gorgonical>
I've already mucked around so much in arm TF-A I did not want to implement trap and emulate for that
<Bitweasil>
I... can't recall if I implemented that or said "Oh hell... //TODO"
<Bitweasil>
Mostly, I'm considering what I can do that's not computers that I can earn a living at. :(
<gorgonical>
You could start making leather moccasins
<Bitweasil>
I'm well paid for my skillz, but they're all in a domain I more and more hate.
<immibis>
gorgonical: linux defines it by concatenating all the chips in some arbitrary order
\Test_User has quit [Ping timeout: 250 seconds]
\Test_User has joined #osdev
<Bitweasil>
Alright, I'm out. Need to beat on non-computer stuff for the weekend.
Vercas has quit [Ping timeout: 240 seconds]
<gog>
hi
<zid>
glorp
vdamewood has joined #osdev
<bl4ckb0ne>
bonjour gog
<gog>
hi bl4ckb0ne
<gog>
how are you
<gog>
zid:
<gog>
zid
<gog>
me_irl
<bl4ckb0ne>
good, you?
<gog>
it's 23:20 and i'm drinking coffee
<bl4ckb0ne>
i went to sleep last night instead of fixing my paging
<gog>
good
* vdamewood
gives gog a fishy
* gog
chomp fishy
<gog>
tomorrow is friday
<gog>
fri-yay
<bl4ckb0ne>
now i understand the weakness of the flesh
<gog>
i had another busy week at work and it was good, i killed some bugs and have a new prototype for transaction flow
<zid>
I'll me_irl you if you're not careful
<gog>
you won't, coward
<bl4ckb0ne>
imbetween contracts, all days are sundays here
<zid>
I'm fairly sure she's the reason I think collars are hot
<zid>
I can't prove it though
<gog>
same
<vdamewood>
I've never heard of her.
<zid>
you should watch The Craft, vdamewood
<vdamewood>
Noted
* vdamewood
crafts a watch
<vdamewood>
... oops.
<zid>
Matthew Jacobs and Julia Brucculieri of the Huffington Post, writing in 2016, praised The Craft for departing from clichés of the teen movie genre and incorporating darker themes, saying it became "part of the '90s teen canon and a cult classic of its own merit."
nvmd has quit [Quit: WeeChat 3.8]
nvmd has joined #osdev
<zid>
gog: If I ever show up in iceland, we should eat pizza and watch the craft
<gog>
ok
<gorgonical>
I have heard the hotdogs are good too
<zid>
idk, they're pretty sexually suggestive when I eat them
<zid>
might get gog a little too hot and bothered
<gorgonical>
though I reckon a local doesn't eat at that place much
<gorgonical>
If it shows up on the tourist lists
<gog>
i'll get one every now and then
<gog>
this time of year the lines are often long tho
<gorgonical>
high tourism season yeah?
<gog>
yeah it's pretty busy rn
<gorgonical>
when's the eternal day? that's in a few weeks right?
<gog>
already passed
<gorgonical>
ah
<gog>
about a week ago
<gog>
still dusk rn, almost midnight
<gog>
will be sunrise in 3 hours
<mcrod>
hi
<gorgonical>
totally wild to me
<mcrod>
gogonical
<zid>
summer ending here :
<gog>
osdev meetup reykjavik 2023
<zid>
I get night back in less than a month
<gog>
justin trudeau was here the other day
<zid>
did you throw anything
<gog>
didn't run into him sadly
<zid>
I think everybody should just throw things at all politicians, whenever they see them. If you like them throw poutine or whatever, if not throw cake and eggs and stuff
<gog>
yes
<bl4ckb0ne>
poutine is vgood
<gog>
poutine
<gog>
i want some
<bl4ckb0ne>
theres one with maple syrup ham at a nearby restaurant