00:08
DesRoin has quit [Ping timeout: 265 seconds]
00:08
DesRoin has joined #riscv
00:19
<
heat >
JohnHenry, just the act of mapping is a giant case of possibly altering non-leaf PMDs/P4Es/etc, should probably be handled in set_pmd(), et al (i think that's the appropriate spot, update_mmu_cache doesn't know if you alloc'd any page table)
00:19
<
heat >
but really the mere detail of requiring a global TLB flush when
*adding* a page table is, uh, interesting to say the least
00:23
<
jrtc27 >
it's not required if you're prepared to take a spurious fault in the case that the invalid entry was cached
00:26
DesRoin has quit [Ping timeout: 246 seconds]
00:27
<
heat >
but the default method of flushing on pages (sfence.vma rs1=addr) doesn't properly handle that
00:28
<
jrtc27 >
(which you really should do, otherwise you have to pause all the other cores that are currently running that process when mapping a new page and make them also sfence on resuming....)
00:28
<
jrtc27 >
so don't do that?
00:28
<
jrtc27 >
freebsd's approach, which I believe linux also does, is to not do any sfence.vma on adding a new page table entry
00:29
<
jrtc27 >
if you later take a spurious fault, i.e. the page table says the operation should succeed, you sfence.vma and retry
00:29
<
heat >
i know, but the spurious fault tlb flushing does an sfence.vma rs1=<addr>, which would not properly handle non-leaf pte adding (per the spec)
00:30
<
jrtc27 >
I don't know the linux code, but freebsd's definitely uses rs1=x0 in that instance
00:30
DesRoin has joined #riscv
00:31
<
heat >
yeah that doesnt
*seem* to be the case here. is there ongoing extension/spec work to fix this mess?
00:32
<
heat >
Sinval seems to have the same semantics, unfortunately
00:45
<
heat >
thanks, that helps. maybe it's just me, but overzealous and simplified sfence.vmas definitely sound like leftovers of the educational, simplified side of the ISA
00:46
<
heat >
sfence.vma rs1=x0 only on unmapping page tables is definitely more palatable though :)
00:59
Maylay has quit [Ping timeout: 246 seconds]
01:03
armand__ has quit [Remote host closed the connection]
01:06
armand__ has joined #riscv
01:08
cleger has quit [Ping timeout: 268 seconds]
01:13
Noisytoot has quit [Excess Flood]
01:19
Noisytoot has joined #riscv
01:27
Maylay has joined #riscv
01:29
Noisytoot has quit [Ping timeout: 265 seconds]
01:38
Noisytoot has joined #riscv
01:39
Maylay has quit [Ping timeout: 264 seconds]
01:48
Noisytoot has quit [Read error: Connection reset by peer]
01:49
Maylay has joined #riscv
01:52
Noisytoot has joined #riscv
02:01
Tenkawa has quit [Quit: Was I really ever here?]
02:18
BootLayer has joined #riscv
03:12
Noisytoot has quit [Ping timeout: 245 seconds]
03:23
guerby_ has joined #riscv
03:24
guerby has quit [Ping timeout: 258 seconds]
03:28
frkazoid333 has quit [Ping timeout: 256 seconds]
03:28
frkazoid333 has joined #riscv
03:59
Trifton_ has joined #riscv
03:59
Trifton has quit [Remote host closed the connection]
04:01
Noisytoot has joined #riscv
04:03
vagrantc has quit [Quit: leaving]
04:05
Trifton_ has quit [Ping timeout: 252 seconds]
04:08
Trifton has joined #riscv
04:25
jacklsw has joined #riscv
04:33
zBeeble has quit [Remote host closed the connection]
04:34
zBeeble has joined #riscv
04:35
coldfeet has joined #riscv
04:43
BootLayer has quit [Quit: Leaving]
05:02
fuwei has quit [Remote host closed the connection]
05:03
Esmil has quit [Server closed connection]
05:03
Esmil has joined #riscv
05:07
Noisytoot has joined #riscv
05:10
heat has quit [Ping timeout: 264 seconds]
05:10
Noisytoot has quit [Excess Flood]
05:14
Noisytoot has joined #riscv
05:24
Noisytoot has quit [Ping timeout: 256 seconds]
05:32
Noisytoot has joined #riscv
05:41
naoki has quit [Quit: naoki]
05:49
fuwei has joined #riscv
05:49
vgtw has joined #riscv
05:49
stolen has joined #riscv
05:53
coldfeet has quit [Remote host closed the connection]
05:57
Noisytoot has joined #riscv
06:04
Noisytoot has quit [Remote host closed the connection]
06:05
Noisytoot has joined #riscv
06:20
cow321 has quit [Ping timeout: 268 seconds]
06:22
cow321 has joined #riscv
06:44
lockna_ has quit [Server closed connection]
06:44
lockna has joined #riscv
06:57
Andre_Z has joined #riscv
07:03
Andre_Z has quit [Quit: Leaving.]
07:08
vgtw has joined #riscv
07:28
cleger has joined #riscv
07:29
ldevulder has joined #riscv
07:36
wbx has quit [Remote host closed the connection]
07:48
prabhakalad has quit [Quit: Konversation terminated!]
07:49
prabhakalad has joined #riscv
07:51
coldfeet has joined #riscv
07:55
danilogondolfo has joined #riscv
07:56
coldfeet has quit [Remote host closed the connection]
08:01
naoki has joined #riscv
08:02
fuwei has quit [Remote host closed the connection]
08:07
naoki has quit [Quit: naoki]
08:09
Andre_Z has joined #riscv
08:14
Noisytoot has quit [Excess Flood]
08:23
wbx has joined #riscv
08:29
stolen has quit [Quit: Connection closed for inactivity]
08:30
DoubleJ has quit [Server closed connection]
08:30
Noisytoot has joined #riscv
08:31
DoubleJ has joined #riscv
08:38
memset has joined #riscv
08:48
pecastro has joined #riscv
08:54
Andre_Z has quit [Quit: Leaving.]
09:11
Noisytoot has joined #riscv
09:43
Noisytoot has quit [Remote host closed the connection]
09:43
Noisytoot has joined #riscv
09:49
hightower2 has quit [Remote host closed the connection]
09:50
hightower2 has joined #riscv
09:52
hightower2 has quit [Remote host closed the connection]
09:52
hightower3 has joined #riscv
09:56
clemens3 has quit [Server closed connection]
09:59
TMM has joined #riscv
09:59
clemens3 has joined #riscv
10:00
Jackneill_ has quit [Quit: Leaving]
10:07
Andre_Z has joined #riscv
10:28
ema has quit [Quit: leaving]
10:31
ema has joined #riscv
10:38
eightthree has quit [Remote host closed the connection]
10:43
nmeum has quit [Remote host closed the connection]
10:43
nmeum has joined #riscv
10:47
Noisytoot has quit [Remote host closed the connection]
10:48
troglodito has quit [Server closed connection]
10:49
Noisytoot has joined #riscv
10:49
troglodito has joined #riscv
10:52
Noisytoot has quit [Remote host closed the connection]
10:54
Noisytoot has joined #riscv
11:02
Noisytoot has quit [Ping timeout: 248 seconds]
11:05
jacklsw has quit [Ping timeout: 245 seconds]
11:10
Noisytoot has joined #riscv
11:10
naoki has joined #riscv
11:10
naoki has quit [Client Quit]
11:17
fossdd has quit [Remote host closed the connection]
11:18
fossdd has joined #riscv
11:19
mcfrdy has quit [Server closed connection]
11:19
mcfrdy has joined #riscv
11:31
Noisytoot is now known as Guest7326
11:31
Guest7326 has quit [Killed (lithium.libera.chat (Nickname regained by services))]
11:31
Noisytoot has joined #riscv
11:34
hightower3 has quit [Remote host closed the connection]
11:36
hightower2 has joined #riscv
11:37
hightower2 has quit [Remote host closed the connection]
11:40
hightower2 has joined #riscv
11:51
Noisytoot has quit [Ping timeout: 244 seconds]
11:57
Noisytoot has joined #riscv
12:28
alexghiti has joined #riscv
12:28
ntwk has quit [Ping timeout: 264 seconds]
12:32
Noisytoot has quit [Ping timeout: 244 seconds]
12:40
Stat_headcrabed has joined #riscv
12:40
m5zs7k has quit [Ping timeout: 252 seconds]
12:41
Noisytoot has joined #riscv
12:44
Noisytoot has quit [Remote host closed the connection]
12:46
guerby_ is now known as guerby
12:54
Noisytoot has joined #riscv
12:58
heat has joined #riscv
12:58
Noisytoot has quit [Remote host closed the connection]
13:01
Noisytoot has joined #riscv
13:04
Tenkawa has joined #riscv
13:08
iooi has quit [Read error: Connection reset by peer]
13:09
iooi has joined #riscv
13:13
m5zs7k has joined #riscv
13:25
dilfridge has quit [Server closed connection]
13:25
dilfridge has joined #riscv
13:32
memset has quit [Ping timeout: 260 seconds]
13:34
memset has joined #riscv
13:40
Stat_headcrabed has quit [Quit: Stat_headcrabed]
13:59
wbx has quit [Remote host closed the connection]
14:08
eightthree has joined #riscv
14:11
vagrantc has joined #riscv
14:20
Stat_headcrabed has joined #riscv
14:32
memset has quit [Remote host closed the connection]
14:33
memset has joined #riscv
14:43
heat_ has joined #riscv
14:43
heat has quit [Read error: Connection reset by peer]
14:49
wbx has joined #riscv
14:49
shoragan has quit [Ping timeout: 256 seconds]
15:07
BootLayer has joined #riscv
15:14
coldfeet has joined #riscv
15:15
shoragan has joined #riscv
15:17
memset has quit [Ping timeout: 260 seconds]
15:19
memset has joined #riscv
15:23
heat has joined #riscv
15:24
heat_ has quit [Read error: Connection reset by peer]
15:37
Maylay has quit [Ping timeout: 246 seconds]
15:40
Maylay has joined #riscv
15:45
aurel32 has quit [Quit: leaving]
15:45
aurel32 has joined #riscv
15:50
Maylay has quit [Ping timeout: 248 seconds]
15:50
heat has quit [Read error: Connection reset by peer]
15:50
heat_ has joined #riscv
16:00
smaeul has quit [Ping timeout: 252 seconds]
16:02
Maylay has joined #riscv
16:07
coldfeet has quit [Remote host closed the connection]
16:09
smaeul has joined #riscv
16:11
Maylay has quit [Ping timeout: 244 seconds]
16:14
memset has quit [Remote host closed the connection]
16:15
memset has joined #riscv
16:16
Maylay has joined #riscv
16:16
khem has quit [Quit: WeeChat 4.3.3]
16:28
Maylay has quit [Ping timeout: 248 seconds]
16:39
Maylay has joined #riscv
16:43
memset has quit [Remote host closed the connection]
16:43
memset has joined #riscv
16:47
Maylay has quit [Ping timeout: 248 seconds]
16:49
marcj has quit [Ping timeout: 246 seconds]
16:50
cow321_ has joined #riscv
16:51
cow321 has quit [Ping timeout: 272 seconds]
16:51
cow321_ is now known as cow321
16:52
Maylay has joined #riscv
17:02
iooi has quit [Read error: Connection reset by peer]
17:03
iooi has joined #riscv
17:06
khem has joined #riscv
17:06
Maylay has quit [Ping timeout: 272 seconds]
17:11
memset has quit [Remote host closed the connection]
17:12
memset has joined #riscv
17:14
seasharp has quit [Remote host closed the connection]
17:18
usama has quit [Server closed connection]
17:18
usama has joined #riscv
17:19
alexghiti has quit [Ping timeout: 248 seconds]
17:20
alexghiti has joined #riscv
17:22
cow321 has quit [Remote host closed the connection]
17:23
cow321 has joined #riscv
17:24
Maylay has joined #riscv
17:25
Stat_headcrabed has quit [Quit: Stat_headcrabed]
17:34
Maylay has quit [Ping timeout: 272 seconds]
17:40
Maylay has joined #riscv
17:46
usrnaem2 has quit [Read error: Connection reset by peer]
17:46
usrnaem2 has joined #riscv
17:52
Maylay has quit [Ping timeout: 248 seconds]
17:57
Maylay has joined #riscv
18:05
BootLayer has quit [Quit: Leaving]
18:06
Maylay has quit [Ping timeout: 252 seconds]
18:13
Stat_headcrabed has joined #riscv
18:16
Stat_headcrabed has quit [Client Quit]
18:19
Maylay has joined #riscv
18:26
Maylay has quit [Ping timeout: 248 seconds]
18:32
Noisytoot has quit [Remote host closed the connection]
18:33
Noisytoot has joined #riscv
18:35
cp- has quit [Server closed connection]
18:35
cp- has joined #riscv
18:36
Noisytoot has quit [Excess Flood]
18:39
Noisytoot has joined #riscv
18:46
Maylay has joined #riscv
18:50
santiago_ has joined #riscv
18:50
santiago has quit [Ping timeout: 245 seconds]
18:51
marcj has joined #riscv
18:53
Noisytoot has quit [Ping timeout: 252 seconds]
18:58
Noisytoot has joined #riscv
19:01
Maylay has quit [Ping timeout: 252 seconds]
19:09
heat_ is now known as heat
19:17
sevan has joined #riscv
19:17
alexghiti has quit [Ping timeout: 272 seconds]
19:23
Narrat has joined #riscv
19:29
Maylay has joined #riscv
19:34
pecastro has quit [Ping timeout: 244 seconds]
19:35
pecastro has joined #riscv
19:36
felixonmars has quit [Server closed connection]
19:37
Maylay has quit [Ping timeout: 272 seconds]
19:47
felixonmars has joined #riscv
19:50
memset has quit [Remote host closed the connection]
19:50
memset has joined #riscv
19:52
Maylay has joined #riscv
19:58
Maylay has quit [Ping timeout: 248 seconds]
19:58
TMM has joined #riscv
20:07
ldevulder has quit [Quit: Leaving]
20:10
jfsimon1981 has quit [Remote host closed the connection]
20:12
Noisytoot has quit [Remote host closed the connection]
20:14
Noisytoot has joined #riscv
20:35
Andre_Z has quit [Ping timeout: 272 seconds]
20:51
memset has quit [Remote host closed the connection]
20:51
santiago has joined #riscv
20:51
memset has joined #riscv
20:58
hightower2 has quit [Remote host closed the connection]
20:58
sevan has quit [Changing host]
20:58
sevan has joined #riscv
20:58
hightower2 has joined #riscv
21:05
alexghiti has joined #riscv
21:05
Maylay has joined #riscv
21:13
Maylay has quit [Ping timeout: 244 seconds]
21:19
Maylay has joined #riscv
21:48
danilogondolfo has quit [Remote host closed the connection]
21:59
memset has quit [Remote host closed the connection]
21:59
memset has joined #riscv
22:02
lagash has quit [Remote host closed the connection]
22:02
lagash has joined #riscv
22:05
Narrat has quit [Ping timeout: 244 seconds]
22:06
Maylay has quit [Ping timeout: 272 seconds]
22:09
alexghiti has quit [Ping timeout: 272 seconds]
22:11
Maylay has joined #riscv
22:15
Maylay has quit [Ping timeout: 272 seconds]
22:31
Maylay has joined #riscv
22:39
naoki has joined #riscv
22:40
Maylay has quit [Ping timeout: 248 seconds]
22:44
Maylay has joined #riscv
22:55
naoki has quit [Quit: naoki]
23:02
unnick has quit [Ping timeout: 265 seconds]
23:02
unnick has joined #riscv
23:28
vagrantc has quit [Ping timeout: 252 seconds]
23:30
Maylay has quit [Ping timeout: 248 seconds]
23:31
gurki has quit [Server closed connection]
23:31
gurki has joined #riscv
23:36
Maylay has joined #riscv
23:38
Noisytoot has quit [Ping timeout: 272 seconds]
23:38
Noisytoot_ has joined #riscv
23:38
Noisytoot_ is now known as Noisytoot
23:42
Noisytoot is now known as Guest911
23:42
Guest911 has quit [Killed (calcium.libera.chat (Nickname regained by services))]
23:42
Noisytoot has joined #riscv
23:43
Maylay has quit [Ping timeout: 252 seconds]
23:48
Maylay has joined #riscv
23:52
DesRoin has quit [Ping timeout: 268 seconds]
23:54
DesRoin has joined #riscv
23:57
Guest12 has joined #riscv
23:57
pecastro has quit [Ping timeout: 244 seconds]
23:57
Guest12 has quit [Write error: Broken pipe]