Jeremy Fitzhardinge escreveu:
Glauber de Oliveira Costa wrote:I think the idea you gave me earlier of using probe_kernel_address could work. Xen/lguest/put_yours_here that won't use an ebda would then have to unmap the page, to make sure a read would fault.Hm, the memory might be mapped anyway, but we could make sure its all zero. discover_ebda should be able to deal with that OK. J
Indeed, as the EBDA_ADDR_POINTER is not aligned, this may work even better. It seems to me safe to assume that if we read zero on that line: ebda_addr = *(unsigned short *)__va(EBDA_ADDR_POINTER);We could just do ebda_size = 0 and go home happy, skipping the rest of the process.
Andi, are you okay with it ? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- References:
- Introducing paravirt_ops for x86_64
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 22/25] [PATCH] turn priviled operation into a macro
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Andi Kleen <ak@suse.de>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: "Glauber de Oliveira Costa" <glommer@gmail.com>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Glauber de Oliveira Costa <gcosta@redhat.com>
- Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- From: Jeremy Fitzhardinge <jeremy@goop.org>
- Introducing paravirt_ops for x86_64
- Prev by Date: Re: [PATCH 1/24] make atomic_read() behave consistently on alpha
- Next by Date: Re: 2.6.23-rc2-mm2
- Previous by thread: Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- Next by thread: Re: [PATCH 23/25] [PATCH] paravirt hooks for arch initialization
- Index(es):
![]() |