]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.3 v2.6.3
Linus Torvalds [Tue, 17 Feb 2004 11:52:37 +0000 (03:52 -0800)]
Linux 2.6.3

21 years ago[PATCH] Tuner bugfix
Andrew Morton [Tue, 17 Feb 2004 11:32:13 +0000 (03:32 -0800)]
[PATCH] Tuner bugfix

From: Neal Stephenson <neal@bakerst.org>

In 2.6.2, I noticed that my modprobe.conf line for tuner "options tuner
type=2" no longer worked.  It even failed with insmod "insmod tuner.ko
type=2".  dmesg reported

vmunix: tuner: chip found @ 0xc0
vmunix: tuner: type set to 19 (Temic PAL* auto (4006 FN5))
vmunix: tuner: type forced to 19 (Temic PAL* auto (4006 FN5)) [insmod]

I noticed that the a line had been removed from 2.6.1 and when it is added
everything works again.

21 years ago[PATCH] Fix radeon warning on 64-bit platforms
David Mosberger [Tue, 17 Feb 2004 08:59:51 +0000 (00:59 -0800)]
[PATCH] Fix radeon warning on 64-bit platforms

Disable the RADEON_PARAM_SAREA_HANDLE ioctl on 64-bit architectures,
since it is only used on some embedded platforms, and it isn't 64-bit
safe.

21 years agoFix the dependency chain for I2C_ALGOBIT from the FB
Linus Torvalds [Tue, 17 Feb 2004 08:57:17 +0000 (00:57 -0800)]
Fix the dependency chain for I2C_ALGOBIT from the FB
drivers that need it.

This allows us to have I2C as a module iff the FB driver
that needs it is a module.

21 years ago[PATCH] Avoid bogus warning about recursive dependencies
Roman Zippel [Tue, 17 Feb 2004 08:52:46 +0000 (00:52 -0800)]
[PATCH] Avoid bogus warning about recursive dependencies

This allows us to do something like

config FB_RADEON
select I2C_ALGOBIT if FB_RADEON_I2C

where FB_RADEON_I2C itself depends on FB_RADEON without getting a bogus
warning about recursive dependencies.

This matters because the select takes the default minimum dependancy
from the parent menu, so we want to do this under FB_RADEON rather than
under FB_RADEON_I2C (so that the I2C_ALGOBIT config depends properly
on the state of FB_RADEON)

21 years ago[PATCH] blkdev_put() data corruption
Alexander Viro [Tue, 17 Feb 2004 08:49:03 +0000 (00:49 -0800)]
[PATCH] blkdev_put() data corruption

We used to have sync_blockdev() on each normal (== non-raw)
blkdev_put() + kill_bdev() on the final blkdev_put().  That worked
fine until we'd moved sync_blockdev() to the final blkdev_put().

Now we have a nasty scenario:

open block device
open raw device
write on block device # data ends up in cache
close block device # no sync here, we still have the sucker opened
close raw device # no sync here either
# ... and cache is killed by kill_bdev()

IOW, if we postpone sync to final close, we must do it regardless of
kind of close.  Otherwise we are in for data corruption and yes, it is easy
to trigger.  Fix is obvious...

21 years ago[PATCH] cifs: kunmap_atomic() takes a kernel address
Andrew Morton [Tue, 17 Feb 2004 06:40:47 +0000 (22:40 -0800)]
[PATCH] cifs: kunmap_atomic() takes a kernel address

kunmap_atomic() takes a kernel-virtual address, not a pageframe address.

(Very common problem.  We really should make the atomic kmap functions
type-safe).

21 years agoMerge bk://kernel.bkbits.net/davem/nf-2.6
Linus Torvalds [Tue, 17 Feb 2004 05:45:21 +0000 (21:45 -0800)]
Merge bk://kernel.bkbits.net/davem/nf-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] Fix fencepost error in x86_64 IOMMU
Jim Paradis [Tue, 17 Feb 2004 05:23:23 +0000 (21:23 -0800)]
[PATCH] Fix fencepost error in x86_64 IOMMU

There's a fencepost error in the GART IOMMU handling on x86_64
in the unmap path.  When testing to see if the bus address is
within the IOMMU window and needs to be unmapped, the start of
the first page *beyond* the window also passes the test.  This
can cause the first doubleword of the next page beyond the gatt
table to be smashed to zero, with unpredictable results depending
on what that page is used for.

21 years agoMerge nuts.davemloft.net:/disk1/BK/nfwork-2.6
David S. Miller [Tue, 17 Feb 2004 03:39:12 +0000 (19:39 -0800)]
Merge nuts.davemloft.net:/disk1/BK/nfwork-2.6
into nuts.davemloft.net:/disk1/BK/nf-2.6

