]> git.hungrycats.org Git - linux/log
linux
22 years ago[ACPI] ACPICA 20040514 from Bob Moore
Len Brown [Tue, 22 Jun 2004 09:15:18 +0000 (05:15 -0400)]
[ACPI] ACPICA 20040514 from Bob Moore

Fixed a problem where hardware GPE enable bits sometimes
not set properly during and after GPE method execution.
Result of ACPICA 20040427 changes.

Removed extra "clear all GPEs" when sleeping/waking.

Removed acpi_ht_enable_gpe and acpi_hw_disable_gpe, replaced
by the single acpi_hw_write_gpe_enable_reg. Changed a couple
of calls to the functions above to the new acpi_ev* calls
as appropriate.

ACPI_OS_NAME was removed from the OS-specific headers.
The default name is now "Microsoft Windows NT" for maximum
compatibility. However this can be changed by modifying
the acconfig.h file.  Fixes EHCI probe issue:
http://bugme.osdl.org/show_bug.cgi?id=1762

Allow a single invocation of acpi_install_notify_handler
for a handler that traps both types of notifies (System,
Device). Use ACPI_ALL_NOTIFY flag.

Run _INI methods on ThermalZone objects. This is against
the ACPI specification, but there is apparently ASL code
in the field that has these _INI methods, and apparently
"other" AML interpreters execute them.

Performed a full 16/32/64 bit lint that resulted in some
small changes.

22 years ago[ACPI] ACPICA 20040427 from Bob Moore
Len Brown [Fri, 7 May 2004 13:24:44 +0000 (09:24 -0400)]
[ACPI] ACPICA 20040427 from Bob Moore

Completed a major overhaul of the GPE handling within ACPI CA.
There are now three types of GPEs:
wake-only; runtime-only; combination wake/run.

The only GPEs allowed to be combination wake/run are for
button-style devices such as a control-method power button,
control-method sleep button, or a notebook lid switch.
GPEs that have an _Lxx or _Exx method and are not referenced
by any _PRW methods are marked for "runtime" and hardware enabled.

Any GPE that is referenced by a _PRW method is marked for "wake"
(and disabled at runtime).  However, at sleep time, only those
GPEs that have been specifically enabled for wake via the
acpi_enable_gpe() interface will actually be hardware enabled.

A new external interface has been added, acpi_set_gpe_type()
that is meant to be used by device drivers to force a GPE
to a particular type.  It will be especially useful for the
drivers for the button devices mentioned above.

Completed restructuring of the ACPI CA initialization sequence
so that default operation region handlers are installed
before GPEs are initialized and the _PRW methods are executed.
This will prevent errors when the _PRW methods attempt to
access system memory or I/O space.

GPE enable/disable no longer reads the GPE enable register.
We now keep the enable info for runtime and wake separate
and in the GPE_EVENT_INFO.  We thus no longer depend on
the hardware to maintain these bits.

Always clear the wake status and fixed/GPE status bits
before sleep, even for state S5.

Improved the AML debugger output for displaying the
GPE blocks and their current status.

Added new strings for the _OSI method, of the form
"Windows 2001 SPx" where x = 0,1,2,3,4.

Fixed a problem where the physical address was incorrectly
calculated when the Load() operator was used to directly
load from an Operation Region (vs. loading from a Field object.)
Also added check for minimum table length for this case.

Fix for multiple mutex acquisition.  Restore original thread
SyncLevel on mutex release.

Added ACPI_VALID_SXDS flag to the acpi_get_object_info interface
for consistency with the other fields returned.

Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.
There is one such structure for each GPE in the system,
so the size of this structure is important.

CPU stack requirement reduction:
Cleaned up the method execution and object evaluation paths
so that now a parameter structure is passed, instead of copying
the various method parameters over and over again.

In evregion.c:
Correctly exit and reenter the interpreter region if and only
if dispatching an operation region request to a user-installed
handler. Do not exit/reenter when dispatching to a default
handler (e.g., default system memory or I/O handlers)

22 years ago[ACPI] ACPICA 20040402 from Bob Moore
Len Brown [Fri, 7 May 2004 13:21:19 +0000 (09:21 -0400)]
[ACPI] ACPICA 20040402 from Bob Moore

