Russell King [Fri, 19 Sep 2003 17:20:22 +0000 (18:20 +0100)]
[ARM] Fix AMBA keyboard/mouse driver.
Fix the AMBA kmi driver which got broken when the name field was
removed from struct device. Change the name used to claim resources
to "kmi-pl050". Fix resume method.
Dave Jones [Thu, 18 Sep 2003 21:55:41 +0000 (22:55 +0100)]
[CPUFREQ] Explicitly disable scaling we don't need in powernow-k7
The VIDC/FIDC controls could have been left at 1 from a previous call to
one of the scaling routines. Make sure we set them back to 0 to avoid
writing garbage into the scaling registers.
Dave Jones [Thu, 18 Sep 2003 21:47:26 +0000 (22:47 +0100)]
[CPUFREQ] Powernow-k7 latency timer needs to be in values of 10ns.
We were 'slightly' off in our calculations. This increased settling
time might actually increase the stability of some setups.
I'm aligning the 2.4 and 2.5 versions of arch/ia64/hp/common/sba_iommu.c
and found a couple nits in the 2.5 version. No functional change, just
whitespace, comment, and parameter name changes (and I made
one function static).
This patch removes a ton of pointless big endian defines for some
registers on SN2 and cleans up the #include hierachy making it include
some really big header files only when they are really needed.
[PATCH] ia64: pass si_isr for a few more signal sources
This patch changes the kernel such that si_isr gets setup for hardware
breakpoints, single-step, and taken-branch traps. This is useful, e.g., to
determine what kind of hw breakpoint triggered the signal.
Dave Jones [Wed, 17 Sep 2003 19:53:22 +0000 (20:53 +0100)]
[AGPGART] Add HP AGP 8x bridge and fix ACPI claim
The following patch to the HP ZX1 GART driver
- adds recognition of the "HWP0007" device (an AGP 8X bridge)
- fixes the use of acpi_get_devices()
The problem with acpi_get_devices() is that it always returns AE_OK,
except when the callback (zx1_gart_probe()) returns a failure. That
means agp_hp_init() cannot use the status from acpi_get_devices()
to distinguish between (1) an AGP bridge was found and successfully
initialized, and (2) no AGP bridge was found at all.
David Mosberger [Wed, 17 Sep 2003 11:59:48 +0000 (04:59 -0700)]
ia64: In <asm-ia64/param.h>, do not include <linux/config.h> outside
the #ifdef __KERNEL__ bracket. Doing so pollutes the user-
level namespace. Bug report & proposed fix by GOTO Masanori.
Andy Grover [Wed, 17 Sep 2003 06:23:06 +0000 (23:23 -0700)]
[PATCH] ACPI maintainer change
This updates the maintainer entry for ACPI. Len has already assumed
most of this responsibility, as other projects demand my attention.
My team will continue to maintain the OS-independent ACPI CA release,
but Len will be responsible for pulling ACPI CA updates into the Linux
release, and the rest of Linux-specific code in general.
This implements the possibility for sharing a tag map between queues.
Some (most?) scsi host adapters needs this, and SATA tcq will need it
for some cases, too.
I haven't been doing much smbfs work recently, but here are some bugfixes:
- Fix module unload (Angus Sawyer).
- Fix the smbfs error handling if kernel_thread() should fail.
- Allow high uids/gids to be used as the fake uid smbfs sets as file owner.
Chris Wright [Wed, 17 Sep 2003 06:21:27 +0000 (23:21 -0700)]
[PATCH] root_plug fixup
From: bert hubert <ahu@ds9a.nl>
LSM: To recap, this patch allows root_plug to work again. It needs functions
that used to reside in capability.c but linking in capability.c, disabled
root_plug from loading, as a security module is already present then. This
patch splits out the functions root_plug needs from capability.c.
Russell King [Wed, 17 Sep 2003 13:47:14 +0000 (14:47 +0100)]
[ARM] Clean up PCI error reporting.
Don't try to clear PCI status on devices which are no longer present.
Only clear PCI status bits which we're interested in.
Use pci_name to report the device name.
Russell King [Tue, 16 Sep 2003 23:31:42 +0000 (00:31 +0100)]
[ARM] Detect and fix up CPUs with non-coherent write buffers.
Jamie Lokier's cache testing program discovered a problem which seems
to be present in some CPU write buffers. This cset allows the kernel
to detect the flaw and activate a workaround to restore the user
space expectations.
Russell King [Tue, 16 Sep 2003 20:46:00 +0000 (21:46 +0100)]
[ARM] Update ARM CPU support.
Move ARM CPU configuration to arch/arm/mm. Seperate out the selection
of the abort, cache handling, optimised page copying and TLB handling
from the Makefile, and move it into the configuration system. This
allows us to select the correct files in arch/arm/mm and pick the
appropriate definitions in include/asm-arm/* based upon a config
symbol rather than a bunch of configuration symbols.
Also add ARM1020E, ARM1022 and ARM1026 CPU support.
Monotonic clock code uses reader/writer lock which is prone to same
starvation problems as we saw with xtime. This patch changes it to seq_lock
which is faster and won't starve writers in face of lots of readers.
Jan Harkes [Tue, 16 Sep 2003 10:33:57 +0000 (03:33 -0700)]
[PATCH] Coda updates [5/5]
Introduce a new kernel-userspace interface that uses 128-bit file
identifiers instead of the previously used 96-bit fileids. We also
replacing the coda_creds structure with only the fsuid.
This new API has been used by for a couple of months now, people had to
patch their kernels whenever they want to run a current Coda release.
A new Kconfig option is added to fall back on the old API for older Coda
clients and other userspace filesystems that might use our protocol.
Jan Harkes [Tue, 16 Sep 2003 10:33:45 +0000 (03:33 -0700)]
[PATCH] Coda updates [4/5]
The ViceFid structure is really a Coda server datatype and the kernel
really shouldn't have to know its internal structure. Replace all
instances with struct CodaFid with opaque members.
Jan Harkes [Tue, 16 Sep 2003 10:33:32 +0000 (03:33 -0700)]
[PATCH] Coda updates [3/5]
Both userspace and the kernel are testing only the fsuid part of the
coda_creds credentials structure. Nothing else is really used, so we now
match the code with the actual usage by only passing fsuid around. The
kernel-userspace API is kept compatible (for now).
Jan Harkes [Tue, 16 Sep 2003 10:32:51 +0000 (03:32 -0700)]
[PATCH] Coda updates [1/5]
- Remove unused functions and variables.
- Be a bit more strict with the definition of various types that are
shared between kernel and userspace.
- Included a couple of cleanups from Maximilian Attems and Stephen
Hemminger.
Dave Kleikamp [Tue, 16 Sep 2003 02:24:02 +0000 (21:24 -0500)]
JFS: Fix rampant data corruption
A recent change causes pervasive data corruption by over-writing inode
metadata with a word of garbage. The field, di_rdev, should only be set
for a device inode.
This patch fixes a typo in pfm_write_pmcs() in the test for the default
value. The code was using the lop index instead of the register
index in the PMC_DFL_VAL() macro. This was causing valid values
for some PMCs to be rejected.
Russell Cattelan [Mon, 15 Sep 2003 08:03:45 +0000 (03:03 -0500)]
[XFS] IRIX sets KM_SLEEP to 0 but the support routines sets KM_SLEEP to 1.
So somebodys shortcut on irix is incorrect on linux and results in the sleep
behaviour not being set.