21 years ago[PATCH] fix ia64 build failure
David Mosberger [Tue, 17 Feb 2004 03:34:09 +0000 (19:34 -0800)]
[PATCH] fix ia64 build failure

The attached trivial patch should fix the "i1-dig" build failure reported
on this page:

http://www.gelato.unsw.edu.au/kerncomp/

and should make it easier to build a properly configured ia64 kernel.

21 years ago[PATCH] mremap NULL pointer dereference fix
Andrew Morton [Tue, 17 Feb 2004 02:32:47 +0000 (18:32 -0800)]
[PATCH] mremap NULL pointer dereference fix

This is a cleaned-up version of a mremap() fix for "move_one_page()"
by Rajesh Venkatasubramanian <vrajesh@umich.edu>. We could use a NULL
"src" pointer.

Because while we do hold the MM semaphore over the whole sequence, the
destination page table allocation will possibly drop the page table
spinlock.  That in turn can cause a clean source page to be stolen by
page reclaim, causing the source-side "get_one_pte_map_nested()" to
return NULL the second time around even if it didn't on the first case.

So we just check "src" again, and get rid of the bogus TLB invalidate
while we're at it.

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 17 Feb 2004 00:06:41 +0000 (16:06 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] fix build with CONFIG_BLK_DEV_IDEDMA=n (once again)
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 23:39:36 +0000 (15:39 -0800)]
[PATCH] fix build with CONFIG_BLK_DEV_IDEDMA=n (once again)

My "__ide_dma_off()" cleanup uncovered some code that shouldn't be compiled
when CONFIG_BLK_DEV_IDEDMA=n.  Fix it and kill a warning in setup-pci.c.

Noticed by Martin Diehl <lists@mdiehl.de>.

21 years ago[NETFILTER]: Fix signedness overflow in ip{,6}_tables.c
Hideaki Yoshifuji [Mon, 16 Feb 2004 14:45:02 +0000 (06:45 -0800)]
[NETFILTER]: Fix signedness overflow in ip{,6}_tables.c

Bug discovered by Olaf Kirch.

21 years ago[SPARC64]: Fix build with sysctl disabled.
David S. Miller [Mon, 16 Feb 2004 14:25:57 +0000 (06:25 -0800)]
[SPARC64]: Fix build with sysctl disabled.

21 years agoMerge bk://bk.phunnypharm.org/sparc-2.6
David S. Miller [Mon, 16 Feb 2004 14:12:39 +0000 (06:12 -0800)]
Merge bk://bk.phunnypharm.org/sparc-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

21 years ago[SPARC64]: Add symbols to show_stack, and make oops stack output work
Ben Collins [Mon, 16 Feb 2004 18:35:59 +0000 (13:35 -0500)]
[SPARC64]: Add symbols to show_stack, and make oops stack output work

21 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Mon, 16 Feb 2004 17:55:31 +0000 (12:55 -0500)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/sparc-2.6

21 years ago[SPARC64]: Fix warnings on non-PCI build.
David S. Miller [Mon, 16 Feb 2004 14:03:07 +0000 (06:03 -0800)]
[SPARC64]: Fix warnings on non-PCI build.

21 years ago[SPARC64]: Fix non-PCI build, reported by David Dillow.
David S. Miller [Mon, 16 Feb 2004 13:28:29 +0000 (05:28 -0800)]
[SPARC64]: Fix non-PCI build, reported by David Dillow.

21 years ago[PATCH] small fbmem.c fix
James Simmons [Mon, 16 Feb 2004 13:13:22 +0000 (05:13 -0800)]
[PATCH] small fbmem.c fix

The platinum framebuffer is repeated twice. Removed one of them.

21 years agoLinux 2.6.3-rc4 v2.6.3-rc4
Linus Torvalds [Mon, 16 Feb 2004 09:52:25 +0000 (01:52 -0800)]
Linux 2.6.3-rc4

21 years ago[PATCH] Fix ppc compile problem with gcc 3.4
Benjamin Herrenschmidt [Mon, 16 Feb 2004 09:49:23 +0000 (01:49 -0800)]
[PATCH] Fix ppc compile problem with gcc 3.4

There's an incorrect redefinition extern/static in prep_pci.

Just remove it.

21 years ago[PATCH] ppc32: Fix MPC82xx UARTs
Andrew Morton [Mon, 16 Feb 2004 09:49:09 +0000 (01:49 -0800)]
[PATCH] ppc32: Fix MPC82xx UARTs

From: Tom Rini <trini@kernel.crashing.org>

Hello.  The following patch is all that is required to get current 2.6 to
compile and work on MPC82xx platforms.

