[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2141297830.13051543.1386406862068.JavaMail.root@redhat.com>
Date: Sat, 7 Dec 2013 04:01:02 -0500 (EST)
From: Dave Young <dyoung@...hat.com>
To: Borislav Petkov <bp@...en8.de>
Cc: mjg59@...f.ucam.org, linux-efi@...r.kernel.org,
toshi kani <toshi.kani@...com>, matt@...sole-pimps.org,
greg@...ah.com, x86@...nel.org, kexec@...ts.infradead.org,
linux-kernel@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
horms@...ge.net.au, ebiederm@...ssion.com, hpa@...or.com,
vgoyal@...hat.com
Subject: Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to
sysfs
Hi, all
Update my status:
I have finished most of thecode related changes including the krealloc
fixes (both for original code and my new code). And I'm slowly
moving the kexec related stuff to efi_kexec.c, this involves
some other cleanups, such as:
efi_systab_init:
-> move 64bit code to efi_64.c, move 32bit code to efi_32.c
efi_setup global variable is changing to physical address, ioremapping
it when necessary instead of directly using the virt addr because
previously the virt addr will be freed until entering virtual mode,
it's possible a leak in case something is wrong in the middle also it
occupies the ioremap slot a little bit long.
There's also other problems, so I still need a few days probably
a week to carefully restructure the code.
Thanks
Dave
Sending from web interface so sorry for the email format.
----- Original Message -----
From: "Borislav Petkov" <bp@...en8.de>
To: "Dave Young" <dyoung@...hat.com>
Cc: mjg59@...f.ucam.org, linux-efi@...r.kernel.org, "toshi kani" <toshi.kani@...com>, matt@...sole-pimps.org, greg@...ah.com, x86@...nel.org, kexec@...ts.infradead.org, linux-kernel@...r.kernel.org, "James Bottomley" <James.Bottomley@...senPartnership.com>, horms@...ge.net.au, ebiederm@...ssion.com, hpa@...or.com, vgoyal@...hat.com
Sent: Monday, December 2, 2013 5:40:20 PM
Subject: Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs
On Mon, Dec 02, 2013 at 10:59:42AM +0800, Dave Young wrote:
> They are only called if there's setup_data SETUP_EFI passed in. Yes, I
> think only kexec need that part of code. But I hesitated to mess the
> code with a lot of #if. Will think about it.
Well, the accepted strategy with the efi code is to have function calls
in efi.c and then have different versions of those functions defined for
32 and 64-bit, i.e. efi_32.c and efi_64.c.
I can imagine adding an efi_kexec.c could make the whole deal very
clearly arranged without ifdeffery.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
_______________________________________________
kexec mailing list
kexec@...ts.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists