]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] move CONFIG_HOTPLUG to init/Kconfig
Bartlomiej Zolnierkiewicz [Wed, 18 Feb 2004 07:25:48 +0000 (23:25 -0800)]
[PATCH] move CONFIG_HOTPLUG to init/Kconfig

As a bonus: cris, h8300, m68k and sparc can use CONFIG_HOTPLUG now.

22 years agoPCI: fix pci quirk for P4B533-V, fixes bug 1720
Greg Kroah-Hartman [Wed, 18 Feb 2004 05:33:13 +0000 (21:33 -0800)]
PCI: fix pci quirk for P4B533-V, fixes bug 1720

Thanks to stephanrave@gmx.de (Stephan Rave) for the patch.

22 years ago[PATCH] PCI Hotplug : add DLPAR driver for PPC64 PCI Hotplug slots
John Rose [Wed, 18 Feb 2004 04:57:30 +0000 (20:57 -0800)]
[PATCH] PCI Hotplug : add DLPAR driver for PPC64 PCI Hotplug slots

Please consider the following patch for submission.  This patch contains the
implementation of the I/O Slot DLPAR Drivers for PPC64 RISC Platform
Architecture.  This module depends on the RPA PCI Hotplug Module in the
previous post.  The patch is made against kernel version 2.6.3-rc2.

The Dynamic Logical Partitioning Module allows the runtime movement of I/O
Slots between logical partitions.  An administrator can logically add/remove
PCI Buses to/from a PPC64 partition at runtime.  These operations are initiated
using interface files located at:
/sys/bus/pci/pci_hotplug_slots/control/
Development contact for this module is John Rose (johnrose@austin.ibm.com).

22 years ago[PATCH] PCI Hotplug: Add PPC64 PCI Hotplug Driver for RPA
Linda Xie [Wed, 18 Feb 2004 04:53:42 +0000 (20:53 -0800)]
[PATCH] PCI Hotplug: Add PPC64 PCI Hotplug Driver for RPA

22 years ago[PATCH] PCI Hotplug: Add SHPC and PCI Express hot-plug drivers
Dely Sy [Wed, 18 Feb 2004 04:02:52 +0000 (20:02 -0800)]
[PATCH] PCI Hotplug: Add SHPC and PCI Express hot-plug drivers

22 years ago[PATCH] PCI: remove unused defines in pci.h
Adam Belay [Wed, 18 Feb 2004 03:40:45 +0000 (19:40 -0800)]
[PATCH] PCI: remove unused defines in pci.h

It occured to me that we also have the following related code in pci.h:
Perhaps this should be removed as well?

22 years ago[PATCH] PCI: Fix pci_bus_find_capability()
Matthew Wilcox [Wed, 18 Feb 2004 03:16:24 +0000 (19:16 -0800)]
[PATCH] PCI: Fix pci_bus_find_capability()

pci_bus_find_capability() is currently broken.  It checks the wrong
device's hdr_type for being a cardbus bridge or not.  This patch pulls
the guts of pci_bus_find_capability() and pci_find_capability() into a
new function __pci_bus_find_cap() and changes these two functions to
call it.

22 years ago[PATCH] PCI: add copyright for files msi.c and msi.h
Tom L. Nguyen [Wed, 18 Feb 2004 03:16:10 +0000 (19:16 -0800)]
[PATCH] PCI: add copyright for files msi.c and msi.h

First I would like to say sorry for not responding immediately after receiving
your email mentioning Copyright. I have contacted Intel Legal for proper text
upon receiving this email; but have not received any response. As a result of
team discussion, the attached patch, based on Linux kernel 2.6.3-rc2, includes
the Intel Copyright for files: msi.h and msi.c.

22 years ago[PATCH] PCI: Changing 'GALILEO' to 'MARVELL'
Mark A. Greer [Wed, 18 Feb 2004 03:15:56 +0000 (19:15 -0800)]
[PATCH] PCI: Changing 'GALILEO' to 'MARVELL'

