00:15
naoki has quit [Quit: naoki]
02:36
heat has quit [Ping timeout: 252 seconds]
02:41
Tenkawa has quit [Quit: Was I really ever here?]
02:53
Trifton has joined #riscv
03:32
naoki has joined #riscv
03:34
naoki has quit [Client Quit]
04:33
frkzoid has joined #riscv
04:36
frkazoid333 has quit [Ping timeout: 260 seconds]
04:49
andyc has joined #riscv
05:10
coldfeet has joined #riscv
05:27
iooi has quit [Quit: iooi]
05:29
jedix has joined #riscv
05:31
paulk has quit [Read error: Connection reset by peer]
05:31
paulk has joined #riscv
05:40
tec has quit [Quit: bye!]
05:41
tec has joined #riscv
06:05
BootLayer has joined #riscv
06:27
naoki has joined #riscv
06:49
naoki has quit [Quit: naoki]
07:13
indy_ has quit [Ping timeout: 276 seconds]
07:22
memset has quit [Ping timeout: 260 seconds]
07:27
jfsimon1981_b has quit [Remote host closed the connection]
07:27
jfsimon1981_b has joined #riscv
07:34
memset has joined #riscv
07:49
Stat_headcrabed has joined #riscv
07:49
andyc has quit [Quit: Connection closed for inactivity]
07:50
iooi has joined #riscv
07:59
Stat_headcrabed has quit [Quit: Stat_headcrabed]
08:11
naoki has joined #riscv
08:14
naoki has quit [Client Quit]
08:40
jfsimon1981_b has quit [Remote host closed the connection]
08:40
jfsimon1981_b has joined #riscv
08:50
davidlt has joined #riscv
08:51
davidlt_ has joined #riscv
08:54
davidlt has quit [Ping timeout: 252 seconds]
09:01
<
JohnHenry >
So I'm trying to hack riscv linux, and I want to foil my hardware page walker over a virtual memory area so I can page fault and do tricky things. I could clear the V bits for the relevant PTEs and flush the TLBs and get my page faults. But now I'm looking at Linux and trying to figure out what it might do with those now-invalid PTEs that it might treat as swap entries.
09:12
jfsimon1981_b has quit [Remote host closed the connection]
09:13
jfsimon1981_b has joined #riscv
09:17
jfsimon1981 has joined #riscv
09:17
jfsimon1981_b has quit [Remote host closed the connection]
09:18
TMM has joined #riscv
09:21
psydroid2 has joined #riscv
09:55
davidlt_ has quit [Ping timeout: 248 seconds]
10:13
davidlt_ has joined #riscv
10:35
davidlt_ has quit [Ping timeout: 245 seconds]
10:38
coldfeet has quit [Remote host closed the connection]
10:42
jfsimon1981 has quit [Read error: Connection reset by peer]
10:43
jfsimon1981 has joined #riscv
10:44
davidlt_ has joined #riscv
11:05
Stat_headcrabed has joined #riscv
11:08
stolen has joined #riscv
11:17
davidlt_ has quit [Ping timeout: 260 seconds]
12:11
jfsimon1981_b has joined #riscv
12:12
jfsimon1981 has quit [Read error: Connection reset by peer]
12:43
Tenkawa has joined #riscv
12:49
coldfeet has joined #riscv
13:09
coldfeet has quit [Remote host closed the connection]
13:25
<
sorear >
if _PAGE_PROT_NONE is set, they're considered to be valid mappings with no permissions, if it is not set they're considered to be swap
13:45
heat has joined #riscv
13:51
Trifton has quit [Ping timeout: 252 seconds]
14:55
coldfeet has joined #riscv
14:56
Stat_headcrabed has quit [Quit: Stat_headcrabed]
15:39
Andre_Z has joined #riscv
16:12
hightower2 has quit [Ping timeout: 252 seconds]
16:21
coldfeet has quit [Remote host closed the connection]
16:26
coldfeet has joined #riscv
16:52
frkzoid has quit [Ping timeout: 276 seconds]
17:03
Stat_headcrabed has joined #riscv
17:16
Stat_headcrabed has quit [Quit: Stat_headcrabed]
17:32
zjason` is now known as zjason
17:36
Andre_Z has quit [Ping timeout: 248 seconds]
18:14
stolen has quit [Quit: Connection closed for inactivity]
18:23
TMM has joined #riscv
19:02
davidlt_ has joined #riscv
19:05
davidlt__ has joined #riscv
19:08
davidlt_ has quit [Ping timeout: 265 seconds]
19:17
Stat_headcrabed has joined #riscv
19:25
BootLayer has quit [Quit: Leaving]
19:25
billchenchina- has joined #riscv
19:26
davidlt__ has quit [Ping timeout: 260 seconds]
19:34
Stat_headcrabed has quit [Quit: Stat_headcrabed]
19:34
jfsimon1981_c has joined #riscv
19:34
jfsimon1981_b has quit [Read error: Connection reset by peer]
19:49
clever has quit [Ping timeout: 255 seconds]
20:01
coldfeet has quit [Quit: leaving]
20:22
billchenchina- has quit [Remote host closed the connection]
20:29
zjason` has joined #riscv
20:31
zjason has quit [Ping timeout: 252 seconds]
20:53
naoki has joined #riscv
21:05
Bluefoxicy has quit [Ping timeout: 260 seconds]
21:05
Bluefoxicy has joined #riscv
21:13
frkazoid333 has joined #riscv
21:48
iooi has quit [Ping timeout: 252 seconds]
21:49
prabhakalad has quit [Quit: Konversation terminated!]
21:49
prabhakalad has joined #riscv
22:10
eightthree has quit [Ping timeout: 245 seconds]
22:11
eightthree has joined #riscv
22:23
eightthree has quit [Remote host closed the connection]
22:25
eightthree has joined #riscv
23:29
DesRoin has quit [Ping timeout: 252 seconds]
23:31
DesRoin has joined #riscv
23:42
<
JohnHenry >
sorear: thank you!
23:43
<
JohnHenry >
_PAGE_PROT_NONE is... essentially what Linux calls the RISC-V PTE's V bit? I'm still working through all the definitions
23:45
<
JohnHenry >
I guess a valid entry with no permissions will still fault upon access, huh
23:45
<
JohnHenry >
and that gets me out of having to figure out what kind of swap entry I need
23:47
<
sorear >
no, _PAGE_PROT_NONE is one of the SW bits which Linux uses to distiguish mapped pages with no protections from unmapped/swap pages
23:48
<
sorear >
the V bit is _PAGE_PRESENT
23:48
<
sorear >
oh, they moved _PAGE_PROT_NONE to use one of the arch bits after I added it, cool