Fixed an interpreter problem where an indirect store through an
ArgX parameter was incorrectly applying the "implicit conversion
rules" during the store.  From the ACPI specification: "If the
target is a method local or argument (LocalX or ArgX), no
conversion is performed and the result is stored directly to the
target".  The new behavior is to disable implicit conversion
during ALL stores to an ArgX.

Changed the behavior of the _PRW method scan to ignore any and
all errors returned by a given _PRW.  This prevents the scan from
aborting from the failure of any single _PRW.

Moved the runtime configuration parameters from the global init
procedure to static variables in acglobal.h.  This will allow the
host to override the default values easily.

22 years agoCset exclude: torvalds@evo.osdl.org|ChangeSet|20040401021818|60003
Len Brown [Mon, 3 May 2004 08:31:49 +0000 (04:31 -0400)]
Cset exclude: torvalds@evo.osdl.org|ChangeSet|20040401021818|60003

22 years ago[ACPI] export symbols to button module
Len Brown [Sun, 2 May 2004 20:29:06 +0000 (16:29 -0400)]
[ACPI] export symbols to button module

22 years ago[ACPI] PCI Interrupt Link fixes
Len Brown [Fri, 30 Apr 2004 21:27:30 +0000 (17:27 -0400)]
[ACPI] PCI Interrupt Link fixes
Handle BIOS that reference disabled PCI Interrupt Link Devices
http://bugme.osdl.org/show_bug.cgi?id=1581

Clean up VIA _CRS = 0 BIOS workaround

Handle BIOS returning _CRS outside _PRS
http://bugme.osdl.org/show_bug.cgi?id=2567

delete now unused _SRS retry code
disable redundant console messages

22 years ago[ACPI] button build fix
Len Brown [Wed, 28 Apr 2004 00:18:25 +0000 (20:18 -0400)]
[ACPI] button build fix

22 years ago[ACPI] fix build warning in dmi_scan
Len Brown [Tue, 27 Apr 2004 23:27:33 +0000 (19:27 -0400)]
[ACPI] fix build warning in dmi_scan

22 years ago[ACPI] support button driver unload (Luming Yu)
Len Brown [Tue, 27 Apr 2004 23:12:21 +0000 (19:12 -0400)]
[ACPI] support button driver unload (Luming Yu)
http://bugzilla.kernel.org/show_bug.cgi?id=2281

