summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* x86: re-add rdmsrl_safeAndi Kleen2008-04-172-0/+15
| | | | | | | | | | | | | RDMSR for 64bit values with exception handling. Makes it easier to deal with 64bit valued MSRs. The old 64bit code base had that too as checking_rdmsrl(), but it got dropped somehow. Signed-off-by: Andi Kleen <andi@firstfloor.org> Cc: andreas.herrmann3@amd.com Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: add set_memory_4k to pageattr.cAndi Kleen2008-04-171-0/+1
| | | | | | | | | | | | | | | | | | | Add a new function to force split large pages into 4k pages. This is needed for some followup optimizations. I had to add a new field to cpa_data to pass down the information that try_preserve_large_page should not run. Right now no set_page_4k() because I didn't need it and all the specialized users I have in mind would be more comfortable with pure addresses. I also didn't export it because it's unlikely external code needs it. Signed-off-by: Andi Kleen <ak@suse.de> Cc: andreas.herrmann3@amd.com Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: account overlapped mappings in max_pfn_mappedAndi Kleen2008-04-172-2/+3
| | | | | | | | | | | When end_pfn is not aligned to 2MB (or 1GB) then the kernel might map more memory than end_pfn. Account this in max_pfn_mapped. Signed-off-by: Andi Kleen <ak@suse.de> Cc: andreas.herrmann3@amd.com Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: replace the now useless max_pfn_mapped defineThomas Gleixner2008-04-171-3/+1
| | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: implement true end_pfn_mapped for 32bitAndi Kleen2008-04-172-2/+3
| | | | | | | | | | | | | | Even on 32bit 2MB pages can map more memory than is in the true max_low_pfn if end_pfn is not highmem and not aligned to 2MB. Add a end_pfn_map similar to x86-64 that accounts for this fact. This is important for code that really needs to know about all mapping aliases. Signed-off-by: Andi Kleen <ak@suse.de> Cc: andreas.herrmann3@amd.com Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: don't set up early exception handlers for external interruptsAndi Kleen2008-04-171-1/+2
| | | | | | | | | | | | All of early setup runs with interrupts disabled, so there is no need to set up early exception handlers for vectors >= 32 This saves some minor text size. Signed-off-by: Andi Kleen <ak@suse.de> Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: pgtable, document pde bitsJiri Slaby2008-04-171-7/+7
| | | | | | | | Some of pde bits weren't documented, add the short description to them. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* x86: spinlock ops are always-inlinedIngo Molnar2008-04-171-6/+6
| | | | Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/xor_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-145/+149
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/xor_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-246/+248
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/voyager.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-20/+31
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/vmi.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-44/+44
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/vm86.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+6
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/vga.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/vdso.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-6/+10
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/user_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-7/+9
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/user32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+4
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/user_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+3
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/unistd_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/unistd_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/unaligned.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/uaccess_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-149/+227
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/uaccess_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-129/+187
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/tsc.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/topology.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/tlbflush.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/thread_info_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-37/+41
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/thread_info_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-42/+46
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/tce.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/system.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-53/+51
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/sync_bitops.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-28/+28
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/swiotlb.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-14/+14
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/suspend_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/suspend_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-6/+6
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/string_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-33/+33
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/string_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/srat.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-1/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/spinlock.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-55/+50
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/smp_64.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+3
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/smp_32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+3
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/signal.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-24/+24
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/sigcontext.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+4
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/sigcontext32.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/setup.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/rwsem.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-83/+86
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/rio.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-38/+38
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/resume-trace.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-7/+8
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/reboot.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-2/+1
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/ptrace.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-3/+4
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
* include/asm-x86/proto.h: checkpatch cleanups - formatting onlyJoe Perches2008-04-171-2/+2
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>