I'm working with some Marvell components (formerly Galileo Technologies)
and noticed that the entries in include/linux/pci_ids.h have become
dated.  I have attached a patch that changes 'GALILEO' to 'MARVELL',
adds some more devices, and updates the uses of the macros in the code.
Please note that the newer marvell parts start with 'MV' instead of 'GT'
to represent the new name.  Also, I didn't change all uses of galileo to
marvell, only the macro in pci_ids.h.

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Wed, 18 Feb 2004 01:00:47 +0000 (17:00 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 18 Feb 2004 00:56:10 +0000 (16:56 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/bonding-2
Jeff Garzik [Tue, 17 Feb 2004 20:15:51 +0000 (15:15 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/bonding-2
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
Jeff Garzik [Tue, 17 Feb 2004 20:09:13 +0000 (15:09 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-7

22 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Tue, 17 Feb 2004 20:06:52 +0000 (15:06 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
David S. Miller [Tue, 17 Feb 2004 15:49:24 +0000 (07:49 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

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

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
Jeff Garzik [Tue, 17 Feb 2004 15:06:21 +0000 (10:06 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-7

22 years agoHand-merge pc300_tty.c conflicts with netdev.
Jeff Garzik [Tue, 17 Feb 2004 15:03:31 +0000 (10:03 -0500)]
Hand-merge pc300_tty.c conflicts with netdev.

22 years ago[NET]: Ditch TSO in loopback driver, it's had enough testing.
Martin J. Bligh [Tue, 17 Feb 2004 15:01:27 +0000 (07:01 -0800)]
[NET]: Ditch TSO in loopback driver, it's had enough testing.

22 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

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

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Tue, 17 Feb 2004 11:16:03 +0000 (03:16 -0800)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Tue, 17 Feb 2004 11:13:28 +0000 (03:13 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV4]: Add sophisticated ARP reply control via arp_ignore sysctl.
Julian Anastasov [Tue, 17 Feb 2004 11:06:26 +0000 (03:06 -0800)]
[IPV4]: Add sophisticated ARP reply control via arp_ignore sysctl.

22 years ago[SCTP] Force enable Crypto options that are needed by SCTP config.
Sridhar Samudrala [Tue, 17 Feb 2004 09:37:27 +0000 (01:37 -0800)]
[SCTP] Force enable Crypto options that are needed by SCTP config.

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

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

22 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)

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

22 years ago[TG3]: Bump driver version and reldate.
David S. Miller [Tue, 17 Feb 2004 08:21:15 +0000 (00:21 -0800)]
[TG3]: Bump driver version and reldate.

22 years ago[TG3]: Fix early chip programming in tg3_setup_copper_phy().
David S. Miller [Tue, 17 Feb 2004 08:17:02 +0000 (00:17 -0800)]
[TG3]: Fix early chip programming in tg3_setup_copper_phy().

1) First action must be to set MAC_EVENT to zero.
2) Do not forget to clear MI_COMPLETION/LNKSTATE_CHANGED
   status bits in MAC_STATUS register.

This fixes the bug wherein the link does not come up at all
at the first ifup done after tg3 module load.

22 years ago[TG3]: Two more PHY bug workaround, plus fix DMA test on big-endian.
David S. Miller [Tue, 17 Feb 2004 08:08:12 +0000 (00:08 -0800)]
[TG3]: Two more PHY bug workaround, plus fix DMA test on big-endian.

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

22 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

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

22 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

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

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

22 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

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

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 16 Feb 2004 14:53:36 +0000 (06:53 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6]: Add sysctl to force MLD version.
David Stevens [Mon, 16 Feb 2004 14:49:24 +0000 (06:49 -0800)]
[IPV6]: Add sysctl to force MLD version.

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

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

22 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

22 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

22 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

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

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

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

22 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

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

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

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

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

22 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

22 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)

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

22 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().

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

22 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)

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

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

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

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

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

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

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

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

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

22 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/)

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

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

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

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

22 years ago[SCTP] Revert back to use kmalloc() for ssnmap allocs of sizes < 128K.
Sridhar Samudrala [Sun, 15 Feb 2004 13:10:42 +0000 (05:10 -0800)]
[SCTP] Revert back to use kmalloc() for ssnmap allocs of sizes < 128K.

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

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

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

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

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

22 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

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

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

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

22 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)

22 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

22 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 :)

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

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

22 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

22 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 ]

22 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

22 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

22 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

22 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

22 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

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

22 years ago[TG3]: Define MBOX_WRITE_REORDER flag to zero on non-x86.
Grant Grundler [Sat, 14 Feb 2004 06:58:30 +0000 (22:58 -0800)]
[TG3]: Define MBOX_WRITE_REORDER flag to zero on non-x86.

22 years ago[SUNGEM]: Kill unused variable on ppc.
Christoph Hellwig [Sat, 14 Feb 2004 06:46:44 +0000 (22:46 -0800)]
[SUNGEM]: Kill unused variable on ppc.