22 years ago[ACPI] toshiba_acpi driver if acpi_disabled (David Shaohua Li)
Len Brown [Tue, 27 Apr 2004 22:32:44 +0000 (18:32 -0400)]
[ACPI] toshiba_acpi driver if acpi_disabled (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=2465

22 years ago[ACPI] rmmod ACPI modules vs /proc
Len Brown [Tue, 27 Apr 2004 22:19:03 +0000 (18:19 -0400)]
[ACPI] rmmod ACPI modules vs /proc
from Anil S Keshavamurthy and David Shaohua Li
http://bugzilla.kernel.org/show_bug.cgi?id=2457

22 years ago[ACPI] pci-link may not always be SHARED (SuSE via Luming Yu)
Len Brown [Tue, 27 Apr 2004 22:04:06 +0000 (18:04 -0400)]
[ACPI] pci-link may not always be SHARED (SuSE via Luming Yu)
http://bugzilla.kernel.org/show_bug.cgi?id=2404

22 years ago[ACPI] battery "charged" instead of "unknown" (Luming Yu)
Len Brown [Tue, 27 Apr 2004 21:28:10 +0000 (17:28 -0400)]
[ACPI] battery "charged" instead of "unknown" (Luming Yu)
http://bugzilla.kernel.org/show_bug.cgi?id=1863

22 years ago[PATCH] acpi4asus 0.28 (Karol 'sziwan' Kozimor)
Karol Kozimor [Tue, 27 Apr 2004 20:41:56 +0000 (16:41 -0400)]
[PATCH] acpi4asus 0.28 (Karol 'sziwan' Kozimor)
- Added support for Samsung P30
- Fixed an oops triggered by non-standard hardware (Samsung P30)
- Added support for L4400L and M6800N

The patch also removes some superfluous data. It doesn't include the
copy_from_user() conversion, it will be released as a separate patch.

22 years ago[PATCH] acpi build fix
Andrew Morton [Tue, 27 Apr 2004 20:39:07 +0000 (16:39 -0400)]
[PATCH] acpi build fix
setup.c:608: `acpi_skip_timer_override' undeclared

22 years ago[ACPI] No IRQ known... - using IRQ 255 (Bjarni RĂșnar Einarsson)
Len Brown [Fri, 23 Apr 2004 22:18:14 +0000 (18:18 -0400)]
[ACPI] No IRQ known... - using IRQ 255 (Bjarni RĂșnar Einarsson)
http://bugzilla.kernel.org/show_bug.cgi?id=2148

22 years ago[ACPI] workaround for nForce2 BIOS bug: XT-PIC timer in IOAPIC mode
Len Brown [Fri, 23 Apr 2004 09:15:31 +0000 (05:15 -0400)]
[ACPI] workaround for nForce2 BIOS bug: XT-PIC timer in IOAPIC mode
"acpi_skip_timer_override" boot parameter
dmi_scan for common platforms, may be replaced with PCI-ID in future.
http://bugzilla.kernel.org/show_bug.cgi?id=1203

22 years ago[ACPI] Workaround "_BBN 0" BIOS bug
Len Brown [Fri, 23 Apr 2004 09:14:36 +0000 (05:14 -0400)]
[ACPI] Workaround "_BBN 0" BIOS bug
enhance "pci=noacpi" to skip ACPI PCI configuration and interrupt config
add "acpi=noirq" to skip just ACPI interrupt config (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1662

22 years ago[ACPI] allow IRQ2 to be used in ACPI/IOAPIC mode
Len Brown [Thu, 22 Apr 2004 11:15:17 +0000 (07:15 -0400)]
[ACPI] allow IRQ2 to be used in ACPI/IOAPIC mode
http://bugzilla.kernel.org/show_bug.cgi?id=2564

22 years ago[ACPI] if acpi_os_name= is used, print what it finds
Len Brown [Thu, 22 Apr 2004 11:13:43 +0000 (07:13 -0400)]
[ACPI] if acpi_os_name= is used, print what it finds

22 years agoACPI] Delete IRQ2 "cascade" in ACPI IOAPIC mode
Len Brown [Tue, 20 Apr 2004 16:55:53 +0000 (12:55 -0400)]
ACPI] Delete IRQ2 "cascade" in ACPI IOAPIC mode
no such concept exists in ACPI, frees IRQ2 for use.

22 years ago[ACPI] enhance intr-src-override parsing to handle ES7000
Len Brown [Tue, 20 Apr 2004 16:54:14 +0000 (12:54 -0400)]
[ACPI] enhance intr-src-override parsing to handle ES7000
http://bugme.osdl.org/show_bug.cgi?id=2520

22 years ago[ACPI] enable 440GX PIRQ router workaround
Len Brown [Fri, 16 Apr 2004 18:03:45 +0000 (14:03 -0400)]
[ACPI] enable 440GX PIRQ router workaround

22 years ago[ACPI] fix x86_64 mis-merge
Len Brown [Wed, 14 Apr 2004 09:15:03 +0000 (05:15 -0400)]
[ACPI] fix x86_64 mis-merge

22 years agoLinux 2.6.5 v2.6.5
Linus Torvalds [Sat, 3 Apr 2004 11:34:07 +0000 (03:34 -0800)]
Linux 2.6.5

22 years agoRe-instate __ARCH_SI_BAND_T, to allow architecture overrides.
Linus Torvalds [Sat, 3 Apr 2004 08:43:41 +0000 (00:43 -0800)]
Re-instate __ARCH_SI_BAND_T, to allow architecture overrides.

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".

22 years ago[ALPHA] DISCONTIGMEM fix
Richard Henderson [Sat, 3 Apr 2004 04:39:53 +0000 (20:39 -0800)]
[ALPHA] DISCONTIGMEM fix
From Ivan Kokshaysky <ink@jurassic.park.msu.ru>.

22 years agoMerge ssh://are/BK/axp-2.6
Richard Henderson [Sat, 3 Apr 2004 04:01:26 +0000 (20:01 -0800)]
Merge ssh://are/BK/axp-2.6
into heffalump.twiddle.home:/home/rth/work/linux/axp-2.6

22 years ago[ALPHA] Use raw asm instead of attributes for cond_syscall.
Richard Henderson [Sat, 3 Apr 2004 03:54:51 +0000 (19:54 -0800)]
[ALPHA] Use raw asm instead of attributes for cond_syscall.

22 years ago[ALPHA] Add pci_dma_mapping_error.
Richard Henderson [Sat, 3 Apr 2004 03:53:06 +0000 (19:53 -0800)]
[ALPHA] Add pci_dma_mapping_error.

22 years ago[ALPHA] Use progbits for got section.
Richard Henderson [Sat, 3 Apr 2004 03:51:58 +0000 (19:51 -0800)]
[ALPHA] Use progbits for got section.

22 years ago[ALPHA] Detect and export cache shapes to userland.
Richard Henderson [Sat, 3 Apr 2004 03:43:31 +0000 (19:43 -0800)]
[ALPHA] Detect and export cache shapes to userland.

22 years ago[ALPHA] Use __attribute_used__.
Richard Henderson [Sat, 3 Apr 2004 03:31:49 +0000 (19:31 -0800)]
[ALPHA] Use __attribute_used__.

22 years ago[PATCH] PPC32: Fix latent PPC44x tlb bug
Andrew Morton [Fri, 2 Apr 2004 12:05:58 +0000 (04:05 -0800)]
[PATCH] PPC32: Fix latent PPC44x tlb bug

From: Matt Porter <mporter@kernel.crashing.org>

Patch fixes a latent bug in the PPC44x tlb management code.

22 years ago[PATCH] PPC32: Fix some 4xx defconfigs
Andrew Morton [Fri, 2 Apr 2004 12:05:48 +0000 (04:05 -0800)]
[PATCH] PPC32: Fix some 4xx defconfigs

From: Matt Porter <mporter@kernel.crashing.org>

Make a couple 4xx defconfigs functional again.

22 years ago[PATCH] PPC32: Add missing PPC44x PVRs
Andrew Morton [Fri, 2 Apr 2004 12:05:36 +0000 (04:05 -0800)]
[PATCH] PPC32: Add missing PPC44x PVRs

From: Matt Porter <mporter@kernel.crashing.org>

IDs new PPC44x silicon.

22 years ago[PATCH] PPC32: PPC40x build fix
Andrew Morton [Fri, 2 Apr 2004 12:05:26 +0000 (04:05 -0800)]
[PATCH] PPC32: PPC40x build fix

From: Matt Porter <mporter@kernel.crashing.org>

Patch fixes the build for PPC40x platforms.

22 years ago[PATCH] PPC32: Fix thinko in arch/ppc/boot/simple/relocate.S
Andrew Morton [Fri, 2 Apr 2004 12:05:15 +0000 (04:05 -0800)]
[PATCH] PPC32: Fix thinko in arch/ppc/boot/simple/relocate.S

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.

22 years ago[PATCH] export hugetlb_total_pages
Andrew Morton [Fri, 2 Apr 2004 09:59:24 +0000 (01:59 -0800)]
[PATCH] export hugetlb_total_pages

The commoncap module calls this.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 2 Apr 2004 06:56:19 +0000 (22:56 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Update ARM makefiles
Russell King [Fri, 2 Apr 2004 13:17:43 +0000 (14:17 +0100)]
[ARM] Update ARM makefiles

- 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.

22 years ago[PATCH] ISDN Eicon driver: tasklet_kill removal
Armin Schindler [Fri, 2 Apr 2004 03:46:06 +0000 (19:46 -0800)]
[PATCH] ISDN Eicon driver: tasklet_kill removal

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.

22 years ago[PATCH] fix the subarch build again after ACPI breakage
James Bottomley [Fri, 2 Apr 2004 03:09:37 +0000 (19:09 -0800)]
[PATCH] fix the subarch build again after ACPI breakage

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.

22 years ago[PATCH] PowerMac: cleanup of some scsi drivers
Benjamin Herrenschmidt [Fri, 2 Apr 2004 01:50:09 +0000 (17:50 -0800)]
[PATCH] PowerMac: cleanup of some scsi drivers

This patch from Christoph Hellwig does much welcomes cleanup of
the old mac53c94 and mesh SCSI drivers, removing sillycaps etc...

22 years ago[ARM] Add ARM virtual memory layout documentation.
Russell King [Thu, 1 Apr 2004 21:03:57 +0000 (22:03 +0100)]
[ARM] Add ARM virtual memory layout documentation.

22 years ago[PATCH] kbuild: $LANG fix
Andrew Morton [Thu, 1 Apr 2004 14:33:18 +0000 (06:33 -0800)]
[PATCH] kbuild: $LANG fix

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.

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
Linus Torvalds [Thu, 1 Apr 2004 07:02:19 +0000 (23:02 -0800)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 1 Apr 2004 06:30:18 +0000 (22:30 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] Fix swp_entry_t encoding
Andrew Morton [Thu, 1 Apr 2004 05:53:47 +0000 (21:53 -0800)]
[PATCH] Fix swp_entry_t encoding

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.

22 years ago[PATCH] uninline __wake_up_parent
Andrew Morton [Thu, 1 Apr 2004 05:53:35 +0000 (21:53 -0800)]
[PATCH] uninline __wake_up_parent

Two callsites, 48 bytes saved

22 years ago[PATCH] uninline __group_complete_signal
Andrew Morton [Thu, 1 Apr 2004 05:53:21 +0000 (21:53 -0800)]
[PATCH] uninline __group_complete_signal

Two callsites, 456 bytes saved

22 years ago[PATCH] uninline sig_ignored
Andrew Morton [Thu, 1 Apr 2004 05:53:10 +0000 (21:53 -0800)]
[PATCH] uninline sig_ignored

Four callsites, 104 bytes saved

22 years ago[PATCH] uninline __group_send_sig_info
Andrew Morton [Thu, 1 Apr 2004 05:52:57 +0000 (21:52 -0800)]
[PATCH] uninline __group_send_sig_info

Three callsites, 1104 bytes saved.

22 years ago[PATCH] uninline signal_wake_up
Andrew Morton [Thu, 1 Apr 2004 05:52:46 +0000 (21:52 -0800)]
[PATCH] uninline signal_wake_up

Seven callsites and an out-of-line copy is a bit excessive.  562 bytes saved.

22 years ago[PATCH] Show more stats in the sysrq-M output
Andrew Morton [Thu, 1 Apr 2004 05:52:31 +0000 (21:52 -0800)]
[PATCH] Show more stats in the sysrq-M output

Display number of slab, mapped and pagetable pages in the sysrq-M output.

22 years ago[PATCH] run page_address_init() earlier
Andrew Morton [Thu, 1 Apr 2004 05:52:20 +0000 (21:52 -0800)]
[PATCH] run page_address_init() earlier

If someone runs page_address() before page_address_init(), the kernel locks
up over uninitialised spinlocks.

This only happens with the 4:4 patch, but it is more robust to run
page_address_init() before setup_arch().  page_address_init() simply
initialises statically allocated storage.

22 years ago[PATCH] loop setup calling bd_set_size too soon
Andrew Morton [Thu, 1 Apr 2004 05:52:06 +0000 (21:52 -0800)]
[PATCH] loop setup calling bd_set_size too soon

From: Chris Mason <mason@suse.com>

I think Andrew and I managed to mismerge the loop setup race fix.
loop_set_fd is using get_capacity() to read the size of the disk and
sending that to bd_set_size.

But, it is doing this before calling set_capacity, so the size being used
is wrong.  This should clean things up.

22 years ago[PATCH] Replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count
Andrew Morton [Thu, 1 Apr 2004 05:51:54 +0000 (21:51 -0800)]
[PATCH] Replace MAX_MAP_COUNT with /proc/sys/vm/max_map_count

From: David Mosberger <davidm@napali.hpl.hp.com>

Below is a warmed up version of a patch originally done by Werner Almesberger
(see http://tinyurl.com/25zra) to replace the MAX_MAP_COUNT limit with a
sysctl variable.  I thought this had gone into the tree a long time ago but
alas it has not and as luck would have it, the hard limit bit someone today
once again with a large app on a large machine.

Here is a small test app:

22 years ago[PATCH] ksoftirqd: missing barrier
Andrew Morton [Thu, 1 Apr 2004 05:51:39 +0000 (21:51 -0800)]
[PATCH] ksoftirqd: missing barrier

Spotted by Andrea: we need the barriers in there to prevent reads passing
ahead of the setting of current->state.

22 years ago[PATCH] remove __ARCH_SI_BAND_T
Andrew Morton [Thu, 1 Apr 2004 05:51:27 +0000 (21:51 -0800)]
[PATCH] remove __ARCH_SI_BAND_T

All architectures now make this `long', so we can remove the arch override.

22 years ago[PATCH] Fix hugetlb-vs-memory overcommit
Andrew Morton [Thu, 1 Apr 2004 05:51:13 +0000 (21:51 -0800)]
[PATCH] Fix hugetlb-vs-memory overcommit

From: Andy Whitcroft <apw@shadowen.org>

Two problems:

a) The memory overcommit code fails oto take into account all the pages
   which are pinned by being reserved for the hugetlbpage pool