21 years ago[PATCH] ppc32: Fix MPC82xx thinko
Andrew Morton [Mon, 16 Feb 2004 09:48:59 +0000 (01:48 -0800)]
[PATCH] ppc32: Fix MPC82xx thinko

From: Tom Rini <trini@kernel.crashing.org>

Replace MSR_, which is gone now, with the value it used to be.  Required to
get the MPC82xx platforms compiling again.

21 years ago[PATCH] Fix building both old & new radeonfb's
Benjamin Herrenschmidt [Mon, 16 Feb 2004 08:23:47 +0000 (00:23 -0800)]
[PATCH] Fix building both old & new radeonfb's

This fixes the build of "allyesconfig", old and new radeonfb's would
collide on some symbols.

21 years agoRevert the dodgy ia64 serial console changeset by Bjorn Helgaas.
Linus Torvalds [Mon, 16 Feb 2004 08:20:24 +0000 (00:20 -0800)]
Revert the dodgy ia64 serial console changeset by Bjorn Helgaas.

It results in serial console getting initialised really late and the
suggested workaround is broken according to Keith.

Cset exclude: akpm@osdl.org|ChangeSet|20040213234712|28554

21 years ago[PATCH] Fix rtasd zombie on PowerMac G5
Benjamin Herrenschmidt [Mon, 16 Feb 2004 08:03:58 +0000 (00:03 -0800)]
[PATCH] Fix rtasd zombie on PowerMac G5

The rtasd kernel thread would exit before daemoniz'ing itself if
RTAS wasn't present (or if allocation of the buffer failed), thus
leaving a zombie. This patch fixes it (and remove #if 0'ed code)

21 years ago[PATCH] make __ide_dma_off() generic and remove ide_hwif_t->ide_dma_off
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:47:11 +0000 (21:47 -0800)]
[PATCH] make __ide_dma_off() generic and remove ide_hwif_t->ide_dma_off

Move ide-dma.c:__ide_dma_off() outside of #ifdef CONFIG_BLK_DEV_IDEDMA_PCI,
so it can be used for all DMA capable hosts.  Remove ide_hwif_t->ide_dma_off.

21 years ago[PATCH] remove __ide_dma_count() and ide_hwif_t->ide_dma_count
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:47:02 +0000 (21:47 -0800)]
[PATCH] remove __ide_dma_count() and ide_hwif_t->ide_dma_count

->ide_dma_count() was introduced in kernel 2.5.35 and was meant to add support
for host FIFO counters (for VDMA), but is only a wrapper for ->ide_dma_begin()
(even for siimage.c b/c SIIMAGE_VIRTUAL_DMAPIO is undefined).

Moreover it should be possible to add VDMA code directly to ->ide_dma_begin().

21 years ago[PATCH] remove ide_dma_{good,bad}_drive from ide_hwif_t
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:46:53 +0000 (21:46 -0800)]
[PATCH] remove ide_dma_{good,bad}_drive from ide_hwif_t

Use __ide_dma_{good,bad}_drive() directly and remove these wrappers.

21 years ago[PATCH] ide-tape: warn about soon to be removed OnStream support
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:46:43 +0000 (21:46 -0800)]
[PATCH] ide-tape: warn about soon to be removed OnStream support

I see only pros of removing OnStream support:
 - SCSI osst.c driver is actively maintained by Willem Riede <wrlk@riede.org>
 - there is no functionality loss (OnStream IDE drives don't support DSC)
 - ide-tape.c driver is too ugly & complicated even without OnStream support
 - long term benefits (2.7.x plans on unifying storage drivers)

21 years ago[PATCH] ide-tape: fix "sleeping function called from invalid context"
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:46:34 +0000 (21:46 -0800)]
[PATCH] ide-tape: fix "sleeping function called from invalid context"

From: Willem Riede <wrlk@riede.org>

21 years ago[PATCH] fix OOPS on non-DMA IDE hosts with CONFIG_BLK_DEV_IDEDMA=y
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 05:46:25 +0000 (21:46 -0800)]
[PATCH] fix OOPS on non-DMA IDE hosts with CONFIG_BLK_DEV_IDEDMA=y

From: Glenn Wurster <gwurster@scs.carleton.ca>

21 years agoFix link error with RADEON_DEBUG and !RADEON_I2C.
Linus Torvalds [Mon, 16 Feb 2004 02:31:00 +0000 (18:31 -0800)]
Fix link error with RADEON_DEBUG and !RADEON_I2C.

21 years ago[PATCH] Small typo in aty128fb
Benjamin Herrenschmidt [Mon, 16 Feb 2004 02:10:00 +0000 (18:10 -0800)]
[PATCH] Small typo in aty128fb

This fixes a small merge error in aty128fb resulting in a compile
failure.

21 years ago[PATCH] SELinux: Fix error handling bug.
Andrew Morton [Mon, 16 Feb 2004 02:06:53 +0000 (18:06 -0800)]
[PATCH] SELinux: Fix error handling bug.

From: James Morris <jmorris@redhat.com>

The patch below fixes an error handling flaw, where we need to return a
Netfilter verdict from the function rather than a standard error code.

21 years ago[PATCH] selinux: mark avc_init with __init
Andrew Morton [Mon, 16 Feb 2004 02:06:36 +0000 (18:06 -0800)]
[PATCH] selinux: mark avc_init with __init

From: James Morris <jmorris@redhat.com>

The avc_init function is only called during kernel init, so it can be
marked with __init.

21 years ago[PATCH] selinux: Allow non-root processes to read selinuxfs enforce node
Andrew Morton [Mon, 16 Feb 2004 02:06:16 +0000 (18:06 -0800)]
[PATCH] selinux: Allow non-root processes to read selinuxfs enforce node

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch changes the mode bits on the selinuxfs enforce node so that
non-root processes can read it.  This is necessary to allow non-root
userspace policy enforcers to check the enforcing flag upon a permission
failure as well.  A process must still have the appropriate SELinux
permission in order to read the node.

21 years ago[PATCH] devfs do_mount fix
Andrew Morton [Mon, 16 Feb 2004 02:05:58 +0000 (18:05 -0800)]
[PATCH] devfs do_mount fix

From: James Morris <jmorris@redhat.com>

devfs is passing an empty string to do_mount when it expects a page.

21 years ago[PATCH] SELinux: context mount support - SELinux changes.
Andrew Morton [Mon, 16 Feb 2004 02:05:39 +0000 (18:05 -0800)]
[PATCH] SELinux: context mount support - SELinux changes.

From: James Morris <jmorris@redhat.com>

This patch implements context mount support within SELinux.

Three new mount options are provided:

context=%s
  Label the entire filesystem with the specified security context during
  mount and change the labeling behavior to 'mountpoint labeling'.  The
  /proc/self/attr/fscreate attribute will be ignored for file creation on
  the filesystem, although policy-specified transitions will still work
  normally.  This also sets the aggregate filesystem security context.

fscontext=%s
  Set the label of the aggregate filesystem to the specified security
  context, so that SELinux policy controls over the filesystem itself may
  be reinstated.  Only works for filesystems without EA labeling support,
  and is not valid if 'context' has been specified.

defcontext=%s
  Set the default security context for files created in this filesystem to
  the specified security context (as opposed to the current global default).
  Only works for filesystems without EA labeling support, and is not
  valid if 'context' has been specified.

To set the context or fscontext options, the security policy must specify
appropriate permissions for the filesystem relabelfrom and filesystem
relabelto controls.  For the defcontext option, the filesystem relablefrom
and filesystem assoicate controls are invoked.

The security mount options are parsed out and stripped from the normal
mount option data so that no normal filesystems need to be aware of them.

Filesystems with binary mount option data (e.g. NFS, SMBFS, AFS, Coda)
need to be handled as special cases: only NFS is supprted at this stage
per the previous patch.

21 years ago[PATCH] SELinux: context mount support - NFS
Andrew Morton [Mon, 16 Feb 2004 02:05:17 +0000 (18:05 -0800)]
[PATCH] SELinux: context mount support - NFS

From: James Morris <jmorris@redhat.com>

This patch modifies the kernel's NFS mount data structure to include SELinux
context mount data.  It allows NFS fileystems to be labeled on a
per-mountpoint basis, and should not affect existing versions of userspace
mount.

