Intel SGX development
 help / color / mirror / Atom feed
* Odd looking #PF fault code
@ 2022-04-03 23:50 Jarkko Sakkinen
  2022-04-04 16:27 ` Reinette Chatre
  2022-04-04 21:32 ` Jarkko Sakkinen
  0 siblings, 2 replies; 4+ messages in thread
From: Jarkko Sakkinen @ 2022-04-03 23:50 UTC (permalink / raw)
  To: linux-sgx; +Cc: dave.hansen, reinette.chatre

I get this when trying to get EAUG-EACCEPTCOPY to run on Enarx and I get:

Unexpected PF: address: 0x007f7fff910000, error code 0x15

I'm using patches from:

https://github.com/rchatre/linux/tree/sgx/sgx2_submitted_v2_plus_rwx

Fault code is in other words PROT|WRITE|USER|RSVD.

According to arch/x86/kernel/fault.c:

	/*
	 * Reserved bits are never expected to be set on
	 * entries in the user portion of the page tables.
	 */
	if (unlikely(error_code & X86_PF_RSVD))
		pgtable_bad(regs, error_code, address);

Any clue how this fault code could emit?

[*] https://github.com/enarx/enarx/pull/1608

BR, Jarkko

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-05  5:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-03 23:50 Odd looking #PF fault code Jarkko Sakkinen
2022-04-04 16:27 ` Reinette Chatre
2022-04-05  5:59   ` Jarkko Sakkinen
2022-04-04 21:32 ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox