kernel. So why not change the
information between two kernel via setup page directly (need not
purgatory).
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
.
This patch is based on the Peter Anvin's proposal.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/Kconfig.debug |7
arch/x86/kernel/Makefile_32 |3 +-
arch/x86/kernel/Makefile_64 |2 -
arch/x86/kernel/kdebugfs.c | 65
arch
This patchset cleans up page table setup code of kexec on i386.
This patchset is based on 2.6.24-rc5-mm1 and has been tested on i386
with/without PAE enabled.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
memory when kexec image is not loaded.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/machine_kexec_32.c | 68 +
include/asm-x86/kexec_32.h | 12 ++
include/linux/kexec.h |4 ++
3 files changed, 63 insertions
This patch transforms the kexec page tables setup code from assembler
code to C code in machine_kexec_prepare. This improves readability and
reduces code line number.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/machine_kexec_32.c | 50 +++
arch/x86/kernel
in alloc_page_tables() itself and
following will look neater.
OK, I will change it.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
On Wed, 2008-01-09 at 20:05 -0500, Vivek Goyal wrote:
On Wed, Jan 09, 2008 at 10:57:50AM +0800, Huang, Ying wrote:
This patch transforms the kexec page tables setup code from asseumbler
code to iC code in machine_kexec_prepare. This improves readability and
reduces code line number.
I
This patch replaces boot_ioremap invokation with bt_ioremap and
removes the boot_ioremap implementation.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/Kconfig |4 -
arch/x86/kernel/srat_32.c |8 +--
arch/x86/mm/Makefile_32 |1
arch/x86/mm
-split-efi-tables-parsing-code-from-efi-runtime-service-support-code.patch.
It has been tested on i386 with PAE on/off.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
This patch makes bt_ioremap can be used before paging_init via
providing an early implementation of set_fixmap that can be used
before paging_init. This makes boot_ioremap can be replaced by
bt_ioremap.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/setup_32.c |1
arch/x86
This patch renames bt_ioremap to early_ioremap, which is used in
x86_64. This makes it easier to merge i386 and x86_64 usage.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/efi.c| 16
arch/x86/kernel/efi_32.c |2 +-
arch/x86/kernel
memory when kexec image is not loaded.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/machine_kexec_32.c | 70 +
include/asm-x86/kexec_32.h | 12 ++
include/linux/kexec.h |4 ++
3 files changed, 64 insertions
for machine_alloc_page_tables.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This patch transforms the kexec page tables setup code from assembler
code to C code in machine_kexec_prepare. This improves readability and
reduces code line number.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/machine_kexec_32.c | 59 ++
arch/x86/kernel
On Tue, 2008-01-15 at 09:44 +0100, Ingo Molnar wrote:
* Huang, Ying [EMAIL PROTECTED] wrote:
This patchset replaces boot_ioremap with a enhanced version of
bt_ioremap and renames the bt_ioremap to early_ioremap. This reduces
12k from .init.data segment and increases the size of memory
the
change as you said.
Anyways; it's really not very important.
It is needed by EFI runtime service supporting.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
This patch add a field of 64-bit physical pointer to NULL terminated
single linked list of struct setup_data to real-mode kernel
header. This is used to define a more extensible boot parameters
passing mechanism.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/i386/Kconfig
This patch defines a 32-bit boot protocol and adds corresponding
document.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
boot.txt | 105 ++-
1 file changed, 104 insertions(+), 1 deletion(-)
Index: linux-2.6.23-rc4/Documentation
will overwrite some
pages from 0x1000 on.
EFI64 runtime service is the first user of 32-bit boot protocol and
boot parameters passing mechanism. To demonstrate their usage, the
EFI64 runtime service patch is also appended with the mail.
Best Regards,
Huang Ying
---
Documentation/i386/boot.txt
On Mon, 2007-09-17 at 10:40 +0200, Andi Kleen wrote:
On Monday 17 September 2007 10:26:12 Huang, Ying wrote:
For machine with some new BIOS other than legacy BIOS, such as EFI,
LinuxBIOS, etc, and kexec, the 16-bit real mode setup code in kernel
based on legacy BIOS can not be used, so a 32
On Mon, 2007-09-17 at 08:30 -0700, H. Peter Anvin wrote:
Huang, Ying wrote:
This patch add a field of 64-bit physical pointer to NULL terminated
single linked list of struct setup_data to real-mode kernel
header. This is used to define a more extensible boot parameters
passing mechanism
On Mon, 2007-09-17 at 08:29 -0700, H. Peter Anvin wrote:
Huang, Ying wrote:
This patch defines a 32-bit boot protocol and adds corresponding
document.
+
+In addition to read/modify/write kernel header of the zero page as
+that of 16-bit boot protocol, the boot loader should fill
On Mon, 2007-09-17 at 18:48 -0700, H. Peter Anvin wrote:
Huang, Ying wrote:
OK, I will check the actual structure, and change the document
accordingly.
The best would probably be to fix zero-page.txt (and probably rename it
something saner.)
Does the patch appended with the mail
by kernel during booting up. The i386 kernel will
overwrite some pages after _end. The x86_64 kernel will overwrite some
pages from 0x1000 on.
ChangeLog:
-- v2 --
- Increase the boot protocol version number.
- Check version number before parsing setup_data.
Signed-off-by: Huang Ying [EMAIL
description according to the source code and move
them to zero-page.txt.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
boot.txt | 70 +++
zero-page.txt | 127 --
2 files changed, 97 insertions(+), 100
On Tue, 2007-09-18 at 22:30 -0700, H. Peter Anvin wrote:
Huang, Ying wrote:
Known issues:
- The hd0_info and hd1_info are deleted from the zero page. Additional
work should be done for this? Or this is unnecessary (because no new
fields will be added to zero page
by kernel during booting up. The i386 kernel will
overwrite some pages after _end. The x86_64 kernel will overwrite some
pages from 0x1000 on.
ChangeLog:
-- v2 --
- Increase the boot protocol version number.
- Check version number before parsing setup_data.
Signed-off-by: Huang Ying [EMAIL
the primary data type? Or is it sufficient to
provide the C struct name only?
ChangeLog:
-- v3 --
- Move hd0_info and hd1_info back to zero page for compatibility.
-- v2 --
- Revise zero page description according to the source code and move
them to zero-page.txt.
Signed-off-by: Huang Ying [EMAIL
]
11. In restore kernel (kernel C), the memory image of kernel A can be
restored as follow:
cp kexec_jump_back_entry /sys/kernel/kexec_jump_back_entry
krestore vmcore
12. Jump back to hibernated kernel (kernel A)
kexec -b
Best Regards,
Huang Ying
-
To unsubscribe from this list
and jump
back to original kernel.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/i386/jump_back_protocol.txt | 81
arch/i386/Kconfig |7 +
arch/i386/boot/header.S |2
arch/i386/kernel/machine_kexec.c
This patch adds writing support for /dev/oldmem. This is used to
restore the memory contents of hibernated system.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/i386/kernel/crash_dump.c | 27 +++
drivers/char/mem.c| 32
On Thu, 2007-09-20 at 10:15 +0200, Pavel Machek wrote:
This patch adds writing support for /dev/oldmem. This is used to
restore the memory contents of hibernated system.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
ACK. (And this can even go in before the patch #1, right?)
Yes
for this patchset to be merged into
2.6.24. But this patchset is very simple, just adds a framebuffer
driver, so it is impossible for this patchset to break anything. And
this patchset will be helpful for people have machine with UEFI 64
firmware instead of legacy BIOS.
Best Regards,
Huang Ying
executing.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/i386/jump_back_protocol.txt | 103 ++
arch/powerpc/kernel/machine_kexec.c |2
arch/ppc/kernel/machine_kexec.c |2
arch/sh/kernel/machine_kexec.c|2
arch/x86/kernel
This patch implements kexec based hibernate/resume. This is based on
the facility provided by kexec_jump. The ACPI methods are called at
specified environment to conform the ACPI specification. Two new
reboot commands are added to trigger hibernate/resume.
Signed-off-by: Huang Ying [EMAIL
This patch adds writing support for /dev/oldmem. This is used to
restore the memory contents of hibernated system.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/crash_dump_32.c | 27 +++
drivers/char/mem.c | 32
kexec a new kernel and jump back
to original kernel.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
edid_info?
e820_entries and e820_map? maybe useful for kdump
edd related fields (eddbuf, edd_mbr_sig_buffer, etc)? split fields until
fundamental types?
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
On Tue, 2007-12-11 at 02:27 -0700, Eric W. Biederman wrote:
Huang, Ying [EMAIL PROTECTED] writes:
On Mon, 2007-12-10 at 19:25 -0700, Eric W. Biederman wrote:
Huang, Ying [EMAIL PROTECTED] writes:
[...]
/*
* Do not allocate memory (or fail in any way) in machine_kexec().
* We
state
save/restore code of software suspend is called when needed.
- The same code path is used for both kexec a new kernel and jump back
to original kernel.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
This patch adds writing support for /dev/oldmem. This can be used to
- Communicate between original kernel and kexeced kernel through write
to some pages in original kernel.
- Restore the memory contents of hibernated system in kexec based
hibernation.
Signed-off-by: Huang Ying [EMAIL
provided by this patch can be used to call ordinary C function in
physical mode.
A flag named KEXEC_PRESERVE_CONTEXT for sys_kexec_load is added to
indicate that the loaded kernel image is used for jumping back.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/i386/jump_back_protocol.txt
, jump to the point where
you leave last time in kexeced kernel.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
fs/proc/Makefile |1
fs/proc/kimgcore.c| 277 ++
fs/proc/proc_misc.c |6 +
include/linux/kexec.h |7 +
kernel
On Fri, 2007-12-21 at 19:35 +1100, Nigel Cunningham wrote:
Hi.
Huang, Ying wrote:
This patchset provides an enhancement to kexec/kdump. It implements
the following features:
- Backup/restore memory used both by the original kernel and the
kexeced kernel.
Why the kexeced kernel
of hibernated system in kexec based
hibernation.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
--- a/arch/x86/kernel/crash_dump_32.c
+++ b/arch/x86/kernel/crash_dump_32.c
+ssize_t write_oldmem_page(unsigned long pfn, const char *buf,
+ size_t csize, unsigned long offset
in CR0 in clear/restore to make it
possible to use SSE2 in EFI runtime service.
This patch is based on 2.6.24-rc4-mm1. And it has been tested on Intel
platforms with 64-bit UEFI 2.0 firmware.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/efi_stub_64.S | 71
-off-by: Huang Ying [EMAIL PROTECTED]
---
fs/proc/Makefile |1
fs/proc/kimgcore.c| 204 ++
fs/proc/proc_misc.c |5 +
include/linux/kexec.h |7 +
kernel/kexec.c|5 -
5 files changed, 217 insertions(+), 5 deletions
This patch adds writing support for /dev/oldmem. This is used to
restore the memory contents of hibernated system.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/crash_dump_32.c | 27 +++
drivers/char/mem.c | 32
instead of software suspend framework. The device and CPU state
save/restore code of software suspend is called when needed.
- The same code path is used for both kexec a new kernel and jump back
to original kernel.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line
code executing.
The states (exclude CPU state) save/restore code can be overridden
based on the command parameter of kexec jump. Because more states
need to be saved/restored by hibernating/resuming.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/i386/jump_back_protocol.txt | 103
. A new reboot command is added to go to ACPI S4
state from user space.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
include/linux/kexec.h |4
include/linux/reboot.h |1
include/linux/suspend.h |1
kernel/power/disk.c | 244
On Dec 7, 2007 8:33 PM, Rafael J. Wysocki [EMAIL PROTECTED] wrote:
On Friday, 7 of December 2007, Huang, Ying wrote:
This patch adds a file in proc file system to access the loaded
kexec_image, which may contains the memory image of kexeced
system. This can be used by kexec based
On Dec 7, 2007 8:52 PM, Rafael J. Wysocki [EMAIL PROTECTED] wrote:
On Friday, 7 of December 2007, Huang, Ying wrote:
This patch implements kexec based hibernate/resume. This is based on
the facility provided by kexec_jump. The states save/restore code of
ordinary kexec_jump is overridden
://www.sisk.pl/kernel/hibernation_and_suspend/2.6.24-rc2/patches/
(patches 10-12).
Please base your changes on top of that.
OK, I will do it.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info
On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote:
On Tuesday, 20 of November 2007, Huang, Ying wrote:
On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote:
+#ifdef CONFIG_KEXEC
+static void kexec_hibernate_power_down(void)
+{
+ switch (hibernation_mode
On Wed, 2007-11-21 at 01:00 +0100, Rafael J. Wysocki wrote:
On Tuesday, 20 of November 2007, Huang, Ying wrote:
On Tue, 2007-11-20 at 03:24 +0100, Rafael J. Wysocki wrote:
On Tuesday, 20 of November 2007, Huang, Ying wrote:
On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote
This patch adds document for EFI x86_64 runtime services support.
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/x86_64/boot-options.txt |9 -
Documentation/x86_64/uefi.txt |9 +
2 files
.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
and
efi_64.c is placed in efi.c to remove them from efi_32.c.
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/Kconfig |2
arch/x86/kernel/Makefile_64 |1
arch/x86/kernel/efi.c | 484
This patch adds support for several EFI runtime services for EFI
x86_64 system.
The EFI support for emergency_restart is added.
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/reboot_64.c | 20
This patch removes the duplicated code between efi_32.c and efi.c.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/Makefile_32 |2
arch/x86/kernel/e820_32.c |5
arch/x86/kernel/efi_32.c| 430
arch/x86/kernel/setup_32
);
+
+ if (status != EFI_SUCCESS) {
+ printk(KERN_ALERT You are screwed!
This came over when you copied the original file. This patchset would be a
decent opportunity to de-stupid these messages. Frankly.
I will do it. And I will recheck all messages.
Best Regards,
Huang Ying
messages.
- Turn on debug by default.
- Remove unnecessary memset of static variable.
This patch has been tested against 2.6.24-rc3-mm1 kernel on Intel
platforms with 64-bit EFI1.10 and UEFI2.0 firmware.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/efi.c| 24
On Mon, 2007-12-10 at 14:55 -0500, Vivek Goyal wrote:
On Fri, Dec 07, 2007 at 03:53:30PM +, Huang, Ying wrote:
This patch implements the functionality of jumping between the kexeced
kernel and the original kernel.
Hi,
I am just going through your patches and trying to understand
such as KEXEC_PRESERVE_CONTEXT
now, and create the others required flags when really needed.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Mon, 2007-12-10 at 19:25 -0700, Eric W. Biederman wrote:
Huang, Ying [EMAIL PROTECTED] writes:
[...]
/*
* Do not allocate memory (or fail in any way) in machine_kexec().
* We are past the point of no return, committed to rebooting now.
*/
-NORET_TYPE void machine_kexec(struct
Because the EFI memory map are converted to e820 memory map in
bootloader, the EFI memory map handling code is removed to clean up.
This patch is based on 2.6.24-rc4-mm1 and has been tested on Intel
32-bit platform with EFI 32 and UEFI 32 firmware.
Signed-off-by: Huang Ying [EMAIL PROTECTED
been tested on i386 and
x86_64 platoform.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/Makefile_32 |1
arch/x86/kernel/Makefile_64 |1
arch/x86/kernel/ksysfs.c| 94
arch/x86/kernel/setup64.c |2
arch/x86/kernel
On Tue, 2007-12-11 at 02:27 -0700, Eric W. Biederman wrote:
Huang, Ying [EMAIL PROTECTED] writes:
On Mon, 2007-12-10 at 19:25 -0700, Eric W. Biederman wrote:
Huang, Ying [EMAIL PROTECTED] writes:
[...]
/*
* Do not allocate memory (or fail in any way) in machine_kexec().
* We
been tested on i386 and
x86_64 platoform.
This patch is based on the Peter Anvin's proposal.
v2:
- Add document in Document/ABI.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/ABI/testing/sysfs-kernel-boot_params | 14 +++
arch/x86/kernel/Makefile_32
up includes.
- Revise Kconfig description.
- Enable noefi kernel parameter on i386.
This patch has been tested against 2.6.24-rc5-mm1 kernel on Intel
platforms with 32-bit EFI1.10 and UEFI2.0 firmware.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/kernel-parameters.txt
been tested on i386 and
x86_64 platoform.
This patch is based on the Peter Anvin's proposal.
v3:
- Use updated API: kobject_create_and_add.
v2:
- Add document in Document/ABI.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
Documentation/ABI/testing/sysfs-kernel-boot_params | 14 +++
arch
to provide a
struct kimage (including control page, swap page) and entry point to
jump back.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, 2007-12-27 at 13:12 -0500, Vivek Goyal wrote:
On Thu, Dec 27, 2007 at 10:33:13AM +0800, Huang, Ying wrote:
On Wed, 2007-12-26 at 20:57 -0500, Vivek Goyal wrote:
[...]
9. Now, you are in the original kernel again. You can read/write the
memory image of kexeced kernel via
On Fri, 2007-12-28 at 16:33 -0500, Vivek Goyal wrote:
On Fri, Dec 21, 2007 at 03:33:19PM +0800, Huang, Ying wrote:
This patchset provides an enhancement to kexec/kdump. It implements
the following features:
- Backup/restore memory used both by the original kernel and the
kexeced
on EFI 64
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/ia64/kernel/acpi.c |6 -
arch/ia64/kernel/efi.c | 30
arch/ia64/kernel/setup.c |2
arch/ia64/sn/kernel/setup.c |4 -
arch/x86/Kconfig |4 -
arch/x86/kernel/Makefile_32 |3
On Sun, 2007-12-30 at 15:28 +0100, Ingo Molnar wrote:
* Huang, Ying [EMAIL PROTECTED] wrote:
+struct efi_tables efi_tables;
+EXPORT_SYMBOL(efi_tables);
+enum bios_type bios_type = BIOS_LEGACY;
+EXPORT_SYMBOL(bios_type);
please make all the new exports EXPORT_SYMBOL_GPL().
OK, I
jump or resuming. I think a
kernel-to-kernel mechanism may be needed. But I don't know if Eric
Biederman will agree with this.
Best Regards,
Huang Ying
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
on EFI 64
ChangeLog
v2:
- Change EXPORT_SYMBOL to EXPORT_SYMBOL_GPL.
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/ia64/kernel/acpi.c |6 -
arch/ia64/kernel/efi.c | 30
arch/ia64/kernel/setup.c |2
arch/ia64/sn/kernel/setup.c |4 -
arch/x86
[EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/Makefile_64 |1
arch/x86/kernel/efi_64.c | 593 ++
arch/x86/kernel/efi_callwrap_64.S | 69
arch/x86/kernel/setup_64.c| 15
arch/x86_64/Kconfig
-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/reboot_64.c | 19 +-
arch/x86/kernel/time_64.c | 48
include/asm-x86/emergency-restart.h |8 ++
include
This patch adds document for EFI x86_64 runtime services support.
---
boot-options.txt | 12 +++-
uefi.txt | 10 ++
2 files changed, 21 insertions(+), 1 deletion(-)
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED
based implementation.
v2:
- The EFI callwrapper is re-implemented in assembler.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
(the
NDISwrapper?) in the future. Do you agree?
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org
of
EFI from kernel bootstrap on.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
) is provided in
drivers/firmware/efivars.c, which depends on this patchset to work.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
kernel command line
parameter now. If it is desired, it can be disabled by default, and only
enabled if specified in kernel command line parameter. I think the time
runtime service may be useful if the underlying hardware is changed
silently by some vendor.
Best Regards,
Huang Ying
-
To unsubscribe
?
(Eric: do note that there are two EFI framebuffer standard, UGA and GOP.
Apparently UGA is obsolete and we have always been at war with GOP at
the moment.)
EFI framebuffer doesn't depend on EFI runtime service. It only depends
on kernel boot parameters (screen_info).
Best Regards,
Huang Ying
runtime service is useful and it does not break
anything. But the code duplication between efi_32.c and efi_64.c should
be eliminated and I will work on this.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED
On Thu, 2007-10-25 at 18:09 +0200, Thomas Gleixner wrote:
On Thu, 25 Oct 2007, Huang, Ying wrote:
This patch adds basic runtime services support for EFI x86_64
system. The main file of the patch is the addition of efi.c for
x86_64. This file is modeled after the EFI IA32 avatar
dump
kernel must be done. But saving OOPS information in FLASH via EFI
variable runtime service is quite simple, without configuration
requirement. That is, there could be more bug report with OOPS
information. I think this is useful.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send
On Fri, 2007-10-26 at 12:31 +0100, Alan Cox wrote:
On Fri, 26 Oct 2007 09:03:11 +0800
Huang, Ying [EMAIL PROTECTED] wrote:
On Thu, 2007-10-25 at 18:09 +0200, Thomas Gleixner wrote:
EFI runtime
services initialization are implemented in efi.c. Some x86_64
specifics are worth
| 37 +++
5 files changed, 42 insertions(+), 443 deletions(-)
Signed-off-by: Huang Ying [EMAIL PROTECTED]
Index: linux-2.6.24-rc1/arch/x86/kernel/Makefile_32
===
--- linux-2.6.24-rc1.orig/arch/x86/kernel/Makefile_32 2007-10-30
11:05
This patch adds document for EFI x86_64 runtime services support.
---
boot-options.txt | 11 ++-
uefi.txt |9 +
2 files changed, 19 insertions(+), 1 deletion(-)
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED
-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/reboot_64.c | 19 +-
arch/x86/kernel/time_64.c | 47 +++-
include/asm-x86/emergency-restart.h |8 ++
include
into the framework of
reboot_type.
- A kernel command line option noefi_time is added to make it
possible to fall back to CMOS based implementation.
v2:
- The EFI callwrapper is re-implemented in assembler.
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe
and
efi_64.c is placed in efi.c to remove them from efi_32.c.
Signed-off-by: Chandramouli Narayanan [EMAIL PROTECTED]
Signed-off-by: Huang Ying [EMAIL PROTECTED]
---
arch/x86/kernel/Makefile_64 |1
arch/x86/kernel/efi.c | 483 ++
arch/x86
On Tue, 2007-10-30 at 15:58 +, Denys Vlasenko wrote:
On Tuesday 30 October 2007 05:55, Huang, Ying wrote:
+static inline unsigned long native_get_wallclock(void)
+{
+ unsigned long retval;
+
+ if (efi_enabled)
+ retval = efi_get_time();
+ else
, the 32-bit boot protocol has been merged into mainline. So can
this patchset be merged into mainline kernel now?
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org
without the risk of conflicting with setup data from
bootloader.
Do you think this solution is better?
Best Regards,
Huang Ying
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo
1 - 100 of 3349 matches
Mail list logo