b) We're performing overcommit accounting and checking on behalf of
   hugetlbpage vmas.

The main thrust is to ensure that VM_ACCOUNT actually only gets set on
vma's which are indeed accountable.  With that ensured much of the rest
comes out in the wash.  It also removes the hugetlb memory for the
overcommit_memory=2 case.

22 years ago[PATCH] siginfo.si_band is long
Andrew Morton [Thu, 1 Apr 2004 05:51:01 +0000 (21:51 -0800)]
[PATCH] siginfo.si_band is long

From: Marcus Meissner <meissner@suse.de>

After discussion on the glibc list the result was that=20 si_band is "long
int" according to POSIX:

http://www.opengroup.org/onlinepubs/007904975/basedefs/signal.h.html

Ulrich Drepper refused a patch to fix glibc due to this reason:
http://sources.redhat.com/ml/libc-alpha/2004-03/msg00254.html

so here is the patch to fix it in the kernel.

ppc64 and s390x were broken before and are fixed by this patch too.

22 years ago[PATCH] ppc64: add useful warning message in hugepage code
Andrew Morton [Thu, 1 Apr 2004 05:50:47 +0000 (21:50 -0800)]
[PATCH] ppc64: add useful warning message in hugepage code

From: David Gibson <david@gibson.dropbear.id.au>

