All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with shared information page on Xen/ARM 4.17
@ 2023-09-29  2:49 Elliott Mitchell
  2023-10-03  8:26 ` Roger Pau Monné
  0 siblings, 1 reply; 24+ messages in thread
From: Elliott Mitchell @ 2023-09-29  2:49 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Julien Grall, Bertrand Marquis,
	Volodymyr Babchuk

I'm trying to get FreeBSD/ARM operational on Xen/ARM.  Current issue is
the changes with the handling of the shared information page appear to
have broken things for me.

With a pre-4.17 build of Xen/ARM things worked fine.  Yet with a build
of the 4.17 release, mapping the shared information page doesn't work.

I'm using Tianocore as the first stage loader.  This continues to work
fine.  The build is using tag "edk2-stable202211", commit fff6d81270.
While Tianocore does map the shared information page, my reading of their
source is that it properly unmaps the page and therefore shouldn't cause
trouble.

Notes on the actual call is gpfn was 0x0000000000040072.  This is outside
the recommended address range, but my understanding is this is supposed
to be okay.

The return code is -16, which is EBUSY.

Ideas?

The obvious spot for EBUSY is from already having the shared information
page mapped.  Issue is I'm pretty sure it isn't mapped.

Did the policy change and now the shared information page *must* be
mapped within the recommended address ranges?

Is it a problem to map the shared information page at one address.  Unmap
it, then map it at another address?


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg@m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445




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

end of thread, other threads:[~2023-10-05 20:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29  2:49 Issue with shared information page on Xen/ARM 4.17 Elliott Mitchell
2023-10-03  8:26 ` Roger Pau Monné
2023-10-03 19:18   ` Elliott Mitchell
2023-10-04  8:13     ` Roger Pau Monné
2023-10-04 10:55       ` Julien Grall
2023-10-04 11:42         ` Oleksandr Tyshchenko
2023-10-04 12:59           ` Roger Pau Monné
2023-10-04 17:18             ` Oleksandr Tyshchenko
2023-10-04 12:53         ` Roger Pau Monné
2023-10-04 13:03           ` Julien Grall
2023-10-04 13:39             ` Roger Pau Monné
2023-10-04 14:06               ` Julien Grall
2023-10-04 14:53                 ` Roger Pau Monné
2023-10-04 17:47                   ` Julien Grall
2023-10-04 21:13                     ` Elliott Mitchell
2023-10-04 22:21                       ` Stefano Stabellini
2023-10-04 22:37                         ` Elliott Mitchell
2023-10-04 22:42                           ` Stefano Stabellini
2023-10-05  8:54                       ` Julien Grall
2023-10-05 15:56                         ` Elliott Mitchell
2023-10-04 22:52                     ` Stefano Stabellini
2023-10-05  0:20                       ` Elliott Mitchell
2023-10-05  9:24                       ` Roger Pau Monné
2023-10-05 20:52                         ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.