Summary of changes from v2.5.53 to v2.5.54
============================================
Moved the net changes to arch/um/drivers/Makefile into updates to a
void a merge conflict.
Merged the network fixes from the 2.4 pool.
Copied in the new files for the slirp transport and slip cleanup.
Merged the help text from the 2.4 Configure.help.
Added the UML HOWTO in Documentation/uml.
Updated to 2.5.48
Merged the get_config changes from 2.4.
A few more fixes to get 2.4.48 to boot.
Merged a number of bug fixes from the 2.4 pool.
Moved the ptproxy code from arch/um/ptproxy to
arch/um/kernel/tt/ptproxy.
Fixed the Makefiles so that the ptproxy move from arch/um/ptproxy
to arch/um/kernel/tt/ptproxy works.
Merged the os_kill_process and the driver from_user changes from
the 2.4 pool.
Also merged some other cleanups.
Fixes to the last merge.
Merged the signal frame cleanups and fixes from 2.4.
Fixed a couple of buglets in the signal frame merge.
Merged the skas exec reorg.
Declared mode_tt in user_util.h.
Merged most of the rest of the skas changes.
Added arch/um/kernel/skas/util/*, which I missed somehow.
Added ptrace-skas.h and ptrace-tt.h.
Added mode.h, mk_constants_kern.c, mk_constants_user.c, and um_mmu.h
Added the mode mmu.h and mode.h headers.
Changed the config to pull in zlib.
Added arch/um/include/mode_kern.h
Added a batch of files under arch/um/kernel/skas.
Added a bunch of C files under arch/um/kernel/skas and
arch/um/kernel/tt.
Added skas/mem_user.c and tt/gdb.c
Added the uaccess changes from the skas merge.
A number of small fixes for the uaccess merge.
Applied the sigcontext changes in the skas code.
Some minor build and compilation fixes to the copy_sc merge.
Merged the IP checksum changes from the skas code.
Removed the checksum.S symlink from arch/um/sys-i386/Makefile.
Some small build fixes to the IP checksum merge.
Merged a number of small skas changes.
Minor build fixes to the last batch of skas merges.
Merged the tlb.c changes from the skas patch.
Fixed various build problems with the tlb.c merge.
Merged the rest of the skas changes.
Finished the skas merge by eliminating a syntax error, fixing the
new compilation warnings, and fixing a call to handle_page_fault.
Updated to 2.5.49, which involved fixing the calls to do_fork.
A whole lot of small changes to sync up the 2.4 and 2.5 pools
somewhat. Mostly whitespace changes, plus some code movement.
Also added checksum.S to the repository, which I had somehow
missed before.
Small fixes to sync up the 2.4 and 2.5 pools.
Also fixed a stupid signal handling bug.
Fixed a stupid compile bug.
Updated to 2.5.50.
Added a couple of includes as part of the 2.5.50 update.
Added in Radeon PCI ids into pci_ids.h from radeon.h. IGA fbdev uses C99 now.
Fixes from the PPC guys. Lots of small fixes.
Anothe rattempt at commting.
Updates for the STI fbdev and console driver.
Updates to the NVIDIA driver. We now support more cards. I still have more hacking to do.
kbuild: Fix sounds/synth/emux/Makefile
Due to Sam's changes, kbuild doesn't like Makefiles which don't set
obj-{anything} at all anymore.
This caused problems with sounds/synth/emux, but just cleaning up
things there is enough to fix it.
kbuild: Fix "make some/file.lst"
For debugging it's sometimes useful to have C code / asm intermixed and
the asm properly relocated, that's what "make some/file.lst" does.
After fixing a small bug, it even works again now.
Applied updates from 2.5.51 and 2.5.52.
Removed includes of Rules.mk.
Updated to 2.5.52. A couple of changes relating to system call
restarting.
Voodoo 1 ported to new api. STI and NVIDIA updates. MDA console fixes. Moved the logo code from fbcon to fbdev.
Port of chipsfb driver to new api. Removed the fontwidth8 option. Let the xxxfb_imageblit function handle this. 64 bit m achine fixes.
Merge with davem work.
Merged with Linus tree. Some conflicts to resolve.
[PATCH] USB Joypad quirk
Orginally from Vojtech Pavlik (16th June 2002 via email), to fix my
'broken' USB joypad, Fully tested in both 2.4.x and 2.5.52 (and
2.5.52-bk).
[PATCH] scanner.c: Accept scanners with more than one interface
This patch allows the scanner driver to accept devices with more than
one interface. That's needed by some multi-function periphals (e.g.
scanner+printer).
[PATCH] scanner.c: fix compilation error with debugging enabled
This patch removes a now unnecessary debug line taht broke compilation
when debugging was enabled.
[PATCH] USB ipaq driver update
The ActiveSync USB "protocol" seems to be the same for all WinCE
devices seen so far. So it seems reasonable to pre-emptively support
all devices which work with ActiveSync.
AIC7XX_PROBE_EISA_VL should depend on SCSI_AIC7XXX
Make the default values for DS/ES be the _user_ segment descriptors
on x86 - the kernel doesn't really care (as long as it's all flat 32-bit),
and it means that the return path for sysenter/sysexit can avoid re-loading
the segment registers.
NOTE! This means that _all_ kernel code (not just the sysenter path) must
be appropriately changed, since the kernel knows the conventions and doesn't
save/restore DS/ES internally on context switches etc.
[PATCH] Save fs/gs over vm86 mode switch
In vm86 mode we did not save/restore %gs [and %fs] properly, which
breaks new-style threading.
More STI updates.
Ported Voodoo1 driver to new api.
kbuild: fix bug in scripts/kallsyms.c
kallsyms.c generates the symbol table in a .S file using the assembler .string
macro. Unfortunately, the .string macro is implemented in a platform specific
way (it may or may not zero terminate the string). On parisc, it doesn't zero
terminate, so the symbol table search doesn't work.
The solution is to replace .string with .asciz which is guaranteed to do the
correct thing on all platforms.
kbuild: Stem compression for kallsyms
This patch implements simple stem compression for the kallsyms symbol
table. Each symbol has as first byte a count on how many characters
are identical to the previous symbol. This compresses the often
common repetive prefixes (like subsys_) fairly effectively.
On a fairly full featured monolithic i386 kernel this saves about 60k in
the kallsyms symbol table.
The changes are very simple, so the 60k are not shabby.
One visible change is that the caller of kallsyms_lookup has to pass in
a buffer now, because it has to be modified. I added an arbitary
127 character limit to it.
Still >210k left in the symbol table unfortunately. Another idea would be to
delta encode the addresses in 16bits (functions are all likely to be smaller
than 64K). This would especially help on 64bit hosts. Not done yet, however.
No, before someone asks, I don't want to use zlib for that. Far too fragile
during an oops and overkill too and it would require to link it into all
kernels.
PnP update
- added configuration templates - configuration can be changed from the probe() callback
- new PnP ID - NSC6001
- fixes in PnP BIOS code - no more oopses
- fixed typos and thinkos in 8250_pnp.c
[AGP] remove unused variable from 8151 GART driver.
PnP update
- removed ISAPnP members from PCI structures
- isapnp.h cleanups (removal of duplicates)
- added compatible functions (pnp_find_dev and pnp_find_card)
- i82365 (pcmcia driver) - ported to new PnP layer
The fast poll code incorrectly assumed that "sizeof pp" was the same
as "offsetof pp->entries". Which happens to be true on 32-bit platforms,
but not on 64-bit ones.
From Anton Blanchard.
[PATCH] Make swsuspend restore DS/ES segments properly
[PATCH] USB: make the usbserial driver have the same name for the tty, usb, and module subsystems.
[PATCH] USB: convert visor driver to use dev_err() and dev_info() macros
[PATCH] USB: convert usbserial core to use dev_err() and dev_info() macros
[PATCH] fix PCI bridge handling in probe.c
As Ben pointed out, disabling the PCI-to-PCI bridge before scanning
its secondary bus is a serious bug.
It can easily crash even on PCs when booting with "pci=assign-busses"
option. For example, that code completely disconnects the AGP bridge
(along with VGA behind it) from the bus and then calls pci_do_scan_bus()
where printks are quite possible.
[PATCH] amd756 and amd8111 sensors support
Add support for amd756 and amd8111 sensors
[PATCH] USB: convert empeg driver to use dev_err() and dev_info() macros
[PATCH] USB: convert io_edgeport driver to use dev_err() and dev_info() macros
[PATCH] USB: convert io_ti driver to use dev_err() and dev_info() macros
[PATCH] USB: convert ir-usb driver to use dev_err() and dev_info() macros
[PATCH] USB: convert keyspan driver to use dev_err() and dev_info() macros
[PATCH] USB: convert pl2303 driver to use dev_err() and dev_info() macros
[FB] Fix minor typos wrt readq/writeq support on 64-bit targets.
[FB] First cut at updating tgafb to 2.5 fb api. A large
scale rewrite modeled off of skeletonfb.c.
One more update for osst in 2.5.53
Below is a patch for osst, against 2.5.53, which fixes a couple of bugs,
among which a pretty likely oops, and includes some cleanup.
At this point I'm pretty satisfied that it works properly.
[PATCH] USB: take out private pointer from struct usb_serial_port
The struct device pointer should be used instead.
[PATCH] USB: fix up the usb-serial drivers due to the removal of the struct usb_serial_port private pointer.
Forward ported a bunch of fixes from 2.4.
[PATCH] USB: add usb_get_serial_data() and usb_set_serial_data() functions.
This is to access the private pointer in struct usb_serial
[PATCH] USB: use usb_get_serial_data() and usb_set_serial_data() functions.
Fixed the calls to os_get_process in port_kern.c
Workaround (ide-timing.h) for many ATAPI CD/DVD-ROMs and burners.
They need extended (beyond spec) address setup timing, and as such
don't work on recent VIA chipsets.
[PATCH] usbcore dma updates (and doc)
Attached is a patch leveraging some of the new generic dma stuff:
- Replaces dma mapping calls in usbcore with generic equivalents.
This is a minor code shrink (which we'd hoped could happen).
- Pass dma mask along, so net drivers can notice it'd be good to
set NETIF_F_HIGHDMA; or scsi ones can set highmem_io. (Some
Intel EHCI setups are able to support this kind of DMA.)
- Updates one net driver (usbnet) to set NETIF_F_HIGHDMA when
appropriate, mostly as an example (since I can't test this).
- Provides Documentation/usb/dma.txt, describing current APIs.
(Unchanged by this patch, except dma mask visibility.)
- Converted another info() to dev_info(), and likewise a couple
dbg() to dev_dbg() conversions in the modified routine.
The number of FIXMEs was conserved: the generic API doesn't yet
fix the error reporting bugs in the PCI-specific mapping API.
[PATCH] Extra parameters removed from the ultracam driver
> > Ultracam was derived from ibmcam and probably copied the list of
> > parameters too. IBM cameras have this parameter, and use it.
>
> This means that it says "MODULE_PARM(lighting, "i");" and there is no
> variable called lightening. The new module code is stricter about
> this. Someone please fix.
Here is the patch for 2.5.53. It removes parameters that have no use
in the ultracam driver (and they were broken anyway).
[PATCH] Handle kmalloc fails: drivers/usb/input/pid.c
This patch tries to check the return value of kmalloc taking the necesary
action to solve the problem.
[PATCH] USB: remove private_data pointer from struct usb_interface, as it shouldn't be used anymore
Also added usb_get_intfdata() and usb_set_intfdata() functions to set the
struct usb_interface private pointer easier.
USB: fix compiler warnings in the isdn usb drivers.
[PATCH] USB misc drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB serial drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB core drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB media drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB skeleton driver: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB class drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB image drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB input drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB skeleton: missed a dev_get_drvdata usage
[PATCH] USB net drivers: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB storage driver: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB drivers outside /drivers/usb: remove direct calls to dev_set* and dev_get*
change dev_set_drvdata() and dev_get_drvdata() to
usb_set_intfdata() and usb_get_intfdata()
[PATCH] USB: fix up some bugs in the cpia driver
[FB] Use u32 instead of unsigned long for cfbimgblt bit ops.
The code that maps bits to pixels is not prepared to handle
a 64-bit long.
[TGAFB] Minor bug fixes to obtain a working TGA console
with the new FB API.
Cset exclude: rth@are.twiddle.net|ChangeSet|20021227230408|33498
[PATCH] USB: rename usb_free_dev() to usb_put_dev()
This was done to make the next reference count patch easier,
and because almost everyone was already calling usb_put_dev() anyway...
[PATCH] USB: use the driver model to handle reference counting of struct usb_device
[PATCH] USB: fix kaweth driver which was accessing the struct usb_device refcnt variable directly.
[PATCH] USB: more dev_printk() cleanups.
[PATCH] Fix pci-dma compatibility code for "dev == NULL"
The compat API doesn't cope correctly if struct pci_dev is NULL, as it
can be for the x86 fake pci_dev handling.
[PATCH] Modules without init functions don't need exit functions
If modules don't use module_exit(), they cannot be unloaded. This
safety mechanism should not apply for modules which don't use
module_init() (implying they have nothing to clean up anyway).
o sparc: add missing __{start,stop}___param to vmlinux.lds.S
Rusty missed this one.
Enable Voyager in current kernel
separate out trampoline so other subarchs can use it
Move voyager sysrq to V key and remove from char/sysrq.c
Patch suggested by Randy Dunlap
subarch: change SMP define to X86_HT
Make the TSC a run-time specifier only
Also localises the parameters and setup into kernel/timers
Adds an external flag so that the tsc can be disabled from the
machine specific setup (used by voyager)
boot with small GDT
Switch to larger operating GDT after moving to protected mode
This is necessary to boot on certain subarchs (voyager)
Fix for m68k. They need the struct font_desc super early in the boot process.
[PATCH] Spurious recompile with defconfig
When compiling aic7xxx in 2.5.53 with defconfig the kernel always
recompiles because dependency for reg_print.c is not per default in the
aic7xxx Makefile.
Simple correction is to make PRETTY_PRINT dependend on BUILD_FIRMWARE.
Get rid of atari-specific "ide_intr_lock" from generic IDE code
[PATCH] M68k {,smp_}read_barrier_depends()
Add definitions for {,smp_}read_barrier_depends()
[PATCH] M68k do_coredump() update
M68k: do_coredump() gained an extra argument in 2.5.52
[PATCH] M68k module list updates
M68k module list updates, inspired by ia32 traps.c in 2.5.48
[PATCH] M68k do_fork() updates
M68k: update for changed do_fork() semantics in 2.5.49
[PATCH] M68k *__param sections
M68k: add *__param to link files (needed for 2.5.52)
[PATCH] M68k thread_info.restart_block
M68k: add restart_block field to struct thread_info (needed for 2.5.51)
[PATCH] STRAM for_each_process()
for_each_task() was renamed to for_each_process() in 2.5.35
[PATCH] NCR5380 unbalanced curly brace
Fix inbalance of curly braces if AUTOSENSE is not defined.
[PATCH] struct font_desc
M68k: struct fbcon_font_desc was renamed to struct font_desc in 2.5.51
[PATCH] Atari NCR5380 SCSI: bitops operate on long
Atari NCR5380 SCSI: bitops operate on long, not char.
Note: the preprocessor stuff just above checks for MAX_TAGS being a multiple of
32, so dividing by 32 is OK.
[PATCH] Sun-3 and Atari NCR5380 scsi_host_hn_get()
Scsi_Host.next was removed in 2.5.44, convert to use scsi_host_hn_get()
[PATCH] Ataflop compile fix
Ataflop: Add missing =
[PATCH] Amiflop incorrect sti()
Amiga floppy: fix incorrect sti()
[PATCH] M68k local_irq_count update
M68k: local_irq_count was moved to the hardirq bitmask of preempt_count() (cfr.
asm/hardirq.h).
[PATCH] NCR53C9x ESP updates
NCR53C9x ESP SCSI driver updates:
- Port recent 2.5.x Sun/SPARC ESP SCSI driver changes to the NCR53C9x ESP
SCSI drivers
- Move NCR53C9x ESP host templates and host adapter-specific definitions from
the host adapter-specific header files to the source files
- Move common NCR53C9x ESP prototypes from the host adapter-specific header
files to NCR53C9x.h
This affects the following SCSI host adapters:
- M68k/PPC Amiga Blizzard 1230IV, 1260, and 2060
- M68k/PPC Amiga BSC Oktagon
- M68k/PPC Amiga Cyberstorm and Cyberstorm II
- M68k/PPC Amiga Phase 5 Fastlane
- MIPS DECstation NCR53C94
- MIPS JAZZ Fas216
- M68k Mac 53C9x
- ia32 MCA 53C9x
- M68k Sun-3x ESP
[PATCH] duplicate bwtwofb Makefile entry
Remove duplicate Makefile entry for bwtwofb
[PATCH] Mac/m68k VIA updates
Mac/m68k VIA updates (from Ray Knight in 2.4.x)
- PowerBooks and early Macs use different bits for nubus.
- Add loglevel macros to printk.
[PATCH] struct font_desc external use
Move the definition of struct font_desc back to , so it can be
used outside of drivers/video/console (needed for Mac/m68k boot progress
messages).
[PATCH] M68k parport local_irq*() updates
Convert m68k parport drivers to new local_irq*() framework:
- Atari parport
[PATCH] M68k net local_irq*() updates
Convert m68k net drivers to new local_irq*() framework:
- Amiga A2065 and Ariadne Ethernet
- Atari Bionet-100 and Pamsnet ACSI Ethernet
- Atari LANCE Ethernet
- Mac NC8390, CS89x0, MACE, and Sonic Ethernet
- Sun-3 i82586 and Sun-3/3x LANCE Ethernet
[PATCH] M68k bogus prototype
M68k: Remove bogus prototype for dump_fpu(), which conflicts with the one in
, and is wrong anyway.
[PATCH] BVME6000 core local_irq*() updates
Convert core BVME6000 code to new local_irq*() framework
[PATCH] Sun-3x core local_irq*() updates
Convert core Sun-3x code to new local_irq*() framework
[PATCH] Mac/m68k core local_irq*() updates
Convert core Mac/m68k code to new local_irq*() framework
[PATCH] M68k block local_irq*() updates
Convert m68k block drivers to new local_irq*() framework:
- Atari ACSI
- Amiga floppy
- Atari floppy
- Macintosh IIfx/Quadra 900/Quadra 950 floppy
[PATCH] M68k char local_irq*() updates
Convert m68k char drivers to new local_irq*() framework:
- Amiga builtin serial
- Amiga A2232 multiserial
- MVME167 serial
- MVME147/162 and BVME6000 SCC
[PATCH] MVME147 core local_irq*() updates
Convert core MVME147 code to new local_irq*() framework
[PATCH] M68k fbdev local_irq*() updates
Convert m68k fbdev drivers to new local_irq*() framework:
- Atari builtin graphics
[PATCH] M68k misc_register audit
Correct error found in arch/m68k/ whilst auditing the use of misc_register()
in 2.5.44.
misc_register() returns 0 on success, and a negative number on failure.
(Trivial patches misc_register-02[67] from Michael Still )
[PATCH] Mac/m68k early startup fixes
Mac/m68k early startup fixes (from Ray Knight in 2.4.x)
- Correct memory mapping for Macintosh.
- Prevent screen output from appearing twice.
[PATCH] Sun-3 core local_irq*() updates
Convert core Sun-3 code to new local_irq*() framework
[PATCH] M68k mac local_irq*() updates
Convert m68k Mac drivers to new local_irq*() framework:
- Mac IIfx and Quadra 9x0 ADB
- Mac II and IIsi ADB
- Powerbook ADB
[PATCH] M68k initramfs updates
M68k initramfs updates:
- Define LDFLAGS_BLOB
- Add .init.ramfs section to linkfiles
[PATCH] Q40/Q60 core local_irq*() updates
Convert core Q40/Q60 code to new local_irq*() framework
[PATCH] MVME16x core local_irq*() updates
Convert core MVME16x code to new local_irq*() framework
[PATCH] Atari core local_irq*() updates
Convert core Atari code to new local_irq*() framework
[PATCH] Nubus local_irq*() updates
Convert core NuBus code to new local_irq*() framework
[PATCH] Mac/m68k config fixes
Mac/m68k fixes (from Ray Knight in 2.4.x)
- Correct model definitions.
- Add loglevel macros to printk messages.
- Correct missing and incorrect defines.
[PATCH] Missing #include
Add missing #include
[PATCH] WD33C93 SCSI irq framework updates
Convert the WD33C93 SCSI driver core to the new irq framework (from Marc
Zyngier )
This driver core is used by the following drivers:
- M68k/PPC Amiga A3000, A2091/A590, and GVP II SCSI
- M68k MVME147 SCSI
- MIPS SGI IP22 (Indy, Challenge S, and Indigo 2) SCSI
[PATCH] M68k MAP_* definitions
M68k mman.h updates: add MAP_POPULATE and MAP_NONBLOCK
[PATCH] Sun-3/3x PTE updates
Sun-3/3x PTE updates (from Sam Creasey)
[PATCH] M68k module updates
M68k module updates
- Update module definitions
- Remove references to obsolete module syscalls
[PATCH] M68k SCSI host templates
Move more M68k SCSI host template definitions from the device-specific header
files to the source files:
- Amiga A3000, A2091/A590, A4000, A4091, GVP II, and WarpEngine SCSI
- Atari NCR5380 SCSI
- MVME147, MVME16x, and BVME6000 SCSI
- Mac NCR5380 SCSI
- Sun-3/3x OBIO and VME SCSI
[PATCH] Sun-3 SBUS updates
Sun-3 SBUS updates (from Sam Creasey):
- Rename struct linux_sbus_device to struct sbus_dev for source code
compatibility with SPARC
- Make sbus_init() an initcall
[PATCH] register_console() comment typo
register_console(): Fix typo in comment
[PATCH] Mac/m68k Nubus updates
Mac/m68k Nubus updates (from Ray Knight in 2.4.x)
- Add missing Nubus devices.
[PATCH] Sun-3 serial
Remove Sun-3/3x serial support, use the new serial layer instead
[PATCH] Amiga FastLane SCSI z_io{re,un}map()
Amiga FastLane SCSI: Zorro drivers must use z_io{re,un}map().
[PATCH] STRAM printf() format
STRAM: kill warning because of incorrect printf()-style format
[PATCH] z2ram: unused variables
z2ram: kill unused variables
[PATCH] Q40 keyboard warnings
Kill warnings in Q40 keyboard driver:
- wrong return type
- unused variable
[PATCH] M68k scsi local_irq*() updates
Convert m68k scsi drivers to new local_irq*() framework:
- 53c7xx SCSI core
- NCR53C9x ESP SCSI core
- Atari NCR5380
- Mac NCR5380
- Sun-3 OBIO and VME NCR5380
[PATCH] Documentation/Changes for modules
the url for module-init-tools has been fixed, and all the references to
modutils (outside source) has been updated if necessary.
more patches to follow to fix up the modules.conf/conf.modules vs.
modprobe.conf references.
[PATCH] fix uninitialized timer in yenta.c
The following patch fixes a "uninitialized timer" message when loading
yenta_socket.ko.
Fix AGP module oops
The stack trace shows that we should be in agp_find_max() as
called from agp_backend_initialize(). However, agp_find_max()
is __init and its code has already been removed at this point
(since agpgart and intel-agp are separate modules), causing
the kernel to execute random code and eventually oops.
The patch below works around this by changing agpgart's __init
code & data to normal code & data. Tested, works for me.
Enable prefetching on P4/PIII class machines with CONFIG_X86_PREFETCH
[PATCH] share i386/x86-64 oprofile code
The x86-64 port shares the oprofile code with i386. This needs some
minor changes in the i386 oprofile, mostly to use
instruction_pointer(regs) to access the EIP instead of referencing it
directly. On i386 this is a nop.
[PATCH] x86-64 update
- Optimize __copy*user a bit.
- Merge with 2.5.53/i386
- Fix broken 32bit signal handling.
- Implement AT_SYSINFO and a vsyscall page for 32bit programs.
- Fix 32bit SYSCALL entry point to handle 6 arguments and restart correctly.
- Add oprofile support (Vojtech Pavlik, with changes by me)
This is shared code with i386.
[PATCH] Add AMD K8 support to 2.5.53.
Add support for the AMD Opteron/Athlon64/Hammer/K8 line to the 32bit
kernel.
Mostly just reusing Athlon code with some changed CPU model checks.
The Hammer has model number 15.
I also fixed rmb()/mb() to use the SSE2 mfence/lfence instructions
on P4 and Hammer. They are somewhat cheaper than the locked cycle.
Radeon driver port to final api. Cleanup of vga16fb.
fix aic7xxx highmem bouncing
- add extra pci_set_dma_mask
- remove unnecessary #ifdef CONFIG_HIGHIO left over from 2.4
[PATCH] deprecated function attribute
This patch adds support for usage of the attribute as "deprecated" and
is backward-compatible. Usage is:
int deprecated foo(void)
etc..
If we mark a function as deprecated, then each use of the function emits
a warning like:
foo.c:12: warning: `baz' is deprecated (declared at bar.c:60)
Which is very informative, giving both the location of each usage and
where the little bastard is declared.
[PATCH] mark check_region "deprecated"
This marks check_region "deprecated".
This gives a nice warning messages for programs that still use
check_region for example:
drivers/parport/parport_pc.c:2215: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:111)
Lost CONFIG_X86_TSC in voyager merge
Update x86 "defconfig" to something that matches our current config
a bit more closely.
[PATCH] adds st_blocks for [lf]stat() to ramfs
This makes ramfs support proper st_blocks accounting.
[PATCH] Atari Falcon IDE: clean up ide_intr_lock handling
Here's a fix on top of the patch you commited:
- Rename ide_intr_lock to falconide_intr_lock
- Add falconide_intr_lock to the Falcon IDE driver itself
- Test for CONFIG_BLK_DEV_FALCON_IDE instead of CONFIG_ATARI since
falconide_intr_lock is Falcon IDE-specific, not Atari-specific
Fix some special cases for "sysenter" - some system calls depend on
doing a full register restore on return to user space, and thus require
the long system call exit path (ie "iret" instead of "sysexit").
* execve() - we need to set edx/ecx correctly at process startup.
* iopl() - needs iret to restore eflags with new IOPL levels.
[PATCH] Simplify ramfs_getattr() and move it to the generic libfs.c
This moves ramfs_getattr() to fs/libfs.c as simple_getattr()
[PATCH] fix "deprecated" typos
This corrects the misspellings of "deprecated" in a few places.
Force 64-bit extend for x86 __put_user_u64(), since nothing in the
inline asm will do it for us.
[PATCH] remove CONFIG_X86_NUMA
It's only used to hide two entries in arch/i386/Kconfig.
[PATCH] nommu systems can't support /proc//maps
So stub it out, similar to /proc//wchan for !CONFIG_KALLSYMS
[PATCH] rewrite i2c-amd756 to resemble a linux driver
This is a large rewrite of i2c-amd756 (added by Pavel post 2.5.53
although it's not his code) into a driver following linux driver
guide lines. As a side-effect it shrinks the driver by almost one
fifth. Tested with an early AMD756-based board.
- use proper PCI API
- use pr_debug instead of #ifdef DEBUG mess
- use named initializers
- completly restructure init/exit code
- mark everything static
[PATCH] check_region remove for drivers/i2c/
Trying to get the i2c code in shape at some point..
[PATCH] make i2c use initcalls everywhere
The use of explicit initializers all over the i2c core anoyed for
long, but the lm_sensors merge with two new files just for initializers
was too much. Conver all of i2c to sane initialization (mostly
initcall, but some driver also got other cleanups in that area)
[PATCH] more deprectation bits
Rename the deprecated attribute to __deprecated to make it obvious
this is something special and to avoid namespace clashes.
Mark old module interfaces deprecated.
[PATCH] avoid deprecated module functions in core code
A second start at removing them from kernel/*.c and fs/*.c.
Note that module_put is fine for a NULL argument.
Put X86_NUMAQ and X86_SUMMIT under the "Subarchitecture Type" config.
Add proper dependencies for the i2c chips/busses
[PATCH] INIT_TASK/INIT_TSS cleanup
Ingo added saved_fs, saved_gs to thread_struct and didn't add
corresponding initializers to INIT_THREAD. We assign NULL to an
unsigned int and the compiler warns.
The patch converts it to use designated initialisers and fixes the
io_bitmap initializer in the process.
[PATCH] remove unused local in drivers/pci/probe.c
[PATCH] Fix compile warning in drivers/serial/core.c
drivers/serial/core.c:390: warning: `quot' might be used uninitialized in this function
It's a compiler bug. This change makes it go away.
[PATCH] disable dead functions smp_read_mpc_oem() and
These functions have no references. Just ifdef them away for now; someone
may want them back.
[PATCH] fix wakeup_secondary_cpu warning, code bloat
Only one of wakeup_secondary_via_NMI() and wakeup_secondary_via_INIT() is
needed. We're currently compiling both, which generates an unused function
warning.
[PATCH] Embed __this_module in module itself.
Rather than have the module loader the module structure and
resolve the symbols __this_module to it, make __this_module a real
structure inside the module, using the linkonce trick we used for
module names.
This saves us an allocation (saving a page per module on
archs which need the module structure close by), and means we don't
have to fill in a few module fields.
[PATCH] Trivial patch for param.h: make it const.
Add a const declaration to the __module_param_call so __param section
gets more correct attributes.
[PATCH] Trivial patch for module.c: Strtab by sh_link field.
The strtab section is supposed to be found using the symtab's
sh_link field, not by name.
[PATCH] clean up subarchitecture selection
shorter and/or more descriptive choice names, add a full (tho still
commented out entry) for the visw, based on the 2.4 Configure.help
entry.
[PATCH] remove superflous module use count handling in jbd
journal_init_common is always called from ext3 which already makes
jbd.ko unloadable by relying on exported functions.
2.5.53 SCSI_IOCTL_GET_IDLUN+GET_BUS_NUMBER revisited
Currently for block devices both the SCSI_IOCTL_GET_IDLUN and
SCSI_IOCTL_GET_BUS_NUMBER ioctls yield the value 0 (type: int).
Various applications that utilize the sg driver use these ioctls
to work out the relationship between sg devices and their higher
level counterparts in the sd, sr, st and osst drivers. Examples
that spring to mind are cdrecord, cdparanoia, SANE and sg_utils.
This has been discussed in an earlier threaded started by me:
http://marc.theaimsgroup.com/?l=linux-scsi&m=103967899608891&w=2
in which my patch removed the ioctls in question from the block
level. This broke non-scsi block devices that used applications
that thought they were talking to an sg device **.
The attachment fine tunes the original patch: for scsi block
devices (i.e. owned by the sd or sr drivers) these 2 ioctls
are redirected to the scsi mid level; for non-scsi block
devices they will yield the value as 0 as they do now in
lk 2.5.53 .
** This "yield 0" strategy will come unstuck when 2 or more
cd writers (for example) are connected to the same box.
Hence to be well formed, these ioctls (together) should
produce unique tuples for each device (be they ATA(PI) or
SCSI).
[PATCH] more module warning fixes
this is only for the module-related warning introduced by my
__deprecated patch.
TTY: Change tty_*register_devfs() to tty_*register_device()
Also got rid of the unused flag paramater.
TTY: add tty_devclass to the tty core.
TTY: Use the tty_devclass for all usb-serial devices.
TTY: replace MIN and MAX macro usages with min() and max()
fix null agp_bridge.dev with KT400
[PATCH] get rid of TRUE/FALSE abuse in the scsi midlayer
Kernel codingsyle explicitly forbids it. Fortunately there aren't many
useres left.
[AGP] CONFIG_AGP3 depends on CONFIG_AGP
[PATCH] Fix MODULE_PARM for arrays of s.
I interpreted "1-10s" to mean a string of 1-10 chars. It actually
means 1-10 comma-separated strings.
[PATCH] Minor compile fix for some modules.
Expose declaration of __this_module outside #ifdef KBUILD_MODNAME
(which is not defined for objects included in two modules).
Link in fix and cleanup plus a typo in pmagb-b-fb.h file.
[PATCH] fix i2c module handling
Add a struct module *owner field to struct i2c_adapter and i2c_algorithm
and do refcouting on them before use instead of the inc_use and dec_use
callbacks. While at it convert those structures to named initializers.
[PATCH] i2c updates
a few new ids, a name change and 10 lines of new code, ported over from
the external i2c package.
[PATCH] remove obsolete i2c headers
* i2c-elektor.h is empty except for comments
* sensors.h contains register offsets for tons of hw monitoring chips,
move the few we actually need into the two drivers that use it
(there is _no_ overlap)
[PATCH] more obsolete module API fixes
completly remove the old try_inc_mod_count()
[PATCH] fix numaq builds
NUMAQ does not link - it wants the smp_read_mpc_oem() which I recently disabled.
[PATCH] more module parameter parsing bugs
We restore the ","s after parsing: if expect to keep pointers to this
stuff, we must not do that.
[PATCH] ide-tape driver update
Here is my multiple-bug-fix patch for the ide-tape driver.
The corresponding patch for 2.4.21 has already been accepted by Marcelo.
Crapectomy
Avoid unused variable in route.c