klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
thinkpol has quit [Remote host closed the connection]
thinkpol has joined #osdev
<vaihome-> geist me? you mean the machine?
netbsduser has quit [Ping timeout: 264 seconds]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
xFCFFDFFFFEFFFAF has quit [Quit: 0xC0000134 STATUS_SYNCHRONIZATION_REQUIRED]
<vaihome-> vaihome- the shop opens at 10 AM, so I get money at around 13-14 afternoon
<vaihome-> thats when I am going to getit
Left_Turn has quit [Read error: Connection reset by peer]
<Ermine> Actually what it takes to add kmsan to an os?
<heat> the code
<heat> kmsan and kasan (and ktsan but *not* KCSAN) are basically dependent on shadow memory to store metadata onto
<heat> so if you have the code implemented (basically a bunch of callbacks), it's done as long as the compiler codegens properly
<heat> not that the sanitizers are super trivial, but it's not amazingly hard either
netbsduser has joined #osdev
<Ermine> From kernel docs it seems like those callbacks are like __msan_instrument_asm_store ?
<heat> yep
<heat> for asan __asan, for ktsan __tsan, for ubsan __ubsan
<heat> you get the drill :)
* Ermine writes that to backlog of things to do after diploma
netbsduser has quit [Ping timeout: 245 seconds]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
netbsduser has joined #osdev
gog has quit [Ping timeout: 272 seconds]
xenos1984 has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
heat has quit [Ping timeout: 250 seconds]
netbsduser has quit [Ping timeout: 245 seconds]
Arthuria has joined #osdev
hunta987 has joined #osdev
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 264 seconds]
CompanionCube has quit [Quit: ZNC - http://znc.in]
Stary has quit [Quit: ZNC - http://znc.in]
Stary has joined #osdev
CompanionCube has joined #osdev
Matt|home has joined #osdev
netbsduser has joined #osdev
netbsduser has quit [Ping timeout: 268 seconds]
hunta987 has quit [Quit: Lost terminal]
Arthuria has quit [Ping timeout: 260 seconds]
Fingel has joined #osdev
<klys_> just bought a pair of dec rx02 drives today.
<geist> no way raelly?
<geist> whatcha gonna use it on?
<bslsk05> ​www.ebay.com: VINTAGE DIGITAL DEC RX02-PA DISK SYSTEM FOR PDP-11 / PDP-8 Computer 1980s | eBay
<geist> i've thoughta bout trying to get the goteks working with mine
<klys_> this is for reverse engineering and 3d duplication
<geist> well done
<kazinsal> wonder if you can hook an RX02 up to a greaseweazle
<geist> iirc it's pretty standard, the pinout is different but otherwise it's pretty close to shugart standard or so
<klys_> yeah those are likely shugart
<geist> to the point that i have heard you can get goteks to work with older DEC stuff
<geist> they're not directly shugart, i bet they predate it, but i think it's fairly similar in the way the control flow work
<klys_> it might be worth noting I also have a pair of intellec 8" drives
<geist> that's a particular rabbit hole i haven't gone down yet
<geist> i've seen curiousmarc deal with HP 8" floppy drives too, i think the drives themselves were made by CDC or something
<klys_> hewlett packard or packard hell
<geist> the one true HP, back when their stuff was serious quality
<geist> wow, that's pretty cheap for an RX02 really
<geist> i guess the shipping might be a pain
<klys_> yeah was quite surprised
<geist> perhaps it's mostly because it was in a big case like that
<geist> so no one wants to deal with it
<geist> i dunno what that pin out is on the cable, but that's part of the fun
<klys_> seems I'd read some of this before too ttps://www.retrotechnology.com/herbs_stuff/drive.html
<bslsk05> ​www.retrotechnology.com: Floppy Drive Tech Info
<klys_> again the main idea is to duplicate the drive by making measurements
<klys_> naturally I can't seem to find my screwdrivers today
<klys_> there's some about the RX02: ttps://www.retrotechnology.com/herbs_stuff/m2fm.html#dec
<bslsk05> ​www.retrotechnology.com: M2FM or MMFM diskette format
netbsduser has joined #osdev
<klys_> of couse MAME is still missing a rom from the decmate2 RX50 controller card rom (though I think the RX02 stuff should go there) except then I don't have that controller card, etc.
<bslsk05> ​github.com: mame/src/mame/dec/decmate2.cpp at master · mamedev/mame · GitHub
<klys_> https://www.tim-mann.org/trs80faq.html#[25] links to http://www.dbit.com/fdadap.html (explaining you should not plug this in to a pc) which might answer some of your question
<bslsk05> ​www.tim-mann.org: TRS-80 Model I/III/4: Frequently Asked Questions
<bslsk05> ​www.dbit.com: FDADAP floppy disk adapter
netbsduser has quit [Ping timeout: 272 seconds]
<klys_> and here's an adapter for sale, https://www.ebay.com/itm/276327034721
<bslsk05> ​www.ebay.com: TexElec's 34 to 50-Pin 8-Inch Floppy Adapter | eBay
matrice64 has joined #osdev
<bslsk05> ​texelec.com: 34 to 50-Pin 8-Inch Floppy Adapter - TexElec
<geist> thats the same guy that sells the commander x16
citrons has joined #osdev
theyneversleep has joined #osdev
goliath has joined #osdev
Fingel has quit [Quit: Fingel]
netbsduser has joined #osdev
sskras has joined #osdev
matrice64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zxrom has joined #osdev
netbsduser has quit [Ping timeout: 240 seconds]
neo has joined #osdev
neo has quit [Ping timeout: 264 seconds]
gbowne1 has quit [Read error: Connection reset by peer]
zetef has joined #osdev
xenos1984 has quit [Ping timeout: 260 seconds]
<mjg> 8"?
<mjg> i admit i never seen one in action :(
<mjg> i did grow up on 5.25" tho
GeDaMo has joined #osdev
xenos1984 has joined #osdev
neo has joined #osdev
gog has joined #osdev
<sskras> me too :)
osmten has joined #osdev
<geist> Same, though I do have a lot of 5.25"s still
<geist> as much as I love retro computer tech though, floppy disks are just too finicky for me. I can't get over that every time you use one you're slowly destroying it
<geist> and old ones are just waiting to be destroyed next time you stick it in the drive
<GeDaMo> Isn't that true for flash too though?
<geist> yah but flash you can just get more :)
<geist> in 30 years or so yeah we'll be pretty upset that all the period SSDs are dead
<mjg> i don't know if people will give af about ssds
<geist> probably not, but when it all becomes retro even if it's not sexy now folks may be interested in it
<mjg> i mean in that very context
<geist> OTOH you can easily emulate floppies and hard drives now with flash, so in 30 years you'll just emulate the whole thing with whatever is the thing then
<mjg> there is always a limbo where nobody gives af
<geist> yeah
<geist> it's like a dead zone where 10 years on it's just old shit, and 20 years on it starts to get interesting
<geist> sort of an uncanny valley
<mjg> for me for example there 8-bit atari holds a sentimental value since it was my first computer
<geist> oh oh speaking of I just got one of the Atari 400 minis. it's really cute!
<mjg> apart from that maybe i could get some early 00s high end poc for some gaming, again sentimental
<mjg> but past that i have hard time imagining why i would give a fuck about a laptop i had later
<mjg> it's not a milestone "personally" or in the history of computing
<geist> yah that's why I had to get the precise 386 model I had as a kid when it showed up on ebay
<geist> it's not even a particularly good computer, but it was the exact model I had
<mjg> dude my first pc is still in the attic at my parents
<mjg> 486dx2 50mhz
<mjg> i got you beat on that aspect then :p
<geist> oh heck yeah keep that
<mjg> frankly though i could not be fucked to even check if it's still running
<geist> yeah I wished we haddnt junked the 386 years ago, but it was in the dark period when it was not particularly valuable
<geist> aww come on! that's nostalgia
<geist> next time you visit, get it out
<mjg> i have some nostalgia for *second* pc, a p75
<mjg> that 486 was total crap
<mjg> i only had 3 friends with pcs at the time and all of them had something faster
<mjg> including a different 486
<mjg> :x
<geist> yah I remember my 386sx 16 was a lot slower than my friends 386dx 20. of course it's obvious now why it was a lot faster but I had no idea what the diff was between sx and dx
<geist> I just wanted to dial into BBSes and get WAREZ and play games!
<mjg> and by faster i mean it was night and day
<mjg> fuckin' openbsd vs linux
<mjg> migrating to p75 was a massive jump
<mjg> i remember playing an mp3 took 100% of cpu time
<mjg> :d
<geist> heh yeah I remember playing a mp3 on a friends Packard bell 486. windows 3.11. I think it was the original fraunhaufer mp3 player
<geist> before winamp
<geist> and yeah pegged the cpu
<mjg> i think i "benchmarked" this later on some celeron 300, on that sucker it was about 25%?
<geist> that's about right. something like 50 MIPS to play an mp3
<mjg> this is where i learned about the power of code optimization tho
<geist> I remember looking at the ipod software about 2005 and at the time the ipad had a dual core arm7tdmi, and one of the cores was dedicated to decoding mp3/aac/etc
<mjg> i found a random-ass windows program to encode .wav into .mp3
<mjg> it would take forever
<mjg> then i found lame and fuck me, it was turbo fast in comparison
<geist> and they had it tuned so that it would change the frequency of the cpu to have just enough headroom to decode the file, base don the bitrate
<geist> and iirc it was something like 30-40mhz
<mjg> the one nice thing about that period is that any new cpu you got, everything got way faster
<geist> yah totally
<geist> late 90s early 2000s was the peak of it in my mind
<mjg> now webdev stay vigillant to make sure this does not happen
<geist> before SMP/SMT was starting to be the way
<geist> not that shit is not faster now, but up till about 2005 it was single core just doubling every 18 months and it was pretty exciting
<mjg> which years did you attend hs?
<mjg> did you have "computer science" or some such in there
<geist> 1991-1995, graduated in 95
<mjg> huh that's early enough to probably not?
<geist> yeah no, we had a computer class, but it was out of date even at the time. we had like first gen Compaq portable 286s (like 1985 tech)
<mjg> :P
<geist> it was laughable at the time. did some pascal programming
<geist> but I had ben programming some the 80s on my apple 2 and whatnot. BASIC and 6502 asm
<geist> honestly PCs were far less interesting to me at the time. I saw x86 as a piece of trash and no fun
<geist> I didn't get interested in os hackery until college, and a few years in at that
<geist> like '96 or so
<mjg> pc were always bullshit on that front
<geist> yah
<mjg> you know i got fucked over out of atari st as a kid? :(
<geist> oh dang
<mjg> ya
<geist> I went straight from apple 2 to PC
<geist> only later collected stuff like c64s and macs
<mjg> there was a dude who had 1040st with tons of hw for it
<mjg> and floppies
<mjg> and was looking to give it away
<mjg> i knew the guy in passing and he knew my grandma
<mjg> he wanted to give it to me
<mjg> but my grandma being anti-computer said it's bad
<mjg> so...
<geist> :(
<mjg> poland, 90s
<geist> I remember having the argument with my granddad about computers. he was a rancher in Texas and I remember going on about how computers ain't gonna raise cows, etc
<mjg> :d
<geist> which is actually silly, because really having a computer to track stuff would be useful
<mjg> my dad said computers are only good to do stuff in other fields, thus one needs a degree in, say, civil engineering
<mjg> and then one can make money using computers
<mjg> he also said there is no point going into computers anywya, the future is wellness industry
<mjg> i like to think about it when people claim parents always know best
<mjg> you are just too young to get it
<geist> heh yeah
Matt|home has quit [Ping timeout: 245 seconds]
<mjg> but if it so happened being in IT paid pooorly i would probably still be doing it anyway
<mjg> so there is that
<mjg> maybe overall code quality would be better as all the grifters would go elsewhere
bauen1 has quit [Ping timeout: 256 seconds]
<nikolapdp> heh
vaihome- has quit [Ping timeout: 260 seconds]
zetef has quit [Remote host closed the connection]
bauen1 has joined #osdev
bauen1 has quit [Ping timeout: 252 seconds]
bauen1 has joined #osdev
netbsduser has joined #osdev
leg7 has joined #osdev
arminweigl has quit [Ping timeout: 264 seconds]
arminweigl_ has joined #osdev
arminweigl_ is now known as arminweigl
navi has joined #osdev
mahk has quit [Ping timeout: 252 seconds]
vaihome has joined #osdev
osmten has quit [Quit: Client closed]
mahk has joined #osdev
* Ermine gives gog a piece of cheese
* gog is fascinated
edr has joined #osdev
* leg7 notices there are worms growing inside the cheese
<Ermine> My cheese is worm-free
<Ermine> I've heard about it, but I don't fascinate women with weird kinds of cheese
<zid> good news is that it's blackmarket only
<zid> eu regs don't allow its sale
lojik has quit [Quit: ZNC 1.8.2 - https://znc.in]
lojik has joined #osdev
gareppa has joined #osdev
heat has joined #osdev
osmten has joined #osdev
osmten has quit [Client Quit]
theyneversleep has quit [Remote host closed the connection]
gareppa has quit [Quit: WeeChat 4.0.5]
spare has joined #osdev
bauen1 has quit [Ping timeout: 256 seconds]
bauen1 has joined #osdev
netbsduser has quit [Ping timeout: 268 seconds]
netbsduser has joined #osdev
zetef has joined #osdev
Left_Turn has joined #osdev
d5k has joined #osdev
d5k has quit [Ping timeout: 245 seconds]
leg7 has quit [Ping timeout: 245 seconds]
goliath has quit [Quit: SIGSEGV]
Arthuria has joined #osdev
d5k has joined #osdev
neo has quit [Ping timeout: 256 seconds]
d5k has quit [Ping timeout: 264 seconds]
neo has joined #osdev
neo has quit [Ping timeout: 252 seconds]
Arthuria has quit [Ping timeout: 268 seconds]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
Arthuria has joined #osdev
zetef has quit [Ping timeout: 252 seconds]
<vin> How can I read the CR3 values? If I am to use rdmsr, where can I find the address?
zetef has joined #osdev
<heat> mov %cr3, %rax
<heat> i dont understand the second question
<heat> note: mov %cr3, %rax does not work in userspace
<bslsk05> ​sandpile.org: sandpile.org -- x86 architecture -- model specific registers
<vin> heat: I would like to check the bit values of CR3[62] and CR3[61] from the userspace. This checks if LAM is enabled. If not enabled I want to update CR3[62] to 1 and keep CR3[61] to 0.
<heat> you can't do that
Fingel has joined #osdev
bauen1 has quit [Ping timeout: 268 seconds]
<heat> linux gives you some arch_prctl calls you can use
<vin> You mean I can't do that in the userpsace? Sec 6.1 of Intel Instruction reference says "LAM support by the processor is enumerated by the CPUID feature flag CPUID.(EAX=07H, ECX=01H):EAX.LAM[bitEnabling and configuration of LAM is controlled by the following new bits in control registers: CR3[62] (LAM_U48), CR3[61] (LAM_U57)"
<vin> I see
<heat> you can't touch cr3 from userspac
<heat> due to the obvious security vulnerabilities
eddof13 has joined #osdev
<heat> like, i don't know why you're looking at the SDM, someone has carefully read all of that and carefully implemented it in the kernel
<heat> you just need to arch_prctl and ask for N tag bits, then use em
<heat> you have 0 control over any of this in userspace, except actually asking for tagged addresses
<vin> I see an example here https://github.com/llvm/llvm-project/blob/5c4b923c727767c9e6ad16324c559a1a92616171/compiler-rt/lib/hwasan/hwasan_linux.cpp#L139 but it isn't clear to me if this "enabled" LAM on the process and all addresses can have upper 15 bits available
<bslsk05> ​github.com: llvm-project/compiler-rt/lib/hwasan/hwasan_linux.cpp at 5c4b923c727767c9e6ad16324c559a1a92616171 · llvm/llvm-project · GitHub
dude12312414 has joined #osdev
<bslsk05> ​github.com: linux-next/tools/testing/selftests/x86/lam.c at f529a6d274b3b8c75899e949649d231298f30a32 · ColinIanKing/linux-next · GitHub
pax_73 has joined #osdev
<heat> yes it enabled LAM
<heat> that's a good example
<heat> IIRC fork'd processes also have the LAM enabled, but it'll clear off as soon as you execve
<vin> Makes sense, I noticed that LAM on intel is only available on Sierra Forest, Grand Ridge, Arrow Lake, Lunar Lake. I don't have access to any of them. Do people test LAM features using sde64 (emulator)?
<zid> They're tested by intel, then submitted to lkml
<zid> by intel
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<vin> Yes testing is done by intel but if others want to icorporate the feature in their software, what do they do?
<zid> buy one
<zid> or get your OS to be something people use
<vin> zid: I don't think you can buy any server with the support yet
<zid> so then there's no problem
<zid> you have no customers to demand support from you
<heat> there's was a random qemu patch somewhere for LAM support
<heat> for tcg ofc
<heat> like, all these fancy features and whitepapers and all that jazz are published many years in advance of actual deployment
<heat> linux has supported PML5 since, what, 2016? it was first deployed around 2020
<zid> doesn't just apply to PCs
<vin> https://www.mail-archive.com/qemu-devel@nongnu.org/msg1015675.html ? I am not sure if this is just enablement (allowing qemu to use underlying LAM) or if it is emulation
<bslsk05> ​www.mail-archive.com: [PATCH v4 0/2] Add support for LAM in QEMU
<zid> think of like, usb specs
<zid> digital tv tuners, literally anything
xenos1984 has quit [Ping timeout: 246 seconds]
<zid> most people only get to develop products *after* release
<zid> you have to be a big big player to get early access
<heat> vin, emulation
xenos1984 has joined #osdev
<heat> actually this isn't even emulation
<heat> just "recognize and passthrough the cpuid bit when functioning as a hypervisor"
<heat> zid, btw FRED is being merged this release i think
<heat> so FRED FRED FRED FRED in a couple of years i guess
<vin> yea heat. The only real emulation I saw this discussion https://community.intel.com/t5/Intel-ISA-Extensions/why-the-simulation-of-linear-address-masking-is-not-working/m-p/1578916 but haven't tested the older version yet.
<bslsk05> ​community.intel.com: why the simulation of linear address masking is not working? - Intel Community
<zid> oh shit
neo has joined #osdev
<zid> freeeed
zetef has quit [Remote host closed the connection]
<heat> there was an old patch emulating LAM on qemu
<heat> i did apply it once and i probably have the build somewhere in my drive
<vin> It will great if you can share the patch! heat
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
<bslsk05> ​lore.kernel.org: [QEMU] x86: Implement Linear Address Masking support - Kirill A. Shutemov
<heat> get a 2021 qemu version and try to apply it
eddof13 has quit [Quit: eddof13]
<vin> Let me try that, thanks
<bslsk05> ​lwn.net: RE: [PATCH v8 00/33] x86: enable FRED for x86-64 [LWN.net]
<heat> looks like they're ready to ship FRED hw
<heat> 1st half 2024 on their intel cloud whatever thing
gog has quit [Quit: Konversation terminated!]
eddof13 has joined #osdev
Fingel has quit [Quit: Fingel]
<zid> fredfredfred
<heat> frederick
<sham1> freredick
eddof13 has quit [Quit: eddof13]
bauen1 has joined #osdev
gog has joined #osdev
<nikolapdp> heat was this the thing they want to use to skip the whole 16<->32<->64 transition thing during boot
<zid> that's x86s
xenos1984 has quit [Ping timeout: 268 seconds]
<zid> FRED is fixing swapgs
spare has quit [Remote host closed the connection]
<zid> They announced it around the same time I was implementing irqs so I was hype for it, and now it's actually coming, amaze
<zid> speaking of amaze, project hail mary is getting a movie adaptation
<zid> unsurprising after how well the martian did
<GeDaMo> The book's great
<zid> the book's amaze*
eddof13 has joined #osdev
<GeDaMo> People keep saying that and I only vaguely remember it from the book :P
<zid> rocky never conjugated verbs properly (or rather, the synth)
<zid> so he called everything AMAZE
<zid> when's the next bobiverse book
<GeDaMo> I saw something about later this year
<zid> september 5th
<zid> kk
<zid> and has been optioned to universal apparently
xenos1984 has joined #osdev
zetef has joined #osdev
<GeDaMo> A Rendezvous with Rama movie has been in development for more than 20 years :P
kpel has joined #osdev
kpel has quit [Quit: .]
neo has quit [Ping timeout: 245 seconds]
<kof673> > having a computer to track stuff would be useful farmers do in fact "use computers"
<kof673> you see similar things with stock traders with 6 monitors decrying the people who sit at a computer all day
<kof673> and drug dealers with their cell phones, those lazy computer people
<kof673> i would be the last person to say technology is magically "good" but much "opposition" is just an image thing, it is not seen as real work
<kof673> and if you think drug dealers and wall street has morals good luck to you lol
<kof673> besides, you need to learn cursive, because after elementary school that is what everything will be!
<kof673> in any case, this is arguably related to code quality: because some managers view people as interchangeable, throw away code, get to market, get the money, get in, get out
<kof673> it is a victim of its own success somewhat: computers are everywhere, roads are everywhere, why do we need construction workers? the problem is solved lol
<kof673> i'd say it is reverse bikeshed phenomenon in a way: things appear to be "solved" and looks to be simple/easy, anyone can do it, etc.
<kof673> if one only interacts with a final end result, then all the work that went into that is not visible, and it is just people dicking around clicking things all day, gamers lol
<kof673> why do we need more people who just play candy crush all day etc. lol
<zid> hey that's looking like good news though
<zid> villenveuve is reportedly actually writing a script for it
<zid> after 20 years of morgan freeman going "yea I wanna make it, just need a script"
<kof673> lol sorry for length i just mean people will literally badmouth "computer people" (health, banking, other) as they literally are using a computer depending on it for their livelihood lol
leg7 has joined #osdev
<geist> huh, villeneuve is writing a script for rama?
zetef has quit [Remote host closed the connection]
<geist> i thought he was working on the next dune movie
<zid> He's directing that right?
<zid> I assume he gets a lot of work hours that are empty on top of directing a movie for the couple of weeks the shoot actually happens
<zid> (plus a couple of weeks of meetings, and some editing and press and stuff)
<geist> i seriously doubt that. he sounds like a serious perfectionist
<zid> well a shoot only lasts so long
<zid> it's expensive and the producers organize it to last the least amount of time possible
<zid> equipment rental etc over the least possible time
<GeDaMo> Possibly he spends a lot of time travelling
<zid> Yea I imagine most of his job is actually meetings with studio execs :P
<kof673> mjg: i am not disagreeing with "webdev" but in a post-agile world j/k where supposedly the "stakeholders" all supposedly meet and design products together...why do "bad" projects get funded? why do managers choose "bad" projects? why do "consumers" and "clients" ? the dev is only one tiny little part of the picture
<kof673> you need never hear other lines of work say this "noone has to buy, noone has to sell"
<kof673> *you would
<kof673> why do school churn out "web devs"? etc.
<kof673> *schools it seems a way for all the other players to avoid looking in the mirror
<kof673> socialize the profits, outsource the responsibility lol
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 255 seconds]
<kof673> *socialize/capitalize in any case, all the other "stakeholders" have vanished when accountability is summoned lol
<heat> geist, IMPLEMENT FRED!!!!
<geist> oh yeah?
<geist> did fred get rolled out?
<heat> it's getting rolled out
<heat> they're merging the FRED code for this linux release
<bslsk05> ​lwn.net: RE: [PATCH v8 00/33] x86: enable FRED for x86-64 [LWN.net]
<heat> it's Coming Soon(tm)
<zid> fredfredfredfred
<puck> goes well with the asrock rack PAUL and TOMMY and
<puck> s/and $//
neo has joined #osdev
<zid> I prefer huawei extended attribute tables
<zid> and z80 index descriptors
<heat> puck, hey you should enable the bslsk05 sed thingy
<puck> maybe yeah
<geist> neat. i wonder what intel cores are getting fred first
<heat> xeon probably, then a few generations later it comes to desktop and laptop
<heat> it's how they did PML5
<zid> no no, it will be in *half* the platinum xeons
<zid> but all of the bronze ones
neo has quit [Ping timeout: 268 seconds]
<zid> then in half the gold, but only 1 platinum, and none of the silver or bronze
<zid> then next gen it will be in the 18800kf
<zid> but nothing else
<zid> oh wait no this is avx isn't it
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 255 seconds]
<mjg> where does amd stand in this
neo has joined #osdev
Arthuria has quit [Ping timeout: 245 seconds]
<childlikempress> they'll support it across the lineup but half the functionality will be microcoded and super slow
<zid> ooh even better
<zid> I hope we get FREDv2 etc as cpuflags soon
<zid> because of a bunch of exploits, and whether it's fast enough to use etc
<zid> we're already up to avx10.1
<zid> and avx10 isn't even out
<geist> iirc AMD had some sort of competing idea out, but it was far less ambitious than FRED
<geist> iirc FRED was nice, but had some fatal flaw for fuchsia that i dunno how to deal with
<heat> oh yeah?
xenos1984 has quit [Read error: Connection reset by peer]
<geist> i think iirc it removes the io bitmap
<heat> oh
<heat> yeah probably removes the tss?
<geist> since there's no such TSS equivalent
<heat> right
<geist> i dont think we use it much, but it's possible for a user driver to need it if it needs to use an io range
<geist> which is fairly far and few between, but legacy stuff like ps2 keyboards and whatnot...
<geist> i wonder when qemu will get fred. i'll probably fiddle with it there first
<geist> havne't really internalized how easy it is to support fred and not fred in the same build. or is it different enough that it's cleaner/easier to make a new sub-arch of x86
<mjg> would you even care in fuchsia to support both?
neo has quit [Ping timeout: 260 seconds]
<heat> geist, could you force all outb/w/l (and in) to a syscall?
<geist> probalby would have to do that, which is clearly lame.
<geist> but i'm sure that's the worst case answer
<heat> or do some nasty x86 fault emulation by looking at the instruction
<heat> that would be EPIC
<geist> yah sadly trapping from ring3 you dont really get all the assist you get when trapping via a vmexit on intel and amd
<geist> unless.... fred does that?
<geist> if it decoded it for you and put it in the fred exception then that might not be so bad
<heat> who knows
<heat> that'd be cool
<heat> but i bet the port io insns don't have that many forms
<heat> should be okay to interpret manually
<geist> right. iirc intel and amd hypervisor traps have basically full decode assists for the io isntructions
<geist> you really only need to know which ones they are, and if it's an io with an #imm8 what the immediate is
<geist> otherwise all the info is in eax and ecx (or is it edx?
<geist> )
<heat> i'd love if FRED was a huge exception rework but, from the little of the patches i read, it seems like it keeps the old 32 exception vectors and everything
<heat> i'd love if GPF could get broken down into sensible-er exceptions
<zid> fred doesn't go too far enough yea
gbowne1 has joined #osdev
xenos1984 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!]
zetef has joined #osdev
Matt|home has joined #osdev
Matt|home has quit [Remote host closed the connection]
Matt|home has joined #osdev
eddof13 has quit [Quit: eddof13]
rustyy has quit [Ping timeout: 255 seconds]
rustyy has joined #osdev
eddof13 has joined #osdev
<zid> honzuki is laaaate, save me
neo has joined #osdev
neo has quit [Remote host closed the connection]
neo has joined #osdev
sbalmos has quit [Quit: WeeChat 4.2.2]
neo has quit [Ping timeout: 245 seconds]
sbalmos has joined #osdev
Mutabah has quit [Ping timeout: 255 seconds]
neo has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
neo has quit [Ping timeout: 252 seconds]
zetef has quit [Remote host closed the connection]
Mutabah has joined #osdev
Matt|home has quit [Quit: Leaving]
leg7 has quit [Remote host closed the connection]
navi has quit [Ping timeout: 268 seconds]
Left_Turn has quit [Read error: Connection reset by peer]
xal has quit []
xal has joined #osdev
eddof13 has quit [Quit: eddof13]