summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2008-03-14 13:57:08 -0700
committerTony Luck <tony.luck@intel.com>2008-04-04 11:06:38 -0700
commita6c75b86ce9f01db4ea9912877b526c2dc4d2f0a (patch)
treea8763d9be28ffff5d28f1ff3235f044aaa64a0fa /arch/ia64/kernel
parent2046b94e7c4fce92eb8165c2c36c6478f4927178 (diff)
downloadop-kernel-dev-a6c75b86ce9f01db4ea9912877b526c2dc4d2f0a.zip
op-kernel-dev-a6c75b86ce9f01db4ea9912877b526c2dc4d2f0a.tar.gz
[IA64] Kernel parameter for max number of concurrent global TLB purges
The patch defines kernel parameter "nptcg=". The parameter overrides max number of concurrent global TLB purges which is reported from either PAL_VM_SUMMARY or SAL PALO. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/efi.c2
-rw-r--r--arch/ia64/kernel/setup.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c
index 003cd09..d45f215 100644
--- a/arch/ia64/kernel/efi.c
+++ b/arch/ia64/kernel/efi.c
@@ -436,7 +436,7 @@ static void __init handle_palo(unsigned long palo_phys)
return;
}
- setup_ptcg_sem(palo->max_tlb_purges, 1);
+ setup_ptcg_sem(palo->max_tlb_purges, NPTCG_FROM_PALO);
}
void
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 1cbd2634..f798c07 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -949,7 +949,7 @@ cpu_init (void)
/* set ia64_ctx.max_rid to the maximum RID that is supported by all CPUs: */
if (ia64_pal_vm_summary(NULL, &vmi) == 0) {
max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1;
- setup_ptcg_sem(vmi.pal_vm_info_2_s.max_purges, 0);
+ setup_ptcg_sem(vmi.pal_vm_info_2_s.max_purges, NPTCG_FROM_PAL);
} else {
printk(KERN_WARNING "cpu_init: PAL VM summary failed, assuming 18 RID bits\n");
max_ctx = (1U << 15) - 1; /* use architected minimum */
OpenPOWER on IntegriCloud