Displaying 20 results from an estimated 121 matches for "setup_arch".
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
From: Randy Dunlap <randy.dunlap@oracle.com>
Since Voyager and Visual WS already define ARCH_SETUP,
it looks like PARAVIRT shouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,...
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
From: Randy Dunlap <randy.dunlap@oracle.com>
Since Voyager and Visual WS already define ARCH_SETUP,
it looks like PARAVIRT shouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,...
2018 Jan 05
4
Centos 6 2.6.32-696.18.7.el6.x86_64 does not boot in Xen PV mode
...) [<ffffffff81004843>] ? xen_mc_flush+0x1c3/0x250
(early) [<ffffffff81006b9e>] ? xen_extend_mmu_update+0xde/0x1b0
(early) [<ffffffff81006fcd>] ? xen_set_pmd_hyper+0x9d/0xc0
(early) [<ffffffff81c5e8ac>] ? early_ioremap_init+0x98/0x133
(early) [<ffffffff81c45221>] ? setup_arch+0x40/0xca6
(early) [<ffffffff8107e0ee>] ? vprintk_default+0xe/0x10
(early) [<ffffffff8154b0cd>] ? printk+0x4f/0x52
(early) [<ffffffff81c3fdda>] ? start_kernel+0xdc/0x43b
(early) [<ffffffff81c47eb0>] ? reserve_early+0x30/0x39
(early) [<ffffffff81c3f33a>] ? x86_64_s...
2018 Jan 05
0
Centos 6 2.6.32-696.18.7.el6.x86_64 does not boot in Xen PV mode
...fff81a03e98 ffffffff81c872a0 0000000000000000
Call Trace:
[<ffffffff812b7872>] __memcpy_fromio+0x12 <--
[<ffffffff812b7872>] __memcpy_fromio+0x12
[<ffffffff812b7869>] __memcpy_fromio+0x9
[<ffffffff81c80153>] dmi_scan_machine+0x139
[<ffffffff81c45605>] setup_arch+0x424
[<ffffffff8107e0ee>] vprintk_default+0xe
[<ffffffff8154b0cd>] printk+0x4f
[<ffffffff81c3fdda>] start_kernel+0xdc
[<ffffffff81c3f33a>] x86_64_start_reservations+0x125
[<ffffffff81c4309c>] xen_start_kernel+0x4fe
And my domU has similar boot messag...
2012 Feb 06
1
Unknown KERNEL Warning in boot messages
...9a86>] ? warn_slowpath_fmt+0x46/0x50
[<ffffffff8102713e>] ? generic_get_mtrr+0x11e/0x140
[<ffffffff81c2bfd1>] ? mtrr_cleanup+0x8c/0x3fd
[<ffffffff81c2ae47>] ? get_mtrr_state+0x2ec/0x2fb
[<ffffffff81c2a988>] ? mtrr_bp_init+0x1ab/0x1d2
[<ffffffff81c254d8>] ? setup_arch+0x4b8/0xaea
[<ffffffff814ec4c5>] ? printk+0x41/0x44
[<ffffffff81c1fc2e>] ? start_kernel+0xdc/0x430
[<ffffffff81c1f33a>] ? x86_64_start_reservations+0x125/0x129
[<ffffffff81c1f438>] ? x86_64_start_kernel+0xfa/0x109
---[ end trace a7919e7f17c0a725 ]---
------------[ c...
2006 Aug 30
0
[patch] phys_to_machine_mapping alignment on x86_64
...951e59cbf -r 3bb0d973dfde
linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c
--- a/linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c Wed
Aug 30 09:47:24 2006 +0100
+++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c Wed
Aug 30 20:31:42 2006 +0900
@@ -846,7 +846,7 @@ void __init setup_arch(char **cmdline_p)
if (!xen_feature(XENFEAT_auto_translated_physmap)) {
/* Make sure we have a large enough P->M table. */
- phys_to_machine_mapping = alloc_bootmem(
+ phys_to_machine_mapping = alloc_bootmem_page...
2005 Jun 13
2
[PATCH] fix x86_64 initrd support
...===== linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/setup.c 1.6 vs edited =====
--- 1.6/linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/setup.c 2005-06-08 01:34:42 -07:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/setup.c 2005-06-13 14:39:19 -07:00
@@ -727,23 +727,20 @@ void __init setup_arch(char **cmdline_p)
acpi_reserve_bootmem();
#endif
#ifdef CONFIG_BLK_DEV_INITRD
- if (xen_start_info.mod_start) {
- if (LOADER_TYPE && INITRD_START) {
- if (INITRD_START + INITRD_SIZE <= (end_pfn << PAGE_SHIFT)) {
-...
2018 Jan 06
0
Centos 6 2.6.32-696.18.7.el6.x86_64 does not boot in Xen PV mode
...81004843>] ? xen_mc_flush+0x1c3/0x250
>(early) [<ffffffff81006b9e>] ? xen_extend_mmu_update+0xde/0x1b0
>(early) [<ffffffff81006fcd>] ? xen_set_pmd_hyper+0x9d/0xc0
>(early) [<ffffffff81c5e8ac>] ? early_ioremap_init+0x98/0x133
>(early) [<ffffffff81c45221>] ? setup_arch+0x40/0xca6
>(early) [<ffffffff8107e0ee>] ? vprintk_default+0xe/0x10
>(early) [<ffffffff8154b0cd>] ? printk+0x4f/0x52
>(early) [<ffffffff81c3fdda>] ? start_kernel+0xdc/0x43b
>(early) [<ffffffff81c47eb0>] ? reserve_early+0x30/0x39
>(early) [<ffffffff81c3...
2008 Apr 16
1
[PATCH] kvm: move kvmclock initialization inside kvm_guest_init
...t();
+
if (kvm_para_has_feature(KVM_FEATURE_NOP_IO_DELAY))
pv_cpu_ops.io_delay = kvm_io_delay;
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 65f3a23..029350c 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -771,10 +771,6 @@ void __init setup_arch(char **cmdline_p)
max_low_pfn = setup_memory();
-#ifdef CONFIG_KVM_CLOCK
- kvmclock_init();
-#endif
-
#ifdef CONFIG_VMI
/*
* Must be after max_low_pfn is determined, and before kernel
diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h
index 3ddce03..c5e662c 100644
--- a/in...
2008 Apr 16
1
[PATCH] kvm: move kvmclock initialization inside kvm_guest_init
...t();
+
if (kvm_para_has_feature(KVM_FEATURE_NOP_IO_DELAY))
pv_cpu_ops.io_delay = kvm_io_delay;
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 65f3a23..029350c 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -771,10 +771,6 @@ void __init setup_arch(char **cmdline_p)
max_low_pfn = setup_memory();
-#ifdef CONFIG_KVM_CLOCK
- kvmclock_init();
-#endif
-
#ifdef CONFIG_VMI
/*
* Must be after max_low_pfn is determined, and before kernel
diff --git a/include/linux/kvm_para.h b/include/linux/kvm_para.h
index 3ddce03..c5e662c 100644
--- a/in...
2011 Sep 01
3
HVM guests and pvlocks not working as expected
...takes the
pv_lock_ops and patches the kernel with the correct jumps.
_After_ that, the kernel_init is called and that in turn does the
smp_prepare_cpus which now changes the pv_lock_ops again, *but not* run any
patching again. So the _raw_spin_*lock calls still use the ticket calls.
start_kernel
setup_arch -> xen_hvm_smp_init (set smp_ops)
...
check_bugs -> alternative_instructions (patches pv_locks sites)
...
rest_init (triggers kernel_init as a thread)
kernel_init
...
smp_prepare_cpus (calls xen_init_spinlocks through smp_ops hook)
To make things even more fun, there...
2012 Jan 17
1
Errors in /var/spool/mail/root
...ffffff81069a86>] ? warn_slowpath_fmt+0x46/0x50
[<ffffffff8102713e>] ? generic_get_mtrr+0x11e/0x140
[<ffffffff81c2bfd1>] ? mtrr_cleanup+0x8c/0x3fd
[<ffffffff81c2ae47>] ? get_mtrr_state+0x2ec/0x2fb
[<ffffffff81c2a988>] ? mtrr_bp_init+0x1ab/0x1d2
[<ffffffff81c254d8>] ? setup_arch+0x4b8/0xaea
[<ffffffff814ec4c5>] ? printk+0x41/0x44
[<ffffffff81c1fc2e>] ? start_kernel+0xdc/0x430
[<ffffffff81c1f33a>] ? x86_64_start_reservations+0x125/0x129
[<ffffffff81c1f438>] ? x86_64_start_kernel+0xfa/0x109
time
-----
1326805905
component
-----
kernel
hostname
---...
2007 Aug 09
0
[PATCH] linux/x86: retrieve VESA capabilities in dom0
...6/kernel/setup-xen.c
===================================================================
--- head-2007-08-07.orig/arch/i386/kernel/setup-xen.c 2007-08-07 10:40:43.000000000 +0200
+++ head-2007-08-07/arch/i386/kernel/setup-xen.c 2007-08-09 12:21:12.000000000 +0200
@@ -1669,23 +1669,12 @@ void __init setup_arch(char **cmdline_p)
bootloader_type = LOADER_TYPE;
if (is_initial_xendomain()) {
- /* This is drawn from a dump from vgacon:startup in
- * standard Linux. */
- screen_info.orig_video_mode = 3;
- screen_info.orig_video_isVGA = 1;
- screen_info.orig_video_lines = 25;
- screen_info.orig_vi...
2013 Apr 18
1
[PATCH] xen/arm: introduce xen_early_init, use PSCI on xen
Split xen_guest_init in two functions, one of them (xen_early_init) is
going to be called very early from setup_arch.
Change machine_desc->smp_init to xen_smp_init if Xen is present on the
platform. xen_smp_init just sets smp_ops to psci_smp_ops.
XEN selects ARM_PSCI.
This patch is based on "xen/arm: move to mach-virt and support SMP"
(http://marc.info/?l=linux-kernel&m=136629656432231&w=...
2011 Apr 26
4
RHEL 6/CentOS
...[<c0477e67>] ? mark_hardware_unsupported+0x37/0x40
[<c0450293>] ? warn_slowpath_fmt_taint+0x33/0x40
[<c0477e67>] ? mark_hardware_unsupported+0x37/0x40
[<c08056eb>] ? early_init_centaur+0xd/0x2d
[<c0a49835>] ? early_cpu_init+0x11a/0x13e
[<c0a453b3>] ? setup_arch+0x38/0xb90
[<c0450d3e>] ? vprintk+0x1ae/0x490
[<c080ba2a>] ? printk+0x17/0x1d
[<c0a5a4ee>] ? cgroup_init_subsys+0xcf/0xdb
[<c0a406da>] ? start_kernel+0xca/0x3a4
---[ end trace a7919e7f17c0a725 ]---
Disabling lock debugging due to kernel taint
I traced it down to t...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...ize);
/* Round EBDA up to pages */
if (ebda_size == 0)
@@ -341,6 +338,12 @@ static void discover_ebda(void)
ebda_size = 64*1024;
}
+/* Overridden in paravirt.c if CONFIG_PARAVIRT */
+void __attribute__((weak)) memory_setup(void)
+{
+ return setup_memory_region();
+}
+
void __init setup_arch(char **cmdline_p)
{
printk(KERN_INFO "Command line: %s\n", saved_command_line);
@@ -356,7 +359,7 @@ void __init setup_arch(char **cmdline_p)
rd_prompt = ((RAMDISK_FLAGS & RAMDISK_PROMPT_FLAG) != 0);
rd_doload = ((RAMDISK_FLAGS & RAMDISK_LOAD_FLAG) != 0);
#endif
- setup_mem...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...ize);
/* Round EBDA up to pages */
if (ebda_size == 0)
@@ -341,6 +338,12 @@ static void discover_ebda(void)
ebda_size = 64*1024;
}
+/* Overridden in paravirt.c if CONFIG_PARAVIRT */
+void __attribute__((weak)) memory_setup(void)
+{
+ return setup_memory_region();
+}
+
void __init setup_arch(char **cmdline_p)
{
printk(KERN_INFO "Command line: %s\n", saved_command_line);
@@ -356,7 +359,7 @@ void __init setup_arch(char **cmdline_p)
rd_prompt = ((RAMDISK_FLAGS & RAMDISK_PROMPT_FLAG) != 0);
rd_doload = ((RAMDISK_FLAGS & RAMDISK_LOAD_FLAG) != 0);
#endif
- setup_mem...
2020 Jul 22
0
[PATCH v4 51/75] x86/sev-es: Handle MMIO events
Hmm, I have a theory ...
On Tue, Jul 21, 2020 at 09:01:44PM +0000, Mike Stunes wrote:
> If I remove the call to probe_roms from setup_arch, or remove the calls to romchecksum from probe_roms, this kernel boots normally.
>
> Please let me know of other tests I should run or data that I can collect. Thanks!
... can you please try the attached diff?
diff --git a/arch/x86/kernel/sev-es.c b/arch/x86/kernel/sev-es.c
index 251d0aabc...
2006 Apr 18
0
kernel source 2.6.9-34.EL 4.3
Hi,
I've hit an unpatched kernel issue while trying to build on sources see
the header for version details..
arch/i386/kernel/built-in.o(.init.text+0x1585): In function `setup_arch':
: undefined reference to `acpi_boot_table_init'
make: *** [.tmp_vmlinux1] Error 1
It seems that I would need to install (centos/redhat) patches after
installing/building the kernel source tree
from the kernel-2.6.9-34.EL.src.rpm
Is that correct ??
thanks,
Peter
2006 Jun 26
0
[klibc 07/43] Eliminate unnecessary whitespace delta vs. Linus' tree
...dev(ORIG_ROOT_DEV);
drive_info = DRIVE_INFO;
screen_info = SCREEN_INFO;
edid_info = EDID_INFO;
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index 6d4f025..003667e 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -599,7 +599,7 @@ void __init setup_arch(char **cmdline_p)
{
unsigned long kernel_end;
- ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV);
+ ROOT_DEV = old_decode_dev(ORIG_ROOT_DEV);
screen_info = SCREEN_INFO;
edid_info = EDID_INFO;
saved_video_mode = SAVED_VIDEO_MODE;