|
|
|
Lue: Edellinen koko ChangeLog.
lyhennetty ChangeLog.
Summary of changes from v2.6.6-rc1 to v2.6.6-rc2
============================================
[IEEE1394/OHCI]: Deal with some OHCI implementations that have an invalid max_rec field.
IEEE1394/Lynx(r1182): Explicitly set LCtrl bit in phy register set.
[TG3]: Jumbo frames and FTQ reset patch.
1. Set extended packet length bit in phy register 0x18 shadow register 0
on all chips that support jumbo frames (i.e. all chips except 5705 and
its variants). Jumbo frame reception is less reliable (more CRC errors)
if this bit is not set. This bit can be set regardless of the current
MTU setting.
2. Remove FTQ reset during chip init. This is the best fix for the ASF
race condition problem that I mentioned a few months ago. The FTQ reset
is redundant as it is already reset during GRC reset.
[TG3]: Just completely delete the disabled FTQ reset code.
Driver Core: fix spaces instead of tabs problem in the Kconfig file.
add sysfs support for vc devices.
VC: fix bug in vty_init() where vcs_init() was not called early enough.
It was being used before initialized, not nice :(
Driver class: remove possible oops
This happens when the device associated with a class device goes away before
the class does.
[PATCH] QIC-02 tape drive hookup to classes in sysfs
Here is a patch to hook up the qic02 tape device to have class
support in sysfs. I have verified it compiles. I do not have access to
the hardware to test. Could someone who does please verify?
From the file:
* This is a driver for the Wangtek 5150 tape drive with
* a QIC-02 controller for ISA-PC type computers.
* Hopefully it will work with other QIC-02 tape drives as well.
[PATCH] add class support to floppy tape driver zftape-init.c
Here is a patch to add class support to zftape-init.c:
MODULE_DESCRIPTION(ZFTAPE_VERSION " - "
"VFS interface for the Linux floppy tape driver. "
"Support for QIC-113 compatible volume table "
"and builtin compression (lzrw3 algorithm)");
I have verified it compiles but do not have the hardware to test it.
[PATCH] Sysfs for framebuffer
the following patch (against 2.6.5-rc2) teaches fb to use class_simple.
With this patch udev will automagically create device nodes for each
framebuffer registered. Once all drivers are converted to
framebuffer_{alloc,release} we can switch to our own class.
This is what sysfs dir looks like:
notebook:~# tree /sys/class/graphics/
/sys/class/graphics/
`-- fb0
`-- dev
Remove mention of non-existent tulip.txt from Doc/netwrk/00-INDEX
[BK] ignore build-generated files in scripts/basic/ and drivers/md/
[MAINTAINERS] remove mention of defunct linux-via mailing list
Noticed by Adrian Bunk.
[PATCH] added class support to stallion.c
Here is a patch to add class support to the Stallion multiport
serial driver.
[PATCH] added class support to istallion.c
Here is a patch to add class support to the Stallion Intelligent multiport
serial driver.
[PATCH] tipar char driver (divide by zero)
A patch about the tipar.c char driver has been sent on lkml by Sebastien
Bourdeau. It fixes a divide-by-zero error when we try to read/write data
after setting the timeout to 0.
PCI: add ability to access pci extended config space for PCI Express devices
Patch originally written by Intel, cleaned up and made sane by
Matthew Wilcox and then tweaked a bit more by me.
From Matt's original email:
- Add cfg_size to struct pci_dev.
- Use it in sysfs and procfs.
- Introduce pci_find_ext_capability() for finding extended capabilities.
- Change the PCI_X_STATUS defines to match the spec (mea culpa there).
- Add defines for the extended capabilities.
[PATCH] PCI: Updates for PCI Express hot-plug driver
[PATCH] PCI Hotplug: Don't up() twice in acpiphp
On the error path, we currently try to up() a semaphore twice.
There was also a typo in an error message.
[PATCH] PCI Hotplug: Rewrite acpiphp detect_used_resource
There are two unrelated problems in acpiphp that are fixed by this patch.
First, acpiphp can be a module, so it is unsafe to probe the BARs of each
device while it initialises -- the device may be active at the time.
Second, it does not know about PCI-PCI bridge registers and so it reads
garbage for the last 4 registers of the PCI-PCI bridge card and doesn't
take into account the ranges that are forwarded by the bridge.
This patch avoids all that by using the struct resources embedded in
the pci_dev. Note that we no longer need to recurse as all the devices
on the other side of a PCI-PCI bridge have their resources entirely
contained within the PCI-PCI bridge's ranges.
[TG3]: Kill 'force' arg to tg3_phy_reset, it is always set.
[TG3]: At start of tg3_phy_copper_begin, force phy out of loopback mode.
[TG3]: Do not allow illegal ethtool advertisement bits.
[NETFILTER]: Optimization of ip_conntrack_proto_tcp:tcp_packet()
A: Pablo Neira
D: This patch cleans up tcp_packet(). No semantical change, just juggling
D: code pieces.
[NETFILTER]: Locking optimization in ip_conntrack_core
A: Pablo Neira
D: This patch puts tightens up a lock protected section in
D: ip_ct_refresh()
[NETFILTER]: Cleanup conntrack helper API
A: Pablo Neira
D: This patch changes the conntrack helper API. Rather than having the
D: helper allocate an expect on the stack and then have the core
D: kmalloc and memcpy, it is now the job of a helper to call
D: ip_conntrack_expect_alloc()
[NETFILTER]: Add nf_log handler, from Jozsef Kadlecsik.
[NETFILTER]: Missed these files in nf_log commit.
[NETFILTER]: Add 'raw' table, from Jozsef Kadlecsik.
Cset exclude: jgarzik@redhat.com|ChangeSet|20040323051558|61282
[PATCH] PCI: add DMA_{64,32}BIT constants
On Tue, 23 Mar 2004 00:23:05 -0500 Jeff Garzik wrote:
>>Yeah well... in the intervening time, somebody on IRC commented
>>
>>"so what is so PCI-specific about those constants?"
>>
>>They probably ought to be DMA_{32,64}BIT_MASK or somesuch.
Here's an updated patch, applies to 2.6.5-rc2-bk9.
I left the DMA_xxBIT_MASK defines in linux/pci.h, although
they aren't necessarily PCI-specific. Would we prefer to
have them in linux/dma-mapping.h ?
[TG3]: Add missing 5704 BX workaround, and fix typo in autoneg fix.
[TG3]: Set GRC_MISC_CFG prescaler more safely.
[TG3]: Fix serdes cfg programming on 5704.
[TG3]: When link is down, set stats coalescing ticks to zero.
[TG3]: Wait a bit for BMSR/BMCR bits to settle in PHY setup.
[PATCH] PCI: move DMA_nnBIT_MASK to linux/dma-mapping.h
[PATCH] PCI Hotplug: RPA PCI Hotplug - redundant free
Please commit the following patch, which removes a redundant call to a
cleanup function from an error path of the module init code.
[PATCH] PCI: Allow arch-specific pci_set_dma_mask and friends
The patch provides the ability for architectures to have custom
implementations of pci_set_dma_mask() and friends (dac_set_dma_mask
and set_consistent_dma_mask). The reason I need this is b/c I have
a chipset (Intel ARM IXP425) that has a broken PCI interface that
only allows PCI dma to/from the bottom 64MB of system memory. To get
around this limitation, I trap a custom dma-mapping implementation that
bounces buffers outside the 64MB window. At device discover time, my
custom platform_notify() function gets called and it sets the dma_mask
to (64MB-1) and in ARM's dma-mapping code, I check for dma_mask != 0xffffffff
and if that is true, I call the special bounce helpers. This works great
except that certain drivers (e100, ide-pci) call pci_set_dma_mask()
with 0xffffffff and the generic implementation only allows for the
architecture-defined pci_dma_supported() to return true or false. There
is no method for the architecture to tell the PCI layer "I can't set
the mask to 0xffffffff, but I can set it to this other value" and there
is no way to pass that back to the driver. What this means is that if
I have pci_set_dma_supported() return failure on full 32-bit DMA, the
driver will not initialize the card; however, if I return true,
pci_set_dma_mask() will set the dma mask to full 32-bits and I can no
longer trap and will have buffers that are not dma-able and cause
PCI master aborts. Both of those are not acceptable. IMHO, the
driver shouldn't care if the architecture has to bounce DMA outside of
64MB and since this is not something most architectures have to worry
about, the easiest way to get around the issue is by allowing custom
pci_set_dma_mask() for arches that need it but keeping the generic
implementation for those that do not. In my case, it simply returns
0 to the driver but keeps the device mask set to 64MB-1 so I can trap.
[PATCH] kobject_set_name() doesn't allocate enough space
[SPARC]: Add C99 initializers to Sparc frame buffer devices.
[NET]: Mark lock_sock and release_sock as FASTCALL.
[AF_KEY]: pfkey_send_new_mapping marks dest address incorrectly.
[TG3]: Verify link advertisement correctly on 10/100 only chips.
[IPV4]: Fix IGMP version number and timer printing for procfs.
[BRIDGE]: Allow non-root to inspect the status of a bridge.
[TG3]: All 5705 chips need PHY reset on link-down.
[BRIDGE]: Lift ioctl limits on number of bridges/ports.
Get rid of some arbitrary API restrictions that limit the kernel
to 64 bridges and 256 ports.
Retain compatibility in GET_PORT_LIST, the existing bridge API
passes 0 for the third argument, and expects 256 entries.
Note: there still is limit of 256 ports due to STP, but this
shouldn't show up in the API, it needs to be handled by the
'add port to bridge ioctl'.
[BRIDGE]: Correctly handle up to 256 ports per bridge.
Bridge code is limited to 256 ports per bridge because the Spanning
Tree Protocol has limit of one octet for port number. This code
fixes:
* bogus unlock in error path when port list is full.
* passes different error status for out of memory, vs
port list full.
* O(n) vs O(n^2) lookup for free port number
* since port and priority are both limited to one byte
don't store them as int's
* makes limit explicit in code
[TG3]: More PHY programming fixes.
- Break out advertisement register verification into
a function, tg3_copper_is_advertising_all.
- At device probe time, reset PHY if not Serdes
and ASF is not enabled.
- Add some missing necessary PHY init to PHY probe
code as well.
[TG3]: Bump driver version and reldate.
[TG3]: Print list of important probed capabilities at driver load.
[TG3]: Two PHY fixes.
- Do not probe PHY ID register if ASF firmware is running.
- Fix two errors in PCI subsys to PHY ID table.
[TG3]: Kill uninitialized var warning.
[TG3]: Reset fixes.
- Put more code into common area in tg3_chip_reset()
- Set GRC_MODE, even sanes host-stackup bit, after enabling
memory arbiter.
- After every core-clock reset, reprobe ASF enabling state.
[TG3]: Update driver version and release date.
[IPV6]: Add MIBs counters in MLD.
[SPARC]: Add sysctl to control serial console power-off restrictions.
[SPARC64]: hugetlbpage.c needs module.h
[Bluetooth] Remove architecture specific compat ioctl's
The compat ioctl definitions are now maintained in a single place, so
it is no longer needed to keep the architecture specific defines. This
patch removes the leftover Bluetooth parts from x86_64 and sparc64.
[Bluetooth] Fix broken HCI security filter
The HCI security filter is broken on 64-bit architectures and this patch
restores the version from 2.4, which is working perfect on 32-bit and
64-bit machines.
[Bluetooth] Allocate hdev before device configuration
The hdev structure must be allocated before the device is configured and
before any interrupt is started.
[Bluetooth] Add UART protocol id's for 3-Wire and H4DS
This patch adds the id's for the 3-Wire and H4DS UART transport protocols.
[IPV6]: Provide ipv6 multicast/anycast addresses through netlink.
[NETLINK]: Split up netlink_unicast.
[NET]: Update networking config menu (v3)
Networking support/options and Networking drivers have been, uhm,
messy to navigate for some time now. BenH mentioned this
and I was already looking into options to clean it up.
This is a cleanup of Networking support/options and Networking Drivers.
It presents a more consistent interface and lists similar driver
groups and protocol groups closer together.
It also moves the IBMVETH driver so that it no longer breaks the
dependency tree, allowing other drivers (nearby in Kconfig file)
to be presented in a more linear manner.
[SCTP] Fix typo in entry name of the remove_proc_entry() call.
[IEEE-1394] Sync IEEE-1394 to r1203
[net/fc iph5526] s/rx_dropped/tx_dropped/ in TX routines
Spotted by Denis Valesko(sp?).
Maybe one day we'll either kill this driver, or someone will fix it
up for the current SCSI API.
[NET] define HAVE_NETDEV_PRIV back-compat hook
[netdrvr natsemi] correct DP83816 IntrHoldoff register offset
Spotted by Manfred Spraul.
[PATCH] Update MAINTAINERS with new e100/e1000/ixgb maintainers
Jeff, Adding John/Ganesh/Ayyappan for e100/e100/ixgb in 2.6. Keeping
myself on for e100 for a couple more 2.6.x releases.
-scott
[PATCH] com20020-isa.c warning fix
From: "Luiz Fernando N. Capitulino"
drivers/net/arcnet/com20020-isa.c:188: warning: unused variable `dev'
drivers/net/arcnet/com20020-isa.c:189: warning: unused variable `lp'
[SCTP] Update sctp_ulpevent structure to include assoc pointer and
only the receive specific fields of sctp_sndrcvinfo.
[SCTP] Use id to ptr translation service in lib/idr.c to assign and
validate ids of associations.
This patch avoids the use of virt_addr_valid() to validate the address
of associations passed by the user. Currently the address of an
association is used as its id. virt_addr_valid doesn't work as
expected when PAGEALLOC debugging is enabled.
[Bluetooth] Allocate the BCM203x URB buffer seperately
The buffer shares cachelines with other fields of the structure. On
architectures which require synchronisation before or after doing DMA
to or from a buffer, any access to such fields sharing cachelines can
corrupt the content of the buffer. The allocation primitives guarantee
that cachelines are not shared.
Noticed by Oliver Neukum
Update amd8111 net driver.
version 3.04 for 2.4 kernel:
+ 1. Added set_mac_address routine for bonding driver support.
+ 2. Tested the driver for bonding support
+ 3. Bug fix: Fixed mismach in actual receive buffer lenth and lenth
+ indicated to the h/w.
+ 4. Modified amd8111e_rx() routine to receive all the received packets
+ in the first interrupt.
+ 5. Bug fix: Corrected rx_errors reported in get_stats() function.
version 3.05 for 2.6 kernel:
+ 1. Added NAPI support
[PATCH] PCI Hotplug: Fix interpretation of 0/1 for MRL in SHPC & PCI-E hot-plug
This patch contains fixes for interpretation of 0/1 for MRL
to match pcihpview, bus speed definition in shpchp_hpc.c etc.
[NET]: Use const args in eth_copy_and_sum and is_valid_ether_addr.
[PATCH] add class support to dsp56k.c
Here is a patch that adds sysfs class support to /drivers/char/dsp56k.c
[PATCH] Add sysfs class support to fs/coda/psdev.c
Here is a patch to add class support to psdev.c.
I have verified it compiles and works.
[Bluetooth] Fix URB unlink race in the USB drivers
The code in hci_usb_unlink_urbs() calls usb_unlink_urb() to perform a
synchronous unlink of each pending URB. It then moves each URB to the
completed list, and then frees everything on the completed list. By doing
this, the code implicitly assumes that when usb_unlink_urb() returns the
URB will have completed and be ready to be deallocated. That's not always
true. The same applies to the BlueFRITZ! USB driver.
Patch from Alan Stern
[Bluetooth] Make use of request_firmware() for the 3Com driver
The 3Com Bluetooth PCMCIA cards need a firmware download every time they
are inserted. With request_firmware() the file BT3CPCC.bin is now loaded
directly from the userspace and the external firmware loader program is
no longer needed.
[Bluetooth] Improve NULL pointer handling
This small patch adds more checks for NULL pointers.
[Bluetooth] Add support for Anycom CF-300
The Anycom CF-300 compact flash card contains a new Bluetooth chip and
thus it needs some special handling for the faster UART baud rate. This
patch detects this new card and does the different initialization.
[SBP2]: Fix compile for older gcc's
[Kconfig]: eth1394 requires INET
[SBP2]: Sync revision
[Bluetooth] Allow normal users to release the previous created TTY
In the case the RFCOMM device node can't be found, the user must be able to
release the previous created TTY.
[Bluetooth] Fix race in RX complete routine of the USB drivers
The test of the HCI_RUNNING flags bit in the RX complete routine should
be made while holding the completion lock. Otherwise there can be a race
on SMP systems in which RX complete finds the bit is set and on another
processor the close routine clears the bit, grabs and releases the lock
and then unlinks all the active URB's. Then the first processor acquires
the lock and resubmits the URB.
Patch from Alan Stern
[PATCH] Add sysfs class support for CAPI
here is a patch that adds class support to the ISDN CAPI module. Without
it udev won't create the /dev/capi20 device node.
[PATCH] fix sysfs class support to fs/coda/psdev.c
--On Friday, April 09, 2004 12:02:19 AM +0200 Marcel Holtmann wrote:
>> +static struct class_simple coda_psdev_class;
>
> I think coda_psdev_class must be a pointer.
>
> Regards
>
> Marcel
Doh! I tested on one system and fixed this there. Then accidentally mailed out the
original. Sorry about that. Here is a patch to fix it:
[PATCH] Fix for patch to add class support to stallion.c
Oops. Realized I had a / in the file name in this patch too.
Please apply to correct it:
[PATCH] Fix class support to istallion.c
Realized I put a / in the filename of this device too.
Here is the fix:
[IPV6]: In ndisc_netdev_event, handle NETDEV_DOWN.
Based upon patches and commentary from Thomas Spatzier,
Stephen Hemminger, and Andi Kleen.
[IPSEC]: Support draft-ietf-ipsec-udp-encaps-00/01, some ipec impls need it.
[ISDN]: Add missing IPPP_FILTER entry to Kconfig.
[ISDN]: Fix kernel PPP/IPPP active/passiv filter code.
[IPV6]: Add missing MIB counter increments.
[SOUND]: Proper deps for SND_BIT32_EMUL.
[SOUND]: Add amd7930 to sndmagic.h
[NET]: Kill __FUNCTION__ string literal concatenation.
From Tony Breeds
[NETFILTER]: Add more debug info to TFTP helper.
From Vineet Mehta
[ATM]: get atm_guess_pdu2truesize() right
[ATM]: [nicstar] using dev_alloc_skb() (reported by Johnston,
[IRDA]: Move IRDA device headers to more appropriate place.
[IPV6]: Mark MLDv2 report as known.
Mark MLDv2 Report as known ICMPv6 type.
(We just ignore MLDv2 Reports on hosts as the spec says.)
[NET]: Add random_ether_addr to ether_device.h
[NET]: Use random address in dummy driver.
[NET]: Use random address in usb gadget driver.
[NET]: Use random address in usbnet driver.
[SCTP]: Fix printk warnings.
[ATM]: Fix printk warnings in ambassador driver.
[IRDA]: Fix warnings in sir_dev.c
[IRDA]: Fix 32-bit pointer bug in donauboe.c
[NET]: Fix printk warnings in wireless/strip.c
[NET]: Fix printk warnings in strip driver.
[NET]: Fix memset args in sk_mca, noticed by Jean Delvare
[SPARC64]: Control -fomit-frame-pointer using CONFIG_FRAME_POINTER.
[NET_SCHED]: Check for NULL opt in dsmark_init.
[CRYPTO]: ARC4 Kconfig clarification.
[SPARC64]: Provide _mcount as well as mcount.
[PATCH] Fix sysfs class support for CAPI
this patch fixes a bug in the CAPI TTY support, because the ->name value
of the TTY driver shouldn't contain a "/". After changing this there are
now a "capi20" TTY device and a "capi20" control device and so I renamed
the control device to "capi". The userspace visible part must be done by
udev and I added these two rules to restore the old namespace:
# CAPI devices
KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
KERNEL="capi*", NAME="capi/%n"
[PATCH] PCI Hotplug: php_phy_location.patch
Adds a file to show the pci hotplug slot location for the ppc64 driver
only.
[SPARC64]: Disable -Werror for a bit.
[PATCH] sk_mca multicast fix
Spotted by Jean Delvare : it has its memset arguments the
wrong way round.
[PATCH] etherh updates
Update Acorn EtherH driver - convert to use mmio instead of emulated
PIO. Convert card-specific parameters to a data structure rather
than code-based selected.
Please review and submit upstream. Thanks.
[PATCH] netpoll early ARP handling
Handle ARP requests while device is trapped before in_dev is
initialized using netpoll config. Allows early kgdboe usage.
From Stelian Pop
[PATCH] netpoll transmit busy bugfix
Fix for handling of full transmit queue when netpoll trap is enabled.
From Stelian Pop
[netdrvr 8390] Fix 8390 log spam
It seems that PCMCIA 8390 users get spammed with a few annoying
messages upon card removal. I guess 8390 could be taught to better
detect and deal with these things, but here is a quick fix.
[libata] abstract SCSI->ATA translation a bit
[libata] move some PIO state init to its proper place
[libata sata_promise] fix taskfile delivery cases
We should only be touching the ATA shadow registers if we are doing
PIO.
[PATCH] Fix mq_notify with SIGEV_NONE notification
From: Jakub Jelinek
mq_notify (q, NULL)
and
struct sigevent ev = { .sigev_notify = SIGEV_NONE };
mq_notify (q, &ev)
are not the same thing in POSIX, yet the kernel treats them the same. Only
the former makes the notification available to other processes immediately,
see
http://www.opengroup.org/onlinepubs/007904975/functions/mq_notify.html
Without the patch below,
http://sources.redhat.com/ml/libc-hacker/2004-04/msg00028.html
glibc test fails.
I looked at mq in Solaris and they behave the same in this regard as Linux
with this patch. Kernel with this patch passes both Intel POSIX testsuite
(with testsuite fixes from Ulrich) and glibc mq testsuite.
[PATCH] radix-tree comment fix
Fix various bogons and outright lies.
[PATCH] mq_open() and close_on_exec
From: Chris Wright
SUSv3 doesn't seem to specify one way or the other. I don't have the POSIX
specs, and the old docs I have suggest that mq_open() creates an object
which is to be closed upon exec.
Jakub said:
I think it is valid and required:
http://www.opengroup.org/onlinepubs/007904975/functions/exec.html
All open message queue descriptors in the calling process shall be
closed, as described in mq_close()
I'll add a new test for this into glibc testsuite.
[PATCH] ext3: journalled quotas
From: Jan Kara
Journalled quota support for ext3: The patch consists of two parts - ext3
changes and changes in generic quota code. The main idea of the changes is
that a transaction is always started before any operation which changes quota
file and dirtifying of the quota causes its write to disk. These two changes
assure that quota change is journalled into the same transaction as the file
change and hence after journal replay quota is consistent with the filesystem
state. As during journal replay inodes from orphan list are deleted/truncated
we have to do quota_on before the replay of the orphan list - this problem is
solved by additional mount options to ext3 with quota file names and format.
Some changes in generic code were also needed to assure that quota structure
in file is always allocated and so ordinary quota operations (like
adding/deleting a block/inode) need only a few blocks from the transaction.
[PATCH] Add mqueue support to x86-64
From: Andi Kleen
Add POSIX mqueue support to x86-64.
[PATCH] light-weight auditing framework for s390.
From: Martin Schwidefsky
This patch adds the TIF_SYSCALL_AUDIT option to the s390 ptrace interface.
[PATCH] posix messages queues for s390.
From: Martin Schwidefsky
The new message queue interface needs the following patch to get it working
on s390 (31-bit, 64-bit and 31-bit compat).
[PATCH] ppc64: Fix possible duplicate MMU hash entries
The current code has a subtle race where 2 hash PTEs can be inserted
for the same virtual address for a short period of time. There should
not be a stale one as the "old" one ultimately gets flushed, but the
architecture specifies that having two hash PTE is illegal and can
result in undefined behaviour.
This patch fixes it by never clearing the _PAGE_HASHPTE bit when
doing test_and_clear_{young,dirty}. That means that subsequent faults
on those pages will have a bit more overhead to "discover" that the
hash entry was indeed evicted.
It also adds a small optisation to avoid doing the atomic operation
and the hash flush in test_and_clear_dirty when the page isn't dirty
or when setting write protect while it's already set.
[PATCH] ppc64: update g5_defconfig
This adds IOMMU support & IOMU virtual merging to the default g5 config.
This will not impair performances of machines that don't need the iommu
(the kernel will only enable it if you have more than 2Gb of RAM, though
you can explicitely enable it using a command line argument).
[PATCH] fix 4k irqstacks on x86 (and add voyager support)
There's a bug in the x86 code in that it sets the boot CPU to zero.
This isn't correct since some subarch's use physically indexed CPUs.
However, subarchs have either set the boot cpu before irq_INIT() (or
just inherited the default zero from INIT_THREAD_INFO()), so it's safe
to believe current_thread_info()->cpu about the boot cpu.
[PATCH] USB: Fix vicam debug compile, fix user access
The last copy_from_user patch to the vicam driver broke compilation with
VICAM_DEBUG on.
There is also another copy_from_user missing in case VIDIOCSPICT.
This fixes both issues.
[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change
The author apparently didn't understand that only the mach-default
include directory is included by fallback for header files only. You
can't stick a .c file in mach-default and expect all subarchs to be able
to use it.
The correct fix is to put std_resources.c in the kernel directory and
give it its own Kconfig symbol for conditional compile so that subarchs
may choose to include it or not.
[PATCH] Amiga Zorro8390 Ethernet section conflict
Jeff Garzik notes that the previous cleanup highlights a bug:
>
> static const struct card_info {
> zorro_id id;
> const char *name;
> unsigned int offset;
> } cards[] __initdata = {
>
> and the lone user is __devinit:
>
> static int __devinit zorro8390_init_one(struct zorro_dev *z,
> const struct zorro_device_id *ent)
Here's the fix..
[E1000]: e1000.h needs dma-mapping.h
[IXGB]: ixgb.h needs dma-mapping.h
[PATCH] NMI watchdog Pentium M support
This adda nmi_watchdog=2 support to the Pentium M processor. The P-M is
a P6 chip, but it shares some chipset logic with the Pentium 4, so it
requires this workaround to function.
Without this patch, NMI gets stuck after 1 count. With it, the NMI
fires and breaks me out of UHCI-related hard lockups.
This patch is basically a modified version of the same patch for
oprofile. See the threaded discussion here:
http://lkml.org/lkml/2004/2/12/181
[PATCH] ppc64: catch branch to 0 in real mode
We have been debugging some strange fails where we branch to 0 in real
mode. At the moment this results in the cpu running through the
initialisation code and failing somewhere well into it.
The following patch uses the featuring nop'ing code to remove the branch
at real address 0 so it falls through to a trap instruction and gets
caught early.
[PATCH] ppc64: always initialise dn->type and dn->name
This fix comes from ppc32. Always initialise dn->type and dn->name so
that code doesnt have to check for NULL everywhere. There is at least
one bug report where we oopsed because of this.
[PATCH] ppc64: Fix RTAS races on pSeries
The low level kernel interface to RTAS (the firmware runtime services)
was plagued with races that could cause from bogus results of RTAS
operations to total machine crashes in some circumstances. This patch
fix the ones I could identify, hoping I didn't miss any. I also added
a WARN_ON (well, it's asm equivalent) to enter_rtas to make sure we
never _ever_ try to call that with interrupts enabled.
[ARM] Add --no-undefined to linker command line.
Many binutils versions over the last year appear to silently build
assembler files with undefined constants, and able to successfully
create executables from such files. The assembler appears to add
undefined symbols to the symbol table without any corresponding
relocation information. Obviously this is bad news since the
resulting executable may not be what the programmer intended.
Work around the problem by forcing the linker to fail if there are
any undefined symbols in the final object(s).
[PATCH] amd8111e retval fix
drivers/net/amd8111e.c: In function `amd8111e_vlan_rx':
drivers/net/amd8111e.c:677: warning: control reaches end of non-void function
[netdrvr via-rhine] Fix MII phy scanning
Noticed by Roger Luethi, via-rhine maintainer.
[PATCH] pcnet32 transmit performance fix
When the pcnet32 adapter is installed in a system with long PCI latency
and the read burst bit is not set, performance on transmission is very
low (under 20Mbit on a 100Mbit link). This patch against 2.6.6-rc1 will
make sure that read and write bursts are enabled. Tested on ppc64 and
ia32.
[SPARC64]: Fix branch prediction in switch_to().
[NET]: Do lazy gettimeofday for network packets.
[ARM] Remove needless export of __do_softirq()
[IPV6]: Limit network triggerable printks.
[NET]: Add some sparse annotations to network driver stack.
[ARM] Update mach-types file.
[ARM] Add __user address space identifiers for sparse.
[BRIDGE]: Include file cleanup.
Cleanup some of the include file's in the bridge code.
* if_bridge.h defines net_bridge, but not needed as part of the API.
* get rid of places that include if_bridge.h and uaccess.h but don't
actually do API work.
[BRIDGE]: Fix rmmod race.
Fix observed race between removing bridge module and ip packets
in flight. Need to remove the hook last, after all bridges are gone
not the other way around.
[BRIDGE]: Make use of jiffies_to_clock.
[BRIDGE]: Use ethtool to get port speed.
The bridge code needs to keep track of a cost estimate for each
port in the bridge. Instead of a hack based on device name, try
and use ethtool to get port speed from device. This has been tested
on e100 (uses ethtool_ops) and e1000 (does ethtool the hard way)
and dummy (no ethtool).
Need to export dev_ethtool() to allow bridge module to get to
it easily.
Code takes care to maintain same locking and semantics as if ioctl
was being done from application.
[BRIDGE]: Multicast address as const.
[BRIDGE]: Forwarding database changes.
Make forwarding database more robust.
+ Don't insert invalid ether address,
+ Report errors back so adding an interface to bridge can fail
+ get rid of unneeded explicit pads in data structure
+ replace bitfields with byte's for simple booleans.
[BRIDGE]: STP unsigned fields.
Use correct types for fields related to spanning tree protocols.
* costs are 32 bit unsigned
* ports are 16 bit unsigned
* booleans are bytes rather than bitfield
* arrange for better packing
[BRIDGE]: Support lots of 1k ports.
Support >256 ports on a bridge. Use the suggestion of reducing
the number of bits of priority and increasing the number of bits
for port number.
Easy to increase to even larger if necessary.
[BRIDGE]: FDB cache alloc.
Since forwarding database gets a lot of memory alloc/free on a busy
bridge, use kmem_cache_alloc to provide cache and better stats.
[BRIDGE]: Replace CLEAR_BITMAP with memset.
[PATCH] remount: fs/sysv fixes
- several variants of sysv fs are supported only r/o. Driver does
force r/o on mount, but doesn't do anything on remount. As the
result, one can remount them r/w and results are Not Pretty(tm).
Missing checks added, code cleaned up.
- we had double-brelse() in v7fs - if sanity checks on root inode will
succeed, but allocation of root dentry fails, we brelse() the same
buffer_head twice. Fixed.
[PATCH] remount: fs/udf fixes
- same problem as with sysv - mount-time checks for fs being good for
writing are absent on remount. Check added.
[PATCH] remount: fs/openpromfs
- we should force noatime both on mount and remount. Fixed.
[PATCH] remount: fs/jffs2
- jff2->remount_fs() was buggy - it played with sb->s_flags instead of
doing modifications to *flags (->s_flags will be overwritten using
*flags right after the call of ->remount_fs()). Moreover, it tried
to do the wrong thing - it should just enforce noatime and be done
with that. Fixed, ACKed by maintainer.
[PATCH] remount: forced-ro filesystems
- a bunch of r/o filesystems did force MS_RDONLY on mount but forgot to
do the same on remount. Fixed.
[PATCH] remount: forced-nodiratime filesystems
- a bunch of filesystems force MS_NODIRATIME on mount but forgot to do
the same on remount. Fixed.
[PATCH] remount: mount flags filtering
- we could pass MS_ACTIVE in mount flags and it would be passed into
->get_sb(), leading to interesting failure modes. This flag is only
for internal use (it's set once fill_super is complete and reset
before the inode eviction on umount); made sure that we never get
tricked into having it set it too early.
[SPARC64]: Fix binfmt_elf32.c warning by redefining TASK_SIZE.
[IRDA]: Convert vlsi_ir /proc/driver to seq_file.
From Stephen Hemminger.
[IRDA]: Fix handling of RD:RSP to be spec compliant
From Martin Diehl.
[IRDA]: Get rid of local CRC table in donauboe.
From Stephen Hemminger.
[IRDA]: Fix namespace pollution of print_ret_code.
From Stephen Hemminger.
[IRDA]: Rename handle_filter_request to irlan_filter_request.
From Stephen Hemminger.
[IRDA]: irlan_common cleanup.
Minor type changes in irlan_common for clarity:
- use const
- init and exit can be static
- use skb_queue_purge to flush queue
- get rid of noisy old comment
From Stephen Hemminger.
[IRDA]: irlan_eth cleanup.
Use IrTTP flow control to stop/wake netif
From Stephen Hemminger.
Change irlan_eth device initialization:
*bug* address never set in DIRECT mode because access not set
in alloc_netdev -> irlan_eth_setup path
+ make eth_XXX handles static and provide alloc_irlandev hook
+ use netdev_priv (and get rid of truly impossible ASSERT's)
+ use skb_queue_purge
[IRDA]: Replace sleep_on with wait_event
From Stephen Hemminger.
[IPV6]: Use IANA icmpv6 type for MLDv2 report.
[IPV6]: Fix IPSEC AH typo.
[IPV6]: Fix OOPS in udp6 with extension headers using ancillary data.
[NET]: Fix lapbether bad scheduling while atomic.
Bring up/down network devices with lapbether causes scheduling while
atomic (if preempt enabled).
The calls to rcu_read_lock are unnecessary since lapb_device_event
is called from notifier with the rtnetlink semaphore held, it is
already protected from the labp_devices list changing.
[PATCH] ide-probe.c: SanDisk is flash
From: Meelis Roos
This is self-explanatory - former SunDisk renamed itself to SanDisk and
now there are flash disks with both names.
[PATCH] Fix edd driver dereferencing before pointer checks.
Lots of occurences of the same bug..
[PATCH] Fix mprotect bogus check.
If we want to trap NULL vma's, we'd better be sure
that we don't dereference it first..
[BRIDGE]: br_fdb.c needs init.h
[PATCH] Fix typo in the openpromfs remount patch
The just merged openpromfs remount patch contains a silly typo in the
field of the super_operations structure.
Fixed like this.
Make sock_no_{get|set}opt() use the proper __user annotation
Add sparse __safe annotation
[IPV6]: Fix esp6.c typo in LIMIT_NETDEBUG changes.
[PCMCIA] Conversion to module_param
Patch from: Pavel Roskin
As it turns out, mixing MODULE_PARM and module_param in one module is
wrong. The parameters specified in module_param are ignored. I've just
posted a patch to LKML that will detect this condition and warn about it.
The new debugging code used the new-style module_param, which means that
all instances of MODULE_PARM should be converted. The attached patch does
that.
An additional bonus is that module_param_array provides the number of
array elements. This allowed me to change tcic.c and i82365.c to use
this number for IRQ list. This change was tested with i82365. If
"irq_list" is not specified, irq_list_count is 0.
I set all permissions to 0444 to be safe. I think we have no secrets
from the users regarding those parameters. If some parameters can be
changed safely at the runtime, the permissions could be changed to 0644.
I didn't examine how safe (and how useful) it would be, so it's 0444 for
now.
[SERIAL] Remove check_region()
[SERIAL] Use module_param/module_param_array
Update serial to use new module parameters rather than
MODULE_PARM.
[ARM] Add detailed documentation concerning ARM page tables
This adds detailed documentation concerning how we map the Linux
page table structure onto the hardware tables on ARM. In addition,
it also adds documentation describing how we emulate the "dirty"
and "young" or "accessed" page table bits.
This should be of interest to Linux MM developers.
[PATCH] Fix exec in multithreaded application
The recent controlling terminal changes broke exec from multithreaded
application because de_thread was not upgraded to new arrangement. I
know that I should not have LD_PRELOAD library which automatically
creates one thread, but it looked like a cool solution to the problem I
had.
de_thread must initialize the controlling terminal information in the
new thread group.
[PATCH] dm: Fix 64/32 bit ioctl problems.
From: Kevin Corry
Fix 64/32 bit ioctl problems.
[PATCH] dm: Check the uptodate flag in sub-bios to see if there was an error.
From: Kevin Corry
Check the uptodate flag in sub-bios to see if there was an error. [Mike
Christie]
[PATCH] dm: Handle interrupts within suspend.
From: Kevin Corry
Handle interrupts within suspend.
[PATCH] dm: Use wake_up() rather than wake_up_interruptible()
From: Kevin Corry
dm.c: Use wake_up() rather than wake_up_interruptible() with the eventq.
[PATCH] dm: Log an error if the target has unknown target type, or zero length.
From: Kevin Corry
Log an error if the target has unknown target type, or zero length.
[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().
From: Kevin Corry
Correctly align the dm_target_spec structures during retrieve_status().
[PATCH] dm: fix a comment
From: Kevin Corry
Clarify the comment regarding the "next" field in struct dm_target_spec. The
"next" field has different behavior if you're performing a DM_TABLE_STATUS
command than it does if you're performing a DM_TABLE_LOAD command.
See populate_table() and retrieve_status() in drivers/md/dm-ioctl.c for more
details on how this field is used.
[PATCH] dm: avoid ioctl buffer overrun
From: Kevin Corry
dm-ioctl.c::retrieve_status(): Prevent overrunning the ioctl buffer by making
sure we don't call the target status routine with a buffer size limit of
zero. [Kevin Corry, Alasdair Kergon]
[PATCH] dm: Use an EMIT macro in the status function.
From: Kevin Corry
Striped: Use an EMIT macro in the status function.
[PATCH] kNFSdv4: nfsd4_readdir fixes
From: NeilBrown
From: "J. Bruce Fields"
Fix out-of-spec errors in nfs4 readdir. Add checks for bad cookie values.
(plus compile fix from akpm)
[PATCH] kNFSdv4: Fix bad error returm from svcauth_gss_accept
From: NeilBrown
From: "J. Bruce Fields"
Error return when the client supplies a bad service should be badcred.
|