This patch adds a debugging message to the ppc64 hugepage code when we
attempt to open the "low" (32-bit) hugepage window on PPC64, but can't
because a (non-hugepage) mapping already exists in the region.

22 years ago[PATCH] ppc64: allow MAP_FIXED hugepage mappings
Andrew Morton [Thu, 1 Apr 2004 05:50:36 +0000 (21:50 -0800)]
[PATCH] ppc64: allow MAP_FIXED hugepage mappings

From: David Gibson <david@gibson.dropbear.id.au>

On PowerPC64 the "low" hugepage range (at 2-3G for use by 32-bit processes)
needs to be activated before it can be used.  hugetlb_get_unmapped_area()
automatically activates the range for hugepage mappings in 32-bit processes
which are not MAP_FIXED.  However for MAP_FIXED mmap()s, even at a suitable
address will fail if the region is not already activated, because there is
no suitable callback from the generic MAP_FIXED code path into the arch
code.

This patch corrects this problem and allows PPC64 to do MAP_FIXED hugepage
mappings in the low hugepage range.

22 years ago[PATCH] ppc64: bugfix for hugepage support
Andrew Morton [Thu, 1 Apr 2004 05:50:22 +0000 (21:50 -0800)]
[PATCH] ppc64: bugfix for hugepage support

