- 08 Apr, 2004 4 commits
-
-
Stéphane Eranian authored
Here is a new perfmon patch. It is important because it fixes the problem of the close() when the file descriptor is shared between two related processes. The good thing is that it simplifies a lot the cleanup of the sampling buffer. Here is the ChangeLog: - fix bug in pfm_close() when the descriptor is shared between related processed. Introduce a pfm_flush() called for each invocation of close(). pfm_close() only called for the last user. - fix pfm_restore_monitoring() to also reload the debug registers. They could be modified while monitoring is masked. - fix pfm_close() to clear ctx_fl_is_sampling. - fix a bug in pfm_handle_work() which could cause the wrong PMD to be reset. - converted PROTECT_CTX/UNPROTECT_CTX into local_irq_save/restore to keep context protection but allow IPI to proceed. - updated pfm_syswide_force_stop() to use local_irq_save/restore now that the context is protected from the caller side. - updated pfm_mck_pmc_check() to check if context is loaded before checking for special IBR/DBR combinations. Clearing the debug registers is not needed when the context is not yet loaded. - updated perfmon.h to have to correct prototype definitions for the pfm_mod_*() functions. - got rid of the PFM_CTX_TERMINATED state. - cleanup the DPRINT() statements to remove explicit output of current->pid. This is done systematically by the macros. - added a systctl entry (expert_mode) to bypass read/write checks on PMC/PMD. As its name indicates this is for experts ONLY. Must be root to toggle /proc/sys entry. - corrected pfm_mod_*() to check against the current task. - removed pfm_mod_fast_read_pmds(). It is never needed. - added pfm_mod_write_ibrs() and pfm_mod_write_dbrs().
-
Bjorn Helgaas authored
Requiring CONFIG_HP_SIMSCSI to be either "y" or "n" breaks allmodconfig, because simscsi ends up built-in, while scsi itself is a module. So allow simscsi to be a module also.
-
Bjorn Helgaas authored
Here's the ia64 part of the ACPI IRQ cleanup I proposed here: http://www.gelato.unsw.edu.au/linux-ia64/0403/8979.html After the arch bits are in, I'll post the corresponding ACPI changes. I removed the "Found IRQ" printk now because when the ACPI change goes in, dev->irq won't be initialized until *after* acpi_pci_irq_enable().
-
Petri T. Koistinen authored
Patch by Petri T. Koistinen.
-
- 05 Apr, 2004 4 commits
-
-
David Mosberger authored
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
-
Alex Williamson authored
sba_iommu was setting up MAX_DMA_ADDRESS way too late to do any good. This patch makes it get setup via platform_setup, so it's ready for paging_init(). All pages should show up in zone DMA now. Against latest 2.6.
-
Andreas Schwab authored
This fixes a missing include file in arch/ia64/mm/hugetlbpage.c in 2.6.5. module.h is needed for EXPORT_SYMBOL.
-
Andreas Schwab authored
Calling mmap with len == -1 was silently accepted. The test in the generic code was fixed in July 2003, but the fix didn't make it into the ia64- specific code.
-
- 03 Apr, 2004 9 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
We default to "long" (which is what POSIX says), but since a number of architectures have used "int" for historical reasons, we need to allow overrides. At least sparc64 needs this. Possibly others, but so far architecture maintainers haven't spoken up. ppc64 and x86-64 are known to be ok with the default "long".
-
Richard Henderson authored
From Ivan Kokshaysky <ink@jurassic.park.msu.ru>.
-
ssh://are/BK/axp-2.6Richard Henderson authored
into heffalump.twiddle.home:/home/rth/work/linux/axp-2.6
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
Richard Henderson authored
-
- 02 Apr, 2004 11 commits
-
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Patch fixes a latent bug in the PPC44x tlb management code.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Make a couple 4xx defconfigs functional again.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> IDs new PPC44x silicon.
-
Andrew Morton authored
From: Matt Porter <mporter@kernel.crashing.org> Patch fixes the build for PPC40x platforms.
-
Andrew Morton authored
From: Tom Rini <trini@kernel.crashing.org> When I was updating ppc/boot/simple/relocate.S to work on PPC_PREP systems, I in advertantly broke 4xx systems. On classic PPC, the first three instructions are nops, of which the first two can be overwritten. This is not true of 4xx (or 8xx, but that's not working right now anyhow). The following is needed to fix this.
-
Andrew Morton authored
The commoncap module calls this.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
- Use -march=armv6 where available. - CFLAGS_BOOT isn't needed - the decompressor uses CFLAGS, remove it. - PROCESSOR is never used, remove it. - LDFLAGS_BLOB is never used, remove it. - Remove MACHINE macro. - Correct comments for include/asm-arm/.arch target. - Copy format of include/asm symlink rule. - Arrange for configuration to be split before making include/asm-arm/arch symlink. - This means that asm-offsets.s no longer depends on include/config/MARKER.
-
Armin Schindler authored
diva_os_cancel_soft_isr() may not call tasklet_kill(), because it is interrupt context. This will be done correctly in the cleanup function anyway.
-
James Bottomley authored
The patch to check "maxcpus=N" early broke by putting maxcpus (a variable which is only exported by mpparse.c) into parse_cmdline_early(). The fix is to make it depend on the correct CONFIG_ option. In the subarchitectures: CONFIG_X86_SMP is the one that means "I want standard x86 smp code" and that's what this should depend on.
-
Benjamin Herrenschmidt authored
This patch from Christoph Hellwig does much welcomes cleanup of the old mac53c94 and mesh SCSI drivers, removing sillycaps etc...
-
- 01 Apr, 2004 12 commits
-
-
Russell King authored
-
Andrew Morton authored
From: Sam Ravnborg <sam@ravnborg.org> Fix this: Building modules, stage 2. MODPOST LANG := en_US.UTF-8 make: LANG: Command not found make: *** [all] Error 127 by removing the tab in front of the LANG assignment.
-
Jesse Barnes authored
Andi's libnuma exposed the fact that we don't bring nodes online properly as we discover them in ia64. Here's a quick patch to fix that. Tested with Andi's numademo program; seems to work fine.
-
bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> This fixes a problem in sys_swapon that can cause the creation of invalid swap ptes. This has its cause in the arch-independent swap entries vs. the pte coded swap entries. The swp_entry_t uses 27 bits for the offset and 5 bits for the type. In sys_swapon this definition is used to find how many swap devices and how many pages on each device there can be. But the swap entries encoded in a pte can be subject to additional restrictions due to the hardware besides the 27/5 division of the bits in the swp_entry_t type. This is solved by adding pte_to_swp_entry and swp_entry_to_pte calls to the calculations for maximum type and offset. In addition the s390 swap pte division for offset/type is changed from 19/6 bits to 20/5 bits.
-
Andrew Morton authored
Two callsites, 48 bytes saved
-
Andrew Morton authored
Two callsites, 456 bytes saved
-
Andrew Morton authored
Four callsites, 104 bytes saved
-
Andrew Morton authored
Three callsites, 1104 bytes saved.
-
Andrew Morton authored
Seven callsites and an out-of-line copy is a bit excessive. 562 bytes saved.
-
Andrew Morton authored
Display number of slab, mapped and pagetable pages in the sysrq-M output.
-