Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96794
b: refs/heads/master
c: f13ae30
h: refs/heads/master
v: v3
  • Loading branch information
Alex Chiang authored and Tony Luck committed May 14, 2008
1 parent 36a3e39 commit 5d1e9c5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a3360f06cd4d3b1d57f73e029f2f8b6057fdcba
refs/heads/master: f13ae30e1397e3bfb38feb3b6e889af5d021f13d
6 changes: 6 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,12 @@ and is between 256 and 4096 characters. It is defined in the file
floppy= [HW]
See Documentation/floppy.txt.

force_pal_cache_flush
[IA-64] Avoid check_sal_cache_flush which may hang on
buggy SAL_CACHE_FLUSH implementations. Using this
parameter will force ia64_sal_cache_flush to call
ia64_pal_cache_flush instead of SAL_CACHE_FLUSH.

gamecon.map[2|3]=
[HW,JOY] Multisystem joystick and NES/SNES/PSX pad
support via parallel port (up to 5 devices per port)
Expand Down
11 changes: 11 additions & 0 deletions trunk/arch/ia64/kernel/sal.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ static void __init sal_desc_ap_wakeup(void *p) { }
*/
static int sal_cache_flush_drops_interrupts;

static int __init
force_pal_cache_flush(char *str)
{
sal_cache_flush_drops_interrupts = 1;
return 0;
}
early_param("force_pal_cache_flush", force_pal_cache_flush);

void __init
check_sal_cache_flush (void)
{
Expand All @@ -237,6 +245,9 @@ check_sal_cache_flush (void)
u64 vector, cache_type = 3;
struct ia64_sal_retval isrv;

if (sal_cache_flush_drops_interrupts)
return;

cpu = get_cpu();
local_irq_save(flags);

Expand Down

0 comments on commit 5d1e9c5

Please sign in to comment.