(A patch to the userspace mount code is available at
http://people.redhat.com/jmorris/selinux/context_mounts/)

21 years ago[PATCH] SELinux: context mount support - LSM/FS
Andrew Morton [Mon, 16 Feb 2004 02:04:59 +0000 (18:04 -0800)]
[PATCH] SELinux: context mount support - LSM/FS

From: James Morris <jmorris@redhat.com>

This series of patches adds support for SELinux 'context mounts', which
allows filesystems to be assigned security context information at mount time.
 For example, some filesystems do not support extended attributes (e.g.  NFS,
vfat), and this feature allows security contexts to be assigned to them on a
per-mountpoint basis.  It is also useful when the existing labeling on a
filesystem is untrusted or unwanted for some reason (e.g.  removable media),
and needs to be overridden with a safe default.

The first patch below consists of infrastructure changes to the kernel:

- A new LSM hook has been added, sb_copy_data, which allows the security
  module to copy security-specific mount data once the superblock has been
  setup by the filesystem.

- The sb_kern_mount hook has been modified to take this security data as a
  parameter, and would typically be used at that point to configure the
  security parameters of the filesystem being mounted.

- Allocation and freeing of the security data has been implemented in the
  core fs code as it is cleaner than trying to do it purely via LSM hooks,
  and should make maintenance easier.  This code will be compiled away if LSM
  is not enabled.

21 years ago[PATCH] fix ppc64 LPAR
Anton Blanchard [Mon, 16 Feb 2004 02:00:39 +0000 (18:00 -0800)]
[PATCH] fix ppc64 LPAR

This fixes pSeries LPAR (logical partitioned) machines.  We weren't
initialising the pci_dma_ops stuff.

21 years ago[PATCH] Update platinumfb driver
Benjamin Herrenschmidt [Mon, 16 Feb 2004 01:59:44 +0000 (17:59 -0800)]
[PATCH] Update platinumfb driver

This updates the PowerMac-only platinumfb driver to use the new mac-io
device infrastructure.  It also switch allocation to the new
framebuffer_alloc/release and fix a couple of bugs.

21 years ago[PATCH] radeonfb: limit ioremap size & debug output
Benjamin Herrenschmidt [Mon, 16 Feb 2004 01:59:34 +0000 (17:59 -0800)]
[PATCH] radeonfb: limit ioremap size & debug output

This adds a limit on how much of the framebuffer is ioremap'ed by
radeonfb, thus enabling it to work with 128Mb VRAM or more on an x86
with 900Mb of lowmem in the linear mapping.

It also adds a significant amount of debug messages and adds a CONFIG
option to enable the debugging output, that should help with diagnosing
new problems. Among others, it dumps the connector info as I understand
them (so far, they give "strange" informations on laptops, I need more
data on more various laptops to see if there's a pattern I can really use
to figure out on which connector the LVDS is)

Regarding the "lid closed at boot", ultimately, we may want to default
to the VGA output in those cases, though I'm not sure what logic to use
here. Maybe we could standardize some way for the platform to provide
this "environment" information to the driver, but i wouldn't rely on it.

More reliably, if we can find out that there is an LVDS output, and
LVDS is disabled, just ignore the flat panel...

We could assume any mobility chip has LVDS, which is true, but that would
still cause a problem for laptops with an additional DVI output (only
Macs so far afaik).

21 years ago[PATCH] Update mac network drivers
Jeff Garzik [Sun, 15 Feb 2004 10:41:32 +0000 (02:41 -0800)]
[PATCH] Update mac network drivers

This should merge up the final piece of the ppc32/64 saga: the mac
PowerMac MACE and Airport network drivers.

Both of them are ported to the mac-io infrastructure, all probe code
rewritting & cleaned up, better error handling & resource management.

21 years agoFix radeonfb to use the proper BIOS reference divider for
Linus Torvalds [Sun, 15 Feb 2004 10:14:15 +0000 (02:14 -0800)]
Fix radeonfb to use the proper BIOS reference divider for
flat-panel displays.

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

21 years ago[PATCH] fix radeonfb "noaccel" command line
Benjamin Herrenschmidt [Sun, 15 Feb 2004 09:57:16 +0000 (01:57 -0800)]
[PATCH] fix radeonfb "noaccel" command line

Fix proper detection of the "noaccel" command line argument for
new radeonfb so we can boot without acceleration. Useful when
diagnosing an accel-related problem.

21 years agoFix user-visible typo in printk.
Linus Torvalds [Sun, 15 Feb 2004 08:46:59 +0000 (00:46 -0800)]
Fix user-visible typo in printk.

Somebody has been watching lord of the rings a bit too
much.. "My precioussssss.."

21 years agoFix new radeon clock calculation.
Linus Torvalds [Sun, 15 Feb 2004 06:25:38 +0000 (22:25 -0800)]
Fix new radeon clock calculation.

From Peter Osterlund <petero2@telia.com>

This code only ends up being used when all else fails,
so probably very few people actually ever saw this.

21 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
Linus Torvalds [Sun, 15 Feb 2004 02:12:34 +0000 (18:12 -0800)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[Bluetooth] Revert reference counting fixes
Marcel Holtmann [Sun, 15 Feb 2004 17:47:56 +0000 (18:47 +0100)]
[Bluetooth] Revert reference counting fixes

The RFCOMM TTY code don't leak reference counting, because the TTY layer
will call the ->close() method even if open fails and the reference count
is decreased there.

Patch from David Woodhouse <dwmw2@infradead.org>

21 years ago[PATCH] Missing initialization code for old radeon driver
Peter Osterlund [Sun, 15 Feb 2004 01:34:26 +0000 (17:34 -0800)]
[PATCH] Missing initialization code for old radeon driver

You can still build the old driver, but it doesn't work unless you also
enable it like this..

21 years ago[PATCH] fbcon notified of suspend/resume
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:33:50 +0000 (17:33 -0800)]
[PATCH] fbcon notified of suspend/resume

This makes fbcon ask for notification of events from fbdev to deal with
suspend/resume (stop cursor on suspend, refresh screen on resume).
Could probably do more (like dealing better with the cursor timer), but
this simple implementation works fine enough for now.

21 years ago[PATCH] fbdev state management
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:33:19 +0000 (17:33 -0800)]
[PATCH] fbdev state management