From: David Gibson <david@gibson.dropbear.id.au>

Due to a misunderstanding of pmd_offset() the PPC64 hugepage code could end
up looking at bogus pages as if they were PMD pages.

22 years ago[PATCH] ppc64: create dma_mapping_error
Andrew Morton [Thu, 1 Apr 2004 05:50:10 +0000 (21:50 -0800)]
[PATCH] ppc64: create dma_mapping_error

From: Anton Blanchard <anton@samba.org>

From: Stephen Rothwell <sfr@canb.auug.org.au>

This creates DMA_ERROR_CODE and uses it everywhere instead of
PCI_DMA_ERROR_CODE as we really want the three DMA mapping API's to return
a single error code.  Also we now have dma_mapping_error and
vio_dma_mapping_error - and this latter and pci_dma_mapping_error both just
call the former.

Also a small fix in the vscsi - dma_map_sg returns 0 to indicate an error.

22 years ago[PATCH] PPC32 build fix
Andrew Morton [Thu, 1 Apr 2004 05:49:57 +0000 (21:49 -0800)]
[PATCH] PPC32 build fix

From: Matt Porter <mporter@kernel.crashing.org>

This fixes the build on non cache coherent PPC32 platforms.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.5
Len Brown [Thu, 1 Apr 2004 00:22:18 +0000 (19:22 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.5
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Thu, 1 Apr 2004 00:11:21 +0000 (19:11 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years ago[ACPI] Restore PIC-mode SCI default to Level Trigger (David Shaohua Li)
Len Brown [Thu, 1 Apr 2004 00:02:39 +0000 (19:02 -0500)]
[ACPI] Restore PIC-mode SCI default to Level Trigger (David Shaohua Li)
http://bugme.osdl.org/show_bug.cgi?id=2382

22 years ago[ACPI] PCI bridge interrupt fix (David Shaohua Li)
Len Brown [Wed, 31 Mar 2004 23:17:06 +0000 (18:17 -0500)]
[ACPI] PCI bridge interrupt fix (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=2409

22 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
Len Brown [Wed, 31 Mar 2004 22:43:53 +0000 (17:43 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 31 Mar 2004 22:43:03 +0000 (14:43 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Wed, 31 Mar 2004 22:41:11 +0000 (14:41 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Thu, 1 Apr 2004 01:35:56 +0000 (19:35 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years ago[ACPI] delete extraneous IRQ->pin mappings below IRQ 16
Len Brown [Wed, 31 Mar 2004 22:35:17 +0000 (17:35 -0500)]
[ACPI] delete extraneous IRQ->pin mappings below IRQ 16
http://bugzilla.kernel.org/show_bug.cgi?id=2408

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Wed, 31 Mar 2004 15:22:44 +0000 (07:22 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[TCP]: IPV6, do not use sock_put() on timewait sockets.
Nivedita Singhvi [Wed, 31 Mar 2004 15:13:46 +0000 (07:13 -0800)]
[TCP]: IPV6, do not use sock_put() on timewait sockets.

22 years ago[CREDITS]: Update my affiliation.
Hideaki Yoshifuji [Wed, 31 Mar 2004 15:04:03 +0000 (07:04 -0800)]
[CREDITS]: Update my affiliation.

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Wed, 31 Mar 2004 12:12:29 +0000 (04:12 -0800)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[XFS] Be explicit in adding in the non-transactional data to the reservation
Timothy Shimmin [Thu, 1 Apr 2004 22:21:32 +0000 (08:21 +1000)]
[XFS] Be explicit in adding in the non-transactional data to the reservation
estimate.  We must add in for the worst case of a log stripe taking us the
full distance for a log stripe boundary.

SGI Modid: xfs-linux:xfs-kern:169304a

22 years ago[XFS] Make the XFS access checks like the other Linux filesystems for DAC.
Nathan Scott [Thu, 1 Apr 2004 22:16:22 +0000 (08:16 +1000)]
[XFS] Make the XFS access checks like the other Linux filesystems for DAC.

SGI Modid: xfs-linux:xfs-kern:169300a

22 years ago[XFS] Ensure sb not flushed async on a SYNC_WAIT sync. Fixed by Bart Samwel.
Nathan Scott [Thu, 1 Apr 2004 22:07:01 +0000 (08:07 +1000)]
[XFS] Ensure sb not flushed async on a SYNC_WAIT sync.  Fixed by Bart Samwel.

SGI Modid: xfs-linux:xfs-kern:169208a

22 years ago[XFS] Disallow logbufs=0 unless the correct compilation flags used,
Nathan Scott [Thu, 1 Apr 2004 22:03:53 +0000 (08:03 +1000)]
[XFS] Disallow logbufs=0 unless the correct compilation flags used,
else we panic.

SGI Modid: xfs-linux:xfs-kern:169200a

22 years ago[XFS] Fix shortform attr flags botch affecting listxattr - from Andreas Gruenbacher.
Nathan Scott [Thu, 1 Apr 2004 22:01:15 +0000 (08:01 +1000)]
[XFS] Fix shortform attr flags botch affecting listxattr - from Andreas Gruenbacher.

SGI Modid: xfs-linux:xfs-kern:169199a

22 years ago[XFS] Fix r/o check in xfs_ioc_space, fix checks on xfs_swapext validity.
Christoph Hellwig [Thu, 1 Apr 2004 21:58:20 +0000 (07:58 +1000)]
[XFS] Fix r/o check in xfs_ioc_space, fix checks on xfs_swapext validity.

SGI Modid: xfs-linux:xfs-kern:169135a

22 years ago[XFS] Reinstate some accidentally dropped log IO error injection code.
Nathan Scott [Thu, 1 Apr 2004 21:55:14 +0000 (07:55 +1000)]
[XFS] Reinstate some accidentally dropped log IO error injection code.

SGI Modid: xfs-linux:xfs-kern:169048a

22 years ago[XFS] Reenable non-block flag for DMAPI.
Nathan Scott [Thu, 1 Apr 2004 21:52:31 +0000 (07:52 +1000)]
[XFS] Reenable non-block flag for DMAPI.

SGI Modid: xfs-linux:xfs-kern:169038a

22 years ago[XFS] Use unsigned long long for end_offset so we don't overflow it.
Nathan Straz [Thu, 1 Apr 2004 21:49:59 +0000 (07:49 +1000)]
[XFS] Use unsigned long long for end_offset so we don't overflow it.

SGI Modid: xfs-linux:xfs-kern:168809a

22 years ago[XFS] Fix debug builds - need sb_features2 details in endian translation code.
Nathan Scott [Thu, 1 Apr 2004 21:40:12 +0000 (07:40 +1000)]
[XFS] Fix debug builds - need sb_features2 details in endian translation code.

SGI Modid: xfs-linux:xfs-kern:168693a

22 years ago[XFS] Define a new superblock field for more feature bits. Take the last
Glen Overby [Thu, 1 Apr 2004 21:36:15 +0000 (07:36 +1000)]
[XFS] Define a new superblock field for more feature bits.  Take the last
feature bit in sb_versionnum to use to indicate that the new feature bit
field is to be used.

SGI Modid: xfs-linux:xfs-kern:168665a

22 years ago[XFS] Add space for inode and allocation btrees to ITRUNCATE log reservation.
Glen Overby [Thu, 1 Apr 2004 21:29:28 +0000 (07:29 +1000)]
[XFS] Add space for inode and allocation btrees to ITRUNCATE log reservation.
Add XFS_ALLOCFREE_LOG_RES to IFREE log reservation.

SGI Modid: xfs-linux:xfs-kern:168597a

22 years ago[XFS] use ssize_t to store VOP_READ/VOP_WRITE return value.
Christoph Hellwig [Thu, 1 Apr 2004 21:22:52 +0000 (07:22 +1000)]
[XFS] use ssize_t to store VOP_READ/VOP_WRITE return value.

SGI Modid: xfs-linux:xfs-kern:168167a

22 years ago[XFS] Use PFLAGS_RESTORE_FSTRANS in place of PFLAGS_RESTORE, only restore
Eric Sandeen [Thu, 1 Apr 2004 20:43:55 +0000 (06:43 +1000)]
[XFS] Use PFLAGS_RESTORE_FSTRANS in place of PFLAGS_RESTORE, only restore
previously saved FSTRANS state.  Otherwise we can lose process flags.

SGI Modid: xfs-linux:xfs-kern:168082a

22 years ago[XFS] Remove dup fdatasync/fdatawait call on fsync. Means we no longer
Nathan Scott [Thu, 1 Apr 2004 20:38:16 +0000 (06:38 +1000)]
[XFS] Remove dup fdatasync/fdatawait call on fsync.  Means we no longer
take the iolock here, and readers no longer conflict with concurrent
fsync activity.  Kudos to Steve!

SGI Modid: xfs-linux:xfs-kern:167949a

22 years ago[XFS] Fix up mrlock debug code, and ensure its only built under DEBUG.
Nathan Scott [Thu, 1 Apr 2004 20:35:23 +0000 (06:35 +1000)]
[XFS] Fix up mrlock debug code, and ensure its only built under DEBUG.

SGI Modid: xfs-linux:xfs-kern:167944a

22 years agoMerge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux
Linus Torvalds [Wed, 31 Mar 2004 10:19:49 +0000 (02:19 -0800)]
Merge evo:v2.6/linux into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoacpi: enable global wake events by default
Linus Torvalds [Wed, 31 Mar 2004 10:18:18 +0000 (02:18 -0800)]
acpi: enable global wake events by default

People need the global wake events even when not sleeping:
they are used for lid open events at least on some laptops.
As such, they should be enabled by default.

You can disable them with "acpi_leave_gpes_disabled" if
your machine doesn't need them, and you want to get a few
less GPE's.

22 years ago[NETFILTER]: Fix circular conntrack header file dependency.
Harald Welte [Wed, 31 Mar 2004 07:28:59 +0000 (23:28 -0800)]
[NETFILTER]: Fix circular conntrack header file dependency.

22 years ago[PATCH] io_getevents leak fix
Andrew Morton [Wed, 31 Mar 2004 07:18:48 +0000 (23:18 -0800)]
[PATCH] io_getevents leak fix

Spotted by Suparna: if the first range check fails, we leak a ref on the io
context.