]> git.neil.brown.name Git - history.git/log
history.git
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[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 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

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

22 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

22 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

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

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

22 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

22 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

22 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

22 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

22 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

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

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

22 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

22 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

22 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

22 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

22 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

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

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

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

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

22 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

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

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

22 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

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

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

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

22 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

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

22 years agoBump libata, ata_piix to version 1.0.
Jeff Garzik [Fri, 13 Feb 2004 08:07:34 +0000 (03:07 -0500)]
Bump libata, ata_piix to version 1.0.

Also update copyrights for 2004.

22 years ago[PATCH] ppc32: Update IBM Spruce defconfig
Andrew Morton [Fri, 13 Feb 2004 07:49:26 +0000 (23:49 -0800)]
[PATCH] ppc32: Update IBM Spruce defconfig

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

From: Randy Vinson <rvinson@mvista.com>

- Update the IBM Spruce defconfig

22 years ago[PATCH] ppc32: PPC44x MMU update/fixes
Andrew Morton [Fri, 13 Feb 2004 07:49:16 +0000 (23:49 -0800)]
[PATCH] ppc32: PPC44x MMU update/fixes

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

The following patch enhances and fixes a number of bugs in PPC44x MMU
handling.

22 years ago[PATCH] ppc32: PPC4xx cleanup
Andrew Morton [Fri, 13 Feb 2004 07:49:06 +0000 (23:49 -0800)]
[PATCH] ppc32: PPC4xx cleanup

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

The following patch removes some obsolete PPC4xx platforms that Paul and I
have discussed and some minor cleanup.

22 years ago[PATCH] ppc32: IBM 40x and 4xx fixes
Andrew Morton [Fri, 13 Feb 2004 07:48:11 +0000 (23:48 -0800)]
[PATCH] ppc32: IBM 40x and 4xx fixes

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

On IBM 40x and IBM 4xx (or more specifically, all Book E processors), the
Save/Restor Registers 2 and 3 Critical Save and Restore Registers 0 and 1
are logically and functionally equivalent.  And since the 40x is the early
variant on the Book E model, make generic 4xx/BookE code refer to
CSRR0/CSRR1, and map these to SRR2/SRR3 on 40x.

22 years ago[PATCH] ppc32: use todc time functions for PPC_PREP
Andrew Morton [Fri, 13 Feb 2004 07:48:01 +0000 (23:48 -0800)]
[PATCH] ppc32: use todc time functions for PPC_PREP

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

- Convert PPC_PREP to using the todc_time.c functions instead of its own
  copy of them.

22 years ago[PATCH] ppc32: Fix compilation of IBM Spruce & !CONFIG_SERIAL_TEXT_DEBUG
Andrew Morton [Fri, 13 Feb 2004 07:47:51 +0000 (23:47 -0800)]
[PATCH] ppc32: Fix compilation of IBM Spruce & !CONFIG_SERIAL_TEXT_DEBUG

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

From: Randy Vinson <rvinson@mvista.com>

- Fix compilation of IBM Spruce when CONFIG_SERIAL_TEXT_DEBUG=n

22 years ago[PATCH] ppc32: boot and platform fixes
Andrew Morton [Fri, 13 Feb 2004 07:47:41 +0000 (23:47 -0800)]
[PATCH] ppc32: boot and platform fixes

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

From: Randy Vinson <rvinson@mvista.com>

- Fixup IBM Spruce support (GEN550, general fixes and cleanups).
- Forward-port the INTERACTIVE_CONSOLE bits from 2.4.
- Forward-port the bootinfo code.
- Add a weak get_mem_size() function.

22 years ago[PATCH] Suppress reiserfs page allocation wanring
Andrew Morton [Fri, 13 Feb 2004 07:47:31 +0000 (23:47 -0800)]
[PATCH] Suppress reiserfs page allocation wanring

From: Nikita Danilov <Nikita@Namesys.COM>

Some stage in reiserfs balancing (fix_nodes() function) has to be performed
without ever scheduling.  If it schedules, it has to be restarted.  As we
don't want to restart often, we first try to do atomic allocation, and if
it fails, GFP_NOFS allocation is done, and fix_nodes() restarted.

22 years ago[PATCH] Fix fadvise() parameter checking
Andrew Morton [Fri, 13 Feb 2004 07:47:21 +0000 (23:47 -0800)]
[PATCH] Fix fadvise() parameter checking

From: Ulrich Drepper <drepper@redhat.com>

The len parameter for fadvise has a signed type and negative values passed
must be rejected.  The attached patch does the job.

22 years ago[PATCH] Make serial console work for any port
Andrew Morton [Fri, 13 Feb 2004 07:47:12 +0000 (23:47 -0800)]
[PATCH] Make serial console work for any port

From: Bjorn Helgaas <bjorn.helgaas@hp.com>

The current serial console code only works for ports that are either
defined in SERIAL_PORT_DFNS (and set up by serial8250_isa_init_ports()) or
registered by early_serial_setup().

On ia64, SERIAL_PORT_DFNS is empty because we discover everything via ACPI
and PCI.  And we only use early_serial_setup() for one port described by
the HCDP firmware table.

This patch against 2.6.3-rc2 makes it work for any valid port.  If we don't
know about the port early, we just return -ENODEV from the setup()
function, which leaves the serial console disabled.  After the driver has
found all the ports, we try to register the serial console again if it
hasn't been enabled already.

I think the "port->type == PORT_UNKNOWN" test is cleaner than the
"port->ops" test -- it more clearly gets to the point of "do we know about
this port".

22 years ago[PATCH] swap extent merging fix
Andrew Morton [Fri, 13 Feb 2004 07:47:03 +0000 (23:47 -0800)]
[PATCH] swap extent merging fix

From: Hugh Dickins <hugh@veritas.com>

Fix a screwup in the merging of swap extents: not only do they have to be
contiguous on-disk, they have to be logically contiguous in file offset too.

22 years ago[PATCH] Alpha: fix "extern inline" logic for core IO functions
Andrew Morton [Fri, 13 Feb 2004 07:46:54 +0000 (23:46 -0800)]
[PATCH] Alpha: fix "extern inline" logic for core IO functions

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

Again...  This time due to pci.h->dmapool.h->io.h included in core logic
files before __EXTERN_INLINE definition.

To prevent such troubles in the future, make io.h/core_xx.h included before
anything else.  Also, this allows to get rid of some duplicated #include's.

22 years ago[PATCH] sh: pvr2fb updates
Andrew Morton [Fri, 13 Feb 2004 07:46:43 +0000 (23:46 -0800)]
[PATCH] sh: pvr2fb updates

From: Paul Mundt <lethal@linux-sh.org>

Sanity fixes in pvr2fb_check_var() so we don't constantly report an invalid
pixclock..  also fixup FB_SYNC_BROADCAST setting so this doesn't get
improperly assigned in the VO_VGA case.

22 years ago[PATCH] sh: hitfb updates (and accel)
Andrew Morton [Fri, 13 Feb 2004 07:46:34 +0000 (23:46 -0800)]
[PATCH] sh: hitfb updates (and accel)

From: Paul Mundt <lethal@linux-sh.org>

This updates hitfb, and also adds basic accel support.  Also as we don't need
the generic cfb_copyarea anymore, we no longer link cfbcopyarea.o in at build
time.

22 years ago[PATCH] sh: Misc build fixes
Andrew Morton [Fri, 13 Feb 2004 07:46:25 +0000 (23:46 -0800)]
[PATCH] sh: Misc build fixes

From: Paul Mundt <lethal@linux-sh.org>

Misc build fixes.. also not horribly exciting.

22 years ago[PATCH] sh: Add H8/300 support to sh-sci
Andrew Morton [Fri, 13 Feb 2004 07:46:15 +0000 (23:46 -0800)]
[PATCH] sh: Add H8/300 support to sh-sci

From: Paul Mundt <lethal@linux-sh.org>

This adds support for the H8/300 series to the sh-sci driver.  Patch from
Yoshinori Sato.

22 years ago[PATCH] sh: hd64461 updates
Andrew Morton [Fri, 13 Feb 2004 07:46:06 +0000 (23:46 -0800)]
[PATCH] sh: hd64461 updates

From: Paul Mundt <lethal@linux-sh.org>

This updates a number of the hd64461 cchip definitions (needed by hitfb), and
also adds some additional I/O routines.

22 years ago[PATCH] sh: Fix hp680 board support
Andrew Morton [Fri, 13 Feb 2004 07:45:57 +0000 (23:45 -0800)]
[PATCH] sh: Fix hp680 board support

From: Paul Mundt <lethal@linux-sh.org>

This adds the missing setup code for the hp680 board.  Patch from Andriy
Skulysh.

22 years ago[PATCH] sh: preempt fixes
Andrew Morton [Fri, 13 Feb 2004 07:45:47 +0000 (23:45 -0800)]
[PATCH] sh: preempt fixes

From: Paul Mundt <lethal@linux-sh.org>

This fixes up a number of other outstanding preemption issues in the sh
backend (in addition to the ones already fixed in previous patches).

Patch from Kaz Kojima.

22 years ago[PATCH] sh: preempt safe lazy fpu handling
Andrew Morton [Fri, 13 Feb 2004 07:45:38 +0000 (23:45 -0800)]
[PATCH] sh: preempt safe lazy fpu handling

From: Paul Mundt <lethal@linux-sh.org>

This updates the lazy fpu handling to be preempt safe.  Patches from SUGIOKA
Toshinobu and Kaz Kojima.

22 years ago[PATCH] sh: RTC fixes
Andrew Morton [Fri, 13 Feb 2004 07:45:29 +0000 (23:45 -0800)]
[PATCH] sh: RTC fixes

From: Paul Mundt <lethal@linux-sh.org>

Re-read RTC registers if MSB of R64CNT was changed while reading them on SH-4
which has unreliable CF bit.

Patch from SUGIOKA Toshinobu and Masaki Saitoh.

22 years ago[PATCH] sh: Wrap fb_read/writeX() to __raw_read/writeX()
Andrew Morton [Fri, 13 Feb 2004 07:45:19 +0000 (23:45 -0800)]
[PATCH] sh: Wrap fb_read/writeX() to __raw_read/writeX()

From: Paul Mundt <lethal@linux-sh.org>

This adds sh to the list of platforms that wrap fb_readX/fb_writeX() to
__raw_readX/__raw_writeX().  This is needed so that the generic fb read/write
routines will wrap properly through the sh machvec and use the appropriate
board-specific I/O routines.

22 years ago[PATCH] sh: Update defconfig
Andrew Morton [Fri, 13 Feb 2004 07:45:10 +0000 (23:45 -0800)]
[PATCH] sh: Update defconfig

From: Paul Mundt <lethal@linux-sh.org>

This updates the sh defconfig.. nothing horribly exciting.

22 years ago[PATCH] selinux: Fix bugs in policy loading code
Andrew Morton [Fri, 13 Feb 2004 07:45:01 +0000 (23:45 -0800)]
[PATCH] selinux: Fix bugs in policy loading code

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

This patch fixes a couple of bugs in the SELinux policy loading code.  The
first bug was reported by Magosanyi Arpad; kernel panic upon feeding the
kernel a policy with an empty avtab due to cleanup code trying to free the
avtab twice.  The other bugs were reported by Frank Mayer; failure to
properly validate certain values read from the policy.

22 years ago[PATCH] Fix buslogic for older gccs
Andrew Morton [Fri, 13 Feb 2004 07:44:52 +0000 (23:44 -0800)]
[PATCH] Fix buslogic for older gccs

From: carbonated beverage <ramune@net-ronin.org>

Remove an anonymous struct

22 years ago[PATCH] acpi numa build fix
Andrew Morton [Fri, 13 Feb 2004 07:44:42 +0000 (23:44 -0800)]
[PATCH] acpi numa build fix

From: jbarnes@sgi.com (Jesse Barnes)

Fix a missing conversion from the memblks removal.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 13 Feb 2004 07:33:15 +0000 (23:33 -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] Allow sub-architectures to provide their own sched_clock()
Russell King [Fri, 13 Feb 2004 23:12:32 +0000 (23:12 +0000)]
[ARM] Allow sub-architectures to provide their own sched_clock()

22 years ago[ARM] Use __attribute_used__ rather than __attribute__((used))
Russell King [Fri, 13 Feb 2004 23:06:56 +0000 (23:06 +0000)]
[ARM] Use __attribute_used__ rather than __attribute__((used))

22 years ago[libata] catch, and ack, spurious DMA interrupts
Jeff Garzik [Fri, 13 Feb 2004 07:27:20 +0000 (02:27 -0500)]
[libata] catch, and ack, spurious DMA interrupts

Hardware issue on Intel ICH5 requires an additional ack sequence
over and above the normal IDE DMA interrupt ack requirements.  Issue
described in post to freebsd list:
http://www.mail-archive.com/freebsd-stable@freebsd.org/msg58421.html

Since the bug workaround only requires a single additional PIO or
MMIO read in the interrupt handler, it is applied to all chipsets
using the standard libata interrupt handler.

Credit for research the issue, creating the patch, and testing the
patch all go to Jon Burgess.

22 years ago[SCTP] Fix sctp_getladdrs()/sctp_getpaddrs() API so that the port
Sridhar Samudrala [Fri, 13 Feb 2004 03:53:55 +0000 (19:53 -0800)]
[SCTP] Fix sctp_getladdrs()/sctp_getpaddrs() API so that the port
       value in the returned addresses is in network byte order.

22 years ago[PATCH] ia64: Correct ifdef for srat_num_cpus
Keith Owens [Fri, 13 Feb 2004 03:16:27 +0000 (19:16 -0800)]
[PATCH] ia64: Correct ifdef for srat_num_cpus

The definition of srat_num_cpus is wrapped in #ifdef CONFIG_ACPI_NUMA,
make its usage match.

22 years agoia64: Update toolchain-flags with a check for working .align inside a
David Mosberger [Thu, 12 Feb 2004 14:29:35 +0000 (06:29 -0800)]
ia64: Update toolchain-flags with a check for working .align inside a
now that there is a fixed GAS.

22 years ago[SCTP] Fix SCTP_INITMSG set socket option so that a parameter with 0
Sridhar Samudrala [Thu, 12 Feb 2004 09:12:42 +0000 (01:12 -0800)]
[SCTP] Fix SCTP_INITMSG set socket option so that a parameter with 0
       value will not change its current value.

22 years ago[SCTP] Use __get_free_pages() to allocate ssnmap.
Sridhar Samudrala [Thu, 12 Feb 2004 08:59:24 +0000 (00:59 -0800)]
[SCTP] Use __get_free_pages() to allocate ssnmap.

This is needed to avoid kmalloc()'s 128K limit when an association is
initialized with a large no. of streams(more than 65000 inbound +
outbound streams).

22 years agoia64: Drop some unneeded __KERNEL_SYSCALL__ defines (found by Dave Jones) and
David Mosberger [Thu, 12 Feb 2004 08:54:23 +0000 (00:54 -0800)]
ia64: Drop some unneeded __KERNEL_SYSCALL__ defines (found by Dave Jones) and
      an unnecessary include of <linux/config.h>.

22 years ago[PATCH] ia64: Delete redundant ia64_mca_check_errors()
Keith Owens [Thu, 12 Feb 2004 08:51:37 +0000 (00:51 -0800)]
[PATCH] ia64: Delete redundant ia64_mca_check_errors()

salinfo automatically processes all record types on all cpus at boot
time, ia64_mca_check_errors is now redundant.  This also removes the
need for a called_from_init flag on ia64_mca_log_sal_error_record.

22 years ago[PATCH] ia64: kill misc. warnings
Jesse Barnes [Thu, 12 Feb 2004 08:40:32 +0000 (00:40 -0800)]
[PATCH] ia64: kill misc. warnings

Fix up some misc warnings: include module.h in cache.c since it uses
EXPORT_SYMBOL(), fix printk format arg in sn_serial.c.

22 years ago[PATCH] Fix a link conflict between radeonfb and the radeon DRI
Benjamin Herrenschmidt [Thu, 12 Feb 2004 05:05:48 +0000 (21:05 -0800)]
[PATCH] Fix a link conflict between radeonfb and the radeon DRI

They both define radeon_engine_reset. Here's a fix (from Panagiotis Papadakos).

22 years agoFix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
Linus Torvalds [Thu, 12 Feb 2004 05:00:34 +0000 (21:00 -0800)]
Fix "bus_for_each_dev()" and "bus_for_each_drv()", which did not
correctly handle the "restart from this device/driver" case, and
caused oopses with ieee1394.

This just uses "list_for_each_entry_continue()" instead.

Add helper macro to make usage of "list_for_each_entry_continue()"
a bit more readable.

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

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

22 years agoppc64: remove autogenerated file, and incorrect header inclusion
Linus Torvalds [Wed, 11 Feb 2004 23:25:01 +0000 (15:25 -0800)]
ppc64: remove autogenerated file, and incorrect header inclusion

22 years ago[Bluetooth] Fix non-blocking socket race conditions
Marcel Holtmann [Wed, 11 Feb 2004 22:37:02 +0000 (23:37 +0100)]
[Bluetooth] Fix non-blocking socket race conditions

A poll on a non-blocking listen socket signals readable too early. The
first time the socket should be readable is if a child is in connected
state. And don't signal writeable if the socket is in config state.

Noticed by Jean Tourrilhes <jt@hpl.hp.com>