This adds some "state" information for power management to fbdev's,
along with a notifier mecanism to inform clients of state changes.  It
also "uses" this mecanism in the function fb_set_suspend() which was an
empty placeholder previously, and "shields" various places that access
the HW when state isn't running.  (It's best to not call them in the
first place, but the current state of fbcon makes that _very_ difficult)

21 years ago[PATCH] Update aty128fb video driver
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:32:46 +0000 (17:32 -0800)]
[PATCH] Update aty128fb video driver

This updates the aty128fb driver.  It adds more PCI IDs, uses the new
framebuffer alloc/release functions, make BIOS PLL data access more
reliable (using ROM whenever possible, with a fallback to RAM BIOS
image), cleanup the Power Management stuff (get rid of PowerMac specific
stuffs, use real PCI ones instead), along with some style cleanups

21 years ago[PATCH] Fix fbdev pixmap locking
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:32:22 +0000 (17:32 -0800)]
[PATCH] Fix fbdev pixmap locking

This removes the broken locking code in the pixmaps, and rewrite the
buffer access function to properly call fb_sync when needed.  The old
broken loocking is useless as we are covered by the console semaphore in
all cases hopefully (except if I missed one :)

21 years ago[PATCH] shield fbdev operations with console semaphore
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:32:00 +0000 (17:32 -0800)]
[PATCH] shield fbdev operations with console semaphore

This fixes the fbdev ioctl's and fbcon cursor management with the
console semaphore, which is the best we can do at this point in 2.6,
thus fixing a bunch of races where we could have, for example, tried to
blit while changing mode, etc..

21 years ago[PATCH] Fix Oops & warning on PPC in rivafb
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:31:44 +0000 (17:31 -0800)]
[PATCH] Fix Oops & warning on PPC in rivafb

Independently from the other fbdev updates I'm cooking (some of them
will be in your mailbox rsn), this fixes an error in parameter passing
to a function in rivafb (only used on ppc) that could cause an oops and
definitely causes a warning at compile time.

21 years ago[PATCH] Remove debug cruft from via-pmu.c driver
Benjamin Herrenschmidt [Sun, 15 Feb 2004 01:31:30 +0000 (17:31 -0800)]
[PATCH] Remove debug cruft from via-pmu.c driver

21 years ago[PATCH] Sparc no longer F*cked Up
Rusty Russell [Sun, 15 Feb 2004 01:31:18 +0000 (17:31 -0800)]
[PATCH] Sparc no longer F*cked Up

From: Keith M Wesolowski <wesolows@foobazco.org>

As of 2.6.3, restore_flags will no longer modify cwp on sparc.
Therefore you can apply this patch to the locking guide.

[ Indeed.  I'll also remove the atomic comments from Hacking
  Guide as part of my revision there when I get back to it.  --RR ]

21 years agoLinux 2.6.3-rc3 v2.6.3-rc3
Linus Torvalds [Sat, 14 Feb 2004 10:42:44 +0000 (02:42 -0800)]
Linux 2.6.3-rc3

21 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Sat, 14 Feb 2004 09:27:10 +0000 (01:27 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sat, 14 Feb 2004 09:21:39 +0000 (01:21 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ARM] Improve help for CONFIG_ARM_THUMB
Russell King [Sat, 14 Feb 2004 19:41:08 +0000 (19:41 +0000)]
[ARM] Improve help for CONFIG_ARM_THUMB

21 years ago[ARM] Add DMA mask for SA11x0 MCP device
Russell King [Sat, 14 Feb 2004 19:15:31 +0000 (19:15 +0000)]
[ARM] Add DMA mask for SA11x0 MCP device

21 years ago[ARM] Fix couple of compiler warnings:
Russell King [Sat, 14 Feb 2004 18:36:01 +0000 (18:36 +0000)]
[ARM] Fix couple of compiler warnings:

arch/arm/kernel/time.c: Fix time_before type warning.
arch/arm/common/amba.c: Fix snprintf compiler warning.

21 years agoMerge ppc970:v2.5/linux into home.osdl.org:/home/torvalds/v2.5/linux
Linus Torvalds [Sat, 14 Feb 2004 03:52:16 +0000 (19:52 -0800)]
Merge ppc970:v2.5/linux into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] fix FB_RADEON_I2C dependency
Roman Zippel [Sat, 14 Feb 2004 03:51:31 +0000 (19:51 -0800)]
[PATCH] fix FB_RADEON_I2C dependency

