Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309893 Details for
Bug 451745
a check for a buggy HP SAL caused problems booting as a guest in a virtual machine
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
move SAL_CACHE_FLUSH check later
451745-another.patch (text/plain), 1.81 KB, created by
Luming Yu
on 2008-06-20 02:39:37 UTC
(
hide
)
Description:
move SAL_CACHE_FLUSH check later
Filename:
MIME Type:
Creator:
Luming Yu
Created:
2008-06-20 02:39:37 UTC
Size:
1.81 KB
patch
obsolete
>diff -Bru 0/arch/ia64/kernel/sal.c 1/arch/ia64/kernel/sal.c >--- 0/arch/ia64/kernel/sal.c 2008-06-20 09:53:23.000000000 -0400 >+++ 1/arch/ia64/kernel/sal.c 2008-06-20 09:55:48.000000000 -0400 >@@ -223,12 +223,13 @@ > */ > static int sal_cache_flush_drops_interrupts; > >-static void __init >+void __init > check_sal_cache_flush (void) > { > unsigned long flags; > int cpu; >- u64 vector; >+ u64 vector, cache_type = 3; >+ struct ia64_sal_retval isrv; > > cpu = get_cpu(); > local_irq_save(flags); >@@ -242,7 +243,10 @@ > while (!ia64_get_irr(IA64_TIMER_VECTOR)) > cpu_relax(); > >- ia64_sal_cache_flush(3); >+ SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); >+ >+ if (isrv.status) >+ printk(KERN_ERR "SAL_CAL_FLUSH failed with %ld\n", isrv.status); > > if (ia64_get_irr(IA64_TIMER_VECTOR)) { > vector = ia64_get_ivr(); >@@ -330,7 +334,6 @@ > p += SAL_DESC_SIZE(*p); > } > >- check_sal_cache_flush(); > } > > int >Only in 1/arch/ia64/kernel: sal.c.orig >diff -Bru 0/arch/ia64/kernel/setup.c 1/arch/ia64/kernel/setup.c >--- 0/arch/ia64/kernel/setup.c 2008-06-20 09:53:47.000000000 -0400 >+++ 1/arch/ia64/kernel/setup.c 2008-06-20 09:55:48.000000000 -0400 >@@ -617,6 +617,8 @@ > cpu_init(); /* initialize the bootstrap CPU */ > mmu_context_init(); /* initialize context_id bitmap */ > >+ check_sal_cache_flush(); >+ > #ifdef CONFIG_ACPI > acpi_boot_init(); > #endif >Only in 1/arch/ia64/kernel: setup.c.orig >diff -Bru 0/include/asm-ia64/sal.h 1/include/asm-ia64/sal.h >--- 0/include/asm-ia64/sal.h 2008-06-20 09:53:41.000000000 -0400 >+++ 1/include/asm-ia64/sal.h 2008-06-20 09:55:48.000000000 -0400 >@@ -668,6 +668,7 @@ > } > > extern s64 ia64_sal_cache_flush (u64 cache_type); >+extern void __init check_sal_cache_flush (void); > > /* Initialize all the processor and platform level instruction and data caches */ > static inline s64 >Only in 1/include/asm-ia64: sal.h.orig
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 451745
:
309738
| 309893 |
310312
|
312632