Thus fixes the weird kconfig message "optimize || ?", it's an old debug
check and is triggered by the unusual dependency.  It's not incorrect,
but the solution below is better and it's the same FB_MATROX_I2C already
uses.

I'll send a fix for the kconfig message later.

21 years agoMerge bk://gkernel.bkbits.net/libata-2.5
Linus Torvalds [Sat, 14 Feb 2004 03:43:14 +0000 (19:43 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoCset exclude: jgarzik@redhat.com|ChangeSet|20040213172720|60184
Jeff Garzik [Sat, 14 Feb 2004 08:51:20 +0000 (03:51 -0500)]
Cset exclude: jgarzik@redhat.com|ChangeSet|20040213172720|60184

21 years agoRemove stale "xmon.h" include.
Linus Torvalds [Sat, 14 Feb 2004 01:11:08 +0000 (17:11 -0800)]
Remove stale "xmon.h" include.

21 years ago[PATCH] back out fbdev sysfs support
Christoph Hellwig [Sat, 14 Feb 2004 01:04:00 +0000 (17:04 -0800)]
[PATCH] back out fbdev sysfs support

This backs out James' sysfs support for fbdev again.  It introduces a
big, race for every driver not converted to framebuffer_{alloc,release}
(that is every driver but Ben's new radeonfb).

I've left in framebuffer_{alloc,release} as stubs so drivers can be
converted to it gradually and once all drivers are done it can be
enabled again.

21 years agoMerge bk://kernel.bkbits.net/davem/sctp-2.6
Linus Torvalds [Sat, 14 Feb 2004 00:15:17 +0000 (16:15 -0800)]
Merge bk://kernel.bkbits.net/davem/sctp-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Sat, 14 Feb 2004 00:14:01 +0000 (16:14 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/netfix-2.6
Linus Torvalds [Fri, 13 Feb 2004 23:37:38 +0000 (15:37 -0800)]
Merge bk://kernel.bkbits.net/davem/netfix-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] cleanup debugger hooks
Anton Blanchard [Fri, 13 Feb 2004 23:30:34 +0000 (15:30 -0800)]
[PATCH] cleanup debugger hooks

Theres still more to do here, but at least the ifdef mess is gone. No
more checking for NULL before calling functions, that was playing with
fire. Oh yeah and lots more deletions :)

Clean up the debugger hooks, it was way too easy to screw up.
And we did. And Linus hit it.

- create CONFIG_DEBUGGER so we can enable kernel debugging options but not
  have any trace of debugger gunk.
- remove a bunch of xmon prototypes so no one gets the urge to call them
- Use die() instead of panic in a number of places, it gives us much better
  debug information.
- Get rid of the ifdef madness

21 years ago[PATCH] various xmon cleanups
Anton Blanchard [Fri, 13 Feb 2004 23:30:14 +0000 (15:30 -0800)]
[PATCH] various xmon cleanups

Heres a patch I've had for a while, it removes a bunch of debugger code
which is good :) The next patch will sanitise it (and the rest of the
debugger hooks).

Various xmon cleanups

- recover from bad SPR read/write (we get a program check)
- remove some old code (bat and segment register stuff)
- update the help text to match reality
- add a "press ? for help" when xmon first appears to make rusty happy
- protect against flushing bad parts of memory from Milton
- dont print iseries specific stuff on pseries in SPR dump (S)
- add code to dump the segment table or SLB
- remove a number of functions that wouldnt work on LPAR

21 years ago[PATCH] add thread_info to oops output
Anton Blanchard [Fri, 13 Feb 2004 23:29:59 +0000 (15:29 -0800)]
[PATCH] add thread_info to oops output

- Add thread_info to pointer, its a useful piece of information.
- Do the kallsyms lookup on the link register
- Remove extra newline on one call to die()

21 years ago[PATCH] Fix ppc64 build problem
Anton Blanchard [Fri, 13 Feb 2004 23:29:48 +0000 (15:29 -0800)]
[PATCH] Fix ppc64 build problem

From: Paul Mackerras <paulus@samba.org>

Recent changes in include/linux/*.h meant that likely()
isn't defined here (since we don't set __KERNEL__), and thus
we don't get some prototypes and we can't use do_div.  This
fixes the resulting compile errors and warnings.

Remove %L handling from sprintf - we don't need it, and it
meant we needed do_div from asm/div64.h, which gives problems
when __KERNEL__ isn't defined.  Also add a prototype for
strlen to kill a warning.

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sctp-2.6
David S. Miller [Fri, 13 Feb 2004 14:13:57 +0000 (06:13 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sctp-2.6
into kernel.bkbits.net:/home/davem/sctp-2.6

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Fri, 13 Feb 2004 14:09:30 +0000 (06:09 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6
David S. Miller [Fri, 13 Feb 2004 14:05:17 +0000 (06:05 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6
into kernel.bkbits.net:/home/davem/netfix-2.6

21 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Fri, 13 Feb 2004 13:38:25 +0000 (05:38 -0800)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/sctp-2.6

21 years agoCset exclude: davem@nuts.davemloft.net|ChangeSet|20040212080313|45938
David S. Miller [Fri, 13 Feb 2004 13:33:41 +0000 (05:33 -0800)]
Cset exclude: davem@nuts.davemloft.net|ChangeSet|20040212080313|45938

21 years ago[AX25]: Fix locking in ax25_rt_free().
Jeroen Vreeken [Fri, 13 Feb 2004 13:32:57 +0000 (05:32 -0800)]
[AX25]: Fix locking in ax25_rt_free().

21 years ago[SPARC32]: Mask PIL in local_irq operations.
Keith M. Wesolowski [Fri, 13 Feb 2004 13:28:04 +0000 (05:28 -0800)]
[SPARC32]: Mask PIL in local_irq operations.

Also, un-inline large local_irq functions.

21 years ago[SPARC32]: Stub DMA routines to fix the build.
Keith M. Wesolowski [Fri, 13 Feb 2004 13:27:19 +0000 (05:27 -0800)]
[SPARC32]: Stub DMA routines to fix the build.

21 years ago[SPARC32]: Take parisc atomic_t implementation so they are full 32-bits.
Keith M. Wesolowski [Fri, 13 Feb 2004 13:26:44 +0000 (05:26 -0800)]
[SPARC32]: Take parisc atomic_t implementation so they are full 32-bits.

21 years agoMerge ppc970:v2.5/linux into home.osdl.org:/home/torvalds/v2.5/linux
Linus Torvalds [Fri, 13 Feb 2004 13:10:24 +0000 (05:10 -0800)]
Merge ppc970:v2.5/linux into home.osdl.org:/home/torvalds/v2.5/linux

21 years agomerge
Len Brown [Fri, 13 Feb 2004 17:40:35 +0000 (12:40 -0500)]
merge

21 years ago[ACPI] interrupt over-ride fix from i386 (Maciej W. Rozycki)
Len Brown [Fri, 13 Feb 2004 17:05:37 +0000 (12:05 -0500)]
[ACPI] interrupt over-ride fix from i386 (Maciej W. Rozycki)

21 years agoMerge intel.com:/home/lenb/src/linux-acpi-test-2.6.2
Len Brown [Fri, 13 Feb 2004 16:38:37 +0000 (11:38 -0500)]
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.2
into intel.com:/home/lenb/src/linux-acpi-test-2.6.3

21 years agoMake G5 defconfig a bit saner. In particular, we want firewire
Linus Torvalds [Fri, 13 Feb 2004 13:10:07 +0000 (05:10 -0800)]
Make G5 defconfig a bit saner. In particular, we want firewire
and we do _not_ want the broken MACZILOG serial driver.

21 years agoFix broken ppc64 kernel debugger call.
Linus Torvalds [Fri, 13 Feb 2004 13:09:01 +0000 (05:09 -0800)]
Fix broken ppc64 kernel debugger call.

This turned what _should_ have been a nice
easy oops into a nightmare of debugging.

Kernel debuggers suck.

21 years ago[PATCH] Fix incorrect kfree in radeonfb
Benjamin Herrenschmidt [Fri, 13 Feb 2004 09:22:43 +0000 (01:22 -0800)]
[PATCH] Fix incorrect kfree in radeonfb

I missed a kfree -> framebuffer_release() in the new radeonfb.

Thanks to Luca for noticing it.

21 years ago[PATCH] ppc64: export clear_user_page
Benjamin Herrenschmidt [Fri, 13 Feb 2004 09:22:34 +0000 (01:22 -0800)]
[PATCH] ppc64: export clear_user_page

Some drivers need clear_user_page, is should be exported

21 years ago[PATCH] ppc64: CONFIG_PPC_PMAC implies CONFIG_ADB_PMU
Benjamin Herrenschmidt [Fri, 13 Feb 2004 09:22:25 +0000 (01:22 -0800)]
[PATCH] ppc64: CONFIG_PPC_PMAC implies CONFIG_ADB_PMU

This avoids a link error if PPC_PMAC is set and the user forgets to set
ADB_PMU.  (The PMU driver is mandatory for pmac)